Amo Improve
Plan intentional changes to existing functionality without letting old implementation details decide the target design.
Shared Output Marker
Prefix the first output line inline with 🧰 [amo-improve]. Do not put the marker in a separate paragraph.
Use When
- Current behavior exists, but the desired behavior is different.
- The user wants to improve, extend, adjust, or redesign an existing feature.
- The work may involve compatibility, migration, interaction changes, or touching existing modules.
Do Not Use
- The behavior is entirely new; use
amo-feature.
- Existing behavior is wrong, broken, or unexpected; use
amo-fix.
- Structure is the primary problem with no behavior change; use
amo-refactor.
- A proposed solution needs challenge; use
amo-best.
Best Standard
Select and state one before recommending a solution:
- Target-state best: default for development-stage work when no explicit constraint is stated; prioritize correct boundaries, long-term maintainability, refactoring when needed, and not bending the design around legacy implementation.
- Constraint best: use when the user requires fast delivery, compatibility, minimal change, short-term delivery, or limited scope.
- Evolutionary best: use when the target design is right, but should be delivered in safe, staged steps.
- Lowest-risk best: use when production, data, security, auth/permission, payment, migration, or rollback risk dominates.
Workflow
- Identify current behavior and desired behavior.
- Select the best standard and explain why.
- Inspect implementation, ownership boundaries, and rendered behavior when UI is involved.
- Decide whether to adapt existing code, reshape it, or stage the target design.
- Recommend one approach with tradeoffs, blast radius, and verification.
Key Rules
- Target behavior comes before preserving incidental implementation.
- Do not add compatibility work unless the chosen best standard requires it.
- Do not add speculative compatibility paths, fallback branches, or legacy handling without evidence from the codebase or explicit user requirements.
- Keep unrelated cleanup out of scope.
- If implementation reveals a better approach, pause and explain before switching.
Output
Use the user's language for output labels and content.
🧰 [amo-improve] Scenario: existing behavior change
Best standard:
Current behavior:
Target behavior:
Recommended approach:
Tradeoffs:
Impact scope:
Verification:
Next: use amo-best for second-pass pressure testing if needed
1---2name: amo-improve3description: Use when the user asks how to improve, extend, adjust, or redesign an existing feature or behavior before coding. Do not use for brand-new features, broken behavior, pure refactors, or second-pass solution challenges.4---56# Amo Improve78Plan intentional changes to existing functionality without letting old implementation details decide the target design.910## Shared Output Marker1112Prefix the first output line inline with `🧰 [amo-improve]`. Do not put the marker in a separate paragraph.1314## Use When1516- Current behavior exists, but the desired behavior is different.17- The user wants to improve, extend, adjust, or redesign an existing feature.18- The work may involve compatibility, migration, interaction changes, or touching existing modules.1920## Do Not Use2122- The behavior is entirely new; use `amo-feature`.23- Existing behavior is wrong, broken, or unexpected; use `amo-fix`.24- Structure is the primary problem with no behavior change; use `amo-refactor`.25- A proposed solution needs challenge; use `amo-best`.2627## Best Standard2829Select and state one before recommending a solution:3031- **Target-state best**: default for development-stage work when no explicit constraint is stated; prioritize correct boundaries, long-term maintainability, refactoring when needed, and not bending the design around legacy implementation.32- **Constraint best**: use when the user requires fast delivery, compatibility, minimal change, short-term delivery, or limited scope.33- **Evolutionary best**: use when the target design is right, but should be delivered in safe, staged steps.34- **Lowest-risk best**: use when production, data, security, auth/permission, payment, migration, or rollback risk dominates.3536## Workflow37381. Identify current behavior and desired behavior.392. Select the best standard and explain why.403. Inspect implementation, ownership boundaries, and rendered behavior when UI is involved.414. Decide whether to adapt existing code, reshape it, or stage the target design.425. Recommend one approach with tradeoffs, blast radius, and verification.4344## Key Rules4546- Target behavior comes before preserving incidental implementation.47- Do not add compatibility work unless the chosen best standard requires it.48- Do not add speculative compatibility paths, fallback branches, or legacy handling without evidence from the codebase or explicit user requirements.49- Keep unrelated cleanup out of scope.50- If implementation reveals a better approach, pause and explain before switching.5152## Output5354Use the user's language for output labels and content.5556```text57🧰 [amo-improve] Scenario: existing behavior change58Best standard:59Current behavior:60Target behavior:61Recommended approach:62Tradeoffs:63Impact scope:64Verification:65Next: use amo-best for second-pass pressure testing if needed66```