Skip to main content

code-documentation-engineering

Technical documentation engineering skill enforcing the Diátaxis documentation framework, clear human prose, and code-comment synchronization.

Ir para a instalação

Informações da origem

Repositório
dandgabr/autodoc
Última atividade na origem
8 de setembro de 2026 às 10:51
Idioma detectado do SKILL.md
inglês
Estrelas
1
Forks
0

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
code-documentation-engineering
description
Technical documentation engineering skill enforcing the Diátaxis documentation framework, clear human prose, and code-comment synchronization.
metadata
{"type":"documentation","phase":"design"}
# Code Documentation Engineering Skill This skill guides agents in authoring software documentation adhering to the **Diátaxis documentation framework** and professional technical communication standards. --- ## 1. Information Architecture: The Diátaxis Framework All documentation files must align with one of the four distinct quadrants: ``` LEARNING (Acquisition) WORKING (Application) ┌─────────────────────────────┬─────────────────────────────┐ PRACTICAL │ 1. TUTORIALS │ 2. HOW-TO GUIDES │ (Action) │ Learning-oriented lessons │ Task-oriented procedures │ ├─────────────────────────────┼─────────────────────────────┤ THEORETICAL │ 4. EXPLANATION │ 3. REFERENCE │ (Cognition) │ Understanding concepts │ Technical specifications │ └─────────────────────────────┴─────────────────────────────┘ ``` ### 1. Tutorials (`docs/tutorials/`) - **Focus**: Guide beginners to an initial working milestone. - **Tone**: Encouraging, direct, and structured step-by-step. - **Rule**: Avoid theoretical digressions; provide clear inputs and expected outputs. ### 2. How-To Guides (`docs/how-to/`) - **Focus**: Resolve a specific, practical problem encountered during development. - **Tone**: Procedural and concise. - **Rule**: Presuppose user familiarity with fundamentals; focus directly on the recipe. ### 3. Reference (`docs/reference/`) - **Focus**: Exact, neutral, and comprehensive description of machines, APIs, and schemas. - **Tone**: Descriptive and neutral. - **Rule**: Organize logically (alphabetical, hierarchical) with complete parameter tables and error codes. ### 4. Explanation (`docs/explanation/`) - **Focus**: Architecture context, design rationale, historical trade-offs, and design alternatives. - **Tone**: Analytical and objective. - **Rule**: Explain *why* a design choice was adopted rather than *how* to use it. --- ## 2. Technical Prose Standards 1. **Active Voice & Direct Imperatives**: - Write *"Run the test suite"* instead of *"The test suite should be executed"*. 2. **Clear Technical Precision**: - State concrete quantities, benchmarks, and latency targets instead of vague qualifiers. - Example: *"Reduces resident set size below 100MB"* instead of *"Offers superior memory optimization"*. 3. **Rhythm and Sentence Structure**: - Pair brief, punchy statements with detailed, well-punctuated compound sentences for readability. 4. **Code & Inline Synchronization**: - Ensure documented parameter names, default values, and function signatures strictly match source code.
Ver no GitHub