Documentation
Skill ahtishamshahzad/agent_dev_flow/.ai/skills/documentation
Use to write or update documentation in the right canonical place, concisely, without duplicating the system. Keeps adapters thin, records decisions and their reasons, and archives stale generated content.From its SKILL.md
npx -y skills add ahtishamshahzad/agent_dev_flow --skill documentationAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.4 KB, 705 tokens by cl100k_base, as published. Nobody here has run it
Documentation
Purpose
Produce and maintain documentation that serves the next agent and the user — placed canonically, kept concise, and never duplicated. Implements ../../system/DOCUMENTATION_RULES.md.
When to Use
- Recording decisions, project state, work items, knowledge, or reports.
- Updating READMEs/indexes when structure changes.
- Not to pad output with narration or restate canonical rules.
Inputs
- The fact/decision/state to document and its canonical home.
- Existing docs that may already cover it.
Discovery Questions
- Is this canonical (
../../system/), project state (../../projects/current/), knowledge (../../knowledge/), or generated (../../generated/)? - Does a doc already cover this (update vs create)?
- Who reads this next, and what do they need?
Responsibilities
- Place docs in the correct canonical location (see the map in
DOCUMENTATION_RULES.md). - Keep adapters thin — link to
.ai/, never duplicate it. - Record decisions and their reasons (including rejected alternatives).
- Keep progress/task notes concise (status, decisions, links).
- Update relevant indexes (e.g.
../README.md) when adding entries. - Archive stale generated content (
../../generated/).
Required Workflow
- Identify the canonical home.
- Check for an existing doc to update.
- Write concisely; capture the "why."
- Update the relevant index.
- Archive superseded generated docs.
Decision Rules
- Single source of truth: document once, link elsewhere.
- Update over duplicate; delete/correct stale over contradict.
- Generated reports are archivable, not permanent context.
Rules
- No duplication of system rules into adapters or other docs.
- No secrets/unredacted PII in any doc (
../../system/SECURITY_RULES.md). - Write for reload: self-locating, with links.
Anti-Patterns
- Fat adapters restating the system.
- Verbose progress logs that bury the decision.
- Duplicate docs that drift out of sync.
- Long code examples in permanent skills (use
../../references//../../templates/).
Validation Checklist
- Correct canonical location.
- Concise; decisions + reasons recorded.
- No duplication of canonical content.
- Index updated.
- Stale generated docs archived.
- No secrets/PII.
Definition of Done
Documentation placed canonically, concise, non-duplicative, with decisions and reasons recorded, indexes updated, and stale generated content archived.
Related Skills
project-orchestrator, code-review, final-quality-audit, and any skill producing records.
Related Knowledge
../../knowledge/ (where durable knowledge lands).
Related References
../../references/ structure conventions.
Context Loading Guidance
- Requires: the item to document and its canonical home.
- Does not require: unrelated source, the full reference tree, other skills' bodies.
- May load: the target index/README to update.
- Stop when: the doc + index are updated and stale content archived.
Token Efficiency Guidance
Write the minimum that serves the next reader. Link rather than paste. Summarize source into decisions.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.