Agent Skills
DocSlime ships agent skills so Codex, Claude Code, ChatGPT, and other skill-aware tools can drive the documentation lifecycle with the same product rules the CLI scaffolds.
The CLI creates files. The skills do the judgment-heavy work: check installation, scaffold a repo, interview the user, fill documents, create ADRs, and review the result for KISS problems.
Install
npx skills add DecisionNerd/DocSlime
For a specific coding agent:
npx skills add DecisionNerd/DocSlime --agent codex
npx skills add DecisionNerd/DocSlime --agent claude-code
Skills
| Skill | What it does |
|---|---|
docslime-install |
Verifies the docslime binary and installs it if missing. |
docslime-init |
Confirms the current repo and scaffolds the standard docs/ tree. |
docslime-fill |
Interviews the user and fills one scaffolded document. |
docslime-adr |
Creates and fills the next-numbered Architecture Decision Record. |
docslime-kiss |
Reviews filled docs for bloat, stale contradictions, weak traceability, and generic AI prose. |
Skill Quality Bar
DocSlime skills are intentionally closer to small operating procedures than prompt snippets. Each bundled skill should tell an agent:
- When to use it and when to hand off to another DocSlime skill.
- Prerequisites such as an installed
docslimebinary, a repo root, or an existing docs tree. - Steps that preserve user work and ask for missing facts instead of inventing them.
- Guardrails for the command surface:
init,add, andlistare CLI commands;docslime-kissis a skill. - Verification commands or checks that prove the work finished.
- Failure handling for missing binaries, missing docs, ambiguous targets, dirty context, or unfinished
LLM:guidance.
How it works at runtime
Once installed, invoke the skills from inside the agent:
/docslime-install
/docslime-init
/docslime-fill PRODUCT.md
/docslime-adr embed-templates-in-binary
/docslime-kiss
Each skill follows the docs tree instead of maintaining a separate source of truth. Product context lives in docs/PRODUCT.md, design context lives in docs/DESIGN.md, and decisions live in docs/engineering/adrs/.
See the lifecycle guide for how skills fit into continuous discovery, Domain Driven Design, and TDD+BDD traceability.
The same files feed design work: impeccable loads docs/PRODUCT.md and docs/DESIGN.md for homepage/product critique, so skill-driven doc updates improve future UI iteration too.
Recommended flow
- Run
docslime init. - Fill
PRODUCT.mdwithdocslime-fill. - Capture discovery in
experience/, translate it intoREQUIREMENTS.md, then work through architecture, testing, publishing, and observability. - Use
docslime-adrwhenever a durable technical or product decision is made. - Run
docslime-kissbefore merging documentation-heavy changes and whenever production learning exposes stale assumptions.
Validation
Run the repo-native checks before release or after changing skill metadata:
cargo test
The repository tests inspect the bundled skills for required sections, so skill robustness stays part of the normal test loop. CI also has a dedicated Agent skills job that checks every bundled docslime-* skill for frontmatter, OpenAI metadata, guardrails, verification, and failure handling. When working in a harness that ships the Agent Skills validator, also run quick_validate.py .agents/skills/<skill> for each changed skill.