tribunal-kit 1.0.0 → 2.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/.agent/.shared/ui-ux-pro-max/README.md +3 -3
  2. package/.agent/ARCHITECTURE.md +205 -10
  3. package/.agent/GEMINI.md +37 -7
  4. package/.agent/agents/accessibility-reviewer.md +134 -0
  5. package/.agent/agents/ai-code-reviewer.md +129 -0
  6. package/.agent/agents/frontend-specialist.md +3 -0
  7. package/.agent/agents/game-developer.md +21 -21
  8. package/.agent/agents/logic-reviewer.md +12 -0
  9. package/.agent/agents/mobile-reviewer.md +79 -0
  10. package/.agent/agents/orchestrator.md +56 -26
  11. package/.agent/agents/performance-reviewer.md +36 -0
  12. package/.agent/agents/supervisor-agent.md +156 -0
  13. package/.agent/agents/swarm-worker-contracts.md +166 -0
  14. package/.agent/agents/swarm-worker-registry.md +92 -0
  15. package/.agent/rules/GEMINI.md +134 -5
  16. package/.agent/scripts/bundle_analyzer.py +259 -0
  17. package/.agent/scripts/dependency_analyzer.py +247 -0
  18. package/.agent/scripts/lint_runner.py +188 -0
  19. package/.agent/scripts/patch_skills_meta.py +177 -0
  20. package/.agent/scripts/patch_skills_output.py +285 -0
  21. package/.agent/scripts/schema_validator.py +279 -0
  22. package/.agent/scripts/security_scan.py +224 -0
  23. package/.agent/scripts/session_manager.py +144 -3
  24. package/.agent/scripts/skill_integrator.py +234 -0
  25. package/.agent/scripts/strengthen_skills.py +220 -0
  26. package/.agent/scripts/swarm_dispatcher.py +317 -0
  27. package/.agent/scripts/test_runner.py +192 -0
  28. package/.agent/scripts/test_swarm_dispatcher.py +163 -0
  29. package/.agent/skills/agent-organizer/SKILL.md +132 -0
  30. package/.agent/skills/agentic-patterns/SKILL.md +335 -0
  31. package/.agent/skills/api-patterns/SKILL.md +226 -50
  32. package/.agent/skills/app-builder/SKILL.md +215 -52
  33. package/.agent/skills/architecture/SKILL.md +176 -31
  34. package/.agent/skills/bash-linux/SKILL.md +150 -134
  35. package/.agent/skills/behavioral-modes/SKILL.md +152 -160
  36. package/.agent/skills/brainstorming/SKILL.md +148 -101
  37. package/.agent/skills/brainstorming/dynamic-questioning.md +10 -0
  38. package/.agent/skills/clean-code/SKILL.md +139 -134
  39. package/.agent/skills/code-review-checklist/SKILL.md +177 -80
  40. package/.agent/skills/config-validator/SKILL.md +165 -0
  41. package/.agent/skills/csharp-developer/SKILL.md +107 -0
  42. package/.agent/skills/database-design/SKILL.md +252 -29
  43. package/.agent/skills/deployment-procedures/SKILL.md +122 -175
  44. package/.agent/skills/devops-engineer/SKILL.md +134 -0
  45. package/.agent/skills/devops-incident-responder/SKILL.md +98 -0
  46. package/.agent/skills/documentation-templates/SKILL.md +175 -121
  47. package/.agent/skills/dotnet-core-expert/SKILL.md +103 -0
  48. package/.agent/skills/edge-computing/SKILL.md +213 -0
  49. package/.agent/skills/frontend-design/SKILL.md +76 -0
  50. package/.agent/skills/frontend-design/color-system.md +18 -0
  51. package/.agent/skills/frontend-design/typography-system.md +18 -0
  52. package/.agent/skills/game-development/SKILL.md +69 -0
  53. package/.agent/skills/geo-fundamentals/SKILL.md +158 -99
  54. package/.agent/skills/github-operations/SKILL.md +354 -0
  55. package/.agent/skills/i18n-localization/SKILL.md +158 -96
  56. package/.agent/skills/intelligent-routing/SKILL.md +89 -285
  57. package/.agent/skills/intelligent-routing/router-manifest.md +65 -0
  58. package/.agent/skills/lint-and-validate/SKILL.md +229 -27
  59. package/.agent/skills/llm-engineering/SKILL.md +258 -0
  60. package/.agent/skills/local-first/SKILL.md +203 -0
  61. package/.agent/skills/mcp-builder/SKILL.md +159 -111
  62. package/.agent/skills/mobile-design/SKILL.md +102 -282
  63. package/.agent/skills/nextjs-react-expert/SKILL.md +143 -227
  64. package/.agent/skills/nodejs-best-practices/SKILL.md +201 -254
  65. package/.agent/skills/observability/SKILL.md +285 -0
  66. package/.agent/skills/parallel-agents/SKILL.md +124 -118
  67. package/.agent/skills/performance-profiling/SKILL.md +143 -89
  68. package/.agent/skills/plan-writing/SKILL.md +133 -97
  69. package/.agent/skills/platform-engineer/SKILL.md +135 -0
  70. package/.agent/skills/powershell-windows/SKILL.md +167 -104
  71. package/.agent/skills/python-patterns/SKILL.md +149 -361
  72. package/.agent/skills/python-pro/SKILL.md +114 -0
  73. package/.agent/skills/react-specialist/SKILL.md +107 -0
  74. package/.agent/skills/readme-builder/SKILL.md +270 -0
  75. package/.agent/skills/realtime-patterns/SKILL.md +296 -0
  76. package/.agent/skills/red-team-tactics/SKILL.md +136 -134
  77. package/.agent/skills/rust-pro/SKILL.md +237 -173
  78. package/.agent/skills/seo-fundamentals/SKILL.md +134 -82
  79. package/.agent/skills/server-management/SKILL.md +155 -104
  80. package/.agent/skills/sql-pro/SKILL.md +104 -0
  81. package/.agent/skills/systematic-debugging/SKILL.md +156 -79
  82. package/.agent/skills/tailwind-patterns/SKILL.md +163 -205
  83. package/.agent/skills/tdd-workflow/SKILL.md +148 -88
  84. package/.agent/skills/test-result-analyzer/SKILL.md +299 -0
  85. package/.agent/skills/testing-patterns/SKILL.md +141 -114
  86. package/.agent/skills/trend-researcher/SKILL.md +228 -0
  87. package/.agent/skills/ui-ux-pro-max/SKILL.md +107 -0
  88. package/.agent/skills/ui-ux-researcher/SKILL.md +234 -0
  89. package/.agent/skills/vue-expert/SKILL.md +118 -0
  90. package/.agent/skills/vulnerability-scanner/SKILL.md +228 -188
  91. package/.agent/skills/web-design-guidelines/SKILL.md +148 -33
  92. package/.agent/skills/webapp-testing/SKILL.md +171 -122
  93. package/.agent/skills/whimsy-injector/SKILL.md +349 -0
  94. package/.agent/skills/workflow-optimizer/SKILL.md +219 -0
  95. package/.agent/workflows/api-tester.md +279 -0
  96. package/.agent/workflows/audit.md +168 -0
  97. package/.agent/workflows/brainstorm.md +65 -19
  98. package/.agent/workflows/changelog.md +144 -0
  99. package/.agent/workflows/create.md +67 -14
  100. package/.agent/workflows/debug.md +122 -30
  101. package/.agent/workflows/deploy.md +82 -31
  102. package/.agent/workflows/enhance.md +59 -27
  103. package/.agent/workflows/fix.md +143 -0
  104. package/.agent/workflows/generate.md +84 -20
  105. package/.agent/workflows/migrate.md +163 -0
  106. package/.agent/workflows/orchestrate.md +66 -17
  107. package/.agent/workflows/performance-benchmarker.md +305 -0
  108. package/.agent/workflows/plan.md +76 -33
  109. package/.agent/workflows/preview.md +73 -17
  110. package/.agent/workflows/refactor.md +153 -0
  111. package/.agent/workflows/review-ai.md +140 -0
  112. package/.agent/workflows/review.md +83 -16
  113. package/.agent/workflows/session.md +154 -0
  114. package/.agent/workflows/status.md +74 -18
  115. package/.agent/workflows/strengthen-skills.md +99 -0
  116. package/.agent/workflows/swarm.md +194 -0
  117. package/.agent/workflows/test.md +80 -31
  118. package/.agent/workflows/tribunal-backend.md +55 -13
  119. package/.agent/workflows/tribunal-database.md +62 -18
  120. package/.agent/workflows/tribunal-frontend.md +58 -12
  121. package/.agent/workflows/tribunal-full.md +70 -11
  122. package/.agent/workflows/tribunal-mobile.md +123 -0
  123. package/.agent/workflows/tribunal-performance.md +152 -0
  124. package/.agent/workflows/ui-ux-pro-max.md +100 -82
  125. package/README.md +117 -62
  126. package/bin/tribunal-kit.js +542 -288
  127. package/package.json +10 -6
@@ -2,6 +2,9 @@
2
2
  name: frontend-design
3
3
  description: Design thinking and decision-making for web UI. Use when designing components, layouts, color schemes, typography, or creating aesthetic interfaces. Teaches principles, not fixed values.
4
4
  allowed-tools: Read, Write, Edit, Glob, Grep, Bash
5
+ version: 1.0.0
6
+ last-updated: 2026-03-12
7
+ applies-to-model: gemini-2.5-pro, claude-3-7-sonnet
5
8
  ---
6
9
 
7
10
  # Frontend Design System
@@ -128,6 +131,16 @@ REFLECTIVE (memory) → After: "I like what this says about me"
128
131
 
129
132
  ## 3. Layout Principles
130
133
 
134
+ ### Spatial & Asymmetric Composition (Pro Max Level)
135
+
136
+ ```
137
+ Break out of basic CSS Grid/Flexbox row mentality. True premium design uses space intentionally:
138
+ ├── Overlapping: Let images break out of their containers
139
+ ├── Asymmetry: 60/40 or 70/30 splits, not just 50/50
140
+ ├── Negative Space as an Object: Whitespace isn't just "gap", it's a structural element
141
+ └── Z-Axis Depth: Layering typography behind or partially over imagery
142
+ ```
143
+
131
144
  ### Golden Ratio (φ = 1.618)
132
145
 
133
146
  ```
@@ -339,6 +352,9 @@ For animation patterns: [animation-guide.md](animation-guide.md), for advanced:
339
352
  - **Mesh Gradients & Glow Effects**
340
353
  - **Same layout structure / Vercel clone**
341
354
  - **Not asking user preferences**
355
+ - **Emojis for UI icons (BANNED: Use lucide-react/SVGs ✅)**
356
+ - **Tailwind Defaults**: Using `rounded-md`, `shadow-md`, `text-blue-500` without custom configuration.
357
+ - **Static Dead Zones**: Interfaces with zero micro-interactions. Inject "whimsy" (subtle scale, transform, or opacity shifts on interaction).
342
358
 
343
359
  ### ❌ Dark Patterns (Unethical)
344
360
 
@@ -416,3 +432,63 @@ After implementing your design, run the audit:
416
432
  ---
417
433
 
418
434
  > **Remember:** Design is THINKING, not copying. Every project deserves fresh consideration based on its unique context and users. **Avoid the Modern SaaS Safe Harbor!**
435
+
436
+ ---
437
+
438
+ ## Output Format
439
+
440
+ When this skill produces a recommendation or design decision, structure your output as:
441
+
442
+ ```
443
+ ━━━ Frontend Design Recommendation ━━━━━━━━━━━━━━━━
444
+ Decision: [what was chosen / proposed]
445
+ Rationale: [why — one concise line]
446
+ Trade-offs: [what is consciously accepted]
447
+ Next action: [concrete next step for the user]
448
+ ─────────────────────────────────────────────────
449
+ Pre-Flight: ✅ All checks passed
450
+ or ❌ [blocking item that must be resolved first]
451
+ ```
452
+
453
+
454
+
455
+ ---
456
+
457
+ ## 🤖 LLM-Specific Traps
458
+
459
+ AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
460
+
461
+ 1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
462
+ 2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
463
+ 3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
464
+ 4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
465
+ 5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
466
+
467
+ ---
468
+
469
+ ## 🏛️ Tribunal Integration (Anti-Hallucination)
470
+
471
+ **Slash command: `/review` or `/tribunal-full`**
472
+ **Active reviewers: `logic-reviewer` · `security-auditor`**
473
+
474
+ ### ❌ Forbidden AI Tropes
475
+
476
+ 1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
477
+ 2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
478
+ 3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
479
+
480
+ ### ✅ Pre-Flight Self-Audit
481
+
482
+ Review these questions before confirming output:
483
+ ```
484
+ ✅ Did I rely ONLY on real, verified tools and methods?
485
+ ✅ Is this solution appropriately scoped to the user's constraints?
486
+ ✅ Did I handle potential failure modes and edge cases?
487
+ ✅ Have I avoided generic boilerplate that doesn't add value?
488
+ ```
489
+
490
+ ### 🛑 Verification-Before-Completion (VBC) Protocol
491
+
492
+ **CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
493
+ - ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
494
+ - ✅ **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.
@@ -146,6 +146,23 @@ Lightness (0-100%): Brightness
146
146
  100% = White
147
147
  ```
148
148
 
149
+ ### Advanced: OKLCH Color Space (Pro Max Level)
150
+
151
+ Whenever possible in modern CSS, abandon HSL for **OKLCH**.
152
+ ```
153
+ Perceptual Uniformity: OKLCH gradients don't pass through "muddy" zones like RGB/HSL
154
+ Chroma over Saturation: `c` (chroma) allows for impossibly vibrant display P3 colors
155
+ Syntax: `oklch(70% 0.1 250)` reads as Lightness, Chroma, Hue
156
+ ```
157
+
158
+ ### Tactile Textures (Grain & Noise)
159
+
160
+ Flat hex fills feel cheap. Premium aesthetic uses texture:
161
+ ```
162
+ SVG Noise: Overlay a 2-4% opacity SVG noise filter on dark backgrounds
163
+ Vignettes: Combine subtle noise with a radial gradient to draw the eye centrally
164
+ ```
165
+
149
166
  ### Generating a Full Palette
150
167
 
151
168
  Given ANY base color, create a scale:
@@ -293,6 +310,7 @@ Before finalizing any color choice, verify:
293
310
  - Copy the same hex codes every project
294
311
  - Default to purple/violet (AI tendency)
295
312
  - Default to dark mode + neon (AI tendency)
313
+ - Generic "Stripe Blur" or arbitrary Aurora blobs without spatial purpose
296
314
  - Use pure black (#000000) backgrounds
297
315
  - Use pure white (#FFFFFF) text on dark
298
316
  - Ignore user's industry context
@@ -94,6 +94,15 @@ When pairing, compare:
94
94
  | Neutral sans | Same sans | Minimal, tech |
95
95
  | Bold geometric | Light geometric | Contemporary |
96
96
 
97
+ ### Pro Max Pairing: Extreme Contrast
98
+
99
+ The highest tier of design deliberately creates aesthetic tension:
100
+ ```
101
+ Hyper-Traditional + Brutalist: e.g., Garamond (Display) + Inter (Tiny, uppercase tracking)
102
+ Ultra-Condensed + Ultra-Wide: Mixing opposite widths for structural brutalism
103
+ Variable Font Axis Tuning: Don't just use `font-weight`. Adjust `font-stretch`, `slnt`, or custom axes dynamically based on viewport.
104
+ ```
105
+
97
106
  ### Avoid
98
107
 
99
108
  - ❌ Two decorative fonts together
@@ -317,6 +326,15 @@ Users scan in F-pattern:
317
326
  - High contrast = less strain
318
327
  - Consistent patterns = predictable
319
328
 
329
+ ### Kinetic Typography (Motion)
330
+
331
+ Static type is baseline. Pro Max interfaces animate type:
332
+ ```
333
+ Split-Text Staggering: Animating words or characters individually on scroll entry
334
+ Weight Shifting: Variable fonts shifting smoothly from `wght` 300 to 800 on hover
335
+ Masking: Text revealing itself from behind invisible overflow masks
336
+ ```
337
+
320
338
  ---
321
339
 
322
340
  ## 10. Typography Selection Checklist
@@ -2,6 +2,9 @@
2
2
  name: game-development
3
3
  description: Game development orchestrator. Routes to platform-specific skills based on project needs.
4
4
  allowed-tools: Read, Write, Edit, Glob, Grep, Bash
5
+ version: 1.0.0
6
+ last-updated: 2026-03-12
7
+ applies-to-model: gemini-2.5-pro, claude-3-7-sonnet
5
8
  ---
6
9
 
7
10
  # Game Development
@@ -165,3 +168,69 @@ Abstract input into ACTIONS, not raw keys:
165
168
  ---
166
169
 
167
170
  > **Remember:** Great games come from iteration, not perfection. Prototype fast, then polish.
171
+
172
+ ---
173
+
174
+ ## Output Format
175
+
176
+ When this skill produces or reviews code, structure your output as follows:
177
+
178
+ ```
179
+ ━━━ Game Development Report ━━━━━━━━━━━━━━━━━━━━━━━━
180
+ Skill: Game Development
181
+ Language: [detected language / framework]
182
+ Scope: [N files · N functions]
183
+ ─────────────────────────────────────────────────
184
+ ✅ Passed: [checks that passed, or "All clean"]
185
+ ⚠️ Warnings: [non-blocking issues, or "None"]
186
+ ❌ Blocked: [blocking issues requiring fix, or "None"]
187
+ ─────────────────────────────────────────────────
188
+ VBC status: PENDING → VERIFIED
189
+ Evidence: [test output / lint pass / compile success]
190
+ ```
191
+
192
+ **VBC (Verification-Before-Completion) is mandatory.**
193
+ Do not mark status as VERIFIED until concrete terminal evidence is provided.
194
+
195
+
196
+
197
+ ---
198
+
199
+ ## 🤖 LLM-Specific Traps
200
+
201
+ AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
202
+
203
+ 1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
204
+ 2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
205
+ 3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
206
+ 4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
207
+ 5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
208
+
209
+ ---
210
+
211
+ ## 🏛️ Tribunal Integration (Anti-Hallucination)
212
+
213
+ **Slash command: `/review` or `/tribunal-full`**
214
+ **Active reviewers: `logic-reviewer` · `security-auditor`**
215
+
216
+ ### ❌ Forbidden AI Tropes
217
+
218
+ 1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
219
+ 2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
220
+ 3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
221
+
222
+ ### ✅ Pre-Flight Self-Audit
223
+
224
+ Review these questions before confirming output:
225
+ ```
226
+ ✅ Did I rely ONLY on real, verified tools and methods?
227
+ ✅ Is this solution appropriately scoped to the user's constraints?
228
+ ✅ Did I handle potential failure modes and edge cases?
229
+ ✅ Have I avoided generic boilerplate that doesn't add value?
230
+ ```
231
+
232
+ ### 🛑 Verification-Before-Completion (VBC) Protocol
233
+
234
+ **CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
235
+ - ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
236
+ - ✅ **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,156 +1,215 @@
1
1
  ---
2
2
  name: geo-fundamentals
3
3
  description: Generative Engine Optimization for AI search engines (ChatGPT, Claude, Perplexity).
4
- allowed-tools: Read, Glob, Grep
4
+ allowed-tools: Read, Write, Edit, Glob, Grep
5
+ version: 1.0.0
6
+ last-updated: 2026-03-12
7
+ applies-to-model: gemini-2.5-pro, claude-3-7-sonnet
5
8
  ---
6
9
 
7
- # GEO Fundamentals
10
+ # Generative Engine Optimization (GEO)
8
11
 
9
- > Optimization for AI-powered search engines.
12
+ > Traditional SEO optimizes for keyword ranking in blue links.
13
+ > GEO optimizes for citation and inclusion in AI-generated answers.
10
14
 
11
15
  ---
12
16
 
13
- ## 1. What is GEO?
17
+ ## What GEO Is
14
18
 
15
- **GEO** = Generative Engine Optimization
19
+ When users ask ChatGPT, Claude, Perplexity, or Google SGE a question, an AI synthesizes an answer from sources it considers authoritative. GEO is the practice of making your content the kind that AI systems cite, quote, and summarize.
16
20
 
17
- | Goal | Platform |
18
- |------|----------|
19
- | Be cited in AI responses | ChatGPT, Claude, Perplexity, Gemini |
21
+ The mechanisms differ from traditional SEO:
22
+ - AI doesn't rank URLs — it synthesizes information
23
+ - Backlinks matter less than citation-worthiness
24
+ - Content density and factual specificity matter more than keyword density
20
25
 
21
- ### SEO vs GEO
26
+ ---
27
+
28
+ ## How AI Systems Select Content to Cite
22
29
 
23
- | Aspect | SEO | GEO |
24
- |--------|-----|-----|
25
- | Goal | #1 ranking | AI citations |
26
- | Platform | Google | AI engines |
27
- | Metrics | Rankings, CTR | Citation rate |
28
- | Focus | Keywords | Entities, data |
30
+ Based on observable patterns in AI retrieval:
31
+
32
+ | Signal | What It Means |
33
+ |---|---|
34
+ | Authoritative domain | .gov, .edu, established publications get higher base trust |
35
+ | Factual specificity | Numbers, dates, named sources > vague descriptions |
36
+ | Structured content | Lists, tables, step-by-step = easier to extract |
37
+ | Complete answers | Content that fully addresses the question in one place |
38
+ | Original research | Data, studies, surveys the AI can't find elsewhere |
39
+ | Freshness | Recently updated content has advantage for time-sensitive topics |
29
40
 
30
41
  ---
31
42
 
32
- ## 2. AI Engine Landscape
43
+ ## Writing for AI Consumption
33
44
 
34
- | Engine | Citation Style | Opportunity |
35
- |--------|----------------|-------------|
36
- | **Perplexity** | Numbered [1][2] | Highest citation rate |
37
- | **ChatGPT** | Inline/footnotes | Custom GPTs |
38
- | **Claude** | Contextual | Long-form content |
39
- | **Gemini** | Sources section | SEO crossover |
45
+ ### Answer First (Inverted Pyramid)
40
46
 
41
- ---
47
+ AI models extract answers. Put the answer at the top of the content, not after a 300-word preamble.
48
+
49
+ ```
50
+ ❌ Old blog pattern:
51
+ [intro paragraph explaining what the article is about]
52
+ [background context]
53
+ [finally... the answer in paragraph 5]
54
+
55
+ ✅ GEO pattern:
56
+ [Direct answer in first 1–2 sentences]
57
+ [Supporting evidence, data, explanation]
58
+ [Deeper context for readers who want more]
59
+ ```
60
+
61
+ ### Use Citation-Ready Structures
62
+
63
+ ```markdown
64
+ # Format that AI can easily extract:
42
65
 
43
- ## 3. RAG Retrieval Factors
66
+ ## Definition
67
+ [Term] is [concise definition]. [Supporting context].
44
68
 
45
- How AI engines select content to cite:
69
+ ## Key Facts
70
+ - [Specific, numbered fact with source]
71
+ - [Specific statistic — "X% of Y according to Z study"]
72
+ - [Named, verifiable claim]
46
73
 
47
- | Factor | Weight |
48
- |--------|--------|
49
- | Semantic relevance | ~40% |
50
- | Keyword match | ~20% |
51
- | Authority signals | ~15% |
52
- | Freshness | ~10% |
53
- | Source diversity | ~15% |
74
+ ## Step-by-Step Process
75
+ 1. [Precise step]
76
+ 2. [Precise step]
77
+ 3. [Precise step]
78
+ ```
79
+
80
+ ### Be Specific with Data
81
+
82
+ ```
83
+ ❌ "Many developers prefer TypeScript"
84
+ ✅ "In the 2024 Stack Overflow Developer Survey, 64% of respondents said they used TypeScript"
85
+
86
+ ❌ "Deployment takes some time"
87
+ ✅ "Vercel cold-start latency for serverless functions averages 200–400ms for Node.js 20 runtimes"
88
+ ```
54
89
 
55
90
  ---
56
91
 
57
- ## 4. Content That Gets Cited
92
+ ## Content Formats AI Favors
58
93
 
59
- | Element | Why It Works |
60
- |---------|--------------|
61
- | **Original statistics** | Unique, citable data |
62
- | **Expert quotes** | Authority transfer |
63
- | **Clear definitions** | Easy to extract |
64
- | **Step-by-step guides** | Actionable value |
65
- | **Comparison tables** | Structured info |
66
- | **FAQ sections** | Direct answers |
94
+ | Format | GEO Value | Why |
95
+ |---|---|---|
96
+ | FAQ pages | High | Matches question-answer format of AI responses |
97
+ | Comparison tables | High | Easily extracted for comparison queries |
98
+ | How-to guides with numbered steps | High | Directly answerable procedural questions |
99
+ | Definition/explanation articles | High | Definitional queries are common AI use cases |
100
+ | Long-form opinion pieces | Low | Hard to extract a clear answer from |
101
+ | News articles | Medium | Good for recency, lower for evergreen queries |
67
102
 
68
103
  ---
69
104
 
70
- ## 5. GEO Content Checklist
105
+ ## Technical Requirements for AI Indexing
106
+
107
+ ```html
108
+ <!-- Ensure Perplexity and other AI crawlers can access your content -->
109
+ <!-- Check robots.txt — don't accidentally block AI crawlers -->
110
+
111
+ # robots.txt — allow AI crawlers
112
+ User-agent: PerplexityBot
113
+ Allow: /
114
+
115
+ User-agent: ChatGPT-User
116
+ Allow: /
117
+
118
+ User-agent: ClaudeBot
119
+ Allow: /
120
+
121
+ <!-- Structured data helps AI understand content context -->
122
+ <script type="application/ld+json">
123
+ {
124
+ "@context": "https://schema.org",
125
+ "@type": "FAQPage",
126
+ "mainEntity": [{
127
+ "@type": "Question",
128
+ "name": "What is tribunal-kit?",
129
+ "acceptedAnswer": {
130
+ "@type": "Answer",
131
+ "text": "tribunal-kit is an npm package that installs an anti-hallucination agent kit..."
132
+ }
133
+ }]
134
+ }
135
+ </script>
136
+ ```
71
137
 
72
- ### Content Elements
138
+ ---
73
139
 
74
- - [ ] Question-based titles
75
- - [ ] Summary/TL;DR at top
76
- - [ ] Original data with sources
77
- - [ ] Expert quotes (name, title)
78
- - [ ] FAQ section (3-5 Q&A)
79
- - [ ] Clear definitions
80
- - [ ] "Last updated" timestamp
81
- - [ ] Author with credentials
140
+ ## Metrics for GEO
82
141
 
83
- ### Technical Elements
142
+ Traditional SEO metrics (keyword rank, backlinks) don't fully apply. Track:
84
143
 
85
- - [ ] Article schema with dates
86
- - [ ] Person schema for author
87
- - [ ] FAQPage schema
88
- - [ ] Fast loading (< 2.5s)
89
- - [ ] Clean HTML structure
144
+ - **AI mention rate** manually query AI systems for your topic and check if your brand/content appears
145
+ - **Citation count** if identifiable quotes from your content appear in AI outputs
146
+ - **Perplexity source appearances** — Perplexity shows its sources; track mentions
147
+ - **Direct traffic** users who find AI mentions and navigate directly (not via search)
90
148
 
91
149
  ---
92
150
 
93
- ## 6. Entity Building
151
+ ## Scripts
94
152
 
95
- | Action | Purpose |
96
- |--------|---------|
97
- | Google Knowledge Panel | Entity recognition |
98
- | Wikipedia (if notable) | Authority source |
99
- | Consistent info across web | Entity consolidation |
100
- | Industry mentions | Authority signals |
153
+ | Script | Purpose | Run With |
154
+ |---|---|---|
155
+ | `scripts/geo_checker.py` | Audits content for GEO best practices | `python scripts/geo_checker.py <url>` |
101
156
 
102
157
  ---
103
158
 
104
- ## 7. AI Crawler Access
159
+ ## Output Format
105
160
 
106
- ### Key AI User-Agents
161
+ When this skill produces a recommendation or design decision, structure your output as:
107
162
 
108
- | Crawler | Engine |
109
- |---------|--------|
110
- | GPTBot | ChatGPT/OpenAI |
111
- | Claude-Web | Claude |
112
- | PerplexityBot | Perplexity |
113
- | Googlebot | Gemini (shared) |
163
+ ```
164
+ ━━━ Geo Fundamentals Recommendation ━━━━━━━━━━━━━━━━
165
+ Decision: [what was chosen / proposed]
166
+ Rationale: [why one concise line]
167
+ Trade-offs: [what is consciously accepted]
168
+ Next action: [concrete next step for the user]
169
+ ─────────────────────────────────────────────────
170
+ Pre-Flight: ✅ All checks passed
171
+ or ❌ [blocking item that must be resolved first]
172
+ ```
114
173
 
115
- ### Access Decision
116
174
 
117
- | Strategy | When |
118
- |----------|------|
119
- | Allow all | Want AI citations |
120
- | Block GPTBot | Don't want OpenAI training |
121
- | Selective | Allow some, block others |
122
175
 
123
176
  ---
124
177
 
125
- ## 8. Measurement
178
+ ## 🤖 LLM-Specific Traps
126
179
 
127
- | Metric | How to Track |
128
- |--------|--------------|
129
- | AI citations | Manual monitoring |
130
- | "According to [Brand]" mentions | Search in AI |
131
- | Competitor citations | Compare share |
132
- | AI-referred traffic | UTM parameters |
180
+ AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
181
+
182
+ 1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
183
+ 2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
184
+ 3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
185
+ 4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
186
+ 5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
133
187
 
134
188
  ---
135
189
 
136
- ## 9. Anti-Patterns
190
+ ## 🏛️ Tribunal Integration (Anti-Hallucination)
137
191
 
138
- | Don't | ✅ Do |
139
- |----------|-------|
140
- | Publish without dates | Add timestamps |
141
- | Vague attributions | Name sources |
142
- | Skip author info | Show credentials |
143
- | Thin content | Comprehensive coverage |
192
+ **Slash command: `/review` or `/tribunal-full`**
193
+ **Active reviewers: `logic-reviewer` · `security-auditor`**
144
194
 
145
- ---
195
+ ### ❌ Forbidden AI Tropes
146
196
 
147
- > **Remember:** AI cites content that's clear, authoritative, and easy to extract. Be the best answer.
197
+ 1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
198
+ 2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
199
+ 3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
148
200
 
149
- ---
201
+ ### ✅ Pre-Flight Self-Audit
150
202
 
151
- ## Script
203
+ Review these questions before confirming output:
204
+ ```
205
+ ✅ Did I rely ONLY on real, verified tools and methods?
206
+ ✅ Is this solution appropriately scoped to the user's constraints?
207
+ ✅ Did I handle potential failure modes and edge cases?
208
+ ✅ Have I avoided generic boilerplate that doesn't add value?
209
+ ```
152
210
 
153
- | Script | Purpose | Command |
154
- |--------|---------|---------|
155
- | `scripts/geo_checker.py` | GEO audit (AI citation readiness) | `python scripts/geo_checker.py <project_path>` |
211
+ ### 🛑 Verification-Before-Completion (VBC) Protocol
156
212
 
213
+ **CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
214
+ - ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
215
+ - ✅ **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.