@delegance/claude-autopilot 5.5.2 → 6.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +935 -6
- package/README.md +55 -0
- package/dist/src/adapters/council/openai.js +12 -6
- package/dist/src/adapters/deploy/_http.d.ts +43 -0
- package/dist/src/adapters/deploy/_http.js +99 -0
- package/dist/src/adapters/deploy/fly.d.ts +206 -0
- package/dist/src/adapters/deploy/fly.js +696 -0
- package/dist/src/adapters/deploy/index.d.ts +2 -0
- package/dist/src/adapters/deploy/index.js +33 -0
- package/dist/src/adapters/deploy/render.d.ts +181 -0
- package/dist/src/adapters/deploy/render.js +550 -0
- package/dist/src/adapters/deploy/types.d.ts +67 -3
- package/dist/src/adapters/deploy/vercel.d.ts +17 -1
- package/dist/src/adapters/deploy/vercel.js +29 -49
- package/dist/src/adapters/pricing.d.ts +36 -0
- package/dist/src/adapters/pricing.js +40 -0
- package/dist/src/adapters/review-engine/codex.js +10 -7
- package/dist/src/cli/autopilot.d.ts +71 -0
- package/dist/src/cli/autopilot.js +735 -0
- package/dist/src/cli/brainstorm.d.ts +23 -0
- package/dist/src/cli/brainstorm.js +131 -0
- package/dist/src/cli/costs.d.ts +15 -1
- package/dist/src/cli/costs.js +99 -10
- package/dist/src/cli/deploy.d.ts +3 -3
- package/dist/src/cli/deploy.js +34 -9
- package/dist/src/cli/fix.d.ts +18 -0
- package/dist/src/cli/fix.js +105 -11
- package/dist/src/cli/help-text.d.ts +52 -0
- package/dist/src/cli/help-text.js +400 -0
- package/dist/src/cli/implement.d.ts +91 -0
- package/dist/src/cli/implement.js +196 -0
- package/dist/src/cli/index.js +719 -245
- package/dist/src/cli/json-envelope.d.ts +187 -0
- package/dist/src/cli/json-envelope.js +270 -0
- package/dist/src/cli/json-mode.d.ts +33 -0
- package/dist/src/cli/json-mode.js +201 -0
- package/dist/src/cli/migrate.d.ts +111 -0
- package/dist/src/cli/migrate.js +305 -0
- package/dist/src/cli/plan.d.ts +81 -0
- package/dist/src/cli/plan.js +149 -0
- package/dist/src/cli/pr.d.ts +106 -0
- package/dist/src/cli/pr.js +191 -19
- package/dist/src/cli/preflight.js +26 -0
- package/dist/src/cli/review.d.ts +27 -0
- package/dist/src/cli/review.js +126 -0
- package/dist/src/cli/runs-watch-renderer.d.ts +45 -0
- package/dist/src/cli/runs-watch-renderer.js +275 -0
- package/dist/src/cli/runs-watch.d.ts +41 -0
- package/dist/src/cli/runs-watch.js +395 -0
- package/dist/src/cli/runs.d.ts +122 -0
- package/dist/src/cli/runs.js +902 -0
- package/dist/src/cli/scan.d.ts +93 -0
- package/dist/src/cli/scan.js +166 -40
- package/dist/src/cli/spec.d.ts +66 -0
- package/dist/src/cli/spec.js +132 -0
- package/dist/src/cli/validate.d.ts +29 -0
- package/dist/src/cli/validate.js +131 -0
- package/dist/src/core/config/schema.d.ts +9 -0
- package/dist/src/core/config/schema.js +7 -0
- package/dist/src/core/config/types.d.ts +11 -0
- package/dist/src/core/council/runner.d.ts +10 -1
- package/dist/src/core/council/runner.js +25 -3
- package/dist/src/core/council/types.d.ts +7 -0
- package/dist/src/core/errors.d.ts +1 -1
- package/dist/src/core/errors.js +11 -0
- package/dist/src/core/logging/redaction.d.ts +13 -0
- package/dist/src/core/logging/redaction.js +20 -0
- package/dist/src/core/migrate/schema-validator.js +15 -1
- package/dist/src/core/phases/static-rules.d.ts +5 -1
- package/dist/src/core/phases/static-rules.js +2 -5
- package/dist/src/core/run-state/budget.d.ts +88 -0
- package/dist/src/core/run-state/budget.js +141 -0
- package/dist/src/core/run-state/cli-internal.d.ts +21 -0
- package/dist/src/core/run-state/cli-internal.js +174 -0
- package/dist/src/core/run-state/events.d.ts +59 -0
- package/dist/src/core/run-state/events.js +504 -0
- package/dist/src/core/run-state/lock.d.ts +61 -0
- package/dist/src/core/run-state/lock.js +206 -0
- package/dist/src/core/run-state/phase-context.d.ts +60 -0
- package/dist/src/core/run-state/phase-context.js +108 -0
- package/dist/src/core/run-state/phase-registry.d.ts +137 -0
- package/dist/src/core/run-state/phase-registry.js +162 -0
- package/dist/src/core/run-state/phase-runner.d.ts +80 -0
- package/dist/src/core/run-state/phase-runner.js +447 -0
- package/dist/src/core/run-state/provider-readback.d.ts +130 -0
- package/dist/src/core/run-state/provider-readback.js +426 -0
- package/dist/src/core/run-state/replay-decision.d.ts +69 -0
- package/dist/src/core/run-state/replay-decision.js +144 -0
- package/dist/src/core/run-state/resolve-engine.d.ts +100 -0
- package/dist/src/core/run-state/resolve-engine.js +190 -0
- package/dist/src/core/run-state/resume-preflight.d.ts +66 -0
- package/dist/src/core/run-state/resume-preflight.js +116 -0
- package/dist/src/core/run-state/run-phase-with-lifecycle.d.ts +73 -0
- package/dist/src/core/run-state/run-phase-with-lifecycle.js +186 -0
- package/dist/src/core/run-state/runs.d.ts +57 -0
- package/dist/src/core/run-state/runs.js +288 -0
- package/dist/src/core/run-state/snapshot.d.ts +14 -0
- package/dist/src/core/run-state/snapshot.js +114 -0
- package/dist/src/core/run-state/state.d.ts +40 -0
- package/dist/src/core/run-state/state.js +164 -0
- package/dist/src/core/run-state/types.d.ts +278 -0
- package/dist/src/core/run-state/types.js +13 -0
- package/dist/src/core/run-state/ulid.d.ts +11 -0
- package/dist/src/core/run-state/ulid.js +95 -0
- package/dist/src/core/schema-alignment/extractor/index.d.ts +1 -1
- package/dist/src/core/schema-alignment/extractor/index.js +2 -2
- package/dist/src/core/schema-alignment/extractor/prisma.d.ts +13 -1
- package/dist/src/core/schema-alignment/extractor/prisma.js +65 -10
- package/dist/src/core/schema-alignment/git-history.d.ts +19 -0
- package/dist/src/core/schema-alignment/git-history.js +53 -0
- package/dist/src/core/static-rules/rules/brand-tokens.js +2 -2
- package/dist/src/core/static-rules/rules/schema-alignment.js +14 -4
- package/package.json +2 -1
- package/scripts/autoregress.ts +1 -1
- package/skills/claude-autopilot.md +1 -1
- package/skills/make-interfaces-feel-better/SKILL.md +104 -0
- package/skills/simplify-ui/SKILL.md +103 -0
- package/skills/ui/SKILL.md +117 -0
- package/skills/ui-ux-pro-max/SKILL.md +90 -0
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ui-ux-pro-max
|
|
3
|
+
description: Senior-level UX audit of an existing screen — produces a prioritized findings list, does NOT auto-fix. Use when the user asks for a "pro review", "expert critique", "ux audit", "senior take", "what would a designer catch", "is this production-grade", or wants rigorous evaluation of information architecture, cognitive load, accessibility, heuristic violations, and error states. Applies Nielsen heuristics, Fitts/Hick, WCAG, and measurable UX principles — not vibes. Complements /simplify-ui (subtraction) and /make-interfaces-feel-better (craft). For one-shot polish that includes audit + fix, use /ui instead.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# UI/UX Pro Max — the senior review
|
|
7
|
+
|
|
8
|
+
Apply senior-designer rigor to an existing screen. This is **evaluation**, not creation. Do not rebuild from scratch; produce a prioritized list of defects with evidence.
|
|
9
|
+
|
|
10
|
+
## Rules of engagement
|
|
11
|
+
|
|
12
|
+
- **No vibes.** Every finding names a principle (heuristic, law, or WCAG rule) and points at a specific element.
|
|
13
|
+
- **No rewrites during audit.** First list the findings; fix only what the user explicitly approves.
|
|
14
|
+
- **Prioritize by user impact.** Severity ranks: blocker (user cannot complete task) > major (noticeable friction) > minor (polish) > nit.
|
|
15
|
+
- **Cite evidence from the screen.** Don't generalize from principle — point at the component, class name, or pixel distance.
|
|
16
|
+
|
|
17
|
+
## 1. Heuristics pass (Nielsen + practical extensions)
|
|
18
|
+
|
|
19
|
+
Walk the screen against these in order. Flag violations with severity.
|
|
20
|
+
|
|
21
|
+
1. **Visibility of system status** — every long operation shows progress; every state change is visible within 1s.
|
|
22
|
+
2. **Match with real-world language** — field labels use the user's vocabulary, not internal schema names (`bop_160_occupancy` → "Occupancy Type").
|
|
23
|
+
3. **User control & undo** — destructive actions have confirm + undo; optimistic updates reveal failures.
|
|
24
|
+
4. **Consistency** — same action uses same verb/icon/color/position across the app. Note inconsistencies by exact location.
|
|
25
|
+
5. **Error prevention** — disable buttons that can't act yet, constrain inputs (dates, phone masks), validate on blur.
|
|
26
|
+
6. **Recognition over recall** — never ask users to remember what they typed on page 2 to fill page 3.
|
|
27
|
+
7. **Flexibility (power users)** — check for keyboard shortcuts, bulk actions, saved state, intelligent defaults.
|
|
28
|
+
8. **Aesthetic & minimalist design** — every visible element earns its spot; label + chip + helper + placeholder overlap is noise.
|
|
29
|
+
9. **Help users recognize/recover from errors** — error messages name the field, explain the problem, propose a fix.
|
|
30
|
+
10. **Help & docs in-context** — help text next to the field, not on a separate help page.
|
|
31
|
+
|
|
32
|
+
## 2. Physics + cognition
|
|
33
|
+
|
|
34
|
+
- **Fitts' Law** — target size ≥ 44×44 px for touch, ≥ 24×24 px for desktop; dangerous targets need *more* distance and size, not less. Close-buttons on toasts that are 18px is a defect.
|
|
35
|
+
- **Hick's Law** — flag dropdowns > 12 options without search. Lists > 5 items on a form field should be grouped or filtered.
|
|
36
|
+
- **Miller's 7±2** — flag screens asking for > 9 decisions at once; break into steps or collapse the optional ones.
|
|
37
|
+
- **Doherty threshold** — anything > 400ms without feedback reads as "broken". Note any interaction that is synchronous and slow.
|
|
38
|
+
- **Serial-position effect** — important CTAs go first or last, not middle.
|
|
39
|
+
|
|
40
|
+
## 3. Information architecture
|
|
41
|
+
|
|
42
|
+
- **Section cardinality** — can a user explain what goes in each section in one sentence? If no, the section is doing two jobs.
|
|
43
|
+
- **Field grouping** — fields that are answered from the same mental context go together (address block, employee counts, coverage limits). Cross-group fields that live together are a defect.
|
|
44
|
+
- **Progressive disclosure** — required first, optional expandable, rarely-used hidden. Note any section that leads with optional fields.
|
|
45
|
+
- **Scannability** — can the user scan and find the fields they've already answered in < 2 seconds? Test by reading only bold text and labels.
|
|
46
|
+
- **Density** — count fields per card. Under 3 is sleepy, over 9 is oppressive; target 3–6.
|
|
47
|
+
|
|
48
|
+
## 4. Accessibility (WCAG 2.2 AA baseline)
|
|
49
|
+
|
|
50
|
+
Run this as a pre-merge gate, not a "nice to have".
|
|
51
|
+
|
|
52
|
+
- **Color contrast** — body text ≥ 4.5:1, large text ≥ 3:1, UI components ≥ 3:1. Chips and pill backgrounds usually fail here; measure them.
|
|
53
|
+
- **Focus visible** — tab through the form. Every focusable element needs a visible ring *different* from the hover state.
|
|
54
|
+
- **Labels programmatically associated** — every input has a `<label for>` or `aria-labelledby`. Placeholder-as-label is a defect.
|
|
55
|
+
- **Error identification** — errors are announced to screen readers via `aria-live="polite"` or `aria-invalid`.
|
|
56
|
+
- **Motion preferences** — any non-essential animation respects `prefers-reduced-motion`.
|
|
57
|
+
- **Target size** — per WCAG 2.2, interactive targets ≥ 24×24 CSS px or have sufficient spacing.
|
|
58
|
+
- **Form autofill** — inputs use appropriate `autocomplete` attributes (email, tel, address-line1, …).
|
|
59
|
+
|
|
60
|
+
## 5. States — all of them
|
|
61
|
+
|
|
62
|
+
For every interactive component, check: default, hover, focus, active, disabled, loading, empty, error, success. Note which states are missing or visually identical.
|
|
63
|
+
|
|
64
|
+
## 6. Microcopy
|
|
65
|
+
|
|
66
|
+
- **Button verbs match action.** "Submit" is rarely right — "Send quote", "Save draft", "Request bind" are better.
|
|
67
|
+
- **Labels as statements, not questions.** "Do you own the building?" → "Building ownership" with a Yes/No.
|
|
68
|
+
- **Placeholders don't repeat the label.** "Email" label + "Enter your email" placeholder = pick one.
|
|
69
|
+
- **Error messages propose the fix**, not just the problem.
|
|
70
|
+
- **Empty states** tell users what will appear here and what to do to make it appear.
|
|
71
|
+
|
|
72
|
+
## Deliverable
|
|
73
|
+
|
|
74
|
+
A severity-sorted list shaped like this:
|
|
75
|
+
|
|
76
|
+
```
|
|
77
|
+
[blocker] Inputs are rendered without associated <label> — WCAG 1.3.1 violation — app/portal/quotes/new/info/page.tsx:3486
|
|
78
|
+
[major] "Application Progress" denominator counts optional fields; misleads users about completion — sidebar line 5049
|
|
79
|
+
[major] Yes/No buttons (px-6 py-3) are 44px tall next to 32px select inputs — violates consistency heuristic — acord-question-bridge.tsx:67
|
|
80
|
+
[minor] "Auto-filled" + "Suggested" chips render simultaneously on same field — visual noise — page.tsx:3470–3476
|
|
81
|
+
[nit] Section 2 header uses Playfair Display at 26px; rest of form is Figtree — typographic inconsistency
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
After the list, stop. Wait for the user to pick which to fix. Do not batch everything into one edit — that's a different skill.
|
|
85
|
+
|
|
86
|
+
## Known interactions
|
|
87
|
+
|
|
88
|
+
- Pair with `/simplify-ui` after this audit: its job is to cut what yours identifies as low-value.
|
|
89
|
+
- Pair with `/make-interfaces-feel-better` after the structural fixes land: its job is the craft layer above correctness.
|
|
90
|
+
- If your audit reveals the screen needs a redesign, not a polish, escalate to `frontend-design:frontend-design`.
|