andresgongora/agent-config/docs-write
Claude Code and agent skill by andresgongora/agent-config
- community
Checking that the SKILL.md file is still in the repository.
Manage durable `.agent/` docs: admit, place, update, prune, and validate notes, costly handoffs or bug logs, and plan metadata.
Install
npx vskill@latest install andresgongora/agent-config/docs-writeSKILL.md
The same SKILL.md was published earlier as andresgongora/agent-config/docs-write.
Persist knowledge future agents need, stored under repository .agent/ folder.
Admission Gate
Create or expand a durable note only when all hold:
- Information high-value and settled. Facts have matching evidence; decisions have accepted scope, rationale, and owner/source.
- Recovery cost real. Future session would repeat costly research, exploration, debugging, or decision work.
- Reuse survives session.
Create a handoff or bug log only when task state is costly to lose. Prompt/todo holds all other in-flight state.
Do not create: chat transcript, raw log, speculative durable note, duplicate, one-shot trivia, routine progress narration. Bug logs may record hypotheses only when labeled as hypotheses.
Core Rules
- Target audience: AI agents. Write ultra-condensed, terse, avoid unnecessary item enumerations, preserve technical details.
- Keep
.agent/small, factual, discoverable. - Every managed doc follows placement and frontmatter contract.
- Facts state evidence. Never write hypothesis as fact.
- One doc, one topic. Split independent high-value topics at a natural boundary. Update an existing doc when new durable information fits its topic.
- Link source or relevant existing doc. Do not copy large background.
- Valuable misplaced doc: move. Duplicate or valueless doc: delete or archive.
- Stale external claim: verify source before update.
- Never lint
.agent/**.mddocs; run onlyscripts/check-frontmatterand address its findings. - Update: source drift, architecture/design change, or new durable information that fits an existing topic.
- Prune stale, duplicate, noisy, or wrong docs: correct, archive, or delete; move reusable content to
notes/first. - This skill owns plan placement, frontmatter, and lifecycle. The durable-plan workflow owns content and shape.
- No Revisions log, leads to cumulative meta residue.
Placement
| Destination | Content | Lifecycle | |
|---|---|---|---|
.agent/notes/ | Durable design, architecture, reference, decisions, settled research; include title, purpose, durable facts/decisions, non-obvious conventions, source links | Inactive: archive if reference survives; else delete | |
.agent/progress/ | Handoff at task pause/stop/session boundary | Task ends: delete; reusable conclusion moves to notes/ | |
.agent/bugs/ | Debug evidence, failed attempts, root cause; per attempt include symptom, hypothesis, tried, result, next. | Resolved: extract reusable lessons to notes/, delete bug note. | |
.agent/plans/ | Decision-grade implementation plan | Decision ends: reusable decision moves to notes/; else delete |
Frontmatter
Every managed .agent/**/*.md starts with required fields:
description:decides read-or-skip. One physical line, dense, concrete, double-quoted.updated:is date of last substantive change.draft: incomplete note or plan.active: current handoff, investigation, or plan.stale: source or relevance needs review.resolved: fixed bug.archived: inactive retained reference.done: completed task doc pending deletion or extraction.- External-source content needs
source: <canonical URL>.references:is optional; never replacessource:. - Run
scripts/check-frontmatter <managed-doc.md>before finish. It checks required fields,status,updated, optionalsource; manually check remaining rules.
Boundaries
- Never write absolute home paths or usernames in
.agent/**docs. Use~/.
Security
- Security scanPassed, 98 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/docs-write/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/andresgongora/agent-config/docs-write)