From architecture
Turn approved architecture-design artifacts, with supporting review findings when present, into an incremental implementation/refactoring plan. Use when asked to plan a refactor, sequence remediation, or implement an approved target architecture. Produces a task-runner-compatible, verifiable plan that cites source findings, evidence, design decisions, contracts, or risks. NOT for applying changes (hand off to a mutator agent), designing target architecture (use architecture-design), or scoring (use architecture-scorecard).
How this skill is triggered — by the user, by Claude, or both
Slash command
/architecture:architecture-planThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Derive an actionable, incremental implementation/refactoring plan from an
Derive an actionable, incremental implementation/refactoring plan from an approved design, with review findings as supporting context when present. The artifact is executable by an engineer, mutator agent, or task runner; the architect writes the plan and stops.
Use after an architecture design, when the user wants approved target
architecture implemented. For existing-code remediation, the default chain is
architecture-review → architecture-design → architecture-plan. Plan one
hotspot, boundary, module, or flow per plan unless a roadmap is explicitly
requested.
If there is no approved design artifact, recommend architecture-design first.
If there is no review report for existing-code remediation, recommend
architecture-review before design unless the user explicitly wants greenfield
target-state design.
architecture-review first
unless the user already supplied enough current evidence.architecture-design before
planning.architecture-plan to sequence small, verifiable changes
from an approved design, citing review findings as supporting rationale when
present.architecture-review to verify the code
now matches intended architecture and the plan's acceptance criteria.Maintain a visible task list for the planning flow. Track at least:
Keep task names outcome-based. Do not expose prompt or tool internals in task names.
When the user asks to write or generate a plan and gives no destination, write it
under docs/plans/ using a kebab-case slug from the target, for example
docs/plans/extract-auth-boundary.md. Create docs/plans/ if it is missing.
Use a user-specified path only when provided. If the user-specified path is
outside docs/plans/, state that the executor must be invoked with that exact
path or the plan must be copied/symlinked into the configured plans directory.
Anchor to the source artifacts. Cite the approved design artifact plus decision, contract, risk, or module IDs each task addresses. Include source report finding/evidence IDs when the design came from a review. A task with no source rationale does not belong in the plan.
Use the plan template. ../../templates/plan.md is the skeleton: Overview,
Source artifact, Success criteria, Validation Commands, Implementation Steps
with executable ### Task N: sections, Acceptance criteria, Safety notes,
Re-review. Put checkboxes only inside ### Task N: or ### Iteration N:
sections; context sections must use plain bullets or prose.
Resolve the destination. For written artifacts, default to
docs/plans/<kebab-case-target>.md unless the user gives another path. When
the path is outside docs/plans/, include the exact execution path or the
copy/symlink instruction in the handoff.
Order for safety. Prefer characterization tests, seam creation, boundary repair, and fitness checks before cosmetic cleanup. Establish a safety net before changing behavior-bearing code.
Keep it incremental. No big-bang rewrites. Each executable task is small, independently committable, and independently verifiable. Keep the next execution horizon to five tasks or fewer before a re-review.
Make every task concrete. Each ### Task N: section includes:
gitnexus impact <path-or-symbol> and
gitnexus detect-changes commands when GitNexus is available; otherwise an
explicit fallback such as git diff --name-only and the missing-tool note.None.Separate manual checks. Do not turn human review or judgment into
checkboxes. Put those under Manual checks: using plain bullets so task
runners do not treat them as extra loop iterations.
End with final verification and docs. The last executable task is a final
verification/documentation task. It runs whole-plan validation, updates or
explicitly rules out docs changes, records GitNexus detect-changes, and
records the scoped architecture-review follow-up.
Write safety notes. Flag irreversible steps, data migrations, and wide-blast-radius changes. State plainly that an engineer, mutator agent, or task runner executes the approved plan after approval.
architecture-design. Do not invent refs.../../templates/plan.md: report the missing template and ask before
using an inline fallback.Return or write a Markdown plan shaped like ../../templates/plan.md. When
writing the file and no path is provided, use docs/plans/<kebab-case-target>.md.
Include:
## Source artifact: approved design path or ID plus decision, contract,
risk, or module IDs used; include supporting report finding/evidence IDs when
present.## Success criteria: measurable outcomes tied to findings, score dimensions,
design decisions, contracts, or module responsibilities. Use plain bullets, no
checkboxes.## Validation Commands: concrete project-wide commands to run for the whole
plan.## Implementation Steps: at most five executable ### Task N: or
### Iteration N: sections. Each task has justification, files,
preconditions, postconditions, impact commands, verification commands, manual
checks, and checkbox work items.### Task N: Final verification and documentation section.## Acceptance criteria: checks that prove the plan is complete. Use plain
bullets, no checkboxes.## Safety notes: blast radius, irreversible steps, rollback notes, and the
engineer/mutator/task-runner handoff.### Task N: or ### Iteration N:; N may be an
integer or a small variant such as 2.5 or 2a.docs/plans/<kebab-case-target>.md unless the
user provides a different path.docs/plans/, the handoff must say how to run
it by exact path or copy/symlink it into the configured plans directory.Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub alexei-led/architect --plugin architecture