spec-author · git:20260929.b5a2f31 · 2026-09-29 · sha256 90c2751e7ce2805b

spec-author git:20260929.b5a2f31A

Immutable. This exact content never changes and is served at /api/v1/blob/90c2751e7ce2805b.

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_zuhdoexsoesxrdfx/90c2751e7ce2805beb5d61829f226418f82ff38d194a96660b4c39313d4e8e34.json

Then /plugin install spec-author@markdownregistry-zuhdoexsoesxrdfx in Claude Code. It installs this exact version, the one graded A here, pinned to the commit it was graded at, and leaves it there.

---
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 the matching page under `docs/site/content/docs/spec-format/`.
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.