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
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
name: csharp-developer
|
|
3
3
|
description: Senior C#/.NET developer with mastery of .NET 9+, C# 13, ASP.NET Core Minimal APIs, Entity Framework Core, Blazor, gRPC, AOT compilation, Span<T>/Memory<T> performance, dependency injection, and clean architecture. Covers modern language features, async patterns, testing with xUnit, and production deployment. Use when building .NET applications, APIs, or any C# code.
|
|
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
|
- clean-code
|
|
9
9
|
- database-design
|
|
@@ -25,7 +25,11 @@ Before writing C# code or ASP.NET Minimal APIs, you MUST inspect:
|
|
|
25
25
|
2. Database-Level Projection (Section 283) → Project queries to DTOs using `.Select(...)` BEFORE `.ToListAsync()` to avoid N+1 and memory overhead
|
|
26
26
|
3. Non-Blocking Async Invocations (Section 355) → Always `await` async tasks; strictly ban `.Result` or `.Wait()` to prevent thread deadlocks
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
|
|
29
|
+
## Activation Boundaries
|
|
30
|
+
|
|
31
|
+
- **Activate when:** Operating in tasks requiring Senior C#/.NET developer with mastery of .NET 9+, C# 13, ASP.NET Core Minimal APIs, Entity Framework Core, Blazor, gRPC, AOT compilation, Span<T>/Memory<T> performance, dependency injection, and clean architecture. Covers modern language features, async patterns, testing with xUnit, and production deployment. Use when building .NET applications, APIs, or any C# code..
|
|
32
|
+
- **DO NOT activate when:** The task falls strictly outside csharp-developer domain or belongs to a different dedicated specialist.
|
|
29
33
|
|
|
30
34
|
---
|
|
31
35
|
|
|
@@ -497,69 +501,17 @@ AI coding assistants often fall into specific bad habits when dealing with this
|
|
|
497
501
|
|
|
498
502
|
---
|
|
499
503
|
|
|
500
|
-
|
|
501
|
-
**Active reviewers: `logic-reviewer` · `security-auditor`**
|
|
502
|
-
|
|
503
|
-
### ❌ Forbidden AI Tropes
|
|
504
|
-
|
|
505
|
-
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
506
|
-
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
507
|
-
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
508
|
-
|
|
509
|
-
Review these questions before confirming output:
|
|
510
|
-
|
|
511
|
-
```
|
|
512
|
-
✅ Did I rely ONLY on real, verified tools and methods?
|
|
513
|
-
✅ Is this solution appropriately scoped to the user's constraints?
|
|
514
|
-
✅ Did I handle potential failure modes and edge cases?
|
|
515
|
-
✅ Have I avoided generic boilerplate that doesn't add value?
|
|
516
|
-
```
|
|
517
|
-
|
|
518
|
-
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
519
|
-
|
|
520
|
-
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
521
|
-
|
|
522
|
-
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
523
|
-
- ✅ **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.
|
|
524
|
-
|
|
525
|
-
## Pre-Flight Checklist
|
|
526
|
-
|
|
527
|
-
- [ ] Have I reviewed the user's specific constraints and requests?
|
|
528
|
-
- [ ] Have I checked the environment for relevant existing implementations?
|
|
529
|
-
|
|
530
|
-
## VBC Protocol (Verification-Before-Completion)
|
|
531
|
-
|
|
532
|
-
You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
|
|
533
|
-
|
|
534
|
-
---
|
|
535
|
-
|
|
536
|
-
## 🤖 LLM-Specific Traps
|
|
537
|
-
|
|
538
|
-
AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
|
|
539
|
-
|
|
540
|
-
1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
|
|
541
|
-
2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
|
|
542
|
-
3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
|
|
543
|
-
4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
544
|
-
5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
|
|
545
|
-
|
|
546
|
-
---
|
|
547
|
-
|
|
548
|
-
## 🏛️ Tribunal Integration (Anti-Hallucination)
|
|
504
|
+
## 🏛️ Tribunal Verification & Guardrails
|
|
549
505
|
|
|
550
506
|
**Slash command: `/review` or `/tribunal-full`**
|
|
551
507
|
**Active reviewers: `logic-reviewer` · `security-auditor`**
|
|
552
508
|
|
|
553
509
|
### ❌ Forbidden AI Tropes
|
|
554
|
-
|
|
555
510
|
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
556
511
|
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
557
512
|
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
558
513
|
|
|
559
514
|
### ✅ Pre-Flight Self-Audit
|
|
560
|
-
|
|
561
|
-
Review these questions before confirming output:
|
|
562
|
-
|
|
563
515
|
```
|
|
564
516
|
✅ Did I rely ONLY on real, verified tools and methods?
|
|
565
517
|
✅ Is this solution appropriately scoped to the user's constraints?
|
|
@@ -568,8 +520,6 @@ Review these questions before confirming output:
|
|
|
568
520
|
```
|
|
569
521
|
|
|
570
522
|
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
571
|
-
|
|
572
523
|
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
573
|
-
|
|
574
524
|
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
575
525
|
- ✅ **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: data-validation-schemas
|
|
3
3
|
description: Data validation and schema design mastery. Zod, Yup, Joi, Valibot, and Pydantic schema design, runtime type checking, API boundary validation, form validation patterns, DTO design, schema composition, error message formatting, schema evolution strategies, and coercion rules. Use when validating user input, API payloads, environment config, or any data crossing a trust boundary.
|
|
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
|
- api-patterns
|
|
9
9
|
- backend-security-expert
|
|
@@ -25,6 +25,12 @@ Before designing schemas or parsing untrusted data boundaries, you MUST inspect:
|
|
|
25
25
|
2. Server-Side Mandatory Validation (Section 16) → Never rely solely on client-side UX validation; execute schema validation on the server
|
|
26
26
|
3. Environment Startup Parse (Section 173) → Parse `process.env` with Zod at app startup to crash immediately on missing keys
|
|
27
27
|
|
|
28
|
+
|
|
29
|
+
## Activation Boundaries
|
|
30
|
+
|
|
31
|
+
- **Activate when:** Operating in tasks requiring Data validation and schema design mastery. Zod, Yup, Joi, Valibot, and Pydantic schema design, runtime type checking, API boundary validation, form validation patterns, DTO design, schema composition, error message formatting, schema evolution strategies, and coercion rules. Use when validating user input, API payloads, environment config, or any data crossing a trust boundary..
|
|
32
|
+
- **DO NOT activate when:** The task falls strictly outside data-validation-schemas domain or belongs to a different dedicated specialist.
|
|
33
|
+
|
|
28
34
|
## Hallucination Traps (Read First)
|
|
29
35
|
|
|
30
36
|
- ❌ Using `z.any()` or `z.unknown()` as a lazy escape hatch -> ✅ Always define the actual shape; `any` defeats the purpose of validation
|
|
@@ -33,8 +39,6 @@ Before designing schemas or parsing untrusted data boundaries, you MUST inspect:
|
|
|
33
39
|
|
|
34
40
|
---
|
|
35
41
|
|
|
36
|
-
# Data Validation & Schemas — Trust No Input
|
|
37
|
-
|
|
38
42
|
---
|
|
39
43
|
|
|
40
44
|
## The Golden Rule
|
|
@@ -316,69 +320,17 @@ AI coding assistants often fall into specific bad habits when dealing with this
|
|
|
316
320
|
|
|
317
321
|
---
|
|
318
322
|
|
|
319
|
-
|
|
320
|
-
**Active reviewers: `logic-reviewer` · `security-auditor`**
|
|
321
|
-
|
|
322
|
-
### ❌ Forbidden AI Tropes
|
|
323
|
-
|
|
324
|
-
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
325
|
-
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
326
|
-
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
327
|
-
|
|
328
|
-
Review these questions before confirming output:
|
|
329
|
-
|
|
330
|
-
```
|
|
331
|
-
✅ Did I rely ONLY on real, verified tools and methods?
|
|
332
|
-
✅ Is this solution appropriately scoped to the user's constraints?
|
|
333
|
-
✅ Did I handle potential failure modes and edge cases?
|
|
334
|
-
✅ Have I avoided generic boilerplate that doesn't add value?
|
|
335
|
-
```
|
|
336
|
-
|
|
337
|
-
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
338
|
-
|
|
339
|
-
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
340
|
-
|
|
341
|
-
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
342
|
-
- ✅ **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.
|
|
343
|
-
|
|
344
|
-
## Pre-Flight Checklist
|
|
345
|
-
|
|
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
|
-
|
|
351
|
-
You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
|
|
352
|
-
|
|
353
|
-
---
|
|
354
|
-
|
|
355
|
-
## 🤖 LLM-Specific Traps
|
|
356
|
-
|
|
357
|
-
AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
|
|
358
|
-
|
|
359
|
-
1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
|
|
360
|
-
2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
|
|
361
|
-
3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
|
|
362
|
-
4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
363
|
-
5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
|
|
364
|
-
|
|
365
|
-
---
|
|
366
|
-
|
|
367
|
-
## 🏛️ Tribunal Integration (Anti-Hallucination)
|
|
323
|
+
## 🏛️ Tribunal Verification & Guardrails
|
|
368
324
|
|
|
369
325
|
**Slash command: `/review` or `/tribunal-full`**
|
|
370
326
|
**Active reviewers: `logic-reviewer` · `security-auditor`**
|
|
371
327
|
|
|
372
328
|
### ❌ Forbidden AI Tropes
|
|
373
|
-
|
|
374
329
|
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
375
330
|
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
376
331
|
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
377
332
|
|
|
378
333
|
### ✅ Pre-Flight Self-Audit
|
|
379
|
-
|
|
380
|
-
Review these questions before confirming output:
|
|
381
|
-
|
|
382
334
|
```
|
|
383
335
|
✅ Did I rely ONLY on real, verified tools and methods?
|
|
384
336
|
✅ Is this solution appropriately scoped to the user's constraints?
|
|
@@ -387,8 +339,6 @@ Review these questions before confirming output:
|
|
|
387
339
|
```
|
|
388
340
|
|
|
389
341
|
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
390
|
-
|
|
391
342
|
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
392
|
-
|
|
393
343
|
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
394
344
|
- ✅ **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: database-design
|
|
3
3
|
description: Database design mastery. Schema design with normalization, denormalization strategies, indexing, migration pipelines, ORM selection (Prisma/Drizzle/SQLAlchemy/EF Core), connection pooling, soft deletes, audit trails, multi-tenancy, and serverless database patterns. Use when designing schemas, choosing databases, planning migrations, or architecting data layers.
|
|
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
|
- supabase-postgres-best-practices
|
|
9
9
|
- sql-pro
|
|
@@ -21,20 +21,34 @@ scripts-binding:
|
|
|
21
21
|
|
|
22
22
|
Before designing schemas or writing SQL migrations, you MUST inspect:
|
|
23
23
|
|
|
24
|
-
1. Timezone Timestamp Standard
|
|
25
|
-
2. Primary Key
|
|
26
|
-
3. Foreign Key Indexing
|
|
24
|
+
1. Timezone Timestamp Standard → Always use `TIMESTAMPTZ`; ban bare `TIMESTAMP`
|
|
25
|
+
2. Primary Key B-Tree Locality → Use `BIGINT GENERATED ALWAYS AS IDENTITY` or UUID v7 (RFC 9562); ban random UUID v4 as primary keys on high-insert tables
|
|
26
|
+
3. Foreign Key Indexing → Explicitly create indexes on all foreign key columns (`CREATE INDEX idx_... ON table(fk_id)`) to prevent full table locks during cascading operations
|
|
27
|
+
4. Zero-Downtime Migration Pattern → Use the expand-contract pattern; never rename columns or drop columns in a single deploy step
|
|
27
28
|
|
|
28
|
-
|
|
29
|
+
## Activation Boundaries
|
|
30
|
+
|
|
31
|
+
- **Activate when:** Designing database relational schemas, writing database migrations, indexing query paths, tuning connection pooling, and architecting persistence layers.
|
|
32
|
+
- **DO NOT activate when:** Writing frontend UI components, styling layouts, or handling client-side state.
|
|
33
|
+
|
|
34
|
+
## 2026 Database Performance & Schema Invariants
|
|
35
|
+
|
|
36
|
+
1. **Time-Ordered UUID v7 (RFC 9562)**: When UUIDs are required across distributed systems, use UUID v7 so records append sequentially to B-tree indexes, avoiding fragmentation.
|
|
37
|
+
2. **Partial Indexing on Soft Deletes**:
|
|
38
|
+
```sql
|
|
39
|
+
CREATE INDEX idx_users_active_email ON users (email) WHERE deleted_at IS NULL;
|
|
40
|
+
```
|
|
41
|
+
3. **Covering Indexes**: Use `INCLUDE (col_a, col_b)` to allow index-only scans without table heap lookups on read-heavy query patterns.
|
|
42
|
+
4. **Connection Pooling in Serverless**: Always route serverless connections through Supavisor, PgBouncer, or Neon connection poolers with transaction-mode pooling.
|
|
29
43
|
|
|
30
44
|
## Hallucination Traps (Read First)
|
|
31
45
|
|
|
32
|
-
- ❌ `TIMESTAMP` → ✅ Always `TIMESTAMPTZ`
|
|
33
|
-
- ❌ UUID v4 as primary key → ✅ UUID v7 (time-ordered) or `BIGINT GENERATED ALWAYS AS IDENTITY
|
|
34
|
-
- ❌
|
|
35
|
-
- ❌ Adding `NOT NULL` column directly
|
|
36
|
-
- ❌ Soft delete without
|
|
37
|
-
- ❌
|
|
46
|
+
- ❌ `TIMESTAMP` without timezone → ✅ Always `TIMESTAMPTZ`
|
|
47
|
+
- ❌ UUID v4 as primary key → ✅ UUID v7 (time-ordered) or `BIGINT GENERATED ALWAYS AS IDENTITY`
|
|
48
|
+
- ❌ Omitting indexes on foreign keys → ✅ Postgres does NOT auto-index FKs; always create explicit indexes
|
|
49
|
+
- ❌ Adding `NOT NULL` column without default directly on large tables → ✅ Add nullable first, backfill in batches, then set `NOT NULL`
|
|
50
|
+
- ❌ Soft delete without partial index → ✅ Always index `WHERE deleted_at IS NULL`
|
|
51
|
+
- ❌ Direct DB connection inside serverless functions → ✅ Use pooled connection string (PgBouncer/Supavisor)
|
|
38
52
|
|
|
39
53
|
---
|
|
40
54
|
|
|
@@ -226,69 +240,17 @@ AI coding assistants often fall into specific bad habits when dealing with this
|
|
|
226
240
|
|
|
227
241
|
---
|
|
228
242
|
|
|
229
|
-
|
|
230
|
-
**Active reviewers: `logic-reviewer` · `security-auditor`**
|
|
231
|
-
|
|
232
|
-
### ❌ Forbidden AI Tropes
|
|
233
|
-
|
|
234
|
-
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
235
|
-
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
236
|
-
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
237
|
-
|
|
238
|
-
Review these questions before confirming output:
|
|
239
|
-
|
|
240
|
-
```
|
|
241
|
-
✅ Did I rely ONLY on real, verified tools and methods?
|
|
242
|
-
✅ Is this solution appropriately scoped to the user's constraints?
|
|
243
|
-
✅ Did I handle potential failure modes and edge cases?
|
|
244
|
-
✅ Have I avoided generic boilerplate that doesn't add value?
|
|
245
|
-
```
|
|
246
|
-
|
|
247
|
-
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
248
|
-
|
|
249
|
-
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
250
|
-
|
|
251
|
-
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
252
|
-
- ✅ **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.
|
|
253
|
-
|
|
254
|
-
## Pre-Flight Checklist
|
|
255
|
-
|
|
256
|
-
- [ ] Have I reviewed the user's specific constraints and requests?
|
|
257
|
-
- [ ] Have I checked the environment for relevant existing implementations?
|
|
258
|
-
|
|
259
|
-
## VBC Protocol (Verification-Before-Completion)
|
|
260
|
-
|
|
261
|
-
You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
|
|
262
|
-
|
|
263
|
-
---
|
|
264
|
-
|
|
265
|
-
## 🤖 LLM-Specific Traps
|
|
266
|
-
|
|
267
|
-
AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
|
|
268
|
-
|
|
269
|
-
1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
|
|
270
|
-
2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
|
|
271
|
-
3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
|
|
272
|
-
4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
273
|
-
5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
|
|
274
|
-
|
|
275
|
-
---
|
|
276
|
-
|
|
277
|
-
## 🏛️ Tribunal Integration (Anti-Hallucination)
|
|
243
|
+
## 🏛️ Tribunal Verification & Guardrails
|
|
278
244
|
|
|
279
245
|
**Slash command: `/review` or `/tribunal-full`**
|
|
280
246
|
**Active reviewers: `logic-reviewer` · `security-auditor`**
|
|
281
247
|
|
|
282
248
|
### ❌ Forbidden AI Tropes
|
|
283
|
-
|
|
284
249
|
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
285
250
|
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
286
251
|
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
287
252
|
|
|
288
253
|
### ✅ Pre-Flight Self-Audit
|
|
289
|
-
|
|
290
|
-
Review these questions before confirming output:
|
|
291
|
-
|
|
292
254
|
```
|
|
293
255
|
✅ Did I rely ONLY on real, verified tools and methods?
|
|
294
256
|
✅ Is this solution appropriately scoped to the user's constraints?
|
|
@@ -297,8 +259,6 @@ Review these questions before confirming output:
|
|
|
297
259
|
```
|
|
298
260
|
|
|
299
261
|
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
300
|
-
|
|
301
262
|
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
302
|
-
|
|
303
263
|
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
304
264
|
- ✅ **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: delight
|
|
3
3
|
description: Inject micro-moments of delight, subtle surprise interactions, personality, and tactile feedback into user interfaces. Use when building success celebrations, copy-to-clipboard feedback, empty states, or playful UI elements.
|
|
4
|
-
version:
|
|
5
|
-
last-updated: 2026-07
|
|
4
|
+
version: 4.0.0
|
|
5
|
+
last-updated: 2026-09-07
|
|
6
6
|
skills:
|
|
7
7
|
- whimsy-injector
|
|
8
8
|
- micro-interaction
|
|
@@ -27,6 +27,12 @@ Before implementing micro-delight moments, you MUST inspect:
|
|
|
27
27
|
|
|
28
28
|
Elevate everyday digital interactions with subtle, memorable details that make software a joy to use.
|
|
29
29
|
|
|
30
|
+
|
|
31
|
+
## Activation Boundaries
|
|
32
|
+
|
|
33
|
+
- **Activate when:** Operating in tasks requiring Inject micro-moments of delight, subtle surprise interactions, personality, and tactile feedback into user interfaces. Use when building success celebrations, copy-to-clipboard feedback, empty states, or playful UI elements..
|
|
34
|
+
- **DO NOT activate when:** The task falls strictly outside delight domain or belongs to a different dedicated specialist.
|
|
35
|
+
|
|
30
36
|
---
|
|
31
37
|
|
|
32
38
|
## 5 Micro-Delight Patterns
|
|
@@ -53,28 +59,25 @@ Elevate everyday digital interactions with subtle, memorable details that make s
|
|
|
53
59
|
|
|
54
60
|
---
|
|
55
61
|
|
|
56
|
-
##
|
|
62
|
+
## 🏛️ Tribunal Verification & Guardrails
|
|
57
63
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
---
|
|
64
|
+
**Slash command: `/review` or `/tribunal-full`**
|
|
65
|
+
**Active reviewers: `logic-reviewer` · `security-auditor`**
|
|
62
66
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
**
|
|
67
|
+
### ❌ Forbidden AI Tropes
|
|
68
|
+
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
69
|
+
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
70
|
+
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
66
71
|
|
|
67
72
|
### ✅ Pre-Flight Self-Audit
|
|
68
|
-
|
|
69
73
|
```
|
|
70
|
-
✅
|
|
71
|
-
✅
|
|
72
|
-
✅
|
|
74
|
+
✅ Did I rely ONLY on real, verified tools and methods?
|
|
75
|
+
✅ Is this solution appropriately scoped to the user's constraints?
|
|
76
|
+
✅ Did I handle potential failure modes and edge cases?
|
|
77
|
+
✅ Have I avoided generic boilerplate that doesn't add value?
|
|
73
78
|
```
|
|
74
79
|
|
|
75
80
|
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
76
|
-
|
|
77
81
|
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
78
|
-
|
|
79
82
|
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
80
83
|
- ✅ **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: deployment-procedures
|
|
3
3
|
description: Production application deployment mastery. Zero-downtime deployment strategies (Blue/Green, Rolling updates), Container orchestration (Docker/ECS), CI/CD pipelines, secrets injection, database migration safety, health checks, and rollback contingencies. Use when moving code from development to production execution.
|
|
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
|
- devops-engineer
|
|
9
9
|
- cicd-pro
|
|
@@ -25,6 +25,12 @@ Before deploying application releases or database migrations, you MUST inspect:
|
|
|
25
25
|
2. Instant Rollback Contingency (Section 116) → Tag every Docker image with Git SHA (`myapp:a1b2c3d`) for split-second image swaps during failure
|
|
26
26
|
3. Zero-Downtime Traffic Switching (Section 29) → Use Blue/Green or Rolling updates with active health check verification before draining old instances
|
|
27
27
|
|
|
28
|
+
|
|
29
|
+
## Activation Boundaries
|
|
30
|
+
|
|
31
|
+
- **Activate when:** Operating in tasks requiring Production application deployment mastery. Zero-downtime deployment strategies (Blue/Green, Rolling updates), Container orchestration (Docker/ECS), CI/CD pipelines, secrets injection, database migration safety, health checks, and rollback contingencies. Use when moving code from development to production execution..
|
|
32
|
+
- **DO NOT activate when:** The task falls strictly outside deployment-procedures domain or belongs to a different dedicated specialist.
|
|
33
|
+
|
|
28
34
|
## Hallucination Traps (Read First)
|
|
29
35
|
|
|
30
36
|
- ❌ Running database migrations and code deploy in the same step -> ✅ Migrate FIRST, deploy code SECOND (expand-and-contract)
|
|
@@ -33,8 +39,6 @@ Before deploying application releases or database migrations, you MUST inspect:
|
|
|
33
39
|
|
|
34
40
|
---
|
|
35
41
|
|
|
36
|
-
# Deployment Procedures — Production Execution Mastery
|
|
37
|
-
|
|
38
42
|
---
|
|
39
43
|
|
|
40
44
|
## 1. Zero-Downtime Deployment Strategies
|
|
@@ -151,69 +155,17 @@ AI coding assistants often fall into specific bad habits when dealing with this
|
|
|
151
155
|
|
|
152
156
|
---
|
|
153
157
|
|
|
154
|
-
|
|
155
|
-
**Active reviewers: `logic-reviewer` · `security-auditor`**
|
|
156
|
-
|
|
157
|
-
### ❌ Forbidden AI Tropes
|
|
158
|
-
|
|
159
|
-
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
160
|
-
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
161
|
-
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
162
|
-
|
|
163
|
-
Review these questions before confirming output:
|
|
164
|
-
|
|
165
|
-
```
|
|
166
|
-
✅ Did I rely ONLY on real, verified tools and methods?
|
|
167
|
-
✅ Is this solution appropriately scoped to the user's constraints?
|
|
168
|
-
✅ Did I handle potential failure modes and edge cases?
|
|
169
|
-
✅ Have I avoided generic boilerplate that doesn't add value?
|
|
170
|
-
```
|
|
171
|
-
|
|
172
|
-
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
173
|
-
|
|
174
|
-
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
175
|
-
|
|
176
|
-
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
177
|
-
- ✅ **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.
|
|
178
|
-
|
|
179
|
-
## Pre-Flight Checklist
|
|
180
|
-
|
|
181
|
-
- [ ] Have I reviewed the user's specific constraints and requests?
|
|
182
|
-
- [ ] Have I checked the environment for relevant existing implementations?
|
|
183
|
-
|
|
184
|
-
## VBC Protocol (Verification-Before-Completion)
|
|
185
|
-
|
|
186
|
-
You MUST verify existing code signatures and variables before attempting to modify or call them. No hallucination is permitted.
|
|
187
|
-
|
|
188
|
-
---
|
|
189
|
-
|
|
190
|
-
## 🤖 LLM-Specific Traps
|
|
191
|
-
|
|
192
|
-
AI coding assistants often fall into specific bad habits when dealing with this domain. These are strictly forbidden:
|
|
193
|
-
|
|
194
|
-
1. **Over-engineering:** Proposing complex abstractions or distributed systems when a simpler approach suffices.
|
|
195
|
-
2. **Hallucinated Libraries/Methods:** Using non-existent methods or packages. Always `// VERIFY` or check `package.json` / `requirements.txt`.
|
|
196
|
-
3. **Skipping Edge Cases:** Writing the "happy path" and ignoring error handling, timeouts, or data validation.
|
|
197
|
-
4. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
198
|
-
5. **Silent Degradation:** Catching and suppressing errors without logging or re-raising.
|
|
199
|
-
|
|
200
|
-
---
|
|
201
|
-
|
|
202
|
-
## 🏛️ Tribunal Integration (Anti-Hallucination)
|
|
158
|
+
## 🏛️ Tribunal Verification & Guardrails
|
|
203
159
|
|
|
204
160
|
**Slash command: `/review` or `/tribunal-full`**
|
|
205
161
|
**Active reviewers: `logic-reviewer` · `security-auditor`**
|
|
206
162
|
|
|
207
163
|
### ❌ Forbidden AI Tropes
|
|
208
|
-
|
|
209
164
|
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
210
165
|
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
211
166
|
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
212
167
|
|
|
213
168
|
### ✅ Pre-Flight Self-Audit
|
|
214
|
-
|
|
215
|
-
Review these questions before confirming output:
|
|
216
|
-
|
|
217
169
|
```
|
|
218
170
|
✅ Did I rely ONLY on real, verified tools and methods?
|
|
219
171
|
✅ Is this solution appropriately scoped to the user's constraints?
|
|
@@ -222,8 +174,6 @@ Review these questions before confirming output:
|
|
|
222
174
|
```
|
|
223
175
|
|
|
224
176
|
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
225
|
-
|
|
226
177
|
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
227
|
-
|
|
228
178
|
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
229
179
|
- ✅ **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: design-lab
|
|
3
3
|
description: Interactive design exploration workflow: conduct interviews, generate variants, and refine UI designs through user feedback loops.
|
|
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
|
- brainstorming
|
|
9
9
|
- shape
|
|
@@ -25,10 +25,14 @@ Before generating design variants or conducting design experiments, you MUST ins
|
|
|
25
25
|
2. Interactive Refinement Protocol (Section 32) → Ask targeted constraint questions before outputting final component implementations
|
|
26
26
|
3. Visual Hierarchy Mapping (Section 26) → Map visual hierarchy explicitly to project design tokens before presenting options
|
|
27
27
|
|
|
28
|
-
# Design Lab — Interactive Design Exploration & Variants
|
|
29
|
-
|
|
30
28
|
Conduct rapid design experiments, explore multiple structural variants, and iteratively refine interfaces with feedback.
|
|
31
29
|
|
|
30
|
+
|
|
31
|
+
## Activation Boundaries
|
|
32
|
+
|
|
33
|
+
- **Activate when:** Operating in tasks requiring Interactive design exploration workflow: conduct interviews, generate variants, and refine UI designs through user feedback loops..
|
|
34
|
+
- **DO NOT activate when:** The task falls strictly outside design-lab domain or belongs to a different dedicated specialist.
|
|
35
|
+
|
|
32
36
|
---
|
|
33
37
|
|
|
34
38
|
## 3 Design Lab Phases
|
|
@@ -50,26 +54,25 @@ Synthesize feedback on preferred elements and build the polished final component
|
|
|
50
54
|
|
|
51
55
|
---
|
|
52
56
|
|
|
53
|
-
##
|
|
57
|
+
## 🏛️ Tribunal Verification & Guardrails
|
|
54
58
|
|
|
55
|
-
|
|
59
|
+
**Slash command: `/review` or `/tribunal-full`**
|
|
60
|
+
**Active reviewers: `logic-reviewer` · `security-auditor`**
|
|
56
61
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
**Active reviewers: `frontend-reviewer` · `ui-ux-auditor`**
|
|
62
|
+
### ❌ Forbidden AI Tropes
|
|
63
|
+
1. **Blind Assumptions:** Never make an assumption without documenting it clearly with `// VERIFY: [reason]`.
|
|
64
|
+
2. **Silent Degradation:** Catching and suppressing errors without logging or handling.
|
|
65
|
+
3. **Context Amnesia:** Forgetting the user's constraints and offering generic advice instead of tailored solutions.
|
|
62
66
|
|
|
63
67
|
### ✅ Pre-Flight Self-Audit
|
|
64
|
-
|
|
65
68
|
```
|
|
66
|
-
✅
|
|
67
|
-
✅ Is
|
|
69
|
+
✅ Did I rely ONLY on real, verified tools and methods?
|
|
70
|
+
✅ Is this solution appropriately scoped to the user's constraints?
|
|
71
|
+
✅ Did I handle potential failure modes and edge cases?
|
|
72
|
+
✅ Have I avoided generic boilerplate that doesn't add value?
|
|
68
73
|
```
|
|
69
74
|
|
|
70
75
|
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
71
|
-
|
|
72
76
|
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
73
|
-
|
|
74
77
|
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
75
78
|
- ✅ **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.
|