tribunal-kit 4.2.0 โ 4.3.1
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 +21 -14
- package/.agent/agents/swarm-worker-contracts.md +5 -5
- package/.agent/agents/ui-ux-auditor.md +292 -0
- package/.agent/rules/GEMINI.md +8 -8
- package/.agent/scripts/__pycache__/_colors.cpython-311.pyc +0 -0
- package/.agent/scripts/__pycache__/_utils.cpython-311.pyc +0 -0
- package/.agent/scripts/__pycache__/case_law_manager.cpython-311.pyc +0 -0
- package/.agent/scripts/_colors.js +18 -0
- package/.agent/scripts/_utils.js +42 -0
- package/.agent/scripts/auto_preview.js +197 -0
- package/.agent/scripts/bundle_analyzer.js +290 -0
- package/.agent/scripts/case_law_manager.js +684 -0
- package/.agent/scripts/checklist.js +266 -0
- package/.agent/scripts/colors.js +17 -0
- package/.agent/scripts/compress_skills.js +141 -0
- package/.agent/scripts/consolidate_skills.js +149 -0
- package/.agent/scripts/context_broker.js +609 -0
- package/.agent/scripts/deep_compress.js +150 -0
- package/.agent/scripts/dependency_analyzer.js +272 -0
- package/.agent/scripts/graph_builder.js +199 -0
- package/.agent/scripts/graph_zoom.js +154 -0
- package/.agent/scripts/inner_loop_validator.js +465 -0
- package/.agent/scripts/lint_runner.js +187 -0
- package/.agent/scripts/minify_context.js +100 -0
- package/.agent/scripts/patch_skills_meta.js +156 -0
- package/.agent/scripts/patch_skills_output.js +244 -0
- package/.agent/scripts/schema_validator.js +297 -0
- package/.agent/scripts/security_scan.js +303 -0
- package/.agent/scripts/session_manager.js +276 -0
- package/.agent/scripts/skill_evolution.js +644 -0
- package/.agent/scripts/skill_integrator.js +313 -0
- package/.agent/scripts/strengthen_skills.js +193 -0
- package/.agent/scripts/strip_tribunal.js +47 -0
- package/.agent/scripts/swarm_dispatcher.js +360 -0
- package/.agent/scripts/test_runner.js +193 -0
- package/.agent/scripts/utils.js +32 -0
- package/.agent/scripts/verify_all.js +256 -0
- package/.agent/skills/agent-organizer/SKILL.md +12 -4
- package/.agent/skills/agentic-patterns/SKILL.md +12 -4
- package/.agent/skills/ai-prompt-injection-defense/SKILL.md +12 -4
- package/.agent/skills/api-patterns/SKILL.md +209 -201
- package/.agent/skills/api-security-auditor/SKILL.md +12 -4
- package/.agent/skills/app-builder/SKILL.md +12 -4
- package/.agent/skills/app-builder/templates/SKILL.md +76 -68
- package/.agent/skills/app-builder/templates/astro-static/TEMPLATE.md +1 -1
- package/.agent/skills/app-builder/templates/chrome-extension/TEMPLATE.md +1 -1
- package/.agent/skills/app-builder/templates/cli-tool/TEMPLATE.md +1 -1
- package/.agent/skills/app-builder/templates/electron-desktop/TEMPLATE.md +1 -1
- package/.agent/skills/app-builder/templates/express-api/TEMPLATE.md +1 -1
- package/.agent/skills/app-builder/templates/flutter-app/TEMPLATE.md +1 -1
- package/.agent/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +1 -1
- package/.agent/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +1 -1
- package/.agent/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +1 -1
- package/.agent/skills/app-builder/templates/nextjs-static/TEMPLATE.md +1 -1
- package/.agent/skills/app-builder/templates/nuxt-app/TEMPLATE.md +1 -1
- package/.agent/skills/app-builder/templates/python-fastapi/TEMPLATE.md +1 -1
- package/.agent/skills/app-builder/templates/react-native-app/TEMPLATE.md +1 -1
- package/.agent/skills/appflow-wireframe/SKILL.md +12 -4
- package/.agent/skills/architecture/SKILL.md +12 -4
- package/.agent/skills/authentication-best-practices/SKILL.md +12 -4
- package/.agent/skills/bash-linux/SKILL.md +12 -4
- package/.agent/skills/behavioral-modes/SKILL.md +12 -4
- package/.agent/skills/brainstorming/SKILL.md +12 -4
- package/.agent/skills/building-native-ui/SKILL.md +12 -4
- package/.agent/skills/clean-code/SKILL.md +12 -4
- package/.agent/skills/code-review-checklist/SKILL.md +12 -4
- package/.agent/skills/config-validator/SKILL.md +12 -4
- package/.agent/skills/csharp-developer/SKILL.md +12 -4
- package/.agent/skills/data-validation-schemas/SKILL.md +290 -282
- package/.agent/skills/database-design/SKILL.md +202 -194
- package/.agent/skills/deployment-procedures/SKILL.md +12 -4
- package/.agent/skills/devops-engineer/SKILL.md +12 -4
- package/.agent/skills/devops-incident-responder/SKILL.md +12 -4
- package/.agent/skills/doc.md +1 -1
- package/.agent/skills/documentation-templates/SKILL.md +12 -4
- package/.agent/skills/edge-computing/SKILL.md +12 -4
- package/.agent/skills/error-resilience/SKILL.md +390 -382
- package/.agent/skills/extract-design-system/SKILL.md +12 -4
- package/.agent/skills/framer-motion-expert/SKILL.md +206 -199
- package/.agent/skills/frontend-design/SKILL.md +163 -155
- package/.agent/skills/game-design-expert/SKILL.md +12 -4
- package/.agent/skills/game-engineering-expert/SKILL.md +12 -4
- package/.agent/skills/geo-fundamentals/SKILL.md +12 -4
- package/.agent/skills/github-operations/SKILL.md +12 -4
- package/.agent/skills/gsap-core/SKILL.md +54 -48
- package/.agent/skills/gsap-frameworks/SKILL.md +54 -48
- package/.agent/skills/gsap-performance/SKILL.md +54 -48
- package/.agent/skills/gsap-plugins/SKILL.md +54 -48
- package/.agent/skills/gsap-react/SKILL.md +54 -48
- package/.agent/skills/gsap-scrolltrigger/SKILL.md +54 -48
- package/.agent/skills/gsap-timeline/SKILL.md +54 -48
- package/.agent/skills/gsap-utils/SKILL.md +54 -48
- package/.agent/skills/i18n-localization/SKILL.md +12 -4
- package/.agent/skills/intelligent-routing/SKILL.md +41 -33
- package/.agent/skills/knowledge-graph/SKILL.md +36 -0
- package/.agent/skills/lint-and-validate/SKILL.md +12 -4
- package/.agent/skills/llm-engineering/SKILL.md +12 -4
- package/.agent/skills/local-first/SKILL.md +12 -4
- package/.agent/skills/mcp-builder/SKILL.md +12 -4
- package/.agent/skills/mobile-design/SKILL.md +225 -217
- package/.agent/skills/monorepo-management/SKILL.md +296 -288
- package/.agent/skills/motion-engineering/SKILL.md +195 -187
- package/.agent/skills/nextjs-react-expert/SKILL.md +196 -188
- package/.agent/skills/nodejs-best-practices/SKILL.md +12 -4
- package/.agent/skills/observability/SKILL.md +12 -4
- package/.agent/skills/parallel-agents/SKILL.md +12 -4
- package/.agent/skills/performance-profiling/SKILL.md +12 -4
- package/.agent/skills/plan-writing/SKILL.md +12 -4
- package/.agent/skills/platform-engineer/SKILL.md +12 -4
- package/.agent/skills/playwright-best-practices/SKILL.md +12 -4
- package/.agent/skills/powershell-windows/SKILL.md +12 -4
- package/.agent/skills/project-idioms/SKILL.md +12 -4
- package/.agent/skills/python-patterns/SKILL.md +12 -4
- package/.agent/skills/python-pro/SKILL.md +285 -277
- package/.agent/skills/react-specialist/SKILL.md +239 -231
- package/.agent/skills/readme-builder/SKILL.md +12 -4
- package/.agent/skills/realtime-patterns/SKILL.md +12 -4
- package/.agent/skills/red-team-tactics/SKILL.md +12 -4
- package/.agent/skills/rust-pro/SKILL.md +12 -4
- package/.agent/skills/seo-fundamentals/SKILL.md +12 -4
- package/.agent/skills/server-management/SKILL.md +12 -4
- package/.agent/skills/shadcn-ui-expert/SKILL.md +12 -4
- package/.agent/skills/skill-creator/SKILL.md +12 -4
- package/.agent/skills/sql-pro/SKILL.md +12 -4
- package/.agent/skills/supabase-postgres-best-practices/SKILL.md +12 -4
- package/.agent/skills/swiftui-expert/SKILL.md +12 -4
- package/.agent/skills/systematic-debugging/SKILL.md +12 -4
- package/.agent/skills/tailwind-patterns/SKILL.md +12 -4
- package/.agent/skills/tdd-workflow/SKILL.md +12 -4
- package/.agent/skills/test-result-analyzer/SKILL.md +12 -4
- package/.agent/skills/testing-patterns/SKILL.md +12 -4
- package/.agent/skills/trend-researcher/SKILL.md +12 -4
- package/.agent/skills/typescript-advanced/SKILL.md +297 -289
- package/.agent/skills/ui-ux-pro-max/SKILL.md +12 -4
- package/.agent/skills/ui-ux-researcher/SKILL.md +12 -4
- package/.agent/skills/vue-expert/SKILL.md +237 -229
- package/.agent/skills/vulnerability-scanner/SKILL.md +12 -4
- package/.agent/skills/web-accessibility-auditor/SKILL.md +12 -4
- package/.agent/skills/web-design-guidelines/SKILL.md +12 -4
- package/.agent/skills/webapp-testing/SKILL.md +12 -4
- package/.agent/skills/whimsy-injector/SKILL.md +12 -4
- package/.agent/skills/workflow-optimizer/SKILL.md +12 -4
- package/.agent/workflows/audit.md +6 -6
- package/.agent/workflows/deploy.md +1 -1
- package/.agent/workflows/generate.md +23 -6
- package/.agent/workflows/session.md +5 -5
- package/.agent/workflows/swarm.md +2 -2
- package/README.md +242 -186
- package/bin/tribunal-kit.js +297 -57
- package/package.json +81 -77
- package/scripts/changelog.js +167 -0
- package/scripts/sync-version.js +81 -0
- package/scripts/validate-payload.js +73 -0
- package/.agent/scripts/__pycache__/auto_preview.cpython-311.pyc +0 -0
- package/.agent/scripts/__pycache__/bundle_analyzer.cpython-311.pyc +0 -0
- package/.agent/scripts/__pycache__/checklist.cpython-311.pyc +0 -0
- package/.agent/scripts/__pycache__/dependency_analyzer.cpython-311.pyc +0 -0
- package/.agent/scripts/__pycache__/security_scan.cpython-311.pyc +0 -0
- package/.agent/scripts/__pycache__/session_manager.cpython-311.pyc +0 -0
- package/.agent/scripts/__pycache__/skill_integrator.cpython-311.pyc +0 -0
- package/.agent/scripts/__pycache__/swarm_dispatcher.cpython-311.pyc +0 -0
- package/.agent/scripts/__pycache__/test_runner.cpython-311.pyc +0 -0
- package/.agent/scripts/__pycache__/verify_all.cpython-311.pyc +0 -0
- package/.agent/scripts/auto_preview.py +0 -180
- package/.agent/scripts/bundle_analyzer.py +0 -259
- package/.agent/scripts/case_law_manager.py +0 -755
- package/.agent/scripts/checklist.py +0 -209
- package/.agent/scripts/compress_skills.py +0 -167
- package/.agent/scripts/consolidate_skills.py +0 -173
- package/.agent/scripts/deep_compress.py +0 -202
- package/.agent/scripts/dependency_analyzer.py +0 -247
- package/.agent/scripts/lint_runner.py +0 -188
- package/.agent/scripts/minify_context.py +0 -80
- package/.agent/scripts/patch_skills_meta.py +0 -177
- package/.agent/scripts/patch_skills_output.py +0 -285
- package/.agent/scripts/schema_validator.py +0 -279
- package/.agent/scripts/security_scan.py +0 -224
- package/.agent/scripts/session_manager.py +0 -261
- package/.agent/scripts/skill_evolution.py +0 -563
- package/.agent/scripts/skill_integrator.py +0 -234
- package/.agent/scripts/strengthen_skills.py +0 -220
- package/.agent/scripts/strip_tribunal.py +0 -41
- package/.agent/scripts/swarm_dispatcher.py +0 -350
- package/.agent/scripts/test_runner.py +0 -192
- package/.agent/scripts/test_swarm_dispatcher.py +0 -163
- package/.agent/scripts/verify_all.py +0 -195
|
@@ -151,51 +151,57 @@ Do not create GSAP animations in the componentโs setup or in a synchronous top
|
|
|
151
151
|
### Learn More
|
|
152
152
|
|
|
153
153
|
- **gsap-react** skill for React-specific patterns (useGSAP, contextSafe).
|
|
154
|
-
|
|
155
|
-
---
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
|
173
|
-
|
|
174
|
-
|gsap-frameworks|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
โ
Did I
|
|
185
|
-
โ
|
|
186
|
-
โ
Did I
|
|
187
|
-
โ
|
|
188
|
-
โ
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
154
|
+
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
**Slash command: `/review` or `/tribunal-full`**
|
|
158
|
+
**Active reviewers: `logic-reviewer` ยท `security-auditor`**
|
|
159
|
+
|
|
160
|
+
### โ Forbidden AI Tropes
|
|
161
|
+
|
|
162
|
+
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
163
|
+
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
164
|
+
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
165
|
+
|
|
166
|
+
---
|
|
167
|
+
|
|
168
|
+
## ๐จ LLM Trap Table
|
|
169
|
+
|
|
170
|
+
|Pattern|What AI Does Wrong|What Is Actually Correct|
|
|
171
|
+
|:---|:---|:---|
|
|
172
|
+
|gsap-frameworks|gsap.to() before onMounted/onMount|DOM must exist before GSAP grabs it. Wait for lifecycle hook|
|
|
173
|
+
|gsap-frameworks|Global selection string (".item")|Use scoped context: gsap.context(() => {}, containerRef)|
|
|
174
|
+
|gsap-frameworks|Forgetting to cleanup on unmount|ctx.revert() inside onUnmounted (Vue) or returned cleanup fn (Svelte)|
|
|
175
|
+
|
|
176
|
+
---
|
|
177
|
+
|
|
178
|
+
## โ
Pre-Flight Self-Audit
|
|
179
|
+
|
|
180
|
+
Before producing any output, verify:
|
|
181
|
+
```
|
|
182
|
+
โ
Did I read the actual files before making claims about them?
|
|
183
|
+
โ
Did I verify all method names against official GSAP documentation?
|
|
184
|
+
โ
Did I add // VERIFY: on any uncertain API calls?
|
|
185
|
+
โ
Are all imports from packages that actually exist in package.json?
|
|
186
|
+
โ
Did I test my logic with edge cases (null, empty, 0, max)?
|
|
187
|
+
โ
Did I avoid generating code for more than one module at a time?
|
|
188
|
+
โ
Am I working from evidence, not assumption?
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
---
|
|
192
|
+
|
|
193
|
+
## ๐ VBC Protocol (Verify โ Build โ Confirm)
|
|
194
|
+
|
|
195
|
+
```
|
|
196
|
+
VERIFY: Read the actual codebase before writing anything
|
|
197
|
+
BUILD: Generate the smallest meaningful unit of code
|
|
198
|
+
CONFIRM: Verify the output is correct before presenting
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
## Pre-Flight Checklist
|
|
203
|
+
- [ ] Have I reviewed the user's specific constraints and requests?
|
|
204
|
+
- [ ] Have I checked the environment for relevant existing implementations?
|
|
205
|
+
|
|
206
|
+
## VBC Protocol (Verification-Before-Completion)
|
|
207
|
+
You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
|
|
@@ -77,51 +77,57 @@ document.querySelector("#container").addEventListener("mousemove", (e) => {
|
|
|
77
77
|
- โ Set **will-change** or **force3D** on every element โjust in caseโ; use for elements that are actually animating.
|
|
78
78
|
- โ Create hundreds of overlapping tweens or ScrollTriggers without testing on low-end devices.
|
|
79
79
|
- โ Ignore cleanup; stray tweens and ScrollTriggers keep running and can hurt performance and correctness.
|
|
80
|
-
|
|
81
|
-
---
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
|
99
|
-
|
|
100
|
-
|gsap-performance|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
โ
Did I
|
|
111
|
-
โ
|
|
112
|
-
โ
Did I
|
|
113
|
-
โ
|
|
114
|
-
โ
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
**Slash command: `/review` or `/tribunal-full`**
|
|
84
|
+
**Active reviewers: `logic-reviewer` ยท `security-auditor`**
|
|
85
|
+
|
|
86
|
+
### โ Forbidden AI Tropes
|
|
87
|
+
|
|
88
|
+
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
89
|
+
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
90
|
+
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## ๐จ LLM Trap Table
|
|
95
|
+
|
|
96
|
+
|Pattern|What AI Does Wrong|What Is Actually Correct|
|
|
97
|
+
|:---|:---|:---|
|
|
98
|
+
|gsap-performance|Layout caching issues|Call ScrollTrigger.refresh() on height/layout changes|
|
|
99
|
+
|gsap-performance|Multiple separate tweens with delay|Use a single tween with stagger: 0.1|
|
|
100
|
+
|gsap-performance|will-change on everything|Use sparingly, or let GSAP handle it via willChange: "transform" option|
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## โ
Pre-Flight Self-Audit
|
|
105
|
+
|
|
106
|
+
Before producing any output, verify:
|
|
107
|
+
```
|
|
108
|
+
โ
Did I read the actual files before making claims about them?
|
|
109
|
+
โ
Did I verify all method names against official GSAP documentation?
|
|
110
|
+
โ
Did I add // VERIFY: on any uncertain API calls?
|
|
111
|
+
โ
Are all imports from packages that actually exist in package.json?
|
|
112
|
+
โ
Did I test my logic with edge cases (null, empty, 0, max)?
|
|
113
|
+
โ
Did I avoid generating code for more than one module at a time?
|
|
114
|
+
โ
Am I working from evidence, not assumption?
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
---
|
|
118
|
+
|
|
119
|
+
## ๐ VBC Protocol (Verify โ Build โ Confirm)
|
|
120
|
+
|
|
121
|
+
```
|
|
122
|
+
VERIFY: Read the actual codebase before writing anything
|
|
123
|
+
BUILD: Generate the smallest meaningful unit of code
|
|
124
|
+
CONFIRM: Verify the output is correct before presenting
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
## Pre-Flight Checklist
|
|
129
|
+
- [ ] Have I reviewed the user's specific constraints and requests?
|
|
130
|
+
- [ ] Have I checked the environment for relevant existing implementations?
|
|
131
|
+
|
|
132
|
+
## VBC Protocol (Verification-Before-Completion)
|
|
133
|
+
You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
|
|
@@ -424,51 +424,57 @@ gsap.to(sprite, { pixi: { x: 200, y: 100, scale: 1.5 }, duration: 1 });
|
|
|
424
424
|
### Learn More
|
|
425
425
|
|
|
426
426
|
https://gsap.com/docs/v3/Plugins/
|
|
427
|
-
|
|
428
|
-
---
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
|
446
|
-
|
|
447
|
-
|gsap-plugins|
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
โ
Did I
|
|
458
|
-
โ
|
|
459
|
-
โ
Did I
|
|
460
|
-
โ
|
|
461
|
-
โ
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
427
|
+
|
|
428
|
+
---
|
|
429
|
+
|
|
430
|
+
**Slash command: `/review` or `/tribunal-full`**
|
|
431
|
+
**Active reviewers: `logic-reviewer` ยท `security-auditor`**
|
|
432
|
+
|
|
433
|
+
### โ Forbidden AI Tropes
|
|
434
|
+
|
|
435
|
+
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
436
|
+
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
437
|
+
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
438
|
+
|
|
439
|
+
---
|
|
440
|
+
|
|
441
|
+
## ๐จ LLM Trap Table
|
|
442
|
+
|
|
443
|
+
|Pattern|What AI Does Wrong|What Is Actually Correct|
|
|
444
|
+
|:---|:---|:---|
|
|
445
|
+
|gsap-plugins|Using premium plugins without club membership|MorphSVG, SplitText, ScrollSmoother require Club GSAP|
|
|
446
|
+
|gsap-plugins|Forgetting gsap.registerPlugin(Plugin)|Register EVERY plugin before its first use|
|
|
447
|
+
|gsap-plugins|SplitText hurting SEO|Always call .revert() after animating SplitText to restore DOM structure|
|
|
448
|
+
|
|
449
|
+
---
|
|
450
|
+
|
|
451
|
+
## โ
Pre-Flight Self-Audit
|
|
452
|
+
|
|
453
|
+
Before producing any output, verify:
|
|
454
|
+
```
|
|
455
|
+
โ
Did I read the actual files before making claims about them?
|
|
456
|
+
โ
Did I verify all method names against official GSAP documentation?
|
|
457
|
+
โ
Did I add // VERIFY: on any uncertain API calls?
|
|
458
|
+
โ
Are all imports from packages that actually exist in package.json?
|
|
459
|
+
โ
Did I test my logic with edge cases (null, empty, 0, max)?
|
|
460
|
+
โ
Did I avoid generating code for more than one module at a time?
|
|
461
|
+
โ
Am I working from evidence, not assumption?
|
|
462
|
+
```
|
|
463
|
+
|
|
464
|
+
---
|
|
465
|
+
|
|
466
|
+
## ๐ VBC Protocol (Verify โ Build โ Confirm)
|
|
467
|
+
|
|
468
|
+
```
|
|
469
|
+
VERIFY: Read the actual codebase before writing anything
|
|
470
|
+
BUILD: Generate the smallest meaningful unit of code
|
|
471
|
+
CONFIRM: Verify the output is correct before presenting
|
|
472
|
+
```
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
## Pre-Flight Checklist
|
|
476
|
+
- [ ] Have I reviewed the user's specific constraints and requests?
|
|
477
|
+
- [ ] Have I checked the environment for relevant existing implementations?
|
|
478
|
+
|
|
479
|
+
## VBC Protocol (Verification-Before-Completion)
|
|
480
|
+
You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
|
|
@@ -133,51 +133,57 @@ GSAP runs in the browser. Do not call gsap or ScrollTrigger during SSR.
|
|
|
133
133
|
|
|
134
134
|
### Learn More
|
|
135
135
|
|
|
136
|
-
https://gsap.com/resources/React
|
|
137
|
-
---
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
|
155
|
-
|
|
156
|
-
|gsap-react|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
โ
Did I
|
|
167
|
-
โ
|
|
168
|
-
โ
Did I
|
|
169
|
-
โ
|
|
170
|
-
โ
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
136
|
+
https://gsap.com/resources/React
|
|
137
|
+
---
|
|
138
|
+
|
|
139
|
+
**Slash command: `/review` or `/tribunal-full`**
|
|
140
|
+
**Active reviewers: `logic-reviewer` ยท `security-auditor`**
|
|
141
|
+
|
|
142
|
+
### โ Forbidden AI Tropes
|
|
143
|
+
|
|
144
|
+
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
145
|
+
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
146
|
+
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
147
|
+
|
|
148
|
+
---
|
|
149
|
+
|
|
150
|
+
## ๐จ LLM Trap Table
|
|
151
|
+
|
|
152
|
+
|Pattern|What AI Does Wrong|What Is Actually Correct|
|
|
153
|
+
|:---|:---|:---|
|
|
154
|
+
|gsap-react|useEffect or useLayoutEffect for GSAP|Use useGSAP() Hook from @gsap/react|
|
|
155
|
+
|gsap-react|Forgetting dependencies in useGSAP|Explicitly set { dependencies: [reqs] } if you need reactivity|
|
|
156
|
+
|gsap-react|gsap.context() inside useGSAP|Unnecessary, useGSAP creates a Context implicitly|
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
## โ
Pre-Flight Self-Audit
|
|
161
|
+
|
|
162
|
+
Before producing any output, verify:
|
|
163
|
+
```
|
|
164
|
+
โ
Did I read the actual files before making claims about them?
|
|
165
|
+
โ
Did I verify all method names against official GSAP documentation?
|
|
166
|
+
โ
Did I add // VERIFY: on any uncertain API calls?
|
|
167
|
+
โ
Are all imports from packages that actually exist in package.json?
|
|
168
|
+
โ
Did I test my logic with edge cases (null, empty, 0, max)?
|
|
169
|
+
โ
Did I avoid generating code for more than one module at a time?
|
|
170
|
+
โ
Am I working from evidence, not assumption?
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
---
|
|
174
|
+
|
|
175
|
+
## ๐ VBC Protocol (Verify โ Build โ Confirm)
|
|
176
|
+
|
|
177
|
+
```
|
|
178
|
+
VERIFY: Read the actual codebase before writing anything
|
|
179
|
+
BUILD: Generate the smallest meaningful unit of code
|
|
180
|
+
CONFIRM: Verify the output is correct before presenting
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
## Pre-Flight Checklist
|
|
185
|
+
- [ ] Have I reviewed the user's specific constraints and requests?
|
|
186
|
+
- [ ] Have I checked the environment for relevant existing implementations?
|
|
187
|
+
|
|
188
|
+
## VBC Protocol (Verification-Before-Completion)
|
|
189
|
+
You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
|
|
@@ -294,51 +294,57 @@ In React, use the `useGSAP()` hook (@gsap/react NPM package) to ensure proper cl
|
|
|
294
294
|
|
|
295
295
|
https://gsap.com/docs/v3/Plugins/ScrollTrigger/
|
|
296
296
|
|
|
297
|
-
|
|
298
|
-
---
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
|
316
|
-
|
|
317
|
-
|gsap-scrolltrigger|
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
โ
Did I
|
|
328
|
-
โ
|
|
329
|
-
โ
Did I
|
|
330
|
-
โ
|
|
331
|
-
โ
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
297
|
+
|
|
298
|
+
---
|
|
299
|
+
|
|
300
|
+
**Slash command: `/review` or `/tribunal-full`**
|
|
301
|
+
**Active reviewers: `logic-reviewer` ยท `security-auditor`**
|
|
302
|
+
|
|
303
|
+
### โ Forbidden AI Tropes
|
|
304
|
+
|
|
305
|
+
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
306
|
+
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
307
|
+
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
308
|
+
|
|
309
|
+
---
|
|
310
|
+
|
|
311
|
+
## ๐จ LLM Trap Table
|
|
312
|
+
|
|
313
|
+
|Pattern|What AI Does Wrong|What Is Actually Correct|
|
|
314
|
+
|:---|:---|:---|
|
|
315
|
+
|gsap-scrolltrigger|Forgot gsap.registerPlugin(ScrollTrigger)|MUST register before component mounts / animations run|
|
|
316
|
+
|gsap-scrolltrigger|markers: true in production|Debug only โ never ship. Use markers: false|
|
|
317
|
+
|gsap-scrolltrigger|1 ScrollTrigger per list item|Use ScrollTrigger.batch() for lists to optimize performance|
|
|
318
|
+
|
|
319
|
+
---
|
|
320
|
+
|
|
321
|
+
## โ
Pre-Flight Self-Audit
|
|
322
|
+
|
|
323
|
+
Before producing any output, verify:
|
|
324
|
+
```
|
|
325
|
+
โ
Did I read the actual files before making claims about them?
|
|
326
|
+
โ
Did I verify all method names against official GSAP documentation?
|
|
327
|
+
โ
Did I add // VERIFY: on any uncertain API calls?
|
|
328
|
+
โ
Are all imports from packages that actually exist in package.json?
|
|
329
|
+
โ
Did I test my logic with edge cases (null, empty, 0, max)?
|
|
330
|
+
โ
Did I avoid generating code for more than one module at a time?
|
|
331
|
+
โ
Am I working from evidence, not assumption?
|
|
332
|
+
```
|
|
333
|
+
|
|
334
|
+
---
|
|
335
|
+
|
|
336
|
+
## ๐ VBC Protocol (Verify โ Build โ Confirm)
|
|
337
|
+
|
|
338
|
+
```
|
|
339
|
+
VERIFY: Read the actual codebase before writing anything
|
|
340
|
+
BUILD: Generate the smallest meaningful unit of code
|
|
341
|
+
CONFIRM: Verify the output is correct before presenting
|
|
342
|
+
```
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
## Pre-Flight Checklist
|
|
346
|
+
- [ ] Have I reviewed the user's specific constraints and requests?
|
|
347
|
+
- [ ] Have I checked the environment for relevant existing implementations?
|
|
348
|
+
|
|
349
|
+
## VBC Protocol (Verification-Before-Completion)
|
|
350
|
+
You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
|