# Doc Author

> Guide a user through authoring a new document using the GoodDocs template and validation rules. Use when this capability is needed.

- Skill: `tomevault-io/doc-author-2` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/doc-author-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/doc-author-2/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/doc-author-2

---


# Skill: doc-author

## Purpose
Guide a user through authoring a new document using the GoodDocs template and validation rules.

## Behavior
1. If `repo.config.json` exists, use `defaultDocTypeKey` and `defaultOwners` automatically.
2. Ask the user for:
   - Title
   - Motivation
   - Proposed solution
   - Alternatives/open questions
3. Determine the next numeric ID by scanning `docs/<docRoot>` for `####-*.md` and incrementing the max value.
4. Set frontmatter `id` to `DOC-####` and generate `####-<kebab-title>.md` using `templates/doc-template.md`.
5. Update `docs/README.md` to include a link to the new document.
6. Run `python3 scripts/validate_docs.py` and fix issues before finishing.

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/sidu) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-11 -->

