tribunal-kit 5.8.2 โ†’ 5.8.4

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.
Files changed (101) hide show
  1. package/.agent/ARCHITECTURE.md +12 -12
  2. package/.agent/agents/complexity-reviewer.md +53 -0
  3. package/.agent/agents/precedence-reviewer.md +12 -12
  4. package/.agent/agents/swarm-worker-registry.md +3 -3
  5. package/.agent/history/integrity_manifest.json +958 -0
  6. package/.agent/history/memory/.memory.idx +305 -1
  7. package/.agent/history/memory/MEMORY.md +21 -1
  8. package/.agent/rules/GEMINI.md +31 -28
  9. package/.agent/scripts/case_law_manager.js +3 -15
  10. package/.agent/scripts/context_broker.js +3 -1
  11. package/.agent/scripts/guardrail_engine.js +643 -0
  12. package/.agent/scripts/integrity_manifest.js +486 -0
  13. package/.agent/scripts/signal_detector.js +1 -1
  14. package/.agent/scripts/skill_evolution.js +3 -15
  15. package/.agent/scripts/skill_integrator.js +2 -12
  16. package/.agent/scripts/swarm_dispatcher.js +2 -12
  17. package/.agent/skills/12-principles-of-animation/SKILL.md +69 -0
  18. package/.agent/skills/60fps-animation/SKILL.md +78 -0
  19. package/.agent/skills/accessible-animation/SKILL.md +86 -0
  20. package/.agent/skills/adapt/SKILL.md +75 -0
  21. package/.agent/skills/animation-on-scroll/SKILL.md +110 -0
  22. package/.agent/skills/animation-systems/SKILL.md +69 -0
  23. package/.agent/skills/antfu-conventions/SKILL.md +74 -0
  24. package/.agent/skills/app-builder/SKILL.md +1 -1
  25. package/.agent/skills/apple-design/SKILL.md +108 -0
  26. package/.agent/skills/audit-and-fix/SKILL.md +83 -0
  27. package/.agent/skills/baseline-ui/SKILL.md +74 -0
  28. package/.agent/skills/better-colors/SKILL.md +124 -0
  29. package/.agent/skills/better-typography/SKILL.md +111 -0
  30. package/.agent/skills/better-ui/SKILL.md +102 -0
  31. package/.agent/skills/bolder/SKILL.md +68 -0
  32. package/.agent/skills/build-primitive/SKILL.md +70 -0
  33. package/.agent/skills/clarify/SKILL.md +75 -0
  34. package/.agent/skills/cobejs/SKILL.md +96 -0
  35. package/.agent/skills/codebase-design/SKILL.md +84 -0
  36. package/.agent/skills/colorize/SKILL.md +77 -0
  37. package/.agent/skills/compact-landing/SKILL.md +70 -0
  38. package/.agent/skills/company-logos/SKILL.md +73 -0
  39. package/.agent/skills/create-design-md/SKILL.md +104 -0
  40. package/.agent/skills/critique/SKILL.md +95 -0
  41. package/.agent/skills/delight/SKILL.md +65 -0
  42. package/.agent/skills/design-lab/SKILL.md +59 -0
  43. package/.agent/skills/diagnosing-bugs/SKILL.md +190 -0
  44. package/.agent/skills/distill/SKILL.md +65 -0
  45. package/.agent/skills/domain-modeling/SKILL.md +78 -0
  46. package/.agent/skills/fixing-accessibility/SKILL.md +98 -0
  47. package/.agent/skills/fixing-metadata/SKILL.md +97 -0
  48. package/.agent/skills/fixing-motion-performance/SKILL.md +96 -0
  49. package/.agent/skills/gpt-taste/SKILL.md +68 -0
  50. package/.agent/skills/harden/SKILL.md +74 -0
  51. package/.agent/skills/impeccable/SKILL.md +72 -0
  52. package/.agent/skills/improve-codebase-architecture/SKILL.md +67 -0
  53. package/.agent/skills/improve-ui/SKILL.md +83 -0
  54. package/.agent/skills/landing-page/SKILL.md +88 -0
  55. package/.agent/skills/lint-and-validate/SKILL.md +1 -2
  56. package/.agent/skills/local-first-architecture/SKILL.md +66 -0
  57. package/.agent/skills/lottie-animation/SKILL.md +82 -0
  58. package/.agent/skills/marquee-loop/SKILL.md +96 -0
  59. package/.agent/skills/masked-reveal/SKILL.md +88 -0
  60. package/.agent/skills/micro-interaction/SKILL.md +100 -0
  61. package/.agent/skills/morphing-icons/SKILL.md +85 -0
  62. package/.agent/skills/page-transition-animation/SKILL.md +108 -0
  63. package/.agent/skills/parallel-agents/SKILL.md +5 -5
  64. package/.agent/skills/polish/SKILL.md +63 -0
  65. package/.agent/skills/pricing-page/SKILL.md +68 -0
  66. package/.agent/skills/progressive-blur/SKILL.md +100 -0
  67. package/.agent/skills/project-idioms/SKILL.md +7 -7
  68. package/.agent/skills/quieter/SKILL.md +68 -0
  69. package/.agent/skills/react-doctor/SKILL.md +70 -0
  70. package/.agent/skills/redesign-skill/SKILL.md +65 -0
  71. package/.agent/skills/shape/SKILL.md +73 -0
  72. package/.agent/skills/soft-skill/SKILL.md +72 -0
  73. package/.agent/skills/sounds-on-the-web/SKILL.md +100 -0
  74. package/.agent/skills/svg-animation/SKILL.md +91 -0
  75. package/.agent/skills/swiss-design/SKILL.md +64 -0
  76. package/.agent/skills/taste-skill/SKILL.md +71 -0
  77. package/.agent/skills/tdd-workflow/SKILL.md +36 -165
  78. package/.agent/skills/test-result-analyzer/SKILL.md +1 -1
  79. package/.agent/skills/thermo-nuclear-code-quality-review/SKILL.md +82 -0
  80. package/.agent/skills/to-spring-or-not-to-spring/SKILL.md +66 -0
  81. package/.agent/skills/transitions-dev/SKILL.md +101 -0
  82. package/.agent/skills/typeset/SKILL.md +76 -0
  83. package/.agent/skills/ui-skills-root/SKILL.md +85 -0
  84. package/.agent/skills/web-quality-audit/SKILL.md +67 -0
  85. package/.agent/workflows/fix.md +2 -2
  86. package/.agent/workflows/preview.md +5 -5
  87. package/.agent/workflows/status.md +1 -1
  88. package/.agent/workflows/tribunal-full.md +3 -3
  89. package/.agent/workflows/tribunal-speed.md +2 -2
  90. package/README.md +348 -238
  91. package/bin/tribunal-kit.js +62 -1482
  92. package/dist/cli.js +13 -0
  93. package/dist/commands/align.js +1 -1
  94. package/dist/commands/compile.js +1 -1
  95. package/dist/commands/guardrail.js +275 -0
  96. package/dist/commands/init.js +10 -9
  97. package/dist/commands/optimize.js +318 -0
  98. package/dist/utils/version.js +1 -1
  99. package/package.json +10 -8
  100. package/scripts/fix-vbc.js +98 -0
  101. package/scripts/fix-vbc.ps1 +119 -0
@@ -0,0 +1,101 @@
1
+ ---
2
+ name: transitions-dev
3
+ description: Production-ready CSS transition patterns for web apps with drop-in snippets for cards, modals, dropdowns, panels, and accordions.
4
+ version: 1.0.0
5
+ last-updated: 2026-07-22
6
+ applies-to-model: gemini-3-6-flash, claude-3-7-sonnet
7
+ routing:
8
+ domain: CSS Transitions & Production Snippets
9
+ tier: pro
10
+ co-requires: [better-ui, micro-interaction, 60fps-animation]
11
+ trigger-signals:
12
+ strong: [transitions-dev, CSS transition snippets, card hover transition, modal transition CSS, accordion expand animation]
13
+ weak: [css transitions, transition snippet]
14
+ ---
15
+
16
+ # Transitions Dev โ€” Production CSS Transition Snippets
17
+
18
+ Drop-in, hardware-accelerated CSS transition utility classes for modern web components.
19
+
20
+ ---
21
+
22
+ ## 4 Production Snippets
23
+
24
+ ### 1. Card Lift & Shadow Scale
25
+ ```css
26
+ .tx-card {
27
+ transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 200ms ease, border-color 200ms ease;
28
+ }
29
+ .tx-card:hover {
30
+ transform: translateY(-3px);
31
+ box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.1);
32
+ }
33
+ ```
34
+
35
+ ### 2. Accordion Expand/Collapse (`grid-template-rows`)
36
+ Animate element height smoothly without hardcoding fixed pixel heights:
37
+ ```css
38
+ .tx-accordion-content {
39
+ display: grid;
40
+ grid-template-rows: 0fr;
41
+ transition: grid-template-rows 250ms cubic-bezier(0.16, 1, 0.3, 1);
42
+ }
43
+ .tx-accordion-content[data-state="open"] {
44
+ grid-template-rows: 1fr;
45
+ }
46
+ .tx-accordion-inner {
47
+ overflow: hidden;
48
+ }
49
+ ```
50
+
51
+ ### 3. Slide & Fade Modal Overlay
52
+ ```css
53
+ .tx-modal-overlay {
54
+ transition: opacity 200ms ease;
55
+ }
56
+ .tx-modal-content {
57
+ transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), opacity 220ms ease;
58
+ }
59
+ .tx-modal-content[data-state="closed"] {
60
+ opacity: 0;
61
+ transform: scale(0.96) translateY(8px);
62
+ }
63
+ .tx-modal-content[data-state="open"] {
64
+ opacity: 1;
65
+ transform: scale(1) translateY(0);
66
+ }
67
+ ```
68
+
69
+ ### 4. Sliding Tab Highlight (`layoutId` or CSS Variables)
70
+ ```css
71
+ .tx-tab-indicator {
72
+ transition: transform 200ms cubic-bezier(0.2, 0, 0, 1), width 200ms ease;
73
+ }
74
+ ```
75
+
76
+ ---
77
+
78
+ ## ๐Ÿค– LLM-Specific Traps
79
+
80
+ 1. **Animating `height` directly**: Animating `height: 0` to `height: auto` in CSS (which fails in CSS). Use `grid-template-rows: 0fr -> 1fr`.
81
+ 2. **Missing `overflow: hidden`**: Forgetting `overflow: hidden` on accordion inner wrappers, causing content to spill out during collapse.
82
+
83
+ ---
84
+
85
+ ## ๐Ÿ›๏ธ Tribunal Integration (Anti-Hallucination)
86
+
87
+ **Active reviewers: `frontend-reviewer` ยท `motion-reviewer`**
88
+
89
+ ### โœ… Pre-Flight Self-Audit
90
+
91
+ ```
92
+ โœ… Are accordions using `grid-template-rows: 0fr -> 1fr` for smooth height expansion?
93
+ โœ… Are modal enter/exit states scaling from `scale(0.96)` with opacity?
94
+ ```
95
+
96
+ ### ๐Ÿ›‘ Verification-Before-Completion (VBC) Protocol
97
+
98
+ **CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
99
+
100
+ - โŒ **Forbidden:** Declaring a task complete because the output "looks correct."
101
+ - โœ… **Required:** You are explicitly forbidden from finalizing any task without providing **concrete evidence** (terminal output, passing tests, compile success, or equivalent proof) that your output works as intended.
@@ -0,0 +1,76 @@
1
+ ---
2
+ name: typeset
3
+ description: Professional web typography scaling, font pairing, optical sizing, tracking, line height cadence, text-wrap balance, and OpenType features. Use when refining typography systems or text styling.
4
+ version: 1.0.0
5
+ last-updated: 2026-07-22
6
+ applies-to-model: gemini-3-6-flash, claude-3-7-sonnet
7
+ routing:
8
+ domain: Typography & Typesetting
9
+ tier: pro
10
+ co-requires: [better-typography, frontend-design]
11
+ trigger-signals:
12
+ strong: [typeset, typography scale, font pairing, optical sizing, tracking, line height cadence, text-wrap balance, OpenType features]
13
+ weak: [text styling, font setup]
14
+ ---
15
+
16
+ # Typeset โ€” Professional Web Typography System
17
+
18
+ Architect disciplined, optically balanced typography systems across web components.
19
+
20
+ ---
21
+
22
+ ## 4 Typography Rules
23
+
24
+ ### 1. Typographic Scale & Line-Height Cadence
25
+ Use a modular scale (e.g. Major Third 1.25 or Perfect Fourth 1.333):
26
+ - **Display 1**: `3.5rem` / Line-height `1.1` / Tracking `-0.03em`
27
+ - **H1**: `2.25rem` / Line-height `1.15` / Tracking `-0.025em`
28
+ - **H2**: `1.75rem` / Line-height `1.2` / Tracking `-0.02em`
29
+ - **Body**: `1rem` / Line-height `1.5` / Tracking `0`
30
+ - **Caption**: `0.75rem` / Line-height `1.4` / Tracking `+0.01em`
31
+
32
+ ### 2. Optical Tracking Formula
33
+ Larger font sizes require tighter negative letter-spacing; smaller caption sizes require positive letter-spacing:
34
+ $$\text{Tracking}(\text{px}) \propto -\log(\text{FontSize})$$
35
+
36
+ ### 3. Modern Text Wrapping
37
+ - Headings: `text-wrap: balance` (prevents visual orphans).
38
+ - Body Paragraphs: `text-wrap: pretty` (prevents trailing single-word last lines).
39
+ - Max Width: Limit body paragraphs to `65ch` for comfortable reading lines.
40
+
41
+ ### 4. Tabular & OpenType Features
42
+ - Enable tabular figures for numbers in statistics, prices, and tables:
43
+ ```css
44
+ .numeric-data {
45
+ font-variant-numeric: tabular-nums lining-nums;
46
+ font-feature-settings: "tnum" 1, "lnum" 1;
47
+ }
48
+ ```
49
+
50
+ ---
51
+
52
+ ## ๐Ÿค– LLM-Specific Traps
53
+
54
+ 1. **Uniform Line Height**: Setting `line-height: 1.5` on large 4rem display headings, causing massive awkward vertical gaps.
55
+ 2. **Missing Text Wrap Rules**: Allowing headings to wrap into single orphaned words.
56
+
57
+ ---
58
+
59
+ ## ๐Ÿ›๏ธ Tribunal Integration (Anti-Hallucination)
60
+
61
+ **Active reviewers: `frontend-reviewer` ยท `ui-ux-auditor`**
62
+
63
+ ### โœ… Pre-Flight Self-Audit
64
+
65
+ ```
66
+ โœ… Are line-heights inversely proportional to font sizes (Display: 1.1, Body: 1.5)?
67
+ โœ… Is `text-wrap: balance` applied to display titles and headings?
68
+ โœ… Do numeric columns use tabular numbers (`font-variant-numeric: tabular-nums`)?
69
+ ```
70
+
71
+ ### ๐Ÿ›‘ Verification-Before-Completion (VBC) Protocol
72
+
73
+ **CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
74
+
75
+ - โŒ **Forbidden:** Declaring a task complete because the output "looks correct."
76
+ - โœ… **Required:** You are explicitly forbidden from finalizing any task without providing **concrete evidence** (terminal output, passing tests, compile success, or equivalent proof) that your output works as intended.
@@ -0,0 +1,85 @@
1
+ ---
2
+ name: ui-skills-root
3
+ description: Master router skill for design engineering and UI craft. Use when the user needs UI help and you must route by topic, stack, intent, or design discipline to the smallest useful set of UI skills.
4
+ version: 1.0.0
5
+ last-updated: 2026-07-22
6
+ applies-to-model: gemini-3-6-flash, claude-3-7-sonnet
7
+ routing:
8
+ domain: UI/UX & Design Engineering
9
+ tier: master
10
+ trigger-signals:
11
+ strong: [ui-skills, design engineering, ui craft, UI polish, design router, interface quality]
12
+ weak: [design, styling, layout, animation]
13
+ ---
14
+
15
+ # UI Skills Master Router
16
+
17
+ The master decision engine for routing user UI requests to the precise set of design-engineering skills.
18
+
19
+ ---
20
+
21
+ ## Intent-Based Skill Routing Matrix
22
+
23
+ When a user asks for UI assistance, identify their core **intent** and dispatch the appropriate skills:
24
+
25
+ | Intent / Goal | Primary Skill | Secondary / Supporting Skills |
26
+ | --- | --- | --- |
27
+ | **Fast cleanup of ugly/cluttered UI** | `baseline-ui` | `better-ui`, `polish` |
28
+ | **Production-grade design engineering & micro-details** | `better-ui` | `impeccable`, `frontend-design` |
29
+ | **Extract design language & create DESIGN.md** | `create-design-md` | `extract-design-system`, `frontend-design` |
30
+ | **Audit & fix HTML / ARIA accessibility (WCAG)** | `fixing-accessibility` | `audit-and-fix`, `web-accessibility-auditor` |
31
+ | **Fix animation jank & 60/120fps performance** | `fixing-motion-performance` | `60fps-animation`, `gsap-performance` |
32
+ | **Evidence-based UI audit & implementation planning** | `improve-ui` | `better-ui`, `baseline-ui` |
33
+ | **OKLCH color system, contrast & P3 gamut** | `better-colors` | `colorize`, `better-ui` |
34
+ | **Web typography, font scales, tabular numbers** | `better-typography` | `typeset`, `better-ui` |
35
+ | **Apple-grade fluid springs, translucency & depth** | `apple-design` | `emil-design-eng`, `soft-skill` |
36
+ | **Make a bland UI stand out / add punch** | `bolder` | `delight`, `colorize` |
37
+ | **Tone down noisy or loud designs** | `quieter` | `distill`, `swiss-design` |
38
+ | **Simplify complex / cluttered interface** | `distill` | `clarify`, `quieter` |
39
+ | **Add subtle micro-interactions & delight** | `delight` | `whimsy-injector`, `micro-interaction` |
40
+ | **Final pre-ship quality & alignment pass** | `polish` | `harden`, `fixing-accessibility` |
41
+ | **Make UI resilient (errors, empty states, i18n)** | `harden` | `web-accessibility-auditor` |
42
+ | **UX evaluation & scoring** | `critique` | `ui-ux-researcher` |
43
+ | **Improve microcopy & messaging clarity** | `clarify` | `shape` |
44
+ | **Pre-code feature UX planning** | `shape` | `brainstorming`, `appflow-wireframe` |
45
+ | **Build unstyled accessible UI primitives** | `build-primitive` | `fixing-accessibility` |
46
+ | **Responsive & container-query adaptation** | `adapt` | `mobile-design` |
47
+ | **Depth, progressive blur, glassmorphism** | `progressive-blur` | `beautiful-shadows` |
48
+ | **60fps animation performance audit** | `60fps-animation` | `fixing-motion-performance` |
49
+ | **Tiered reduced-motion (a11y)** | `accessible-animation` | `fixing-accessibility` |
50
+ | **Page & route transitions (View Transitions)** | `page-transition-animation` | `framer-motion-expert` |
51
+ | **Scroll-driven motion & storytelling** | `animation-on-scroll` | `gsap-scrolltrigger` |
52
+ | **Cohesive animation token system** | `animation-systems` | `motion-engineering` |
53
+ | **Lottie & dotLottie vector animations** | `lottie-animation` | `text-to-lottie` |
54
+ | **SVG path morphing & stroke draw-on** | `svg-animation` | `morphing-icons` |
55
+ | **Hardware-accelerated marquees** | `marquee-loop` | `60fps-animation` |
56
+ | **Spring physics vs easing decision** | `to-spring-or-not-to-spring` | `apple-design` |
57
+ | **Tactile Web Audio API sound feedback** | `sounds-on-the-web` | `delight` |
58
+ | **Technical SEO, metadata & OpenGraph** | `fixing-metadata` | `web-quality-audit` |
59
+ | **Lighthouse quality audit** | `web-quality-audit` | `performance-profiling` |
60
+ | **Landing page hierarchy & conversion** | `landing-page` | `compact-landing` |
61
+ | **Pricing tables & comparison matrices** | `pricing-page` | `frontend-design` |
62
+ | **Social proof, logo grids, trust rows** | `company-logos` | `baseline-ui` |
63
+
64
+ ---
65
+
66
+ ## ๐Ÿค– LLM-Specific Traps
67
+
68
+ 1. **Skill Bloat:** Loading more than 3 skills at once for a single request. Pick the 1-2 highest precision skills.
69
+ 2. **Ignoring Intent:** Applying animation skills when the user asked for simple layout structure.
70
+
71
+ ---
72
+
73
+ ## ๐Ÿ›๏ธ Tribunal Integration (Anti-Hallucination)
74
+
75
+ ### โœ… Pre-Flight Self-Audit
76
+
77
+ ```
78
+ โœ… Did I select the most specific UI skill for the user's explicit intent?
79
+ โœ… Am I respecting modern web design standards (CSS Variables, container queries, OKLCH)?
80
+ โœ… Is the proposed UI accessible (WCAG 2.2 AA contrast, keyboard nav)?
81
+ ```
82
+
83
+ ### ๐Ÿ›‘ Verification-Before-Completion (VBC) Protocol
84
+
85
+ You MUST verify that selected UI skills are present in `.agent/skills/` and read their instructions before generating code.
@@ -0,0 +1,67 @@
1
+ ---
2
+ name: web-quality-audit
3
+ description: Web quality auditing skill for Lighthouse-style analysis across Performance, Accessibility, Best Practices, and SEO signals.
4
+ version: 1.0.0
5
+ last-updated: 2026-07-22
6
+ applies-to-model: gemini-3-6-flash, claude-3-7-sonnet
7
+ routing:
8
+ domain: Full-Stack Web Quality & Lighthouse Signals
9
+ tier: pro
10
+ co-requires: [web-accessibility-auditor, fixing-metadata, performance-profiling]
11
+ trigger-signals:
12
+ strong: [web-quality-audit, Lighthouse audit, Core Web Vitals audit, web quality report, LCP CLS INP audit]
13
+ weak: [quality audit, site audit]
14
+ ---
15
+
16
+ # Web Quality Audit โ€” Lighthouse & Core Web Vitals
17
+
18
+ Conduct a comprehensive multi-pillar web quality audit covering Performance, Accessibility, Best Practices, and SEO signals.
19
+
20
+ ---
21
+
22
+ ## 4 Quality Pillars
23
+
24
+ ### 1. Core Web Vitals (Performance)
25
+ - **Largest Contentful Paint (LCP)**: Target $\le 2.5\text{s}$. Preload hero images using `<link rel="preload" as="image">` and fetchpriority="high".
26
+ - **Interaction to Next Paint (INP)**: Target $\le 200\text{ms}$. Break long JS tasks into smaller chunks using `setTimeout` or `requestIdleCallback`.
27
+ - **Cumulative Layout Shift (CLS)**: Target $\le 0.1$. Set explicit `width` and `height` attributes on images and videos; reserve space for dynamic ads/banners.
28
+
29
+ ### 2. Accessibility (a11y)
30
+ - Target 100/100 score. Verify all interactive controls have accessible names, proper contrast ($\ge 4.5:1$), and complete keyboard accessibility.
31
+
32
+ ### 3. Web Best Practices
33
+ - Serve images in modern formats (`.webp` or `.avif`).
34
+ - Enforce HTTPS security headers (`Content-Security-Policy`, `X-Frame-Options`, `Strict-Transport-Security`).
35
+ - Eliminate console errors and unhandled promise rejections.
36
+
37
+ ### 4. Search Engine Optimization (SEO)
38
+ - Valid HTML5 document structure (`<!DOCTYPE html>`, `<html>` with `lang`, single `<h1>`).
39
+ - Robots.txt, sitemap.xml, canonical URLs, and structured JSON-LD data.
40
+
41
+ ---
42
+
43
+ ## ๐Ÿค– LLM-Specific Traps
44
+
45
+ 1. **Ignoring Image Dimensions**: Omitting `width` and `height` on images, causing layout shifts (CLS penalties).
46
+ 2. **Synchronous Heavy Scripts**: Loading render-blocking third-party scripts in the document `<head>` without `async` or `defer`.
47
+
48
+ ---
49
+
50
+ ## ๐Ÿ›๏ธ Tribunal Integration (Anti-Hallucination)
51
+
52
+ **Active reviewers: `vitals-reviewer` ยท `accessibility-reviewer` ยท `seo-specialist`**
53
+
54
+ ### โœ… Pre-Flight Self-Audit
55
+
56
+ ```
57
+ โœ… Are explicit `width` and `height` aspect ratios declared on all media tags?
58
+ โœ… Are script tags in the `<head>` marked with `defer` or `async`?
59
+ โœ… Is text contrast WCAG AA compliant across all components?
60
+ ```
61
+
62
+ ### ๐Ÿ›‘ Verification-Before-Completion (VBC) Protocol
63
+
64
+ **CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
65
+
66
+ - โŒ **Forbidden:** Declaring a task complete because the output "looks correct."
67
+ - โœ… **Required:** You are explicitly forbidden from finalizing any task without providing **concrete evidence** (terminal output, passing tests, compile success, or equivalent proof) that your output works as intended.
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Auto-fix known issues with lint, formatting, imports, and TypeScript errors. Runs lint_runner.py and auto-fixers. Human approval required before applying any changes. Shows a diff of what will change before writing to disk.
2
+ description: Auto-fix known issues with lint, formatting, imports, and TypeScript errors. Runs lint_runner.js and auto-fixers. Human approval required before applying any changes. Shows a diff of what will change before writing to disk.
3
3
  required-skills: lint-and-validate, clean-code
4
4
  ---
5
5
 
@@ -55,7 +55,7 @@ Read BEFORE fixing:
55
55
 
56
56
  ```bash
57
57
  # 1. Run lint with auto-fix
58
- python .agent/scripts/lint_runner.py . --fix
58
+ node .agent/scripts/lint_runner.js . --fix
59
59
 
60
60
  # 2. Fix remaining TypeScript errors (auto-detectable only)
61
61
  npx tsc --noEmit 2>&1 | grep "error TS"
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Preview server start, stop, and status check. Local development server management. Uses auto_preview.py for automated lifecycle control. Shows current URL and hot-reload status.
2
+ description: Preview server start, stop, and status check. Local development server management. Uses auto_preview.js for automated lifecycle control. Shows current URL and hot-reload status.
3
3
  required-skills: bash-linux, frontend-specialist
4
4
  ---
5
5
 
@@ -34,16 +34,16 @@ Read BEFORE managing preview:
34
34
 
35
35
  ```bash
36
36
  # Start
37
- python .agent/scripts/auto_preview.py start
37
+ node .agent/scripts/auto_preview.js start
38
38
 
39
39
  # Stop
40
- python .agent/scripts/auto_preview.py stop
40
+ node .agent/scripts/auto_preview.js stop
41
41
 
42
42
  # Restart
43
- python .agent/scripts/auto_preview.py restart
43
+ node .agent/scripts/auto_preview.js restart
44
44
 
45
45
  # Status
46
- python .agent/scripts/auto_preview.py status
46
+ node .agent/scripts/auto_preview.js status
47
47
  ```
48
48
 
49
49
  ---
@@ -44,7 +44,7 @@ git log --oneline -5
44
44
  find src/ -name "*.ts" -o -name "*.tsx" -newer package.json 2>/dev/null | head -10
45
45
 
46
46
  # 4. Server status (non-blocking)
47
- python .agent/scripts/auto_preview.py status 2>/dev/null
47
+ node .agent/scripts/auto_preview.js status 2>/dev/null
48
48
 
49
49
  # 5. Quick type check
50
50
  npx tsc --noEmit 2>&1 | tail -5
@@ -1,9 +1,9 @@
1
1
  ---
2
- description: Run ALL 20 Tribunal reviewer agents simultaneously. Maximum hallucination coverage. Use before merging any AI-generated code, before production deployments, or when maximum confidence is required.
2
+ description: Runs ALL 19 parallel reviewers simultaneously. Maximum hallucination coverage. Use before merging any AI-generated code, before production deployments, or when maximum confidence is required.
3
3
  required-skills: all domain skills auto-loaded
4
4
  ---
5
5
 
6
- # /tribunal-full โ€” Complete 20-Reviewer Audit
6
+ # /tribunal-full โ€” Complete 19-Reviewer Audit
7
7
 
8
8
  $ARGUMENTS
9
9
 
@@ -32,7 +32,7 @@ Read BEFORE full review:
32
32
 
33
33
  ---
34
34
 
35
- ## 20 Reviewers โ€” All Active Simultaneously
35
+ ## 19 Reviewers โ€” All Active Simultaneously
36
36
 
37
37
  ```
38
38
  Tier 1: Always active (universal concerns)
@@ -92,7 +92,7 @@ Rule 4: Synthesis call receives only verdict summaries, not full file contents
92
92
 
93
93
  ---
94
94
 
95
- ## 3 Specialist Agents
95
+ ## 3 Scoped Specialists
96
96
 
97
97
  ### vitals-reviewer (Frontend)
98
98
 
@@ -181,7 +181,7 @@ If a specialist fails after 3 retries:
181
181
  | :------------------------- | :------------------------------- | :--------------------- | :--------------------------------------- |
182
182
  | `/tribunal-performance` | logic + performance-reviewer | Generic CWV check | Quick single-file perf scan |
183
183
  | `/tribunal-speed` | vitals + db-latency + throughput | Deep 3-domain parallel | Full-stack perf audit |
184
- | `/tribunal-full` | All 19 agents | Everything | Maximum coverage (security + perf + all) |
184
+ | `/tribunal-full` | All 19 reviewers | Everything | Maximum coverage (security + perf + all) |
185
185
  | `/performance-benchmarker` | Lighthouse + bundle | Measurement only | Get actual scores, not code review |
186
186
 
187
187
  ---