Agent skill
docs
(ePost) Use when user says "write docs", "update docs", "document this", "init docs", "reorganize documentation", or "add component docs" — detects docs intent (init, update, migrate, component) and runs the right workflow
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/docs-klara-copilot-epost-agent-kit
Metadata
Additional technical details for this skill
- connections
-
{ "enhances": [], "requires": [ "knowledge-retrieval" ] } - argument hint
- [--init | --migrate | --reorganize | --scan | --verify | --batch [category]]
SKILL.md
Docs — Unified Documentation Command
Auto-detect and execute the appropriate documentation workflow following knowledge-retrieval/references/knowledge-base.md structure.
Step 0 — Flag Override
If $ARGUMENTS starts with --init: load references/init.md, execute in generation mode.
If $ARGUMENTS starts with --migrate: load references/init.md, execute in migrate mode.
If $ARGUMENTS starts with --reorganize: load references/update.md, execute in reorganize mode.
If $ARGUMENTS starts with --scan: load references/update.md, execute in scan mode.
If $ARGUMENTS starts with --verify: load references/update.md, execute in verify mode.
If $ARGUMENTS starts with --batch: load references/component.md, execute in batch mode. Pass remaining args as category filter.
Otherwise: continue to Auto-Detection.
Aspect Files
| File | Purpose |
|---|---|
references/init.md |
Scan codebase and generate or migrate KB documentation |
references/update.md |
Update, scan, verify, or reorganize existing documentation |
references/component.md |
Document a klara-theme component (Figma data + prop mapping) |
Auto-Detection
- Check if
docs/index.jsonexists in the project root - Check intent signals in
$ARGUMENTSor user message - Check if args reference a specific component or library key
- Check platform-specific paths (web:
packages/, iOS:Sources/, Android:app/)
Decision Matrix
| Condition | Load Reference | Mode |
|---|---|---|
docs/index.json absent, flat docs present |
references/init.md |
migrate |
docs/index.json absent, no docs |
references/init.md |
generation |
| Intent: reorganize, structure, orphan, inconsistent, KB audit | references/update.md |
reorganize |
| Intent: migrate, convert flat docs, restructure | references/init.md |
migrate |
| Intent: scan, staleness, health, gaps | references/update.md |
scan |
| Args match a component/library key AND component source exists | references/component.md |
— |
docs/index.json present (default) |
references/update.md |
update |
Execution
Load the reference file and execute its workflow.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?