chore(design-gate): repoint agents + test to profile remedy
The gate's remedy is now /profile design (not an atomic ui-ux-pro-max toggle), but several callers still described the old "ask user to activate ui-ux-pro-max" behavior. Repoint the prose — the `Follow lib/design-gate.md` pointers stayed valid (the gate was extended in place), so only descriptions change: - agents/feater.md, hotfixer.md, bugfixer.md (STEP 0.5/1.5 gate bullet): signals found → run design-tool-gate.sh; if INCOMPLETE → /profile design. - agents/feater.md rule 6: trigger is "design toolchain incomplete", not "ui-ux-pro-max inactive". - agents/plugin-advisor.md: gate points at /profile design when the toolchain is incomplete. - skills/feat/test-prompts.json (id 2): expected behavior updated; still valid JSON. No logic change — descriptions only, aligned with the profile-based gate. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
4d191354c6
commit
60031c1bef
+3
-2
@@ -34,7 +34,7 @@ Read the relevant existing code to understand the context.
|
||||
| 3 | New route family / new top-level module / new DB migration | ESCALATE → `/ship-feature` |
|
||||
| 4 | Estimated diff > 5 files | ESCALATE → `/ship-feature` |
|
||||
| 5 | User wording is uncertain ("not sure how", "what do you think") | ESCALATE → `/ship-feature` (needs brainstorming) |
|
||||
| 6 | UI feature on a stack with a design system AND `ui-ux-pro-max` inactive | Proceed in `/feat`, but flag it in STEP 0.5 design gate |
|
||||
| 6 | UI feature on a stack with a design system AND the design toolchain incomplete | Proceed in `/feat`, but flag it in STEP 0.5 design gate |
|
||||
| 7 | Otherwise | PROCEED in `/feat` |
|
||||
|
||||
### Worked examples
|
||||
@@ -54,7 +54,8 @@ FEAT: <feature name> — rule <N>, ~<N> files, <brief approach>
|
||||
|
||||
Follow `$HOME/.claude/lib/design-gate.md`:
|
||||
- Scan $ARGUMENTS and target files for design/UI/style signals.
|
||||
- If signals found and `ui-ux-pro-max` inactive → ask user to activate.
|
||||
- If signals found → run `design-tool-gate.sh`; if it reports INCOMPLETE,
|
||||
tell the user to run `/profile design` before proceeding.
|
||||
- If no signals → skip (zero overhead).
|
||||
|
||||
## STEP 1 — MINI-PLAN
|
||||
|
||||
Reference in New Issue
Block a user