Source profileQuality 92/100

laimis91/assistant-framework/skills/assistant-docs/SKILL.md

assistant-docs

Create or update README, API, architecture, changelog, or migration docs. Use for explicit documentation work.

Source repository stars
7
Declared platforms
0
Static risk flags
0
Last source update
2026-08-28
Source checked
2026-08-28

Decision brief

What it does: where it fits

Create or update README, API, architecture, changelog, or migration docs. Use for explicit documentation work.

Best for

    Not for

    • Don't document obvious code — /// Gets the user on GetUser() adds nothing
    • Don't hallucinate features — only document what exists in code

    Compatibility matrix

    Platform support, with evidence labels

    PlatformStatusEvidenceWhat to check
    CodexNot declaredNo explicit evidencePortability before use
    Claude CodeNot declaredNo explicit evidencePortability before use
    CursorNot declaredNo explicit evidencePortability before use
    Gemini CLINot declaredNo explicit evidencePortability before use
    Open the compatibility checker

    Installation

    Inspect first. Install second.

    The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

    Source-detected install commandSource
    npx skills add https://github.com/laimis91/assistant-framework --skill "skills/assistant-docs"
    Safe inspection promptEditorial

    Inspect the Agent Skill "assistant-docs" from https://github.com/laimis91/assistant-framework/blob/38f581613cbdf355d81512ab9e16f2ef2db38d02/skills/assistant-docs/SKILL.md at commit 38f581613cbdf355d81512ab9e16f2ef2db38d02. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

    Workflow

    What the source asks the agent to do

    1. 01

      Contracts

      Migration note: v2 keeps filesupdated required/non-empty for ordinary and current-Pack documentation, but permits its omission only for typed blockedmissingpack/blockedstalepack/outofscope no-write recovery. Pack projections require non-empty boundaries and exact five-concern de…

      doctype and scope are required; sourcefiles and format are inferred when absentfilesupdated entries include path, changetype (created/modified), and descriptionreviewitems is non-empty when docs contain inferred, stale, conflicting, or audience-sensitive claims needing confirmation
    2. 02

      Goal

      Produce documentation that is accurate, maintainable, and traceable to source evidence.

      Produce documentation that is accurate, maintainable, and traceable to source evidence.
    3. 03

      Success Criteria

      Every concrete claim is backed by code, git history, existing docs, or user-provided source material.

      Every concrete claim is backed by code, git history, existing docs, or user-provided source material.When documenting an applicable architecture decision, the document resolves selected design and rationale from the fresh Architecture Decision Pack reference, records their documented decision refs, and preserves facts…Pack-backed architecture docs return architecturedecisionpacktrace: documented carries source Pack/decision/evidence refs; missing, stale, and out-of-scope states record only recovery action and review trace, never inve…
    4. 04

      Constraints

      Do not invent features, issue numbers, versions, metrics, roadmap status, or examples to make docs sound stronger.

      Do not invent features, issue numbers, versions, metrics, roadmap status, or examples to make docs sound stronger.Ask every material question when missing audience, scope, target file, doc type, or architecture claim changes the output and cannot be inferred; group questions by topic with why, risk if guessed, and a safe default wh…If evidence is weak, write generic wording with placeholders or mark the claim for review.
    5. 05

      Available Modes

      Review the “Available Modes” section in the pinned source before continuing.

      Review and apply the “Available Modes” source section.

    Permission review

    Static risk signals and limitations

    No configured static risk pattern was detected

    This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.

    Evidence record

    Why each signal appears

    EvidenceSourceComputedTestedEditorial
    SignalValueEvidence typeMeaning
    Quality score92/100ComputedDocumentation, specificity, maintenance, and trust rules
    Repository stars7SourceRepository attention, not individual Skill quality
    Compatibility0 platformsSourceDeclared in the catalog source record
    Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

    Pinned source

    Provenance and original SKILL.md

    Repository
    laimis91/assistant-framework
    Skill path
    skills/assistant-docs/SKILL.md
    Commit
    38f581613cbdf355d81512ab9e16f2ef2db38d02
    License
    MIT
    Collected
    2026-08-28
    Default branch
    main
    View the original SKILL.md

    Documentation Generator

    Contracts

    FilePurpose
    contracts/input.yamldoc_type, scope, source_files[], format, conditional architecture_decision_pack
    contracts/output.yamlfiles_updated[], evidence_sources[], doc_coverage, review_items[], safety_notes[], conditional architecture_decision_pack_trace
    • doc_type and scope are required; source_files and format are inferred when absent
    • files_updated entries include path, change_type (created/modified), and description
    • review_items is non-empty when docs contain inferred, stale, conflicting, or audience-sensitive claims needing confirmation
    • Infer architecture_design_mode and conditional architecture_decision_pack_status. A current Pack requires the compact canonical architecture_decision_pack projection; resolve selected design and rationale through its current canonical ref and record them in documented_decision_refs. Missing, stale, and out-of-scope Pack states require issue/recovery evidence and an architecture_decision_pack_trace outcome. Never reconstruct, infer, or invent a missing or stale Architecture Decision Pack.

    Migration note: v2 keeps files_updated required/non-empty for ordinary and current-Pack documentation, but permits its omission only for typed blocked_missing_pack/blocked_stale_pack/out_of_scope no-write recovery. Pack projections require non-empty boundaries and exact five-concern design-pressure coverage; v1 consumers must adapt before accepting v2.

    Covers the developer's documentation weakness by generating accurate, maintainable docs from code.

    Core principle: docs should be generated from truth (code), not written from memory.

    Goal

    Produce documentation that is accurate, maintainable, and traceable to source evidence.

    Success Criteria

    • Every concrete claim is backed by code, git history, existing docs, or user-provided source material.
    • When documenting an applicable architecture decision, the document resolves selected design and rationale from the fresh Architecture Decision Pack reference, records their documented decision refs, and preserves facts versus assumptions, semantic type/primitive-boundary rationale, and falsifiable quality verification rather than rewriting generic design claims.
    • Pack-backed architecture docs return architecture_decision_pack_trace: documented carries source Pack/decision/evidence refs; missing, stale, and out-of-scope states record only recovery action and review trace, never invented refs.
    • Review-needed items identify inferred or stale claims instead of silently presenting them as fact.
    • The selected doc mode, scope, output files, evidence, and remaining gaps are explicit.

    Constraints

    • Do not invent features, issue numbers, versions, metrics, roadmap status, or examples to make docs sound stronger.
    • Ask every material question when missing audience, scope, target file, doc type, or architecture claim changes the output and cannot be inferred; group questions by topic with why, risk if guessed, and a safe default where available rather than enforcing a numeric quota.
    • If evidence is weak, write generic wording with placeholders or mark the claim for review.
    • Prefer local files, repo-native commands, and git history as documentation truth. Do not call external documentation generators, SaaS analyzers, or upload proprietary code without explicit approval.
    • Do not include secrets, tokens, private endpoints, customer data, or internal-only details unless the target document is explicitly approved for that audience.

    Available Modes

    ModeFileWhen to use
    API Docsapi-docs.mdEndpoints, services, public interfaces
    Architecturearchitecture.mdSystem overview, component relationships, data flow
    READMEreadme-gen.mdProject README from codebase analysis
    Changelogchangelog.mdRelease notes from git history
    Migration Guidemigration.mdBreaking changes, upgrade steps
    Code Explainerexplainer.mdDeep explanation of specific code for learning

    Mode Selection

    Input arrives
        │
        ├─ "document the API" / "API docs"      → api-docs.md
        ├─ "architecture doc" / "system design"  → architecture.md
        ├─ "update readme" / "write readme"      → readme-gen.md
        ├─ "changelog" / "release notes"         → changelog.md
        ├─ "migration guide" / "upgrade guide"   → migration.md
        ├─ "explain this" / "doc this code"      → explainer.md
        └─ ambiguous                             → ask user
    

    When the request is clear enough to choose a mode and scope from local context, proceed without ritual questions and record any assumptions in Review needs.

    General Protocol

    For all modes:

    1. Read the code first — never generate docs from assumptions
    2. Read existing docs and project instructions — README, docs index, AGENTS/CLAUDE/CONTRIBUTING, changelog, API specs
    3. Match existing style — if the project has docs, follow their conventions
    4. Verify accuracy — every claim in the doc must be traceable to code, tests, config, git history, or user-provided source
    5. Use real examples only — examples must come from actual code/tests or be explicitly labeled as illustrative
    6. Mark generated sections — use <!-- generated by assistant-docs --> comments only where the project accepts generated markers
    7. Record review needs — list inferred, stale, or audience-sensitive claims instead of burying uncertainty

    Output

    Return:

    • Status - created, updated, reviewed, or no changes needed.
    • Files - paths changed with a one-line description for each.
    • Evidence - source files, APIs, tests, configs, commits, or examples used as documentation truth.
    • Coverage - what the documentation now covers and what remains out of scope.
    • Review needs - inferred claims, stale areas, audience-sensitive claims, conflicts, or open questions needing user confirmation.
    • Safety notes - any redactions or sensitive/internal details intentionally omitted.

    Staleness Detection

    When entering a project, check for stale docs:

    >> Scanning documentation freshness...
       README.md: last updated 45 days ago, 3 new features since
       API.md: references endpoints that no longer exist
       CHANGELOG.md: missing entries for last 2 releases
    

    Report staleness to user. Offer to update.

    Output Quality

    • Use the project's existing doc format (markdown, XML docs, etc.)
    • For .NET: generate XML doc comments for public APIs when the project uses them
    • For APIs: include request/response examples from tests, fixtures, schemas, or clearly labeled illustrative data
    • For architecture: include Mermaid diagrams only if the project already accepts Mermaid or the user approves; otherwise use text outlines
    • For architecture decisions: do not claim memory, performance, or extensibility benefit without a workload, budget/explicit unknown, measurement method, and failure condition; point to the verification evidence or mark the claim for review.
    • Keep docs concise — verbose docs don't get read
    • Prefer links to existing canonical docs over duplicating content

    Anti-Patterns

    • Don't document obvious code/// Gets the user on GetUser() adds nothing
    • Don't hallucinate features — only document what exists in code
    • Don't create docs the project doesn't need — a 50-line script doesn't need architecture docs
    • Don't duplicate — if info exists elsewhere, link to it
    • Don't leak sensitive context — redact secrets, tokens, private endpoints, and customer data
    • Don't treat stale docs as truth — code/config/tests/git/user-provided source outrank old docs

    Stop Rules

    • Stop and ask every material, non-discoverable question only when the missing answer changes audience, scope, target artifact, public contract wording, or verification; group them by topic and keep them concise.
    • Stop and report gaps when required source files, git history, or docs cannot be accessed.
    • Do not finalize docs until changed claims have source evidence or are clearly marked for review.

    Frequently asked questions

    What to verify before installation and use

    What does the assistant-docs source document cover?

    Create or update README, API, architecture, changelog, or migration docs. Use for explicit documentation work.

    How do I install assistant-docs?

    The source record exposes this install command: npx skills add https://github.com/laimis91/assistant-framework --skill "skills/assistant-docs". Inspect the command and pinned source before running it.

    Alternatives

    Compare before choosing

    Computed 100147

    oaustegard/claude-skills

    featuring

    Generate hierarchical _FEATURES.md files that describe what a codebase DOES from a user/consumer perspective, anchored to source symbols via tree-sitting. Supports large complex codebases through feature-driven decomposition into sub-feature files. Uses a multi-pass synthesis: orientation → detail → overview rewrite. Use when someone says "what does this do", "document features", "feature inventory", "_FEATURES.md", or needs to understand a codebase's purpose before modifying it. Complements tre

    Computed 10017

    dancingteeth/unified-code-review

    unified-code-review

    Risk-first code review for PRs and branch audits: blast-radius triage, agent-authored discipline (tests first, intent evidence), call-graph pincer for integration defects between modules, then structural code-judo bar. Use when reviewing PRs, auditing agent-written diffs, catching rubber-stamp green CI, or wiring bugs single-file review misses. Prefer over structure-only thermo-nuclear review alone. Do not use for unrelated coding tasks or as an always-on rule.

    Computed 99241

    enuno/unifi-mcp-server

    unifi-mcp-tool-builder

    Specialized guide for adding new MCP tools to the UniFi MCP Server following project standards, UniFi API patterns, and test-driven development practices. Use when implementing new UniFi Network Controller features as MCP tools.

    Computed 9970

    PaulRBerg/agent-skills

    skill-writing

    Create/scaffold/init a project-local agent skill under `.agents/skills` in an ordinary repository; defer to repository instructions that define a source catalog and lifecycle.