← ClaudeAtlas

document-codelisted

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.
jjmartres/ai-coding-agents · ★ 30 · Data & Documents · score 83
Install: claude install-skill jjmartres/ai-coding-agents
# 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 - **TypeScript**: Look for `.ts` / `.tsx` files, `interface`, `type`, `export`, `import` keywords - **Terraform**: Look for `.tf` files, `resource`, `variable`, `module` keywords ### 2. Apply Appropriate Standard Read the corresponding reference file: - **Python**: Read `references/python_google_style.