spec-author ยท diff

git:20260503.e110678 to git:20260916.2721da9

1 added, 1 removed. Audit A to A.

What this update changes in the checks

No check changed: every fixed check gives the same answer before and after this update.

A tripped check is a label, not a verdict: read the matched text and the lines below. This week's updates that newly trip a check.

---
name: spec-author
description: Author a new agnostic-ai spec (agent, skill, rule, or hook). Use when the user wants to add a new prompt, convention, or hook to their project.
---
# spec-author
Authors a new agnostic-ai spec file from a description.
## Steps
1. Ask the user which kind: agent, skill, rule, or hook.
2. Pick the right directory and extension:
- agent: `agents/<name>.md`
- skill: `skills/<name>/SKILL.md`
- rule: `rules/<name>.md`
- hook: `hooks/<name>.yaml`
- 3. Build the YAML frontmatter (or full YAML for hooks) per `docs/user/spec-format.md`.
+ 3. Build the YAML frontmatter (or full YAML for hooks) per `docs/site/content/docs/spec-format.md`.
4. Write the body in plain English. Lead with the action.
5. Run `agnostic-ai validate` to confirm parse.
6. Run `agnostic-ai sync --dry-run` to preview emitted outputs.
## Conventions
- `name` field matches the file name without extension.
- `description` is one short sentence.
- Body is markdown. Avoid em dashes. Avoid filler.
- Hooks include a `command` field with the exact shell to run.