/agentic-behavior:spec-managementfrom agentic-behavior
Creates, updates, and reviews specifications during the PR process. Enforces spec-driven development where every plugin change includes a spec update.
Ships in agentic-behavior. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Specifications are natural-language descriptions of features that serve as the source of truth for PM, PO, QA, QE, and ops. Think of them as natural-language unit and integration tests -- they define what a feature does, why it exists, and how to verify it works.
Specs live co-located with the plugin they describe:
plugins/<plugin-name>/docs/specs/
draft/ # Initial drafts and brainstorming
reviewed/ # Reviewed and approved
in-progress/ # Currently being implemented
live/ # Finalized and actively in use
deprecated/ # Outdated but still referenced
archive/ # No longer in use
This follows the convention defined in common-sense/rules/mantras-and-incremental-development.md.
Each spec is a single markdown file with YAML frontmatter, a reader guide, and content sections that mix narrative with testable Given/When/Then scenarios.
---
title: "<Feature or Rule Name>"
status: draft | reviewed | in-progress | live | deprecated | archived
version: "0.1.0"
created: YYYY-MM-DD
updated: YYYY-MM-DD
pr: "<owner/repo#N or URL>" # PR that introduced or last updated this spec
---
Immediately after frontmatter, include a short section explaining who the spec is for and how to read it:
## Reader Guide
**Audience:** PM, PO, QA, QE, ops, and engineers implementing the feature.
**How to read this spec:** Narrative sections describe intent and context.
`Given/When/Then` blocks define testable acceptance criteria. If you are
reviewing for correctness, focus on the Given/When/Then blocks.
Specs use a combined format -- Problem & Requirements (what and why) plus Technical Design (how) in a single document. Do NOT separate these into distinct "PRD" and "spec" documents.
Typical sections:
Use this format for testable criteria:
### Scenario: <descriptive name>
**Given** <precondition>
**When** <action or trigger>
**Then** <expected outcome>
Group related scenarios under a shared heading. Each scenario should be independently verifiable.
plugins/<plugin>/docs/specs/draft/<spec-name>.mdstatus: draftupdated date in frontmatterWhen reviewing a PR that includes a spec:
| Anti-Pattern | Instead |
|---|---|
| PR changes plugin behavior with no spec update | Include spec update in the same PR |
| Separate PRD and technical spec documents | Use combined format in one file |
| Spec only has narrative, no testable criteria | Add Given/When/Then acceptance criteria |
| 800-line mega-spec | Split into parent + child specs |
| Spec lives in a random location | Co-locate under plugins/<name>/docs/specs/ |
| Starting implementation before spec exists | Write at least a draft spec first |
references/spec-template.md -- starter template for plugin/PR-scoped specs, with sections for Problem, Requirements, Technical Design, and acceptance criteria. Copy this as the starting point for a new spec.sdlc-utils:spec-writing and its more comprehensive template at plugins/sdlc-utils/skills/spec-writing/references/spec-template.md.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub nsheaps/ai-mktpl --plugin agentic-behavior9 skills in this plugin
/brainGit-backed memory and prompt tracking with self-checking reminders. Auto-saves prompts, syncs memory to git, and implements the Ralph loop pattern for work validation./claude-codeReference material for Claude Code internals — the on-disk layout under ~/.claude and project-scope .claude, the plugin cache, session-env propagation, and the full hook lifecycle. Auto-recall when working on Claude-Code-related tasks: writing or debugging hooks, authoring plugins, inspecting session state, troubleshooting why an env var is or isn't visible to a Bash tool call, or when paths under ~/.claude or ~/.claude/plugins/ come up./continue-workOther plugins' skills for the same job