tribunal-kit 8.0.0 โ 9.0.0
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/.agent/ARCHITECTURE.md +2 -2
- package/.agent/config/plugin.json +4 -4
- package/.agent/config/system-prompt.md +54 -1
- package/.agent/routing_index.json +2 -2
- package/.agent/skills/12-principles-of-animation/SKILL.md +19 -16
- package/.agent/skills/60fps-animation/SKILL.md +47 -21
- package/.agent/skills/accessible-animation/SKILL.md +19 -16
- package/.agent/skills/adapt/SKILL.md +19 -16
- package/.agent/skills/advanced-rag-pipelines/SKILL.md +41 -40
- package/.agent/skills/agent-organizer/SKILL.md +9 -59
- package/.agent/skills/agentic-patterns/SKILL.md +9 -57
- package/.agent/skills/agentic-workflows-2026/SKILL.md +45 -8
- package/.agent/skills/ai-app-hardening/SKILL.md +31 -5
- package/.agent/skills/ai-prompt-injection-defense/SKILL.md +28 -66
- package/.agent/skills/animation-on-scroll/SKILL.md +19 -16
- package/.agent/skills/animation-systems/SKILL.md +19 -15
- package/.agent/skills/antfu-conventions/SKILL.md +19 -18
- package/.agent/skills/api-patterns/SKILL.md +8 -58
- package/.agent/skills/api-security-auditor/SKILL.md +8 -58
- package/.agent/skills/app-builder/SKILL.md +9 -59
- package/.agent/skills/appflow-wireframe/SKILL.md +13 -57
- package/.agent/skills/apple-design/SKILL.md +22 -14
- package/.agent/skills/architecture/SKILL.md +9 -59
- package/.agent/skills/audit-and-fix/SKILL.md +19 -16
- package/.agent/skills/authentication-best-practices/SKILL.md +8 -58
- package/.agent/skills/backend-security-expert/SKILL.md +32 -65
- package/.agent/skills/baseline-ui/SKILL.md +22 -14
- package/.agent/skills/bash-linux/SKILL.md +9 -59
- package/.agent/skills/behavioral-modes/SKILL.md +9 -57
- package/.agent/skills/better-colors/SKILL.md +22 -14
- package/.agent/skills/better-typography/SKILL.md +26 -14
- package/.agent/skills/better-ui/SKILL.md +54 -19
- package/.agent/skills/bolder/SKILL.md +19 -16
- package/.agent/skills/brainstorming/SKILL.md +9 -57
- package/.agent/skills/browser-native-ai/SKILL.md +9 -28
- package/.agent/skills/build-primitive/SKILL.md +19 -16
- package/.agent/skills/building-native-ui/SKILL.md +9 -59
- package/.agent/skills/cicd-pro/SKILL.md +21 -28
- package/.agent/skills/clarify/SKILL.md +19 -16
- package/.agent/skills/clean-code/SKILL.md +18 -61
- package/.agent/skills/cloud-architect/SKILL.md +21 -28
- package/.agent/skills/cobejs/SKILL.md +19 -15
- package/.agent/skills/code-review-checklist/SKILL.md +8 -58
- package/.agent/skills/codebase-design/SKILL.md +33 -22
- package/.agent/skills/colorize/SKILL.md +19 -16
- package/.agent/skills/compact-landing/SKILL.md +19 -16
- package/.agent/skills/company-logos/SKILL.md +19 -16
- package/.agent/skills/config-validator/SKILL.md +9 -59
- package/.agent/skills/containerization-pro/SKILL.md +21 -28
- package/.agent/skills/context-engineering-pro/SKILL.md +31 -5
- package/.agent/skills/create-design-md/SKILL.md +22 -14
- package/.agent/skills/critique/SKILL.md +20 -11
- package/.agent/skills/csharp-developer/SKILL.md +8 -58
- package/.agent/skills/data-validation-schemas/SKILL.md +9 -59
- package/.agent/skills/database-design/SKILL.md +27 -67
- package/.agent/skills/delight/SKILL.md +19 -16
- package/.agent/skills/deployment-procedures/SKILL.md +9 -59
- package/.agent/skills/design-lab/SKILL.md +19 -16
- package/.agent/skills/devops-engineer/SKILL.md +8 -58
- package/.agent/skills/devops-incident-responder/SKILL.md +9 -59
- package/.agent/skills/diagnosing-bugs/SKILL.md +20 -21
- package/.agent/skills/distill/SKILL.md +19 -16
- package/.agent/skills/documentation-templates/SKILL.md +9 -59
- package/.agent/skills/domain-modeling/SKILL.md +19 -18
- package/.agent/skills/duckdb-analytical-sql/SKILL.md +31 -5
- package/.agent/skills/edge-ai-mobile/SKILL.md +31 -5
- package/.agent/skills/edge-computing/SKILL.md +9 -59
- package/.agent/skills/emil-design-eng/SKILL.md +21 -24
- package/.agent/skills/error-resilience/SKILL.md +31 -66
- package/.agent/skills/expo-router-v4/SKILL.md +31 -5
- package/.agent/skills/extract-design-system/SKILL.md +9 -59
- package/.agent/skills/fabel-protocol/SKILL.md +26 -8
- package/.agent/skills/fixing-accessibility/SKILL.md +22 -14
- package/.agent/skills/fixing-metadata/SKILL.md +19 -16
- package/.agent/skills/fixing-motion-performance/SKILL.md +22 -14
- package/.agent/skills/framer-motion-expert/SKILL.md +9 -57
- package/.agent/skills/frontend-design/SKILL.md +27 -7
- package/.agent/skills/frontend-security-expert/SKILL.md +8 -58
- package/.agent/skills/game-design-expert/SKILL.md +9 -59
- package/.agent/skills/game-engineering-expert/SKILL.md +9 -59
- package/.agent/skills/generative-ui-expert/SKILL.md +9 -28
- package/.agent/skills/geo-fundamentals/SKILL.md +9 -59
- package/.agent/skills/git-pro/SKILL.md +19 -30
- package/.agent/skills/github-operations/SKILL.md +8 -58
- package/.agent/skills/gpt-taste/SKILL.md +19 -16
- package/.agent/skills/gsap-core/SKILL.md +8 -78
- package/.agent/skills/gsap-frameworks/SKILL.md +8 -78
- package/.agent/skills/gsap-performance/SKILL.md +9 -77
- package/.agent/skills/gsap-plugins/SKILL.md +9 -77
- package/.agent/skills/gsap-react/SKILL.md +9 -21
- package/.agent/skills/gsap-scrolltrigger/SKILL.md +8 -78
- package/.agent/skills/gsap-timeline/SKILL.md +9 -77
- package/.agent/skills/gsap-utils/SKILL.md +9 -77
- package/.agent/skills/harden/SKILL.md +19 -16
- package/.agent/skills/harness-protocol/SKILL.md +9 -21
- package/.agent/skills/i18n-localization/SKILL.md +9 -59
- package/.agent/skills/impeccable/SKILL.md +19 -18
- package/.agent/skills/improve-codebase-architecture/SKILL.md +19 -17
- package/.agent/skills/improve-ui/SKILL.md +22 -14
- package/.agent/skills/intelligent-routing/SKILL.md +9 -23
- package/.agent/skills/knowledge-graph/SKILL.md +9 -21
- package/.agent/skills/landing-page/SKILL.md +19 -16
- package/.agent/skills/lint-and-validate/SKILL.md +9 -59
- package/.agent/skills/llm-engineering/SKILL.md +8 -58
- package/.agent/skills/local-first/SKILL.md +9 -59
- package/.agent/skills/local-first-architecture/SKILL.md +37 -20
- package/.agent/skills/lottie-animation/SKILL.md +19 -15
- package/.agent/skills/marquee-loop/SKILL.md +19 -16
- package/.agent/skills/masked-reveal/SKILL.md +19 -15
- package/.agent/skills/mcp-builder/SKILL.md +9 -59
- package/.agent/skills/micro-interaction/SKILL.md +19 -16
- package/.agent/skills/mobile-design/SKILL.md +8 -58
- package/.agent/skills/monorepo-management/SKILL.md +9 -59
- package/.agent/skills/morphing-icons/SKILL.md +19 -15
- package/.agent/skills/motion-engineering/SKILL.md +22 -15
- package/.agent/skills/nextjs-react-expert/SKILL.md +35 -67
- package/.agent/skills/nodejs-best-practices/SKILL.md +34 -61
- package/.agent/skills/observability/SKILL.md +8 -58
- package/.agent/skills/opentelemetry-observability/SKILL.md +31 -5
- package/.agent/skills/page-transition-animation/SKILL.md +19 -16
- package/.agent/skills/parallel-agents/SKILL.md +9 -59
- package/.agent/skills/performance-profiling/SKILL.md +8 -58
- package/.agent/skills/plan-writing/SKILL.md +36 -69
- package/.agent/skills/platform-engineer/SKILL.md +9 -59
- package/.agent/skills/platform-engineering-opentofu/SKILL.md +31 -5
- package/.agent/skills/playwright-ai-e2e/SKILL.md +31 -5
- package/.agent/skills/playwright-best-practices/SKILL.md +9 -59
- package/.agent/skills/polish/SKILL.md +19 -16
- package/.agent/skills/powershell-windows/SKILL.md +8 -58
- package/.agent/skills/pricing-page/SKILL.md +19 -16
- package/.agent/skills/product-aware-heuristics/SKILL.md +27 -8
- package/.agent/skills/progressive-blur/SKILL.md +19 -16
- package/.agent/skills/project-idioms/SKILL.md +9 -59
- package/.agent/skills/property-based-testing/SKILL.md +31 -5
- package/.agent/skills/python-patterns/SKILL.md +9 -59
- package/.agent/skills/python-pro/SKILL.md +35 -67
- package/.agent/skills/quieter/SKILL.md +19 -16
- package/.agent/skills/react-doctor/SKILL.md +19 -16
- package/.agent/skills/react-specialist/SKILL.md +26 -65
- package/.agent/skills/readme-builder/SKILL.md +9 -59
- package/.agent/skills/realtime-patterns/SKILL.md +8 -58
- package/.agent/skills/red-team-tactics/SKILL.md +9 -59
- package/.agent/skills/redesign-skill/SKILL.md +19 -16
- package/.agent/skills/review-animations/SKILL.md +21 -25
- package/.agent/skills/rust-pro/SKILL.md +30 -61
- package/.agent/skills/seo-fundamentals/SKILL.md +9 -59
- package/.agent/skills/server-management/SKILL.md +9 -59
- package/.agent/skills/shadcn-ui-expert/SKILL.md +9 -59
- package/.agent/skills/shape/SKILL.md +19 -16
- package/.agent/skills/skill-creator/SKILL.md +36 -86
- package/.agent/skills/soft-skill/SKILL.md +19 -16
- package/.agent/skills/sounds-on-the-web/SKILL.md +19 -16
- package/.agent/skills/sql-pro/SKILL.md +47 -62
- package/.agent/skills/supabase-postgres-best-practices/SKILL.md +9 -59
- package/.agent/skills/svg-animation/SKILL.md +19 -15
- package/.agent/skills/swiftui-expert/SKILL.md +9 -59
- package/.agent/skills/swiss-design/SKILL.md +19 -16
- package/.agent/skills/system-design-pro/SKILL.md +21 -26
- package/.agent/skills/systematic-debugging/SKILL.md +19 -60
- package/.agent/skills/systematic-debugging/condition-based-waiting.md +115 -0
- package/.agent/skills/systematic-debugging/defense-in-depth.md +122 -0
- package/.agent/skills/systematic-debugging/root-cause-tracing.md +169 -0
- package/.agent/skills/tailwind-patterns/SKILL.md +8 -58
- package/.agent/skills/taste-skill/SKILL.md +19 -16
- package/.agent/skills/tdd-workflow/SKILL.md +65 -25
- package/.agent/skills/test-result-analyzer/SKILL.md +9 -59
- package/.agent/skills/testing-patterns/SKILL.md +8 -58
- package/.agent/skills/thermo-nuclear-code-quality-review/SKILL.md +19 -18
- package/.agent/skills/thinking-protocol/SKILL.md +33 -2
- package/.agent/skills/to-spring-or-not-to-spring/SKILL.md +19 -15
- package/.agent/skills/transitions-dev/SKILL.md +19 -15
- package/.agent/skills/trend-researcher/SKILL.md +9 -59
- package/.agent/skills/typescript-advanced/SKILL.md +21 -64
- package/.agent/skills/typeset/SKILL.md +19 -16
- package/.agent/skills/ui-reasoning-engine/SKILL.md +27 -8
- package/.agent/skills/ui-skill-packs/SKILL.md +26 -16
- package/.agent/skills/ui-skills-root/SKILL.md +22 -14
- package/.agent/skills/ui-ux-pro-max/SKILL.md +38 -12
- package/.agent/skills/ui-ux-researcher/SKILL.md +9 -59
- package/.agent/skills/vector-search-pgvector/SKILL.md +31 -5
- package/.agent/skills/verification-before-completion/SKILL.md +125 -0
- package/.agent/skills/vue-expert/SKILL.md +9 -57
- package/.agent/skills/vulnerability-scanner/SKILL.md +8 -58
- package/.agent/skills/web-accessibility-auditor/SKILL.md +9 -59
- package/.agent/skills/web-design-guidelines/SKILL.md +27 -7
- package/.agent/skills/web-quality-audit/SKILL.md +19 -16
- package/.agent/skills/webapp-testing/SKILL.md +9 -59
- package/.agent/skills/webgpu-performance/SKILL.md +9 -28
- package/.agent/skills/whimsy-injector/SKILL.md +9 -57
- package/.agent/skills/workflow-optimizer/SKILL.md +9 -57
- package/.agent/skills/zero-trust-passkeys/SKILL.md +31 -5
- package/.agent/templates/DESIGN.md +680 -160
- package/.agent/templates/sdd/implementer-prompt.md +53 -0
- package/.agent/templates/sdd/re-review-prompt.md +28 -0
- package/.agent/templates/sdd/task-reviewer-prompt.md +59 -0
- package/.agent/workflows/acf.md +4 -0
- package/.agent/workflows/api-tester.md +5 -0
- package/.agent/workflows/audit.md +5 -0
- package/.agent/workflows/brainstorm.md +17 -1
- package/.agent/workflows/changelog.md +5 -0
- package/.agent/workflows/contract.md +19 -0
- package/.agent/workflows/create.md +6 -1
- package/.agent/workflows/debug.md +5 -0
- package/.agent/workflows/deploy.md +6 -1
- package/.agent/workflows/enhance.md +6 -1
- package/.agent/workflows/fix-ci.md +5 -0
- package/.agent/workflows/fix.md +5 -0
- package/.agent/workflows/generate.md +5 -0
- package/.agent/workflows/marathon.md +6 -1
- package/.agent/workflows/migrate.md +5 -0
- package/.agent/workflows/minimal.md +4 -0
- package/.agent/workflows/orchestrate.md +6 -1
- package/.agent/workflows/performance-benchmarker.md +6 -1
- package/.agent/workflows/pipeline.md +5 -0
- package/.agent/workflows/plan.md +6 -1
- package/.agent/workflows/preview.md +6 -1
- package/.agent/workflows/refactor.md +6 -0
- package/.agent/workflows/review-ai.md +5 -0
- package/.agent/workflows/review.md +5 -0
- package/.agent/workflows/sdd.md +122 -0
- package/.agent/workflows/session.md +5 -0
- package/.agent/workflows/status.md +4 -0
- package/.agent/workflows/super-prompt.md +4 -0
- package/.agent/workflows/swarm.md +6 -1
- package/.agent/workflows/test.md +6 -1
- package/.agent/workflows/tribunal-backend.md +5 -0
- package/.agent/workflows/tribunal-cicd.md +5 -0
- package/.agent/workflows/tribunal-database.md +5 -0
- package/.agent/workflows/tribunal-full.md +8 -0
- package/.agent/workflows/tribunal-mobile.md +5 -0
- package/.agent/workflows/tribunal-performance.md +5 -0
- package/.agent/workflows/tribunal-speed.md +5 -0
- package/.agent/workflows/tribunal-ui.md +7 -0
- package/.agents/plugins/marketplace.json +20 -0
- package/.claude-plugin/marketplace.json +17 -0
- package/.claude-plugin/plugin.json +26 -0
- package/.codex-plugin/plugin.json +45 -0
- package/.cursor-plugin/plugin.json +26 -0
- package/.devin-plugin/plugin.json +14 -0
- package/.hermes-plugin/__init__.py +102 -0
- package/.hermes-plugin/plugin.yaml +6 -0
- package/.kimi-plugin/plugin.json +38 -0
- package/.opencode/INSTALL.md +41 -0
- package/.opencode/plugins/tribunal.js +101 -0
- package/.pi/extensions/tribunal.ts +133 -0
- package/CONTRIBUTING.md +1 -1
- package/README.md +246 -221
- package/bin/wrapper.js +1 -0
- package/dist/cli.js +355 -355
- package/dist/esm/index.mjs +142 -142
- package/dist/index.d.ts +349 -343
- package/gemini-extension.json +6 -0
- package/hooks/hooks-cursor.json +16 -0
- package/hooks/hooks.json +16 -0
- package/hooks/session-start.js +77 -0
- package/package.json +165 -146
- package/scripts/audit_skill_sdo.js +87 -0
- package/scripts/modernize_skills.js +254 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: better-typography
|
|
3
3
|
description: Web typography from choosing fonts to spacing, wrapping, and accessibility. Use when picking or pairing typefaces, configuring variable fonts or OpenType features, setting up a type scale, styling text in components, truncating text, styling underlines, selection, placeholders, or carets. Triggers on typography, fonts, variable fonts, font-weight, opentype, letter-spacing, line-height, type scale, tabular numbers, text-wrap, truncation, line clamp, measure, line length.
|
|
4
|
-
version:
|
|
5
|
-
last-updated: 2026-07
|
|
4
|
+
version: 4.0.0
|
|
5
|
+
last-updated: 2026-09-07
|
|
6
6
|
applies-to-model: gemini-3-6-flash, claude-3-7-sonnet
|
|
7
7
|
routing:
|
|
8
8
|
domain: UI Craft & Design Engineering
|
|
@@ -21,10 +21,20 @@ routing:
|
|
|
21
21
|
optical sizing,
|
|
22
22
|
]
|
|
23
23
|
weak: [fonts, text style, line height]
|
|
24
|
+
scripts-binding:
|
|
25
|
+
- .agent/scripts/lint_runner.js
|
|
26
|
+
- .agent/scripts/verify_all.js
|
|
24
27
|
---
|
|
25
28
|
|
|
26
29
|
# Better Typography โ Web Typography & Font Engineering
|
|
27
30
|
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## Activation Boundaries
|
|
34
|
+
|
|
35
|
+
- **Activate when:** Operating in tasks requiring Web typography from choosing fonts to spacing, wrapping, and accessibility. Use when picking or pairing typefaces, configuring variable fonts or OpenType features, setting up a type scale, styling text in components, truncating text, styling underlines, selection, placeholders, or carets. Triggers on typography, fonts, variable fonts, font-weight, opentype, letter-spacing, line-height, type scale, tabular numbers, text-wrap, truncation, line clamp, measure, line length..
|
|
36
|
+
- **DO NOT activate when:** The task falls strictly outside better-typography domain or belongs to a different dedicated specialist.
|
|
37
|
+
|
|
28
38
|
Design engineering guidelines for setting up modern, readable, scalable typography with OpenType features, fluid type scales, and optimal measure.
|
|
29
39
|
|
|
30
40
|
---
|
|
@@ -103,23 +113,25 @@ body {
|
|
|
103
113
|
|
|
104
114
|
---
|
|
105
115
|
|
|
106
|
-
##
|
|
116
|
+
## ๐๏ธ Tribunal Verification & Guardrails
|
|
107
117
|
|
|
108
|
-
|
|
109
|
-
|
|
118
|
+
**Slash command: `/review` or `/tribunal-full`**
|
|
119
|
+
**Active reviewers: `logic-reviewer` ยท `security-auditor`**
|
|
110
120
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
121
|
+
### โ Forbidden AI Tropes
|
|
122
|
+
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
123
|
+
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
124
|
+
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
114
125
|
|
|
115
126
|
### โ
Pre-Flight Self-Audit
|
|
116
|
-
|
|
117
127
|
```
|
|
118
|
-
โ
|
|
119
|
-
โ
Is
|
|
120
|
-
โ
|
|
128
|
+
โ
Did I rely ONLY on real, verified tools and methods?
|
|
129
|
+
โ
Is this solution appropriately scoped to the user's constraints?
|
|
130
|
+
โ
Did I handle potential failure modes and edge cases?
|
|
131
|
+
โ
Have I avoided generic boilerplate that doesn't add value?
|
|
121
132
|
```
|
|
122
133
|
|
|
123
134
|
### ๐ Verification-Before-Completion (VBC) Protocol
|
|
124
|
-
|
|
125
|
-
|
|
135
|
+
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
136
|
+
- โ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
137
|
+
- โ
**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,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: better-ui
|
|
3
3
|
description: Design engineering principles for making interfaces feel polished. Use when building UI components, reviewing frontend code, implementing animations, hover states, shadows, borders, micro-interactions, or visual detail work.
|
|
4
|
-
version:
|
|
5
|
-
last-updated: 2026-07
|
|
4
|
+
version: 4.0.0
|
|
5
|
+
last-updated: 2026-09-07
|
|
6
6
|
skills:
|
|
7
7
|
- baseline-ui
|
|
8
8
|
- better-colors
|
|
@@ -21,11 +21,44 @@ scripts-binding:
|
|
|
21
21
|
|
|
22
22
|
Before engineering component polish or micro-interactions, you MUST inspect:
|
|
23
23
|
|
|
24
|
-
1.
|
|
25
|
-
2.
|
|
26
|
-
3.
|
|
27
|
-
|
|
28
|
-
|
|
24
|
+
1. Nested Radius Formula โ Enforce `Radius(outer) = Radius(inner) + Padding(inner)` to prevent visual corner clipping
|
|
25
|
+
2. Explicit Property Transitions โ Strictly ban `transition: all`; specify explicit properties (`transform`, `opacity`, `box-shadow`)
|
|
26
|
+
3. OKLCH Color Space & Contrast โ Use perceptual OKLCH color palettes; verify text contrast against APCA / WCAG 2.2 standards
|
|
27
|
+
4. Anti-Slop Directive โ Ban generic purple/indigo AI gradients and default left-text/right-image hero templates
|
|
28
|
+
|
|
29
|
+
## Activation Boundaries
|
|
30
|
+
|
|
31
|
+
- **Activate when:** Styling frontend components, refining layout spacing, crafting hover/press states, elevating visual depth/shadows, and deslopping generic UI templates.
|
|
32
|
+
- **DO NOT activate when:** Writing backend database schemas, SQL queries, or infrastructure deployment scripts.
|
|
33
|
+
|
|
34
|
+
## 2026 UI Design Engineering Invariants
|
|
35
|
+
|
|
36
|
+
1. **The Nested Border Radius Formula**:
|
|
37
|
+
```css
|
|
38
|
+
/* Inner card radius = 8px, Container padding = 16px -> Outer container radius = 24px */
|
|
39
|
+
.card-container { padding: 16px; border-radius: 24px; }
|
|
40
|
+
.card-inner { border-radius: 8px; }
|
|
41
|
+
```
|
|
42
|
+
2. **Perceptual OKLCH Color Scale**:
|
|
43
|
+
```css
|
|
44
|
+
:root {
|
|
45
|
+
--surface-0: oklch(0.14 0.01 260);
|
|
46
|
+
--surface-1: oklch(0.18 0.01 260);
|
|
47
|
+
--primary: oklch(0.65 0.18 145); /* High-chroma, uniform lightness */
|
|
48
|
+
}
|
|
49
|
+
```
|
|
50
|
+
3. **Subgrid for Pixel-Perfect Card Alignment**:
|
|
51
|
+
```css
|
|
52
|
+
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
|
|
53
|
+
.card-grid > .card { display: grid; grid-template-rows: subgrid; grid-row: span 3; }
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Hallucination Traps (Read First)
|
|
57
|
+
|
|
58
|
+
- โ `transition: all 0.3s ease` โ โ
Specify explicit properties `transition: transform 150ms ease, opacity 150ms ease`
|
|
59
|
+
- โ Hardcoded single muddy black shadows โ โ
Multi-layer ambient + directional shadows
|
|
60
|
+
- โ Mismatched concentric border radii โ โ
Outer radius MUST equal inner radius + padding
|
|
61
|
+
- โ Generic AI violet/purple mesh gradients โ โ
Use subtle grain, solid contrast, and refined OKLCH accents
|
|
29
62
|
|
|
30
63
|
---
|
|
31
64
|
|
|
@@ -96,23 +129,25 @@ Distilled design engineering principles for transforming functional UIs into pol
|
|
|
96
129
|
|
|
97
130
|
---
|
|
98
131
|
|
|
99
|
-
##
|
|
100
|
-
|
|
101
|
-
1. **`transition: all` Laziness**: Causes layout recalculations and flashes during dark/light mode toggles.
|
|
102
|
-
2. **Missing Active States**: Adding hover effects but forgetting `:active` click feedback.
|
|
132
|
+
## ๐๏ธ Tribunal Verification & Guardrails
|
|
103
133
|
|
|
104
|
-
|
|
134
|
+
**Slash command: `/review` or `/tribunal-full`**
|
|
135
|
+
**Active reviewers: `logic-reviewer` ยท `security-auditor`**
|
|
105
136
|
|
|
106
|
-
|
|
137
|
+
### โ Forbidden AI Tropes
|
|
138
|
+
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
139
|
+
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
140
|
+
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
107
141
|
|
|
108
142
|
### โ
Pre-Flight Self-Audit
|
|
109
|
-
|
|
110
143
|
```
|
|
111
|
-
โ
|
|
112
|
-
โ
|
|
113
|
-
โ
|
|
144
|
+
โ
Did I rely ONLY on real, verified tools and methods?
|
|
145
|
+
โ
Is this solution appropriately scoped to the user's constraints?
|
|
146
|
+
โ
Did I handle potential failure modes and edge cases?
|
|
147
|
+
โ
Have I avoided generic boilerplate that doesn't add value?
|
|
114
148
|
```
|
|
115
149
|
|
|
116
150
|
### ๐ Verification-Before-Completion (VBC) Protocol
|
|
117
|
-
|
|
118
|
-
|
|
151
|
+
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
152
|
+
- โ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
153
|
+
- โ
**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,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: bolder
|
|
3
3
|
description: Increase visual impact, punch, and personality for generic or bland interfaces. Use when the user asks to make the UI pop, stand out, have more character, or feel less template-like.
|
|
4
|
-
version:
|
|
5
|
-
last-updated: 2026-07
|
|
4
|
+
version: 4.0.0
|
|
5
|
+
last-updated: 2026-09-07
|
|
6
6
|
skills:
|
|
7
7
|
- better-colors
|
|
8
8
|
- better-ui
|
|
@@ -27,6 +27,12 @@ Before applying bold visual transformations, you MUST inspect:
|
|
|
27
27
|
|
|
28
28
|
Transform generic, boring template UIs into high-impact, distinctive interfaces with strong visual presence.
|
|
29
29
|
|
|
30
|
+
|
|
31
|
+
## Activation Boundaries
|
|
32
|
+
|
|
33
|
+
- **Activate when:** Operating in tasks requiring Increase visual impact, punch, and personality for generic or bland interfaces. Use when the user asks to make the UI pop, stand out, have more character, or feel less template-like..
|
|
34
|
+
- **DO NOT activate when:** The task falls strictly outside bolder domain or belongs to a different dedicated specialist.
|
|
35
|
+
|
|
30
36
|
---
|
|
31
37
|
|
|
32
38
|
## 5 Tactics for Bold UI Transformation
|
|
@@ -56,28 +62,25 @@ Transform generic, boring template UIs into high-impact, distinctive interfaces
|
|
|
56
62
|
|
|
57
63
|
---
|
|
58
64
|
|
|
59
|
-
##
|
|
65
|
+
## ๐๏ธ Tribunal Verification & Guardrails
|
|
60
66
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
---
|
|
67
|
+
**Slash command: `/review` or `/tribunal-full`**
|
|
68
|
+
**Active reviewers: `logic-reviewer` ยท `security-auditor`**
|
|
65
69
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
**
|
|
70
|
+
### โ Forbidden AI Tropes
|
|
71
|
+
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
72
|
+
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
73
|
+
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
69
74
|
|
|
70
75
|
### โ
Pre-Flight Self-Audit
|
|
71
|
-
|
|
72
76
|
```
|
|
73
|
-
โ
|
|
74
|
-
โ
|
|
75
|
-
โ
|
|
77
|
+
โ
Did I rely ONLY on real, verified tools and methods?
|
|
78
|
+
โ
Is this solution appropriately scoped to the user's constraints?
|
|
79
|
+
โ
Did I handle potential failure modes and edge cases?
|
|
80
|
+
โ
Have I avoided generic boilerplate that doesn't add value?
|
|
76
81
|
```
|
|
77
82
|
|
|
78
83
|
### ๐ Verification-Before-Completion (VBC) Protocol
|
|
79
|
-
|
|
80
84
|
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
81
|
-
|
|
82
85
|
- โ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
83
86
|
- โ
**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.
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
name: brainstorming
|
|
3
3
|
description: Socratic methodology, ideation, and architectural exploration mastery. Generating extensive feature options, analyzing trade-offs, questioning assumptions, mind-mapping components, and delaying execution. Use when evaluating new features, defining project goals, or guiding users through ambiguous design spaces.
|
|
4
4
|
tools: Read, Grep, Glob, Bash, Edit, Write
|
|
5
|
-
version:
|
|
6
|
-
last-updated: 2026-07
|
|
5
|
+
version: 4.0.0
|
|
6
|
+
last-updated: 2026-09-07
|
|
7
7
|
skills:
|
|
8
8
|
- plan-writing
|
|
9
9
|
- fabel-protocol
|
|
@@ -21,6 +21,12 @@ Before initiating ideation sessions or generating architectural options, you MUS
|
|
|
21
21
|
2. The Socratic Protocol (Section 1) โ Provide 3 distinct options (Conservative, Balanced, Ambitious) with tabular trade-offs
|
|
22
22
|
3. Final Brainstorming Assertions schema (Section 4) โ Distill options into actionable requirement items before planning
|
|
23
23
|
|
|
24
|
+
|
|
25
|
+
## Activation Boundaries
|
|
26
|
+
|
|
27
|
+
- **Activate when:** Operating in tasks requiring Socratic methodology, ideation, and architectural exploration mastery. Generating extensive feature options, analyzing trade-offs, questioning assumptions, mind-mapping components, and delaying execution. Use when evaluating new features, defining project goals, or guiding users through ambiguous design spaces..
|
|
28
|
+
- **DO NOT activate when:** The task falls strictly outside brainstorming domain or belongs to a different dedicated specialist.
|
|
29
|
+
|
|
24
30
|
## Hallucination Traps (Read First)
|
|
25
31
|
|
|
26
32
|
- โ Jumping to implementation during brainstorming -> โ
Brainstorming is exploration only; no code is written in this phase
|
|
@@ -474,69 +480,17 @@ AI coding assistants often fall into specific bad habits when dealing with this
|
|
|
474
480
|
|
|
475
481
|
---
|
|
476
482
|
|
|
477
|
-
|
|
478
|
-
**Active reviewers: `logic-reviewer` ยท `security-auditor`**
|
|
479
|
-
|
|
480
|
-
### โ Forbidden AI Tropes
|
|
481
|
-
|
|
482
|
-
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
483
|
-
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
484
|
-
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
485
|
-
|
|
486
|
-
Review these questions before confirming output:
|
|
487
|
-
|
|
488
|
-
```
|
|
489
|
-
โ
Did I rely ONLY on real, verified tools and methods?
|
|
490
|
-
โ
Is this solution appropriately scoped to the user's constraints?
|
|
491
|
-
โ
Did I handle potential failure modes and edge cases?
|
|
492
|
-
โ
Have I avoided generic boilerplate that doesn't add value?
|
|
493
|
-
```
|
|
494
|
-
|
|
495
|
-
### ๐ Verification-Before-Completion (VBC) Protocol
|
|
496
|
-
|
|
497
|
-
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
498
|
-
|
|
499
|
-
- โ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
500
|
-
- โ
**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.
|
|
501
|
-
|
|
502
|
-
## Pre-Flight Checklist
|
|
503
|
-
|
|
504
|
-
- [ ] Have I reviewed the user's specific constraints and requests?
|
|
505
|
-
- [ ] Have I checked the environment for relevant existing implementations?
|
|
506
|
-
|
|
507
|
-
## VBC Protocol (Verification-Before-Completion)
|
|
508
|
-
|
|
509
|
-
You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
|
|
510
|
-
|
|
511
|
-
---
|
|
512
|
-
|
|
513
|
-
## ๐ค LLM-Specific Traps
|
|
514
|
-
|
|
515
|
-
AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
|
|
516
|
-
|
|
517
|
-
1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
|
|
518
|
-
2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
|
|
519
|
-
3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
|
|
520
|
-
4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
521
|
-
5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
|
|
522
|
-
|
|
523
|
-
---
|
|
524
|
-
|
|
525
|
-
## ๐๏ธ Tribunal Integration (Anti-Hallucination)
|
|
483
|
+
## ๐๏ธ Tribunal Verification & Guardrails
|
|
526
484
|
|
|
527
485
|
**Slash command: `/review` or `/tribunal-full`**
|
|
528
486
|
**Active reviewers: `logic-reviewer` ยท `security-auditor`**
|
|
529
487
|
|
|
530
488
|
### โ Forbidden AI Tropes
|
|
531
|
-
|
|
532
489
|
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
533
490
|
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
534
491
|
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
535
492
|
|
|
536
493
|
### โ
Pre-Flight Self-Audit
|
|
537
|
-
|
|
538
|
-
Review these questions before confirming output:
|
|
539
|
-
|
|
540
494
|
```
|
|
541
495
|
โ
Did I rely ONLY on real, verified tools and methods?
|
|
542
496
|
โ
Is this solution appropriately scoped to the user's constraints?
|
|
@@ -545,8 +499,6 @@ Review these questions before confirming output:
|
|
|
545
499
|
```
|
|
546
500
|
|
|
547
501
|
### ๐ Verification-Before-Completion (VBC) Protocol
|
|
548
|
-
|
|
549
502
|
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
550
|
-
|
|
551
503
|
- โ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
552
504
|
- โ
**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.
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
name: browser-native-ai
|
|
3
3
|
description: Browser-native AI mastery. Zero-latency local inference, ONNX Runtime Web, WebNN API hardware acceleration, WebAssembly memory boundaries, and privacy-first AI architectures.
|
|
4
4
|
tools: Read, Grep, Glob, Bash, Edit, Write
|
|
5
|
-
version:
|
|
6
|
-
last-updated: 2026-07
|
|
5
|
+
version: 4.0.0
|
|
6
|
+
last-updated: 2026-09-07
|
|
7
7
|
skills:
|
|
8
8
|
- generative-ui-expert
|
|
9
9
|
- webgpu-performance
|
|
@@ -27,6 +27,12 @@ Before writing browser-native AI or client-side inference code, you MUST inspect
|
|
|
27
27
|
|
|
28
28
|
You are an expert at running AI models directly on the client's device, inside the web browser. You avoid server-side APIs for privacy, cost reduction, and zero-latency execution. Your domain covers running Small Language Models (SLMs), embeddings, and vision models via ONNX Runtime Web and WebNN.
|
|
29
29
|
|
|
30
|
+
|
|
31
|
+
## Activation Boundaries
|
|
32
|
+
|
|
33
|
+
- **Activate when:** Operating in tasks requiring Browser-native AI mastery. Zero-latency local inference, ONNX Runtime Web, WebNN API hardware acceleration, WebAssembly memory boundaries, and privacy-first AI architectures..
|
|
34
|
+
- **DO NOT activate when:** The task falls strictly outside browser-native-ai domain or belongs to a different dedicated specialist.
|
|
35
|
+
|
|
30
36
|
## 1. Core Principles
|
|
31
37
|
|
|
32
38
|
- **Privacy by Default:** Data never leaves the browser. This is critical for HIPAA compliance, banking, and private notes apps.
|
|
@@ -77,42 +83,19 @@ Before submitting code, ensure:
|
|
|
77
83
|
2. WebGPU is requested as the primary execution provider.
|
|
78
84
|
3. Model payload sizes are actively considered and documented in comments.
|
|
79
85
|
|
|
80
|
-
### ๐ Verification-Before-Completion (VBC) Protocol
|
|
81
|
-
|
|
82
|
-
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
83
|
-
|
|
84
|
-
- โ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
85
|
-
- โ
**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.
|
|
86
|
-
|
|
87
86
|
---
|
|
88
87
|
|
|
89
|
-
##
|
|
90
|
-
|
|
91
|
-
AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
|
|
92
|
-
|
|
93
|
-
1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
|
|
94
|
-
2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
|
|
95
|
-
3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
|
|
96
|
-
4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
97
|
-
5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
|
|
98
|
-
|
|
99
|
-
---
|
|
100
|
-
|
|
101
|
-
## ๐๏ธ Tribunal Integration (Anti-Hallucination)
|
|
88
|
+
## ๐๏ธ Tribunal Verification & Guardrails
|
|
102
89
|
|
|
103
90
|
**Slash command: `/review` or `/tribunal-full`**
|
|
104
91
|
**Active reviewers: `logic-reviewer` ยท `security-auditor`**
|
|
105
92
|
|
|
106
93
|
### โ Forbidden AI Tropes
|
|
107
|
-
|
|
108
94
|
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
109
95
|
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
110
96
|
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
111
97
|
|
|
112
98
|
### โ
Pre-Flight Self-Audit
|
|
113
|
-
|
|
114
|
-
Review these questions before confirming output:
|
|
115
|
-
|
|
116
99
|
```
|
|
117
100
|
โ
Did I rely ONLY on real, verified tools and methods?
|
|
118
101
|
โ
Is this solution appropriately scoped to the user's constraints?
|
|
@@ -121,8 +104,6 @@ Review these questions before confirming output:
|
|
|
121
104
|
```
|
|
122
105
|
|
|
123
106
|
### ๐ Verification-Before-Completion (VBC) Protocol
|
|
124
|
-
|
|
125
107
|
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
126
|
-
|
|
127
108
|
- โ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
128
109
|
- โ
**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,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: build-primitive
|
|
3
3
|
description: Build foundational, unstyled, accessible UI primitives from scratch with strong ARIA attributes, keyboard navigation, focus traps, and state management. Use when creating custom Headless UI components (Dialog, Combobox, Accordion, Popover, Menu).
|
|
4
|
-
version:
|
|
5
|
-
last-updated: 2026-07
|
|
4
|
+
version: 4.0.0
|
|
5
|
+
last-updated: 2026-09-07
|
|
6
6
|
skills:
|
|
7
7
|
- react-specialist
|
|
8
8
|
- baseline-ui
|
|
@@ -27,6 +27,12 @@ Before building headless UI primitives, you MUST inspect:
|
|
|
27
27
|
|
|
28
28
|
Build rock-solid, framework-agnostic or React headless UI primitives with complete ARIA pattern compliance, keyboard control, and focus management.
|
|
29
29
|
|
|
30
|
+
|
|
31
|
+
## Activation Boundaries
|
|
32
|
+
|
|
33
|
+
- **Activate when:** Operating in tasks requiring Build foundational, unstyled, accessible UI primitives from scratch with strong ARIA attributes, keyboard navigation, focus traps, and state management. Use when creating custom Headless UI components (Dialog, Combobox, Accordion, Popover, Menu)..
|
|
34
|
+
- **DO NOT activate when:** The task falls strictly outside build-primitive domain or belongs to a different dedicated specialist.
|
|
35
|
+
|
|
30
36
|
---
|
|
31
37
|
|
|
32
38
|
## 4 Rules for UI Primitives
|
|
@@ -57,28 +63,25 @@ Build rock-solid, framework-agnostic or React headless UI primitives with comple
|
|
|
57
63
|
|
|
58
64
|
---
|
|
59
65
|
|
|
60
|
-
##
|
|
66
|
+
## ๐๏ธ Tribunal Verification & Guardrails
|
|
61
67
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
---
|
|
68
|
+
**Slash command: `/review` or `/tribunal-full`**
|
|
69
|
+
**Active reviewers: `logic-reviewer` ยท `security-auditor`**
|
|
66
70
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
**
|
|
71
|
+
### โ Forbidden AI Tropes
|
|
72
|
+
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
73
|
+
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
74
|
+
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
70
75
|
|
|
71
76
|
### โ
Pre-Flight Self-Audit
|
|
72
|
-
|
|
73
77
|
```
|
|
74
|
-
โ
|
|
75
|
-
โ
Is
|
|
76
|
-
โ
|
|
78
|
+
โ
Did I rely ONLY on real, verified tools and methods?
|
|
79
|
+
โ
Is this solution appropriately scoped to the user's constraints?
|
|
80
|
+
โ
Did I handle potential failure modes and edge cases?
|
|
81
|
+
โ
Have I avoided generic boilerplate that doesn't add value?
|
|
77
82
|
```
|
|
78
83
|
|
|
79
84
|
### ๐ Verification-Before-Completion (VBC) Protocol
|
|
80
|
-
|
|
81
85
|
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
82
|
-
|
|
83
86
|
- โ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
84
87
|
- โ
**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.
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
name: building-native-ui
|
|
3
3
|
description: Cross-platform Native UI mastery (React Native / Expo). Building seamless, 60fps mobile interfaces, handling safe areas, navigation architectures (Expo Router), native modules, gestures/animations (Reanimated), and platform-specific styling. Use when building React Native or Expo mobile apps.
|
|
4
4
|
tools: Read, Grep, Glob, Bash, Edit, Write
|
|
5
|
-
version:
|
|
6
|
-
last-updated: 2026-07
|
|
5
|
+
version: 4.0.0
|
|
6
|
+
last-updated: 2026-09-07
|
|
7
7
|
skills:
|
|
8
8
|
- mobile-design
|
|
9
9
|
- react-specialist
|
|
@@ -25,6 +25,12 @@ Before building React Native / Expo UI components, you MUST inspect:
|
|
|
25
25
|
2. Virtualized List Rendering (Section 130) โ Use `FlashList` (Shopify) or `FlatList` with `estimatedItemSize` instead of `ScrollView` for large lists
|
|
26
26
|
3. Native Thread Animations (Section 99) โ Use `react-native-reanimated` with `useSharedValue` to keep animations off the JS bridge thread
|
|
27
27
|
|
|
28
|
+
|
|
29
|
+
## Activation Boundaries
|
|
30
|
+
|
|
31
|
+
- **Activate when:** Operating in tasks requiring Cross-platform Native UI mastery (React Native / Expo). Building seamless, 60fps mobile interfaces, handling safe areas, navigation architectures (Expo Router), native modules, gestures/animations (Reanimated), and platform-specific styling. Use when building React Native or Expo mobile apps..
|
|
32
|
+
- **DO NOT activate when:** The task falls strictly outside building-native-ui domain or belongs to a different dedicated specialist.
|
|
33
|
+
|
|
28
34
|
## Hallucination Traps (Read First)
|
|
29
35
|
|
|
30
36
|
- โ `SafeAreaView` wrapping everything -> โ
Use `SafeAreaProvider` + `useSafeAreaInsets()` for granular control
|
|
@@ -34,8 +40,6 @@ Before building React Native / Expo UI components, you MUST inspect:
|
|
|
34
40
|
|
|
35
41
|
---
|
|
36
42
|
|
|
37
|
-
# Building Native UI โ React Native & Expo Mastery
|
|
38
|
-
|
|
39
43
|
A mobile app isn't a website confined to a small screen.
|
|
40
44
|
60 FPS is not a goal; it is a rigid requirement. The JS thread is a fragile bottleneck.
|
|
41
45
|
|
|
@@ -181,69 +185,17 @@ AI coding assistants often fall into specific bad habits when dealing with this
|
|
|
181
185
|
|
|
182
186
|
---
|
|
183
187
|
|
|
184
|
-
|
|
185
|
-
**Active reviewers: `logic-reviewer` ยท `security-auditor`**
|
|
186
|
-
|
|
187
|
-
### โ Forbidden AI Tropes
|
|
188
|
-
|
|
189
|
-
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
190
|
-
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
191
|
-
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
192
|
-
|
|
193
|
-
Review these questions before confirming output:
|
|
194
|
-
|
|
195
|
-
```
|
|
196
|
-
โ
Did I rely ONLY on real, verified tools and methods?
|
|
197
|
-
โ
Is this solution appropriately scoped to the user's constraints?
|
|
198
|
-
โ
Did I handle potential failure modes and edge cases?
|
|
199
|
-
โ
Have I avoided generic boilerplate that doesn't add value?
|
|
200
|
-
```
|
|
201
|
-
|
|
202
|
-
### ๐ Verification-Before-Completion (VBC) Protocol
|
|
203
|
-
|
|
204
|
-
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
205
|
-
|
|
206
|
-
- โ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
207
|
-
- โ
**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.
|
|
208
|
-
|
|
209
|
-
## Pre-Flight Checklist
|
|
210
|
-
|
|
211
|
-
- [ ] Have I reviewed the user's specific constraints and requests?
|
|
212
|
-
- [ ] Have I checked the environment for relevant existing implementations?
|
|
213
|
-
|
|
214
|
-
## VBC Protocol (Verification-Before-Completion)
|
|
215
|
-
|
|
216
|
-
You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
|
|
217
|
-
|
|
218
|
-
---
|
|
219
|
-
|
|
220
|
-
## ๐ค LLM-Specific Traps
|
|
221
|
-
|
|
222
|
-
AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
|
|
223
|
-
|
|
224
|
-
1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
|
|
225
|
-
2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
|
|
226
|
-
3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
|
|
227
|
-
4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
228
|
-
5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
|
|
229
|
-
|
|
230
|
-
---
|
|
231
|
-
|
|
232
|
-
## ๐๏ธ Tribunal Integration (Anti-Hallucination)
|
|
188
|
+
## ๐๏ธ Tribunal Verification & Guardrails
|
|
233
189
|
|
|
234
190
|
**Slash command: `/review` or `/tribunal-full`**
|
|
235
191
|
**Active reviewers: `logic-reviewer` ยท `security-auditor`**
|
|
236
192
|
|
|
237
193
|
### โ Forbidden AI Tropes
|
|
238
|
-
|
|
239
194
|
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
240
195
|
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
241
196
|
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
242
197
|
|
|
243
198
|
### โ
Pre-Flight Self-Audit
|
|
244
|
-
|
|
245
|
-
Review these questions before confirming output:
|
|
246
|
-
|
|
247
199
|
```
|
|
248
200
|
โ
Did I rely ONLY on real, verified tools and methods?
|
|
249
201
|
โ
Is this solution appropriately scoped to the user's constraints?
|
|
@@ -252,8 +204,6 @@ Review these questions before confirming output:
|
|
|
252
204
|
```
|
|
253
205
|
|
|
254
206
|
### ๐ Verification-Before-Completion (VBC) Protocol
|
|
255
|
-
|
|
256
207
|
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
257
|
-
|
|
258
208
|
- โ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
259
209
|
- โ
**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.
|