/jaan-to:docs-create
Create new documentation with standard templates.
What It Does
Creates documentation files following STYLE.md standards. Includes templates for all doc types, adds proper metadata, checks for duplicates, and commits the result.
Usage
/jaan-to:docs-create {type} "{name}"
Types: skill | hook | config | guide | concept | index
What It Asks
| Question | When |
|---|---|
| What type of doc? | If not specified |
| What's the name/title? | If not specified |
| Which role? | For skill docs |
| What does it do? | For content |
| What are the steps? | For guides |
Output
| Type | Path |
|---|---|
| skill | docs/skills/{role}/{name}.md |
| hook | docs/hooks/{name}.md |
| config | docs/config/{name}.md |
| guide | docs/extending/{name}.md |
| concept | docs/{name}.md |
| index | docs/{section}/README.md |
Example
Input:
/jaan-to:docs-create skill "test-runner"
Questions:
- Which role? → "qa"
- What does this command do? → "Runs test suites"
Output (docs/skills/qa/test-runner.md):
---
title: Test Runner
doc_type: skill
created_date: 2026-01-26
updated_date: 2026-01-26
tags: [qa, testing]
---
# /qa-test-runner
> Runs test suites for quality assurance.
---
## What It Does
...
Features
- Templates for all doc types
- YAML metadata with dates and tags
- Duplicate check before creating
- STYLE.md validation before writing
- Auto-commit with summary
- Calls /jaan-to:docs-update for related docs
Tips
- Be specific with the name to avoid duplicates
- For skills, know the role beforehand
- Check the preview carefully before approving
- Use tags that help with searchability