feature-spec-new
Write a new feature spec to the documentation standard, or revise one. This is the one skill that writes every feature spec (docs/features/<feature>/spec.md); luismc-specs:spec-new covers specs that a
SKILL.mdclaude/plugins/docs/skills/feature-spec-new/SKILL.md
GitHubFeature spec — new
Produces docs/features/<feature>/spec.md from templates/feature-spec.md (DOCSPEC §4). Read the template and §4 before you write.
This skill writes every feature spec. luismc-specs:spec-new writes only specs that are not features and hands feature specs here. luismc-artifacts:feature-artifact-new (promote-to-spec) writes this same file from a feature page and follows this template.
Loop
- Read the code the feature touches, and the feature's artifact in the record (
record_dir) if there is one. Promote its findings and decided choices into the spec (R4.10). Copy the decided entries of itsdecisions.jsoninto section 10. - Pick
appsandtopicsfromdocs/docs.json. Ask the owner only when the lists do not cover the feature. - Copy the template into
docs/features/<feature>/spec.md(folder name: lower-case words with hyphens). Setidto the folder name,status: proposed(orbuilding),version: 0.1.0,code:globs,last_verified:today. - Write sections 1 to 4 for every reader: one paragraph, why, a Mermaid flow and the steps in words, screens and states (images in
images/with alt text, rules cited by design-system ID, never written here). Then 5 to 12 for engineers. Delete any section that does not apply. - Every requirement gets an ID and a test in section 9. Mark unbuilt parts
NOT YET IMPLEMENTED. - Run
docs_index.py buildthendocs_check.py; fix every error.
Never write version or the Versions table. The release fold does. For later changes use docs-note.