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-04
- Source checked
- 2026-08-04
Decision brief
What it does—and where it fits
Create or update README, API, architecture, changelog, or migration docs. Use for explicit documentation work.
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
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
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.
npx skills add https://github.com/laimis91/assistant-framework --skill "skills/assistant-docs"Inspect the Agent Skill "assistant-docs" from https://github.com/laimis91/assistant-framework/blob/e85fbadd83b022d9644bbe51b11784cf2e2dfd72/skills/assistant-docs/SKILL.md at commit e85fbadd83b022d9644bbe51b11784cf2e2dfd72. 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
- 01
Contracts
Covers the developer's documentation weakness by generating accurate, maintainable docs from code.
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 - 02
Goal
Produce documentation that is accurate, maintainable, and traceable to source evidence.
Produce documentation that is accurate, maintainable, and traceable to source evidence. - 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.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. - 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 only when missing audience, scope, target file, or doc type materially changes the output and cannot be inferred from the request or repo.If evidence is weak, write generic wording with placeholders or mark the claim for review. - 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
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 89/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 7 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated 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
- e85fbadd83b022d9644bbe51b11784cf2e2dfd72
- License
- MIT
- Collected
- 2026-08-04
- Default branch
- main
View the original SKILL.md
Documentation Generator
Contracts
| File | Purpose |
|---|---|
contracts/input.yaml | doc_type, scope, source_files[], format |
contracts/output.yaml | files_updated[], evidence_sources[], doc_coverage, review_items[], safety_notes[] |
doc_typeandscopeare required;source_filesandformatare inferred when absentfiles_updatedentries include path, change_type (created/modified), and descriptionreview_itemsis non-empty when docs contain inferred, stale, conflicting, or audience-sensitive claims needing confirmation
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.
- 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 only when missing audience, scope, target file, or doc type materially changes the output and cannot be inferred from the request or repo.
- 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
| Mode | File | When to use |
|---|---|---|
| API Docs | api-docs.md | Endpoints, services, public interfaces |
| Architecture | architecture.md | System overview, component relationships, data flow |
| README | readme-gen.md | Project README from codebase analysis |
| Changelog | changelog.md | Release notes from git history |
| Migration Guide | migration.md | Breaking changes, upgrade steps |
| Code Explainer | explainer.md | Deep 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:
- Read the code first — never generate docs from assumptions
- Read existing docs and project instructions — README, docs index, AGENTS/CLAUDE/CONTRIBUTING, changelog, API specs
- Match existing style — if the project has docs, follow their conventions
- Verify accuracy — every claim in the doc must be traceable to code, tests, config, git history, or user-provided source
- Use real examples only — examples must come from actual code/tests or be explicitly labeled as illustrative
- Mark generated sections — use
<!-- generated by assistant-docs -->comments only where the project accepts generated markers - 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
- 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 useronGetUser()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 one focused question only when the missing answer changes audience, scope, target artifact, public contract wording, or verification.
- 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.
Alternatives
Compare before choosing
huggingface/skills
huggingface-zerogpu
AI demos and GPU compute with Gradio Spaces and Hugging Face Spaces ZeroGPU. Use when writing or reviewing code that uses `@spaces.GPU`, configuring `python_version` or `requirements.txt` for a ZeroGPU Space, or handling ZeroGPU-specific code constraints — pickle-based process isolation, `gr.State` semantics across the worker boundary, no `torch.compile` (use AoTI instead), CUDA wheel-only builds (no `nvcc` at build or runtime), large vs xlarge sizing, and dynamic duration callables. Make sure t
K-Dense-AI/scientific-agent-skills
esm
Use when working directly with the `esm` Python SDK, ESM3 or ESMC model IDs, Forge/Biohub inference clients, or ESMFold2 folding workflows.
event4u-app/agent-config
project-analyzer
ONLY when user asks for single-pass tech-stack detection or `agents/evidence/analysis/` write-up. Deep multi-pass audit → `universal-project-analysis`. Raw primitives → `project-analysis-core`.
mgiovani/cc-arsenal
team-review
Multi-agent review team: architecture, security, performance, testing, style, docs/UX, plus an adversary that cross-examines the other 6, for security-sensitive, architectural, or large PRs (15+ files) where a single-agent pass risks missing cross-cutting issues. Use for auth/payments/PII changes, schema/pattern changes, compliance sign-off, or when asked to 'get the review team on this' / 'multi-agent review' / 'thorough review before merge'. For a standard PR or a quick pre-merge check, use /r