document-code SKILL.md skillA

document-code from jjmartres/ai-coding-agents is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add jjmartres/ai-coding-agents/document-code@git:20260909.d205857

Pins git:20260909.d205857 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
jjmartres/ai-coding-agents
Path
shared/.ai-agents/skills/document-code/SKILL.md
Versions recorded
3
Latest version
git:20260909.d205857, committed Sep 9, 2026
First version recorded
Apr 29, 2026
Size
11,612 bytes
Repository stars
48
License
MIT

Apply Google Style documentation standards to Python, Go, TypeScript, and Terraform code. Use when writing or reviewing code that needs docstrings/comments/JSDoc, when asked to "document this code", "add docstrings", "follow Google Style", or when improving code documentation quality. Supports Python docstrings, Go comments, TypeScript JSDoc, and Terraform variable/output descriptions. Enforces consistent, professional documentation standards.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Code Documentation Standards

Apply Google Style documentation standards to Python (docstrings), Go (comments), TypeScript (JSDoc), and Terraform (descriptions). Ensures consistent, professional, and comprehensive code documentation across multiple languages.

## When to Apply This Skill

Use this skill when:

- Writing new functions, classes, or packages
- Reviewing code for documentation quality
- User requests "document this code" or "add docstrings"
- User mentions "Google Style" or documentation standards
- Refactoring code that lacks proper documentation
- Creating code examples that should be well-documented

## Core Principles

1. **Clarity**: Documentation should be immediately understandable
2. **Completeness**: Document all public APIs, parameters, returns, exceptions
3. **Consistency**: Follow language-specific Google Style conventions
4. **Conciseness**: Be thorough but avoid redundancy
5. **Examples**: Include usage examples for complex functionality

## Workflow

### 1. Detect Language

Identify the programming language:

- **Python**: Look for `.py` files, `def`, `class` keywords, type hints
- **Go**: Look for `.go` files, `func`, `type`, `package` keywords
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add jjmartres/ai-coding-agents/document-code@sha256:8c05aba564760112

The line at the top of this page pins the label git:20260909.d205857, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_zralisrwabo2zv5q.svg)](https://markdownregistry.com/a/art_zralisrwabo2zv5q)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Apr 29, 2026 and Sep 9, 2026, about one every 67 days.

versioncommittedcommitsizeaudit
git:20260909.d205857 latest2026-09-09 d205857 11,612 BA view · diff
git:20260909.4e523572026-09-09 4e52357 11,611 BA view · diff
git:20260429.47a67862026-04-29 47a6786 10,370 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (11612 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

jjmartres/ai-coding-agents · 48 stars · license MIT · pushed 2026-10-22 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_zralisrwabo2zv5q
GET https://markdownregistry.com/api/v1/resolve?ref=jjmartres/ai-coding-agents/document-code
GET https://markdownregistry.com/api/v1/blob/8c05aba564760112b925f632bc4516a3000409389a5682a460efc1a15f4c47ba

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from jjmartres/ai-coding-agents

AGENTS.md@docs AGENTS.md file
jjmartres/ai-coding-agents · docs/AGENTS.md
git:20260927.bc71f9b · audit A · 48 stars
asd-ste100 SKILL.md skill
jjmartres/ai-coding-agents · shared/.ai-agents/skills/asd-ste100/SKILL.md · Use when English text must be parsed without a human to resolve ambiguity — tool descriptions, error messages…
v0.4.0 · audit A · 48 stars
asdf SKILL.md skill
jjmartres/ai-coding-agents · shared/.ai-agents/skills/asdf/SKILL.md · Use this skill whenever the user wants to install, configure, or use asdf (asdf-vm), the universal version manager…
git:20260420.c9ed657 · audit A · 48 stars
astro-dso-doc SKILL.md skill
jjmartres/ai-coding-agents · shared/.ai-agents/skills/astro-dso-doc/SKILL.md · Bootstraps a deep-sky object (DSO) astrophotography project from raw acquisition frames (own rig, not a smart…
git:20260916.9332475 · audit B · 48 stars
content-research-writer SKILL.md skill
jjmartres/ai-coding-agents · shared/.ai-agents/skills/content-research-writer/SKILL.md · Assists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on…
git:20260428.dfccef3 · audit A · 48 stars
datadog SKILL.md skill
jjmartres/ai-coding-agents · shared/.ai-agents/skills/datadog/SKILL.md · Use this skill when you need to search Datadog logs, query metrics, tail logs in real-time, trace distributed requests…
git:20260428.dfccef3 · audit A · 48 stars
document-project SKILL.md skill
jjmartres/ai-coding-agents · shared/.ai-agents/skills/document-project/SKILL.md · Generate comprehensive, professional project documentation structures including README, ARCHITECTURE, USER_GUIDE…
git:20260429.47a6786 · audit A · 48 stars
file-organizer SKILL.md skill
jjmartres/ai-coding-agents · shared/.ai-agents/skills/file-organizer/SKILL.md · Intelligently organizes your files and folders across your computer by understanding context, finding duplicates…
git:20260428.dfccef3 · audit A · 48 stars
glab SKILL.md skill
jjmartres/ai-coding-agents · shared/.ai-agents/skills/glab/SKILL.md · Expert guidance for using the GitLab CLI (glab) to manage GitLab issues, merge requests, CI/CD pipelines, repositories…
git:20260428.dfccef3 · audit A · 48 stars
google-skills SKILL.md skill
jjmartres/ai-coding-agents · shared/.ai-agents/skills/google-skills/SKILL.md · Finds and loads the right official Google Cloud skill (GKE, Vertex AI, BigQuery, Cloud Run, Cloud SQL, Cloud Build…
git:20260927.6e44ca7 · audit A · 48 stars
graphify SKILL.md skill
jjmartres/ai-coding-agents · shared/.ai-agents/skills/graphify/SKILL.md · any input (code, docs, papers, images) → knowledge graph → clustered communities → HTML + JSON + audit report
git:20260909.d205857 · audit A · 48 stars
httpie SKILL.md skill
jjmartres/ai-coding-agents · shared/.ai-agents/skills/httpie/SKILL.md · Use this skill whenever the user wants to make HTTP requests, test APIs, call REST endpoints, debug web services, or…
git:20260428.dfccef3 · audit A · 48 stars

Every file in jjmartres/ai-coding-agents

Other files named document-code

document-code SKILL.md skill
codeaholicguy/ai-devkit · skills/document-code/SKILL.md · AI DevKit · Document a code entry point with structured analysis, dependency mapping, and saved knowledge docs. Use…
git:20260511.ff9d3bb · audit A · 1,656 stars

Browse by kind, by grade A, or by owner.