Agent skill
documentation-best-practices
Provides templates, standards, and best practices for writing clear, comprehensive technical documentation
Install this agent skill to your Project
npx add-skill https://github.com/bejranonda/LLM-Autonomous-Agent-Plugin-for-Claude/tree/main/skills/documentation-best-practices
SKILL.md
Overview
This skill provides guidelines for creating high-quality documentation including docstrings, API documentation, README files, and usage guides.
Documentation Coverage Targets
- Public APIs: 100% documented
- Internal Functions: 80%+ documented
- Complex Logic: Must have explanation comments
- Overall: 85%+ coverage
Docstring Templates
Python (Google Style)
def function_name(param1: str, param2: int) -> bool:
"""Brief one-line description.
Longer detailed explanation if needed.
Args:
param1: Description of param1
param2: Description of param2
Returns:
Description of return value
Raises:
ValueError: When and why
"""
JavaScript (JSDoc)
/**
* Brief one-line description.
*
* @param {string} param1 - Description of param1
* @param {number} param2 - Description of param2
* @returns {boolean} Description of return value
* @throws {Error} When and why
*/
README Structure
- Project Title & Description
- Installation: Step-by-step setup
- Usage: Basic examples
- API Documentation: Overview or link
- Contributing: Guidelines (if applicable)
- License: Project license
When to Apply
Use when generating documentation, updating docstrings, creating README files, or maintaining API documentation.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
quality-standards
Defines code quality benchmarks, standards compliance, and best practices for maintaining high-quality codebases
contextual-pattern-learning
Advanced contextual pattern recognition with project fingerprinting, semantic similarity analysis, and cross-domain pattern matching for enhanced learning capabilities
code-analysis
Provides methodologies, metrics, and best practices for analyzing code structure, complexity, and quality
frontend-aesthetics
Distinctive frontend design principles for avoiding generic AI defaults, implementing thoughtful typography/color/animations, and creating polished user experiences based on Claude Code design research
pattern-learning
Enables autonomous pattern recognition, storage, and retrieval at project level with self-learning capabilities for continuous improvement
web-search-fallback
Autonomous agent-based web search fallback for when WebSearch API fails or hits limits
Didn't find tool you were looking for?