feat(agents): add design gate for automatic ui-ux-pro-max detection

Lightweight skills (feat, hotfix, bugfix) had zero plugin awareness —
design tasks ran without ui-ux-pro-max even when relevant. Add a
design gate (lib/design-gate.md) that auto-detects UI/style signals
in task description and filesystem, then asks the user to activate
ui-ux-pro-max if inactive. Orchestrators already handle this via
their STEP 0 plugin-check.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
bastien
2026-04-16 01:50:56 +02:00
co-authored by Claude
parent 0f28829bdb
commit 57309b80f8
7 changed files with 92 additions and 4 deletions
+7
View File
@@ -159,3 +159,10 @@ Key routing rules:
- Security audit → invoke cso
- Initialize new project from scratch → invoke init-project
- Onboard existing project → invoke onboard
Design gate (automatic):
All lightweight skills (feat, hotfix, bugfix) include a design gate that auto-detects
UI/style signals in the task. If design signals found and ui-ux-pro-max is inactive,
the agent asks the user whether to activate it before proceeding.
Gate spec: lib/design-gate.md. Orchestrators (ship-feature, init-project) already
handle this via their STEP 0 plugin-check.