| name | doc-author |
| description | Guide a user through authoring a new document using the GoodDocs template and validation rules. |
Skill: doc-author
Purpose
Guide a user through authoring a new document using the GoodDocs template and validation rules.
Behavior
- If
repo.config.jsonexists, usedefaultDocTypeKeyanddefaultOwnersautomatically. - Ask the user for:
- Title
- Motivation
- Proposed solution
- Alternatives/open questions
- Determine the next numeric ID by scanning
docs/<docRoot>for####-*.mdand incrementing the max value. - Set frontmatter
idtoDOC-####and generate####-<kebab-title>.mdusingtemplates/doc-template.md. - Update
docs/README.mdto include a link to the new document. - Run
python3 scripts/validate_docs.pyand fix issues before finishing.