Back to list
HoangNguyen0403

documentation-standards

by HoangNguyen0403

A collection of Agent Skills Standard and Best Practice for Programming Languages, Frameworks that help our AI Agent follow best practies on frameworks and programming laguages

111🍴 40📅 Jan 23, 2026

SKILL.md


name: Documentation Standards description: Essential rules for code comments, READMEs, and technical documentation. metadata: labels: [documentation, comments, docstrings, readme] triggers: keywords: [comment, docstring, readme, documentation]

Documentation Standards - High-Density Standards

Essential rules for code comments, READMEs, and technical documentation.

Priority: P2 (MAINTENANCE)

Essential rules for maintaining proper code comments, READMEs, and technical documentation.

📝 Code Comments (Inline Docs)

  • "Why" over "What": Comments should explain non-obvious intent. Code should describe the logic.
  • Docstrings: Use triple-slash (Dart/Swift) or standard JSDoc (TS/JS) for all public functions and classes.
  • Maintenance: Delete "commented-out" code immediately; use Git history for retrieval.
  • TODOs: Use TODO(username): description or FIXME to track technical debt with ownership.

📖 README Essentials

  • Mission: Clear one-sentence summary of the project purpose.
  • Onboarding: Provide exact Prerequisites (runtimes), Installation steps, and Usage examples.
  • Maintainability: Document inputs/outputs, known quirks, and troubleshooting tips.
  • Up-to-Date: Documentation is part of the feature; keep it synchronized with code changes.

🏛 Architectural & API Docs

  • ADRs: Document significant architectural changes and the "Why" in docs/adr/.
  • Docstrings: Document Classes and Functions with clear descriptions of Args, Returns, and usage Examples (>>>).
  • Diagrams: Use Mermaid.js inside Markdown to provide high-level system overviews.

🚀 API Documentation

  • Self-Documenting: Use Swagger/OpenAPI for REST or specialized doc generators for your language.
  • Examples: Provide copy-pasteable examples for every major endpoint or utility.
  • Contract First: Define the interface before the implementation.

Score

Total Score

85/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

+5
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

+5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon