Initialize a new change folder under context/changes/<change-id> with a change.md identity file
Ships in product-shaping. 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.
None: SKILL.md is the whole skill.
Bootstrap a new change folder under context/changes/<change-id>/. Creates a tiny identity file (change.md) and points the user at the next skill.
A "change" is a single unit of work end-to-end — research, planning, implementation, and review all live inside one folder keyed by <change-id>.
When this command is invoked:
I'll create a new change folder. Please provide a change-id (kebab-case slug):
Examples:
/shape-new context-dir-restructure
/shape-new oauth-login add Google sign-in so users skip the email-password step
/shape-new @context/changes/oauth-login/
The first token becomes the change-id. Anything after it is freeform intent — used to write a richer title and to pick the next-step suggestion. Path-style references (with or without a leading `@`) are accepted; the last path segment is used as the change-id.
The change-id must be:
- kebab-case (lowercase letters, digits, hyphens; no leading/trailing hyphen, no double hyphens)
- unique across `context/changes/` and `context/archive/`
Then wait for the user to provide an argument.
Split the raw argument string on the first run of whitespace:
@ if present (@context/changes/feature-x/ → context/changes/feature-x/)./ if present./, take the last non-empty path segment (context/changes/feature-x → feature-x).<change-id>.Examples:
| Raw input | <change-id> | Intent |
|---|---|---|
feature-x | feature-x | (empty) |
oauth-login add Google sign-in for faster onboarding | oauth-login | add Google sign-in for faster onboarding |
@context/changes/oauth-login/ | oauth-login | (empty) |
@context/changes/oauth-login/ revisit the token-refresh edge case | oauth-login | revisit the token-refresh edge case |
My Feature add OAuth | My Feature (will fail kebab-case check) | add OAuth |
Before creating anything:
kebab-case check: <change-id> must match ^[a-z][a-z0-9]*(-[a-z0-9]+)*$ (starts with a letter, segments of lowercase + digits separated by single hyphens, no leading/trailing hyphen, no double hyphens).
error: change-id "<id>" is not kebab-case. Use lowercase letters, digits, and single hyphens only (e.g., "oauth-login", not "OAuth Login"). and STOP.Uniqueness check: neither context/changes/<change-id>/ nor context/archive/<change-id>/ may already exist.
error: change "<id>" already exists at <path>. Pick a different change-id or work inside the existing folder. and STOP.context/changes/ parent exists: if missing, print error: context/changes/ not found — is this repo set up for the shape context structure? and STOP. (Do NOT auto-create the parent; that's a sign the repo isn't ready.)
context/changes/<change-id>/.<title>:
multi-course-access → Multi course access).## Notes body:
<!-- Free-form notes for this change: links, ad-hoc context, decisions that don't belong in research/frame/plan. -->context/changes/<change-id>/change.md with this exact shape (the <notes-body> slot is what step 3 produced):---
change_id: <change-id>
title: <title>
status: new
created: <YYYY-MM-DD>
updated: <YYYY-MM-DD>
archived_at: null
---
## Notes
<notes-body>
<YYYY-MM-DD> is today's date (use date +%Y-%m-%d).
See docs/reference/change-md.md for the full schema reference (allowed status values, transitions, what is intentionally NOT in change.md).
After successful creation, print a next-step prompt and copy the suggested command to clipboard.
The default next step is /shape-plan <change-id> — most changes go straight to planning. The other two skills are situational: /shape-research when the parsed intent (or the surrounding turn) suggests the change requires meaningful codebase exploration before a plan can be written, and /shape-frame when the intent signals that the framing is suspect — either bug-shape ("fix", "bug", "broken", "why is", "root cause", "regression", "self-diagnosed solution") or scope/design-shape ("should we even", "is this the right", "what's actually broken", "rethink", "challenge the assumption"). Pick the situational option only when the signal is clear; otherwise default to /shape-plan.
NEXT_CMD="/shape-plan <change-id>" # default; see above for when to switch to /shape-research or /shape-frame
echo -n "$NEXT_CMD" | pbcopy 2>/dev/null || echo -n "$NEXT_CMD" | clip.exe 2>/dev/null || echo -n "$NEXT_CMD" | xclip -selection clipboard 2>/dev/null || true
# PowerShell (Windows)
Set-Clipboard $NEXT_CMD
Then display:
✓ Created context/changes/<change-id>/change.md (status: new)
Next step:
→ <NEXT_CMD> (✓ copied to clipboard)
Other options:
/shape-research <change-id> — explore the codebase first (when planning needs grounding)
/shape-frame <change-id> — challenge the framing first (when the symptom and proposed fix are stated as one, or when the right scope to plan is unclear)
If no clipboard tool is available (pbcopy, clip.exe, xclip, Set-Clipboard), drop the (✓ copied to clipboard) annotation but still print the suggestion.
frame.md, research.md, plan.md, or any other artifact — those come from their respective skills.## Progress section in plan.md is the single source of truth for execution state.change.md is record-only.context/changes/ parent directory; if it's missing, the repo isn't bootstrapped for this structure and the user should resolve that first.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/product-shaping:shape-new <change-id-or-path> [freeform intent]from product-shaping
npx claudepluginhub patrykkopycinski/patryks-treadmill-claude-plugins --plugin product-shaping30 skills in this plugin
/shape-agents-mdGenerate an AGENTS.md onboarding document for AI coding agents working in this repository. Inspects the repo (package manifest, README, scripts, lint/test config, layout, commit history) and writes a concise contributor guide titled "Repository Guidelines". Use when the user invokes /shape-agents-md, asks to "create AGENTS.md", "write an agent onboarding doc", "generate contributor guide for agents", or similar. The output is optimized to be small, precise, reference-heavy, and ordered with critical rules at the top — so a future agent reads it once and stays unblocked.
/shape-archiveArchive a completed change by moving its folder into context/archive/ and stamping change.md with archived status/shape-