From fw
Assess repo-grounded architecture choices and improvements. Use for boundaries, service splits, dependency direction, or distributed posture.
How this skill is triggered — by the user, by Claude, or both
Slash command
/fw:architecture-strategyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this helper when the main question is system shape or architecture
Use this helper when the main question is system shape or architecture improvement.
$fw:architecture-strategy is a support skill. It can be invoked
directly, or pulled into ideate, brainstorm, plan, work, or review
when the task introduces real boundary, ownership, or architecture-improvement
decisions.
When directly invoked, always do architecture work. Do not stop at naming patterns. Ground the repo, compare lighter and heavier options, and recommend the minimum durable shape that fits the actual problem.
Follow ../references/host-interaction-contract.md.
Call the exact host question tool named in
../references/host-interaction-contract.md when that tool is available. Do
not ask for raw 1/2/3 replies when the host already offers a choice surface.
When multiple viable architecture postures exist:
<architecture_input> #$ARGUMENTS </architecture_input>
If blank, inspect the repo for the strongest current architecture seams and improvement opportunities first.
Do not load every shared reference by default. Load only what the current phase needs:
../references/architecture-code-quality/activation-heuristics.md when
deciding whether the task truly warrants this helper.../references/architecture-code-quality/pattern-families.md when
comparing boundary, style, or distributed-system choices.../references/architecture-code-quality/deepening-opportunities.md
when the input asks to improve architecture, find refactoring opportunities,
consolidate tightly coupled modules, make the codebase more testable, or
feed architecture opportunities into ideate.../references/architecture-code-quality/output-contract.md when
preparing the final brief.../references/architecture-code-quality/frontier-model-prompting.md
only when tuning prompt shape or host/model behavior is itself in question.Inspect the relevant repo surfaces:
Clarify what is actually changing:
If the decision is really local code cleanup, say so and route toward
$fw:maintainability or $fw:simplify instead.
If existing context or decision records already settle the boundary, treat them
as durable input. Recommend reopening through $fw:decision only when repo
truth or the new requirement materially contradicts them.
When the user asks to improve architecture or when ideate activates this
helper as an architecture lens, also identify deepening opportunities:
For suspected shallow modules, apply the deletion test: if deleting the module
would remove complexity, it was a pass-through; if the complexity would
reappear across callers, the module is earning its keep or should become deeper.
Use module, interface, implementation, seam, adapter, depth,
leverage, and locality for code-level deepening analysis. Keep boundary
and bounded context for system-level architecture decisions.
Compare the smallest useful options first, for example:
When distributed behavior matters, call out the concrete posture for retries, idempotency, timeouts, outbox, or saga behavior.
When deepening a shallow module is a viable architecture improvement, classify its dependency shape before recommending it:
Do not introduce an external seam only because one adapter exists. One adapter is hypothetical; two justified adapters make the seam real.
Choose one recommendation and state:
For improve-architecture mode, present a numbered list of candidate opportunities before choosing one path. For each candidate include:
Do not design new interfaces until the user chooses a candidate. If interface exploration is selected, compare multiple interface shapes by depth, locality, seam placement, dependency strategy, and tradeoffs before recommending one.
Return a concise architecture brief in this order:
If no architecture change is justified, say that explicitly and explain the local shape that should stay in place.
npx claudepluginhub mopeyjellyfish/flywheel --plugin flywheelCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.