/ai-sdlc-harness:story-workflowfrom ai-sdlc-harness
Refines, analyzes, and grooms user stories/work items for quality, including readiness reports, template restructuring, gap-filling, and codebase-aware technical grooming. Invoke via /story-workflow.
Ships in ai-sdlc-harness. 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.
Improves work-item quality through four commands. Read-mostly: it fetches a
work item, helps shape it, and — only with the user's consent — posts the
result back as a comment. It never starts a dev run and never touches
ai/<run>/ run state.
Every harness call is ${CLAUDE_PLUGIN_ROOT}/bin/harness <verb> … — the full
path, run by you via Bash (a bare harness is not on PATH, and shell variables
set in one Bash call do not persist to the next). Non-zero exit = refused; read
the JSON error and act on it.
/story-workflow <command> <work-item-id> [session-notes…]
<command> is one of analyze, refine, improve, groom. <work-item-id>
is whatever the configured provider uses — a number (ADO / GitHub / GitLab), a
key (PROJ-123, Jira), or, for local-markdown, the story's id (the file
stem inside provider.stories_dir, e.g. WORK-7 for WORK-7.md — not a
path). Any trailing tokens are session notes, passed through to improve and
refine.
| command | file | one-line |
|---|---|---|
improve | commands/improve.md | adaptive single-pass: assess → gap-fill → draft (the recommended default) |
analyze | commands/analyze.md | standalone readiness report with flags |
refine | commands/refine.md | slow, section-by-section interactive restructure |
groom | commands/groom.md | codebase-aware per-repo technical notes |
Parse $ARGUMENTS: the first token is the command, the second is the work-item
id, the rest are notes. If the command is missing or unknown, print the usage
line plus the table above and stop — do not guess. If the id is missing, ask
for it — never proceed without one. Then read the one matching command file and
follow it (context economy: load a single command file, not all four).
.claude/context/provider.yaml must
exist. If it doesn't, /init-workspace never ran — send the user there and
stop. The active provider is resolved from config by the harness; you never
hand-pick it.shared/provider-io.md. Read
it; the commands cite it instead of repeating it.improve and groom) lives once in
shared/context.md.local-markdown story the user explicitly asks you to rewrite in place; see
shared/provider-io.md.templates/ are read-only references — don't modify them while a
command runs.commands/analyze.md (opens in a new tab)commands/groom.md (opens in a new tab)commands/improve.md (opens in a new tab)commands/refine.md (opens in a new tab)shared/context.md (opens in a new tab)shared/provider-io.md (opens in a new tab)templates/readiness-report.md (opens in a new tab)templates/story-template.md (opens in a new tab)templates/technical-notes.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mostashraf/ai-sdlc-harness --plugin ai-sdlc-harness8 skills in this plugin
/add-repoRegister one new repo into an already-bootstrapped workspace, without disturbing repos already registered or re-running the full interview. USER-ENTRY — invoke only when the user explicitly runs /add-repo; never autonomously, never from a subagent (guard-enforced).
/dev-workflowRun the governed SDLC pipeline for a work item. USER-ENTRY — invoke only when the user explicitly runs /dev-workflow <work-item-id>; never trigger autonomously from conversation, and never from a subagent (guard-enforced).
/init-workspaceOne-time workspace setup for the ai-sdlc-harness pipeline. USER-ENTRY and HUMAN-ONLY — invoke only when the user explicitly runs /init-workspace; never autonomously, never from a subagent (guard-enforced).
/migrate-workspaceAdopt a v2.x ai-sdlc-harness workspace into v3.0 — config carries over, run history stays archived in place. USER-ENTRY and HUMAN-ONLY — invoke only when the user explicitly runs /migrate-workspace; never autonomously, never from a subagent (guard-enforced).
/repo-map-refreshRegenerate the auto-generated repo map the planner grounds its plans in. USER-ENTRY — invoke only when the user explicitly runs /repo-map-refresh; never autonomously, never from a subagent (guard-enforced).
/workflow-statusRead-only dashboard of ai-sdlc-harness runs in this workspace. USER-ENTRY — invoke only when the user explicitly runs /workflow-status; never autonomously, never from a subagent (guard-enforced).
Other plugins' skills for the same job