/coding:replanfrom coding
Forces iterative deep planning with structured critiques and alternatives before committing to a design. Use when facing complex architecture, data model, or API decisions.
Ships in coding. 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.
Documented in depth: Claude picks the first idea that works. Make it pick the best one.
You are going to replan — an iterative process of designing, critiquing, and refining a plan.
Coding agents tend to commit to the first workable approach they find. For design decisions with high switching costs (architecture, data models, API surfaces), seek the best approach rather than the first one that clears the bar. This skill forces multiple structured critiques before settling the design.
Design your first approach, considering requirements and existing solutions. Expect it to be imperfect.
Generate thorough, specific critiques of your plan:
Vague critiques like "this could be more robust" are useless. Aim for "this assumes the client handles reconnection, but I haven't verified that."
Brainstorm alternatives that address the specific weaknesses found in step 3. Goals:
Select the most promising alternative and flesh it out to the same level of detail as the original. A hand-wavy alternative that "sounds simpler" isn't a real comparison.
Repeat steps 3-5 at least three times, asking for user feedback at each iteration. The checkpoints aren't just for steering — they're where the user injects context you can't grep for: product goals, domain constraints, recent team decisions, upcoming migrations.
Assemble the best features from all iterations into a robust final plan.
For each iteration, present options with pros/cons:
[Description]
Pros: ... Cons: ... Risks: ...
[Which option and why, per design principles]
This skill is for thinking, not doing. Treat the workflow as read-only: do not edit project files or begin implementation while replanning.
Read-only commands are allowed, and encouraged, to settle an assumption the
plan rests on: git log for how a module got this way, npm ls for what is
actually installed, a small probe for whether an API behaves as assumed. An
unverified assumption is a risk you are handing to the implementer.
The line is intent, not tooling: run commands to test the plan, never to start building it. "Let me just write a quick script to try this" is how replanning turns into implementing.
AGENTS.md, optional
CLAUDE.md, architecture docs, or design principles — every listed file is
read at the start of each invocation, so keep it short and high-value.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub photostructure/coding-skills --plugin coding12 skills in this plugin
/findFind the local coding-agent session that wrote the uncommitted changes in a file, or in a pasted snippet of changed code or comment text, and give a one-line command that resumes it. Prefers the session that authored the change over a review session. Use when asked which session, chat, thread, or agent made an edit, or how to get back to the session behind a change./gitplanPlan and execute coherent Conventional Commit groupings for tangled working tree changes — multiple intertwined logical edits that need to be split into separate, reviewable commits./handoffUpdate the active Technical Project Plan for handoff when context is running low or the session is ending, so the next session continues instead of restarting.