tribunal-kit 9.0.2 → 9.2.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/agents/backend-specialist.md +1 -1
- package/.agent/agents/code-archaeologist.md +1 -1
- package/.agent/agents/database-architect.md +1 -1
- package/.agent/agents/debugger.md +1 -1
- package/.agent/agents/devops-engineer.md +1 -1
- package/.agent/agents/documentation-writer.md +1 -1
- package/.agent/agents/explorer-agent.md +1 -1
- package/.agent/agents/game-developer.md +1 -1
- package/.agent/agents/minimalist-reviewer.md +1 -1
- package/.agent/agents/mobile-developer.md +1 -1
- package/.agent/agents/orchestrator.md +42 -2
- package/.agent/agents/penetration-tester.md +1 -1
- package/.agent/agents/performance-optimizer.md +1 -1
- package/.agent/agents/product-manager.md +1 -1
- package/.agent/agents/product-owner.md +1 -1
- package/.agent/agents/project-planner.md +1 -1
- package/.agent/agents/qa-automation-engineer.md +1 -1
- package/.agent/agents/seo-specialist.md +1 -1
- package/.agent/agents/test-engineer.md +1 -1
- package/.agent/routing_index.json +265 -1530
- package/.agent/scripts/browser_audit.js +13 -5
- package/.agent/scripts/bundle_analyzer.js +7 -3
- package/.agent/scripts/dependency_analyzer.js +16 -16
- package/.agent/scripts/inner_loop_validator.js +1 -1
- package/.agent/scripts/payload_schemas.js +18 -0
- package/.agent/scripts/pipeline_engine.js +3 -2
- package/.agent/scripts/schema_validator.js +2 -1
- package/.agent/scripts/swarm_dispatcher.js +29 -2
- package/.agent/scripts/test_runner.js +1 -2
- package/.agent/skills/12-principles-of-animation/SKILL.md +21 -21
- package/.agent/skills/60fps-animation/SKILL.md +24 -22
- package/.agent/skills/accessible-animation/SKILL.md +29 -31
- package/.agent/skills/adapt/SKILL.md +21 -21
- package/.agent/skills/advanced-rag-pipelines/SKILL.md +21 -21
- package/.agent/skills/agent-organizer/SKILL.md +21 -21
- package/.agent/skills/agentic-patterns/SKILL.md +21 -21
- package/.agent/skills/agentic-workflows-2026/SKILL.md +21 -20
- package/.agent/skills/ai-app-hardening/SKILL.md +21 -20
- package/.agent/skills/ai-prompt-injection-defense/SKILL.md +21 -21
- package/.agent/skills/animation-on-scroll/SKILL.md +36 -32
- package/.agent/skills/animation-systems/SKILL.md +35 -35
- package/.agent/skills/antfu-conventions/SKILL.md +21 -21
- package/.agent/skills/api-patterns/SKILL.md +21 -21
- package/.agent/skills/api-security-auditor/SKILL.md +21 -21
- package/.agent/skills/app-builder/SKILL.md +21 -21
- package/.agent/skills/appflow-wireframe/SKILL.md +21 -23
- package/.agent/skills/apple-design/SKILL.md +21 -21
- package/.agent/skills/architecture/SKILL.md +21 -21
- package/.agent/skills/audit-and-fix/SKILL.md +21 -21
- package/.agent/skills/authentication-best-practices/SKILL.md +21 -21
- package/.agent/skills/backend-security-expert/SKILL.md +21 -21
- package/.agent/skills/baseline-ui/SKILL.md +21 -21
- package/.agent/skills/bash-linux/SKILL.md +20 -20
- package/.agent/skills/behavioral-modes/SKILL.md +21 -21
- package/.agent/skills/better-colors/SKILL.md +21 -21
- package/.agent/skills/better-typography/SKILL.md +21 -20
- package/.agent/skills/better-ui/SKILL.md +38 -26
- package/.agent/skills/bolder/SKILL.md +21 -21
- package/.agent/skills/brainstorming/SKILL.md +21 -20
- package/.agent/skills/browser-audit/SKILL.md +35 -28
- package/.agent/skills/browser-native-ai/SKILL.md +21 -21
- package/.agent/skills/build-primitive/SKILL.md +21 -21
- package/.agent/skills/building-native-ui/SKILL.md +21 -21
- package/.agent/skills/cicd-pro/SKILL.md +20 -20
- package/.agent/skills/clarify/SKILL.md +21 -21
- package/.agent/skills/clean-code/SKILL.md +21 -21
- package/.agent/skills/cloud-architect/SKILL.md +20 -20
- package/.agent/skills/cobejs/SKILL.md +21 -21
- package/.agent/skills/code-review-checklist/SKILL.md +21 -21
- package/.agent/skills/codebase-design/SKILL.md +21 -21
- package/.agent/skills/colorize/SKILL.md +21 -21
- package/.agent/skills/compact-landing/SKILL.md +21 -21
- package/.agent/skills/company-logos/SKILL.md +21 -21
- package/.agent/skills/config-validator/SKILL.md +21 -21
- package/.agent/skills/containerization-pro/SKILL.md +20 -20
- package/.agent/skills/context-engineering-pro/SKILL.md +21 -20
- package/.agent/skills/create-design-md/SKILL.md +21 -21
- package/.agent/skills/critique/SKILL.md +21 -21
- package/.agent/skills/csharp-developer/SKILL.md +21 -21
- package/.agent/skills/data-validation-schemas/SKILL.md +21 -21
- package/.agent/skills/database-design/SKILL.md +21 -21
- package/.agent/skills/delight/SKILL.md +21 -21
- package/.agent/skills/deployment-procedures/SKILL.md +20 -20
- package/.agent/skills/design-lab/SKILL.md +22 -22
- package/.agent/skills/devops-engineer/SKILL.md +20 -20
- package/.agent/skills/devops-incident-responder/SKILL.md +20 -20
- package/.agent/skills/diagnosing-bugs/SKILL.md +22 -22
- package/.agent/skills/distill/SKILL.md +21 -21
- package/.agent/skills/documentation-templates/SKILL.md +21 -21
- package/.agent/skills/domain-modeling/SKILL.md +21 -21
- package/.agent/skills/duckdb-analytical-sql/SKILL.md +21 -20
- package/.agent/skills/edge-ai-mobile/SKILL.md +21 -20
- package/.agent/skills/edge-computing/SKILL.md +21 -21
- package/.agent/skills/emil-design-eng/SKILL.md +21 -21
- package/.agent/skills/error-resilience/SKILL.md +21 -21
- package/.agent/skills/expo-router-v4/SKILL.md +21 -20
- package/.agent/skills/extract-design-system/SKILL.md +21 -21
- package/.agent/skills/fabel-protocol/SKILL.md +21 -21
- package/.agent/skills/fixing-accessibility/SKILL.md +21 -21
- package/.agent/skills/fixing-metadata/SKILL.md +21 -21
- package/.agent/skills/fixing-motion-performance/SKILL.md +21 -21
- package/.agent/skills/framer-motion-expert/SKILL.md +21 -21
- package/.agent/skills/frontend-design/SKILL.md +21 -21
- package/.agent/skills/frontend-security-expert/SKILL.md +21 -21
- package/.agent/skills/game-design-expert/SKILL.md +21 -21
- package/.agent/skills/game-engineering-expert/SKILL.md +21 -21
- package/.agent/skills/generative-ui-expert/SKILL.md +21 -21
- package/.agent/skills/geo-fundamentals/SKILL.md +21 -21
- package/.agent/skills/git-pro/SKILL.md +21 -21
- package/.agent/skills/github-operations/SKILL.md +21 -21
- package/.agent/skills/gpt-taste/SKILL.md +21 -21
- package/.agent/skills/gsap-core/SKILL.md +21 -21
- package/.agent/skills/gsap-frameworks/SKILL.md +21 -21
- package/.agent/skills/gsap-performance/SKILL.md +21 -21
- package/.agent/skills/gsap-plugins/SKILL.md +21 -21
- package/.agent/skills/gsap-react/SKILL.md +21 -21
- package/.agent/skills/gsap-scrolltrigger/SKILL.md +21 -21
- package/.agent/skills/gsap-timeline/SKILL.md +21 -21
- package/.agent/skills/gsap-utils/SKILL.md +21 -21
- package/.agent/skills/harden/SKILL.md +21 -21
- package/.agent/skills/harness-protocol/SKILL.md +21 -21
- package/.agent/skills/i18n-localization/SKILL.md +21 -21
- package/.agent/skills/impeccable/SKILL.md +21 -21
- package/.agent/skills/improve-codebase-architecture/SKILL.md +21 -21
- package/.agent/skills/improve-ui/SKILL.md +21 -21
- package/.agent/skills/intelligent-routing/SKILL.md +21 -20
- package/.agent/skills/knowledge-graph/SKILL.md +21 -21
- package/.agent/skills/landing-page/SKILL.md +21 -21
- package/.agent/skills/lint-and-validate/SKILL.md +21 -21
- package/.agent/skills/llm-engineering/SKILL.md +21 -21
- package/.agent/skills/local-first/SKILL.md +21 -21
- package/.agent/skills/local-first-architecture/SKILL.md +21 -21
- package/.agent/skills/lottie-animation/SKILL.md +21 -21
- package/.agent/skills/marquee-loop/SKILL.md +21 -21
- package/.agent/skills/masked-reveal/SKILL.md +21 -21
- package/.agent/skills/mcp-builder/SKILL.md +21 -21
- package/.agent/skills/micro-interaction/SKILL.md +39 -32
- package/.agent/skills/mobile-design/SKILL.md +21 -21
- package/.agent/skills/monorepo-management/SKILL.md +21 -21
- package/.agent/skills/morphing-icons/SKILL.md +21 -21
- package/.agent/skills/motion-engineering/SKILL.md +21 -21
- package/.agent/skills/nextjs-react-expert/SKILL.md +21 -21
- package/.agent/skills/nodejs-best-practices/SKILL.md +21 -21
- package/.agent/skills/observability/SKILL.md +21 -21
- package/.agent/skills/opentelemetry-observability/SKILL.md +20 -19
- package/.agent/skills/page-transition-animation/SKILL.md +21 -21
- package/.agent/skills/parallel-agents/SKILL.md +21 -21
- package/.agent/skills/performance-profiling/SKILL.md +21 -21
- package/.agent/skills/plan-writing/SKILL.md +21 -21
- package/.agent/skills/platform-engineer/SKILL.md +20 -20
- package/.agent/skills/platform-engineering-opentofu/SKILL.md +20 -19
- package/.agent/skills/playwright-ai-e2e/SKILL.md +21 -20
- package/.agent/skills/playwright-best-practices/SKILL.md +21 -21
- package/.agent/skills/polish/SKILL.md +21 -21
- package/.agent/skills/powershell-windows/SKILL.md +20 -20
- package/.agent/skills/pricing-page/SKILL.md +21 -21
- package/.agent/skills/product-aware-heuristics/SKILL.md +21 -21
- package/.agent/skills/progressive-blur/SKILL.md +21 -21
- package/.agent/skills/project-idioms/SKILL.md +21 -21
- package/.agent/skills/property-based-testing/SKILL.md +21 -20
- package/.agent/skills/python-patterns/SKILL.md +21 -21
- package/.agent/skills/python-pro/SKILL.md +21 -21
- package/.agent/skills/quieter/SKILL.md +21 -21
- package/.agent/skills/react-doctor/SKILL.md +21 -21
- package/.agent/skills/react-specialist/SKILL.md +21 -21
- package/.agent/skills/readme-builder/SKILL.md +21 -21
- package/.agent/skills/realtime-patterns/SKILL.md +21 -21
- package/.agent/skills/red-team-tactics/SKILL.md +21 -21
- package/.agent/skills/redesign-skill/SKILL.md +21 -21
- package/.agent/skills/review-animations/SKILL.md +21 -21
- package/.agent/skills/rust-pro/SKILL.md +21 -21
- package/.agent/skills/seo-fundamentals/SKILL.md +21 -21
- package/.agent/skills/server-management/SKILL.md +20 -20
- package/.agent/skills/shadcn-ui-expert/SKILL.md +21 -21
- package/.agent/skills/shape/SKILL.md +21 -21
- package/.agent/skills/skill-creator/SKILL.md +28 -21
- package/.agent/skills/soft-skill/SKILL.md +21 -21
- package/.agent/skills/sounds-on-the-web/SKILL.md +21 -21
- package/.agent/skills/sql-pro/SKILL.md +21 -21
- package/.agent/skills/supabase-postgres-best-practices/SKILL.md +21 -21
- package/.agent/skills/svg-animation/SKILL.md +21 -21
- package/.agent/skills/swiftui-expert/SKILL.md +21 -21
- package/.agent/skills/swiss-design/SKILL.md +21 -21
- package/.agent/skills/system-design-pro/SKILL.md +21 -21
- package/.agent/skills/systematic-debugging/SKILL.md +22 -21
- package/.agent/skills/systematic-debugging/condition-based-waiting.md +14 -9
- package/.agent/skills/systematic-debugging/defense-in-depth.md +9 -3
- package/.agent/skills/systematic-debugging/root-cause-tracing.md +14 -0
- package/.agent/skills/tailwind-patterns/SKILL.md +21 -21
- package/.agent/skills/taste-skill/SKILL.md +21 -21
- package/.agent/skills/tdd-workflow/SKILL.md +28 -27
- package/.agent/skills/test-result-analyzer/SKILL.md +21 -21
- package/.agent/skills/testing-patterns/SKILL.md +21 -21
- package/.agent/skills/thermo-nuclear-code-quality-review/SKILL.md +21 -21
- package/.agent/skills/thinking-protocol/SKILL.md +21 -20
- package/.agent/skills/to-spring-or-not-to-spring/SKILL.md +21 -21
- package/.agent/skills/transitions-dev/SKILL.md +21 -21
- package/.agent/skills/trend-researcher/SKILL.md +21 -21
- package/.agent/skills/typescript-advanced/SKILL.md +21 -21
- package/.agent/skills/typeset/SKILL.md +21 -21
- package/.agent/skills/ui-reasoning-engine/SKILL.md +21 -21
- package/.agent/skills/ui-skill-packs/SKILL.md +21 -21
- package/.agent/skills/ui-skills-root/SKILL.md +21 -21
- package/.agent/skills/ui-ux-pro-max/SKILL.md +21 -21
- package/.agent/skills/ui-ux-researcher/SKILL.md +21 -21
- package/.agent/skills/vector-search-pgvector/SKILL.md +21 -20
- package/.agent/skills/verification-before-completion/SKILL.md +40 -36
- package/.agent/skills/vue-expert/SKILL.md +21 -21
- package/.agent/skills/vulnerability-scanner/SKILL.md +21 -21
- package/.agent/skills/web-accessibility-auditor/SKILL.md +21 -21
- package/.agent/skills/web-design-guidelines/SKILL.md +21 -21
- package/.agent/skills/web-quality-audit/SKILL.md +21 -21
- package/.agent/skills/webapp-testing/SKILL.md +21 -21
- package/.agent/skills/webgpu-performance/SKILL.md +21 -21
- package/.agent/skills/whimsy-injector/SKILL.md +21 -21
- package/.agent/skills/workflow-optimizer/SKILL.md +21 -21
- package/.agent/skills/zero-trust-passkeys/SKILL.md +21 -20
- package/.agent/templates/DESIGN.md +312 -290
- package/.agent/templates/sdd/task-reviewer-prompt.md +2 -2
- package/.agent/workflows/audit-live.md +4 -3
- package/.agent/workflows/brainstorm.md +1 -0
- package/.agent/workflows/context.md +9 -7
- package/.agent/workflows/minimal.md +3 -2
- package/.agent/workflows/plan.md +1 -1
- package/.agent/workflows/sdd.md +15 -0
- package/.agent/workflows/skill-enhancement-engine.md +11 -11
- package/.agent/workflows/super-prompt.md +25 -24
- package/.agents/skills/12-principles-of-animation/SKILL.md +21 -21
- package/.agents/skills/60fps-animation/SKILL.md +24 -22
- package/.agents/skills/accessible-animation/SKILL.md +29 -31
- package/.agents/skills/adapt/SKILL.md +21 -21
- package/.agents/skills/advanced-rag-pipelines/SKILL.md +21 -21
- package/.agents/skills/agent-organizer/SKILL.md +21 -21
- package/.agents/skills/agentic-patterns/SKILL.md +21 -21
- package/.agents/skills/agentic-workflows-2026/SKILL.md +21 -20
- package/.agents/skills/ai-app-hardening/SKILL.md +21 -20
- package/.agents/skills/ai-prompt-injection-defense/SKILL.md +21 -21
- package/.agents/skills/animation-on-scroll/SKILL.md +36 -32
- package/.agents/skills/animation-systems/SKILL.md +35 -35
- package/.agents/skills/antfu-conventions/SKILL.md +21 -21
- package/.agents/skills/api-patterns/SKILL.md +21 -21
- package/.agents/skills/api-security-auditor/SKILL.md +21 -21
- package/.agents/skills/app-builder/SKILL.md +21 -21
- package/.agents/skills/appflow-wireframe/SKILL.md +21 -23
- package/.agents/skills/apple-design/SKILL.md +21 -21
- package/.agents/skills/architecture/SKILL.md +21 -21
- package/.agents/skills/audit-and-fix/SKILL.md +21 -21
- package/.agents/skills/authentication-best-practices/SKILL.md +21 -21
- package/.agents/skills/backend-security-expert/SKILL.md +21 -21
- package/.agents/skills/baseline-ui/SKILL.md +21 -21
- package/.agents/skills/bash-linux/SKILL.md +20 -20
- package/.agents/skills/behavioral-modes/SKILL.md +21 -21
- package/.agents/skills/better-colors/SKILL.md +21 -21
- package/.agents/skills/better-typography/SKILL.md +21 -20
- package/.agents/skills/better-ui/SKILL.md +38 -26
- package/.agents/skills/bolder/SKILL.md +21 -21
- package/.agents/skills/brainstorming/SKILL.md +21 -20
- package/.agents/skills/browser-audit/SKILL.md +35 -28
- package/.agents/skills/browser-native-ai/SKILL.md +21 -21
- package/.agents/skills/build-primitive/SKILL.md +21 -21
- package/.agents/skills/building-native-ui/SKILL.md +21 -21
- package/.agents/skills/cicd-pro/SKILL.md +20 -20
- package/.agents/skills/clarify/SKILL.md +21 -21
- package/.agents/skills/clean-code/SKILL.md +21 -21
- package/.agents/skills/cloud-architect/SKILL.md +20 -20
- package/.agents/skills/cobejs/SKILL.md +21 -21
- package/.agents/skills/code-review-checklist/SKILL.md +21 -21
- package/.agents/skills/codebase-design/SKILL.md +21 -21
- package/.agents/skills/colorize/SKILL.md +21 -21
- package/.agents/skills/compact-landing/SKILL.md +21 -21
- package/.agents/skills/company-logos/SKILL.md +21 -21
- package/.agents/skills/config-validator/SKILL.md +21 -21
- package/.agents/skills/containerization-pro/SKILL.md +20 -20
- package/.agents/skills/context-engineering-pro/SKILL.md +21 -20
- package/.agents/skills/create-design-md/SKILL.md +21 -21
- package/.agents/skills/critique/SKILL.md +21 -21
- package/.agents/skills/csharp-developer/SKILL.md +21 -21
- package/.agents/skills/data-validation-schemas/SKILL.md +21 -21
- package/.agents/skills/database-design/SKILL.md +21 -21
- package/.agents/skills/delight/SKILL.md +21 -21
- package/.agents/skills/deployment-procedures/SKILL.md +20 -20
- package/.agents/skills/design-lab/SKILL.md +22 -22
- package/.agents/skills/devops-engineer/SKILL.md +20 -20
- package/.agents/skills/devops-incident-responder/SKILL.md +20 -20
- package/.agents/skills/diagnosing-bugs/SKILL.md +22 -22
- package/.agents/skills/distill/SKILL.md +21 -21
- package/.agents/skills/documentation-templates/SKILL.md +21 -21
- package/.agents/skills/domain-modeling/SKILL.md +21 -21
- package/.agents/skills/duckdb-analytical-sql/SKILL.md +21 -20
- package/.agents/skills/edge-ai-mobile/SKILL.md +21 -20
- package/.agents/skills/edge-computing/SKILL.md +21 -21
- package/.agents/skills/emil-design-eng/SKILL.md +21 -21
- package/.agents/skills/error-resilience/SKILL.md +21 -21
- package/.agents/skills/expo-router-v4/SKILL.md +21 -20
- package/.agents/skills/extract-design-system/SKILL.md +21 -21
- package/.agents/skills/fabel-protocol/SKILL.md +21 -21
- package/.agents/skills/fixing-accessibility/SKILL.md +21 -21
- package/.agents/skills/fixing-metadata/SKILL.md +21 -21
- package/.agents/skills/fixing-motion-performance/SKILL.md +21 -21
- package/.agents/skills/framer-motion-expert/SKILL.md +21 -21
- package/.agents/skills/frontend-design/SKILL.md +21 -21
- package/.agents/skills/frontend-security-expert/SKILL.md +21 -21
- package/.agents/skills/game-design-expert/SKILL.md +21 -21
- package/.agents/skills/game-engineering-expert/SKILL.md +21 -21
- package/.agents/skills/generative-ui-expert/SKILL.md +21 -21
- package/.agents/skills/geo-fundamentals/SKILL.md +21 -21
- package/.agents/skills/git-pro/SKILL.md +21 -21
- package/.agents/skills/github-operations/SKILL.md +21 -21
- package/.agents/skills/gpt-taste/SKILL.md +21 -21
- package/.agents/skills/gsap-core/SKILL.md +21 -21
- package/.agents/skills/gsap-frameworks/SKILL.md +21 -21
- package/.agents/skills/gsap-performance/SKILL.md +21 -21
- package/.agents/skills/gsap-plugins/SKILL.md +21 -21
- package/.agents/skills/gsap-react/SKILL.md +21 -21
- package/.agents/skills/gsap-scrolltrigger/SKILL.md +21 -21
- package/.agents/skills/gsap-timeline/SKILL.md +21 -21
- package/.agents/skills/gsap-utils/SKILL.md +21 -21
- package/.agents/skills/harden/SKILL.md +21 -21
- package/.agents/skills/harness-protocol/SKILL.md +21 -21
- package/.agents/skills/i18n-localization/SKILL.md +21 -21
- package/.agents/skills/impeccable/SKILL.md +21 -21
- package/.agents/skills/improve-codebase-architecture/SKILL.md +21 -21
- package/.agents/skills/improve-ui/SKILL.md +21 -21
- package/.agents/skills/intelligent-routing/SKILL.md +21 -20
- package/.agents/skills/knowledge-graph/SKILL.md +21 -21
- package/.agents/skills/landing-page/SKILL.md +21 -21
- package/.agents/skills/lint-and-validate/SKILL.md +21 -21
- package/.agents/skills/llm-engineering/SKILL.md +21 -21
- package/.agents/skills/local-first/SKILL.md +21 -21
- package/.agents/skills/local-first-architecture/SKILL.md +21 -21
- package/.agents/skills/lottie-animation/SKILL.md +21 -21
- package/.agents/skills/marquee-loop/SKILL.md +21 -21
- package/.agents/skills/masked-reveal/SKILL.md +21 -21
- package/.agents/skills/mcp-builder/SKILL.md +21 -21
- package/.agents/skills/micro-interaction/SKILL.md +39 -32
- package/.agents/skills/mobile-design/SKILL.md +21 -21
- package/.agents/skills/monorepo-management/SKILL.md +21 -21
- package/.agents/skills/morphing-icons/SKILL.md +21 -21
- package/.agents/skills/motion-engineering/SKILL.md +21 -21
- package/.agents/skills/nextjs-react-expert/SKILL.md +21 -21
- package/.agents/skills/nodejs-best-practices/SKILL.md +21 -21
- package/.agents/skills/observability/SKILL.md +21 -21
- package/.agents/skills/opentelemetry-observability/SKILL.md +20 -19
- package/.agents/skills/page-transition-animation/SKILL.md +21 -21
- package/.agents/skills/parallel-agents/SKILL.md +21 -21
- package/.agents/skills/performance-profiling/SKILL.md +21 -21
- package/.agents/skills/plan-writing/SKILL.md +21 -21
- package/.agents/skills/platform-engineer/SKILL.md +20 -20
- package/.agents/skills/platform-engineering-opentofu/SKILL.md +20 -19
- package/.agents/skills/playwright-ai-e2e/SKILL.md +21 -20
- package/.agents/skills/playwright-best-practices/SKILL.md +21 -21
- package/.agents/skills/polish/SKILL.md +21 -21
- package/.agents/skills/powershell-windows/SKILL.md +20 -20
- package/.agents/skills/pricing-page/SKILL.md +21 -21
- package/.agents/skills/product-aware-heuristics/SKILL.md +21 -21
- package/.agents/skills/progressive-blur/SKILL.md +21 -21
- package/.agents/skills/project-idioms/SKILL.md +21 -21
- package/.agents/skills/property-based-testing/SKILL.md +21 -20
- package/.agents/skills/python-patterns/SKILL.md +21 -21
- package/.agents/skills/python-pro/SKILL.md +21 -21
- package/.agents/skills/quieter/SKILL.md +21 -21
- package/.agents/skills/react-doctor/SKILL.md +21 -21
- package/.agents/skills/react-specialist/SKILL.md +21 -21
- package/.agents/skills/readme-builder/SKILL.md +21 -21
- package/.agents/skills/realtime-patterns/SKILL.md +21 -21
- package/.agents/skills/red-team-tactics/SKILL.md +21 -21
- package/.agents/skills/redesign-skill/SKILL.md +21 -21
- package/.agents/skills/review-animations/SKILL.md +21 -21
- package/.agents/skills/rust-pro/SKILL.md +21 -21
- package/.agents/skills/seo-fundamentals/SKILL.md +21 -21
- package/.agents/skills/server-management/SKILL.md +20 -20
- package/.agents/skills/shadcn-ui-expert/SKILL.md +21 -21
- package/.agents/skills/shape/SKILL.md +21 -21
- package/.agents/skills/skill-creator/SKILL.md +28 -21
- package/.agents/skills/soft-skill/SKILL.md +21 -21
- package/.agents/skills/sounds-on-the-web/SKILL.md +21 -21
- package/.agents/skills/sql-pro/SKILL.md +21 -21
- package/.agents/skills/supabase-postgres-best-practices/SKILL.md +21 -21
- package/.agents/skills/svg-animation/SKILL.md +21 -21
- package/.agents/skills/swiftui-expert/SKILL.md +21 -21
- package/.agents/skills/swiss-design/SKILL.md +21 -21
- package/.agents/skills/system-design-pro/SKILL.md +21 -21
- package/.agents/skills/systematic-debugging/SKILL.md +22 -21
- package/.agents/skills/systematic-debugging/condition-based-waiting.md +14 -9
- package/.agents/skills/systematic-debugging/defense-in-depth.md +9 -3
- package/.agents/skills/systematic-debugging/root-cause-tracing.md +14 -0
- package/.agents/skills/tailwind-patterns/SKILL.md +21 -21
- package/.agents/skills/taste-skill/SKILL.md +21 -21
- package/.agents/skills/tdd-workflow/SKILL.md +28 -27
- package/.agents/skills/test-result-analyzer/SKILL.md +21 -21
- package/.agents/skills/testing-patterns/SKILL.md +21 -21
- package/.agents/skills/thermo-nuclear-code-quality-review/SKILL.md +21 -21
- package/.agents/skills/thinking-protocol/SKILL.md +21 -20
- package/.agents/skills/to-spring-or-not-to-spring/SKILL.md +21 -21
- package/.agents/skills/transitions-dev/SKILL.md +21 -21
- package/.agents/skills/trend-researcher/SKILL.md +21 -21
- package/.agents/skills/typescript-advanced/SKILL.md +21 -21
- package/.agents/skills/typeset/SKILL.md +21 -21
- package/.agents/skills/ui-reasoning-engine/SKILL.md +21 -21
- package/.agents/skills/ui-skill-packs/SKILL.md +21 -21
- package/.agents/skills/ui-skills-root/SKILL.md +21 -21
- package/.agents/skills/ui-ux-pro-max/SKILL.md +21 -21
- package/.agents/skills/ui-ux-researcher/SKILL.md +21 -21
- package/.agents/skills/vector-search-pgvector/SKILL.md +21 -20
- package/.agents/skills/verification-before-completion/SKILL.md +40 -36
- package/.agents/skills/vue-expert/SKILL.md +21 -21
- package/.agents/skills/vulnerability-scanner/SKILL.md +21 -21
- package/.agents/skills/web-accessibility-auditor/SKILL.md +21 -21
- package/.agents/skills/web-design-guidelines/SKILL.md +21 -21
- package/.agents/skills/web-quality-audit/SKILL.md +21 -21
- package/.agents/skills/webapp-testing/SKILL.md +21 -21
- package/.agents/skills/webgpu-performance/SKILL.md +21 -21
- package/.agents/skills/whimsy-injector/SKILL.md +21 -21
- package/.agents/skills/workflow-optimizer/SKILL.md +21 -21
- package/.agents/skills/zero-trust-passkeys/SKILL.md +21 -20
- package/.codex-plugin/plugin.json +1 -5
- package/.kimi-plugin/plugin.json +1 -5
- package/.opencode/INSTALL.md +1 -0
- package/.opencode/plugins/tribunal.js +15 -6
- package/.pi/extensions/tribunal.ts +26 -29
- package/AGENTS.md +15 -13
- package/CLAUDE.md +3 -1
- package/README.md +542 -535
- package/bin/adapter-install.js +263 -263
- package/bin/mcp-server.js +17 -12
- package/bin/wrapper.js +12 -1
- package/dist/tui/banner.js +77 -77
- package/gemini-extension.json +1 -1
- package/package.json +7 -7
- package/plugin.json +1 -1
- package/scripts/apply-version.js +2 -2
- package/scripts/audit_skill_sdo.js +6 -4
- package/scripts/context_compiler.js +207 -83
- package/scripts/modernize_skills.js +25 -11
- package/scripts/package-cores.js +4 -1
- package/scripts/skill_enhancement_engine.js +211 -50
- package/scripts/telemetry_gc.js +154 -0
- package/skills/12-principles-of-animation/SKILL.md +21 -21
- package/skills/60fps-animation/SKILL.md +24 -22
- package/skills/accessible-animation/SKILL.md +29 -31
- package/skills/adapt/SKILL.md +21 -21
- package/skills/advanced-rag-pipelines/SKILL.md +21 -21
- package/skills/agent-organizer/SKILL.md +21 -21
- package/skills/agentic-patterns/SKILL.md +21 -21
- package/skills/agentic-workflows-2026/SKILL.md +21 -20
- package/skills/ai-app-hardening/SKILL.md +21 -20
- package/skills/ai-prompt-injection-defense/SKILL.md +21 -21
- package/skills/animation-on-scroll/SKILL.md +36 -32
- package/skills/animation-systems/SKILL.md +35 -35
- package/skills/antfu-conventions/SKILL.md +21 -21
- package/skills/api-patterns/SKILL.md +21 -21
- package/skills/api-security-auditor/SKILL.md +21 -21
- package/skills/app-builder/SKILL.md +21 -21
- package/skills/appflow-wireframe/SKILL.md +21 -23
- package/skills/apple-design/SKILL.md +21 -21
- package/skills/architecture/SKILL.md +21 -21
- package/skills/audit-and-fix/SKILL.md +21 -21
- package/skills/authentication-best-practices/SKILL.md +21 -21
- package/skills/backend-security-expert/SKILL.md +21 -21
- package/skills/baseline-ui/SKILL.md +21 -21
- package/skills/bash-linux/SKILL.md +20 -20
- package/skills/behavioral-modes/SKILL.md +21 -21
- package/skills/better-colors/SKILL.md +21 -21
- package/skills/better-typography/SKILL.md +21 -20
- package/skills/better-ui/SKILL.md +38 -26
- package/skills/bolder/SKILL.md +21 -21
- package/skills/brainstorming/SKILL.md +21 -20
- package/skills/browser-audit/SKILL.md +35 -28
- package/skills/browser-native-ai/SKILL.md +21 -21
- package/skills/build-primitive/SKILL.md +21 -21
- package/skills/building-native-ui/SKILL.md +21 -21
- package/skills/cicd-pro/SKILL.md +20 -20
- package/skills/clarify/SKILL.md +21 -21
- package/skills/clean-code/SKILL.md +21 -21
- package/skills/cloud-architect/SKILL.md +20 -20
- package/skills/cobejs/SKILL.md +21 -21
- package/skills/code-review-checklist/SKILL.md +21 -21
- package/skills/codebase-design/SKILL.md +21 -21
- package/skills/colorize/SKILL.md +21 -21
- package/skills/compact-landing/SKILL.md +21 -21
- package/skills/company-logos/SKILL.md +21 -21
- package/skills/config-validator/SKILL.md +21 -21
- package/skills/containerization-pro/SKILL.md +20 -20
- package/skills/context-engineering-pro/SKILL.md +21 -20
- package/skills/create-design-md/SKILL.md +21 -21
- package/skills/critique/SKILL.md +21 -21
- package/skills/csharp-developer/SKILL.md +21 -21
- package/skills/data-validation-schemas/SKILL.md +21 -21
- package/skills/database-design/SKILL.md +21 -21
- package/skills/delight/SKILL.md +21 -21
- package/skills/deployment-procedures/SKILL.md +20 -20
- package/skills/design-lab/SKILL.md +22 -22
- package/skills/devops-engineer/SKILL.md +20 -20
- package/skills/devops-incident-responder/SKILL.md +20 -20
- package/skills/diagnosing-bugs/SKILL.md +22 -22
- package/skills/distill/SKILL.md +21 -21
- package/skills/documentation-templates/SKILL.md +21 -21
- package/skills/domain-modeling/SKILL.md +21 -21
- package/skills/duckdb-analytical-sql/SKILL.md +21 -20
- package/skills/edge-ai-mobile/SKILL.md +21 -20
- package/skills/edge-computing/SKILL.md +21 -21
- package/skills/emil-design-eng/SKILL.md +21 -21
- package/skills/error-resilience/SKILL.md +21 -21
- package/skills/expo-router-v4/SKILL.md +21 -20
- package/skills/extract-design-system/SKILL.md +21 -21
- package/skills/fabel-protocol/SKILL.md +21 -21
- package/skills/fixing-accessibility/SKILL.md +21 -21
- package/skills/fixing-metadata/SKILL.md +21 -21
- package/skills/fixing-motion-performance/SKILL.md +21 -21
- package/skills/framer-motion-expert/SKILL.md +21 -21
- package/skills/frontend-design/SKILL.md +21 -21
- package/skills/frontend-security-expert/SKILL.md +21 -21
- package/skills/game-design-expert/SKILL.md +21 -21
- package/skills/game-engineering-expert/SKILL.md +21 -21
- package/skills/generative-ui-expert/SKILL.md +21 -21
- package/skills/geo-fundamentals/SKILL.md +21 -21
- package/skills/git-pro/SKILL.md +21 -21
- package/skills/github-operations/SKILL.md +21 -21
- package/skills/gpt-taste/SKILL.md +21 -21
- package/skills/gsap-core/SKILL.md +21 -21
- package/skills/gsap-frameworks/SKILL.md +21 -21
- package/skills/gsap-performance/SKILL.md +21 -21
- package/skills/gsap-plugins/SKILL.md +21 -21
- package/skills/gsap-react/SKILL.md +21 -21
- package/skills/gsap-scrolltrigger/SKILL.md +21 -21
- package/skills/gsap-timeline/SKILL.md +21 -21
- package/skills/gsap-utils/SKILL.md +21 -21
- package/skills/harden/SKILL.md +21 -21
- package/skills/harness-protocol/SKILL.md +21 -21
- package/skills/i18n-localization/SKILL.md +21 -21
- package/skills/impeccable/SKILL.md +21 -21
- package/skills/improve-codebase-architecture/SKILL.md +21 -21
- package/skills/improve-ui/SKILL.md +21 -21
- package/skills/intelligent-routing/SKILL.md +21 -20
- package/skills/knowledge-graph/SKILL.md +21 -21
- package/skills/landing-page/SKILL.md +21 -21
- package/skills/lint-and-validate/SKILL.md +21 -21
- package/skills/llm-engineering/SKILL.md +21 -21
- package/skills/local-first/SKILL.md +21 -21
- package/skills/local-first-architecture/SKILL.md +21 -21
- package/skills/lottie-animation/SKILL.md +21 -21
- package/skills/marquee-loop/SKILL.md +21 -21
- package/skills/masked-reveal/SKILL.md +21 -21
- package/skills/mcp-builder/SKILL.md +21 -21
- package/skills/micro-interaction/SKILL.md +39 -32
- package/skills/mobile-design/SKILL.md +21 -21
- package/skills/monorepo-management/SKILL.md +21 -21
- package/skills/morphing-icons/SKILL.md +21 -21
- package/skills/motion-engineering/SKILL.md +21 -21
- package/skills/nextjs-react-expert/SKILL.md +21 -21
- package/skills/nodejs-best-practices/SKILL.md +21 -21
- package/skills/observability/SKILL.md +21 -21
- package/skills/opentelemetry-observability/SKILL.md +20 -19
- package/skills/page-transition-animation/SKILL.md +21 -21
- package/skills/parallel-agents/SKILL.md +21 -21
- package/skills/performance-profiling/SKILL.md +21 -21
- package/skills/plan-writing/SKILL.md +21 -21
- package/skills/platform-engineer/SKILL.md +20 -20
- package/skills/platform-engineering-opentofu/SKILL.md +20 -19
- package/skills/playwright-ai-e2e/SKILL.md +21 -20
- package/skills/playwright-best-practices/SKILL.md +21 -21
- package/skills/polish/SKILL.md +21 -21
- package/skills/powershell-windows/SKILL.md +20 -20
- package/skills/pricing-page/SKILL.md +21 -21
- package/skills/product-aware-heuristics/SKILL.md +21 -21
- package/skills/progressive-blur/SKILL.md +21 -21
- package/skills/project-idioms/SKILL.md +21 -21
- package/skills/property-based-testing/SKILL.md +21 -20
- package/skills/python-patterns/SKILL.md +21 -21
- package/skills/python-pro/SKILL.md +21 -21
- package/skills/quieter/SKILL.md +21 -21
- package/skills/react-doctor/SKILL.md +21 -21
- package/skills/react-specialist/SKILL.md +21 -21
- package/skills/readme-builder/SKILL.md +21 -21
- package/skills/realtime-patterns/SKILL.md +21 -21
- package/skills/red-team-tactics/SKILL.md +21 -21
- package/skills/redesign-skill/SKILL.md +21 -21
- package/skills/review-animations/SKILL.md +21 -21
- package/skills/rust-pro/SKILL.md +21 -21
- package/skills/seo-fundamentals/SKILL.md +21 -21
- package/skills/server-management/SKILL.md +20 -20
- package/skills/shadcn-ui-expert/SKILL.md +21 -21
- package/skills/shape/SKILL.md +21 -21
- package/skills/skill-creator/SKILL.md +28 -21
- package/skills/soft-skill/SKILL.md +21 -21
- package/skills/sounds-on-the-web/SKILL.md +21 -21
- package/skills/sql-pro/SKILL.md +21 -21
- package/skills/supabase-postgres-best-practices/SKILL.md +21 -21
- package/skills/svg-animation/SKILL.md +21 -21
- package/skills/swiftui-expert/SKILL.md +21 -21
- package/skills/swiss-design/SKILL.md +21 -21
- package/skills/system-design-pro/SKILL.md +21 -21
- package/skills/systematic-debugging/SKILL.md +22 -21
- package/skills/systematic-debugging/condition-based-waiting.md +14 -9
- package/skills/systematic-debugging/defense-in-depth.md +9 -3
- package/skills/systematic-debugging/root-cause-tracing.md +14 -0
- package/skills/tailwind-patterns/SKILL.md +21 -21
- package/skills/taste-skill/SKILL.md +21 -21
- package/skills/tdd-workflow/SKILL.md +28 -27
- package/skills/test-result-analyzer/SKILL.md +21 -21
- package/skills/testing-patterns/SKILL.md +21 -21
- package/skills/thermo-nuclear-code-quality-review/SKILL.md +21 -21
- package/skills/thinking-protocol/SKILL.md +21 -20
- package/skills/to-spring-or-not-to-spring/SKILL.md +21 -21
- package/skills/transitions-dev/SKILL.md +21 -21
- package/skills/trend-researcher/SKILL.md +21 -21
- package/skills/typescript-advanced/SKILL.md +21 -21
- package/skills/typeset/SKILL.md +21 -21
- package/skills/ui-reasoning-engine/SKILL.md +21 -21
- package/skills/ui-skill-packs/SKILL.md +21 -21
- package/skills/ui-skills-root/SKILL.md +21 -21
- package/skills/ui-ux-pro-max/SKILL.md +21 -21
- package/skills/ui-ux-researcher/SKILL.md +21 -21
- package/skills/vector-search-pgvector/SKILL.md +21 -20
- package/skills/verification-before-completion/SKILL.md +40 -36
- package/skills/vue-expert/SKILL.md +21 -21
- package/skills/vulnerability-scanner/SKILL.md +21 -21
- package/skills/web-accessibility-auditor/SKILL.md +21 -21
- package/skills/web-design-guidelines/SKILL.md +21 -21
- package/skills/web-quality-audit/SKILL.md +21 -21
- package/skills/webapp-testing/SKILL.md +21 -21
- package/skills/webgpu-performance/SKILL.md +21 -21
- package/skills/whimsy-injector/SKILL.md +21 -21
- package/skills/workflow-optimizer/SKILL.md +21 -21
- package/skills/zero-trust-passkeys/SKILL.md +21 -20
|
@@ -35,14 +35,14 @@ Before generating, refactoring, or reviewing code in the `zero-trust-passkeys` d
|
|
|
35
35
|
|
|
36
36
|
Execute all non-trivial tasks through this 7-pass cognitive loop:
|
|
37
37
|
|
|
38
|
-
| Pass
|
|
39
|
-
|
|
40
|
-
| **Pass 1** | **Understand**
|
|
41
|
-
| **Pass 2** | **Plan**
|
|
42
|
-
| **Pass 3** | **Execute**
|
|
43
|
-
| **Pass 4** | **Verify**
|
|
44
|
-
| **Pass 5** | **Attack**
|
|
45
|
-
| **Pass 6** | **Improve**
|
|
38
|
+
| Pass | Phase | Core Action |
|
|
39
|
+
| :--------- | :--------------- | :------------------------------------------------------------------------------------------- |
|
|
40
|
+
| **Pass 1** | **Understand** | Deconstruct the user's explicit objective, implicit requirements, and platform constraints. |
|
|
41
|
+
| **Pass 2** | **Plan** | Decompose the task into smallest logical steps; map dependencies and required tool calls. |
|
|
42
|
+
| **Pass 3** | **Execute** | Implement the solution with production-grade craft, zero placeholders, and strict typing. |
|
|
43
|
+
| **Pass 4** | **Verify** | Run linters, unit tests, or compiler checks to validate structural correctness. |
|
|
44
|
+
| **Pass 5** | **Attack** | Perform an adversarial review searching for edge-case failures, race conditions, and traps. |
|
|
45
|
+
| **Pass 6** | **Improve** | Eliminate discovered friction, optimize performance, and harden error boundaries. |
|
|
46
46
|
| **Pass 7** | **Quality Gate** | Enforce Verification-Before-Completion (VBC) with concrete terminal proof before finalizing. |
|
|
47
47
|
|
|
48
48
|
---
|
|
@@ -114,23 +114,23 @@ export async function verifyPasskeyAuth(
|
|
|
114
114
|
|
|
115
115
|
## 🚨 Edge-Case & Failure Mode Matrix
|
|
116
116
|
|
|
117
|
-
| Scenario
|
|
118
|
-
|
|
119
|
-
| **Empty or Null Inputs**
|
|
120
|
-
| **Network Timeout / Latency**
|
|
121
|
-
| **Concurrency / Race Conditions**
|
|
122
|
-
| **Invalid Schema / Malformed Payload** | Downstream runtime errors or security injection
|
|
123
|
-
| **Resource / Memory Saturation**
|
|
117
|
+
| Scenario | Risk | Mitigation Strategy |
|
|
118
|
+
| :------------------------------------- | :--------------------------------------------------- | :------------------------------------------------------------------------------ |
|
|
119
|
+
| **Empty or Null Inputs** | Unhandled exception or unexpected rendering collapse | Enforce fallback guards, optional chaining, and explicit empty state handlers |
|
|
120
|
+
| **Network Timeout / Latency** | Hanging operations or duplicate side-effects | Implement bounded abort controllers, exponential backoff, and idempotency keys |
|
|
121
|
+
| **Concurrency / Race Conditions** | Stale state overwrite or inconsistent data mutations | Use atomic transactions, mutex locking, or cancel-on-resubmit controls |
|
|
122
|
+
| **Invalid Schema / Malformed Payload** | Downstream runtime errors or security injection | Validate boundary payloads with Zod/Pydantic schemas prior to execution |
|
|
123
|
+
| **Resource / Memory Saturation** | OOM errors, frame drops, or memory leaks | Clean up listeners, cancel active timers, and enforce pagination/virtualization |
|
|
124
124
|
|
|
125
125
|
---
|
|
126
126
|
|
|
127
127
|
## 🤖 LLM-Specific Traps Table
|
|
128
128
|
|
|
129
|
-
| Anti-Pattern
|
|
130
|
-
|
|
131
|
-
| **Hardcoded Secret Pattern**
|
|
132
|
-
| **Prompt Injection Surface**
|
|
133
|
-
| **Missing Authorization Check** | Relying only on authentication token presence without checking tenant/object RBAC | Verify user permissions against the specific target record ID before mutation
|
|
129
|
+
| Anti-Pattern | What AI Commonly Does Wrong | What Is Actually Correct |
|
|
130
|
+
| :------------------------------ | :-------------------------------------------------------------------------------- | :----------------------------------------------------------------------------- |
|
|
131
|
+
| **Hardcoded Secret Pattern** | Committing API keys, tokens, or private salts into source code | Load credentials strictly via runtime environment variables and secret stores |
|
|
132
|
+
| **Prompt Injection Surface** | Directly concatenating untrusted user input into LLM system prompts | Wrap user content in isolated delimiters and strip injection control sequences |
|
|
133
|
+
| **Missing Authorization Check** | Relying only on authentication token presence without checking tenant/object RBAC | Verify user permissions against the specific target record ID before mutation |
|
|
134
134
|
|
|
135
135
|
---
|
|
136
136
|
|
|
@@ -152,5 +152,6 @@ export async function verifyPasskeyAuth(
|
|
|
152
152
|
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
153
153
|
|
|
154
154
|
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
155
|
+
|
|
155
156
|
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
156
157
|
- ✅ **Required:** You are explicitly forbidden from finalizing any task without providing **concrete evidence** (terminal output, passing test suites, compiler success, or equivalent operational proof) that your output works as intended.
|
|
@@ -30,11 +30,7 @@
|
|
|
30
30
|
"longDescription": "Use Tribunal Kit to govern coding agents through Socratic brainstorming, bite-sized implementation planning, strict test-driven development, out-of-band context isolation, 28-specialist review waves, and persistent Case Law memory.",
|
|
31
31
|
"developerName": "Harmitx7",
|
|
32
32
|
"category": "Developer Tools",
|
|
33
|
-
"capabilities": [
|
|
34
|
-
"Interactive",
|
|
35
|
-
"Read",
|
|
36
|
-
"Write"
|
|
37
|
-
],
|
|
33
|
+
"capabilities": ["Interactive", "Read", "Write"],
|
|
38
34
|
"defaultPrompt": [
|
|
39
35
|
"Let's design and implement a new feature using Tribunal SDD.",
|
|
40
36
|
"Run a full Tribunal code audit on this repository."
|
package/.kimi-plugin/plugin.json
CHANGED
|
@@ -28,11 +28,7 @@
|
|
|
28
28
|
"shortDescription": "28-Specialist Review Waves & Subagent-Driven Development (SDD) Engine",
|
|
29
29
|
"longDescription": "Tribunal Kit provides institutional-grade code review, anti-hallucination guardrails, Subagent-Driven Development (SDD), and automated testing pipelines for AI coding agents.",
|
|
30
30
|
"developerName": "Harmitx7",
|
|
31
|
-
"capabilities": [
|
|
32
|
-
"Interactive",
|
|
33
|
-
"Read",
|
|
34
|
-
"Write"
|
|
35
|
-
],
|
|
31
|
+
"capabilities": ["Interactive", "Read", "Write"],
|
|
36
32
|
"websiteURL": "https://github.com/Harmitx7/tribunal-kit"
|
|
37
33
|
}
|
|
38
34
|
}
|
package/.opencode/INSTALL.md
CHANGED
|
@@ -37,5 +37,6 @@ use skill tool to load verification-before-completion
|
|
|
37
37
|
## Subagent-Driven Development (SDD)
|
|
38
38
|
|
|
39
39
|
OpenCode delegates tasks to subagents via the `task` tool:
|
|
40
|
+
|
|
40
41
|
- Implementers execute tasks following `.tribunal/sdd/<plan>/task-<N>-brief.md`.
|
|
41
42
|
- Reviewers evaluate diffs via `tk sdd diff` out-of-band.
|
|
@@ -11,7 +11,7 @@ import { fileURLToPath } from 'url';
|
|
|
11
11
|
|
|
12
12
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
13
13
|
|
|
14
|
-
const extractAndStripFrontmatter =
|
|
14
|
+
const extractAndStripFrontmatter = content => {
|
|
15
15
|
const match = content.match(/^---\n([\s\S]*?)\n---\n([\s\S]*)$/);
|
|
16
16
|
if (!match) return { frontmatter: {}, content };
|
|
17
17
|
|
|
@@ -23,7 +23,10 @@ const extractAndStripFrontmatter = (content) => {
|
|
|
23
23
|
const colonIdx = line.indexOf(':');
|
|
24
24
|
if (colonIdx > 0) {
|
|
25
25
|
const key = line.slice(0, colonIdx).trim();
|
|
26
|
-
const value = line
|
|
26
|
+
const value = line
|
|
27
|
+
.slice(colonIdx + 1)
|
|
28
|
+
.trim()
|
|
29
|
+
.replace(/^["']|["']$/g, '');
|
|
27
30
|
frontmatter[key] = value;
|
|
28
31
|
}
|
|
29
32
|
}
|
|
@@ -47,7 +50,8 @@ export const TribunalPlugin = async ({ client: _client, directory: _directory }
|
|
|
47
50
|
const { content } = extractAndStripFrontmatter(raw);
|
|
48
51
|
rulesContent = content;
|
|
49
52
|
} else {
|
|
50
|
-
rulesContent =
|
|
53
|
+
rulesContent =
|
|
54
|
+
'# Tribunal Kit Master Governance Active\nEnforce strict TDD, out-of-band reviews, and 28-specialist waves.';
|
|
51
55
|
}
|
|
52
56
|
|
|
53
57
|
const toolMapping = `**Tool Mapping for OpenCode:**
|
|
@@ -76,7 +80,7 @@ ${toolMapping}
|
|
|
76
80
|
};
|
|
77
81
|
|
|
78
82
|
return {
|
|
79
|
-
config: async
|
|
83
|
+
config: async config => {
|
|
80
84
|
config.skills = config.skills || {};
|
|
81
85
|
config.skills.paths = config.skills.paths || [];
|
|
82
86
|
if (!config.skills.paths.includes(tribunalSkillsDir)) {
|
|
@@ -90,11 +94,16 @@ ${toolMapping}
|
|
|
90
94
|
const firstUser = output.messages.find(m => m.info && m.info.role === 'user');
|
|
91
95
|
if (!firstUser || !firstUser.parts || !firstUser.parts.length) return;
|
|
92
96
|
|
|
93
|
-
if (
|
|
97
|
+
if (
|
|
98
|
+
firstUser.parts.some(
|
|
99
|
+
p => p.type === 'text' && p.text && p.text.includes('EXTREMELY_IMPORTANT'),
|
|
100
|
+
)
|
|
101
|
+
)
|
|
102
|
+
return;
|
|
94
103
|
|
|
95
104
|
const ref = firstUser.parts[0];
|
|
96
105
|
firstUser.parts.unshift({ ...ref, type: 'text', text: bootstrap });
|
|
97
|
-
}
|
|
106
|
+
},
|
|
98
107
|
};
|
|
99
108
|
};
|
|
100
109
|
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import { readFileSync, existsSync } from
|
|
2
|
-
import { dirname, resolve } from
|
|
3
|
-
import { fileURLToPath } from
|
|
1
|
+
import { readFileSync, existsSync } from 'node:fs';
|
|
2
|
+
import { dirname, resolve } from 'node:path';
|
|
3
|
+
import { fileURLToPath } from 'node:url';
|
|
4
4
|
|
|
5
5
|
export interface ExtensionAPI {
|
|
6
6
|
on(event: string, handler: (payload?: any) => Promise<any> | any): void;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
const EXTREMELY_IMPORTANT_MARKER =
|
|
10
|
-
const BOOTSTRAP_MARKER =
|
|
9
|
+
const EXTREMELY_IMPORTANT_MARKER = '<EXTREMELY_IMPORTANT>';
|
|
10
|
+
const BOOTSTRAP_MARKER = 'tribunal-kit:master-governance bootstrap for pi';
|
|
11
11
|
|
|
12
12
|
const extensionDir = dirname(fileURLToPath(import.meta.url));
|
|
13
|
-
const packageRoot = resolve(extensionDir,
|
|
14
|
-
const skillsDir = resolve(packageRoot,
|
|
15
|
-
const rulesPath = resolve(packageRoot,
|
|
13
|
+
const packageRoot = resolve(extensionDir, '../..');
|
|
14
|
+
const skillsDir = resolve(packageRoot, '.agent', 'skills');
|
|
15
|
+
const rulesPath = resolve(packageRoot, '.agent', 'rules', 'GEMINI.md');
|
|
16
16
|
|
|
17
17
|
let cachedBootstrap: string | null | undefined;
|
|
18
18
|
|
|
19
19
|
export default function tribunalPiExtension(pi: ExtensionAPI) {
|
|
20
20
|
let injectBootstrap = true;
|
|
21
21
|
|
|
22
|
-
pi.on(
|
|
22
|
+
pi.on('resources_discover', async () => ({
|
|
23
23
|
skillPaths: [skillsDir],
|
|
24
24
|
}));
|
|
25
25
|
|
|
26
|
-
pi.on(
|
|
26
|
+
pi.on('session_start', async () => {
|
|
27
27
|
injectBootstrap = true;
|
|
28
28
|
});
|
|
29
29
|
|
|
30
|
-
pi.on(
|
|
30
|
+
pi.on('session_compact', async () => {
|
|
31
31
|
injectBootstrap = true;
|
|
32
32
|
});
|
|
33
33
|
|
|
34
|
-
pi.on(
|
|
34
|
+
pi.on('agent_end', async () => {
|
|
35
35
|
injectBootstrap = false;
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
pi.on(
|
|
38
|
+
pi.on('context', async (event: any) => {
|
|
39
39
|
if (!injectBootstrap) return;
|
|
40
40
|
if (event?.messages?.some(messageContainsBootstrap)) return;
|
|
41
41
|
|
|
@@ -43,8 +43,8 @@ export default function tribunalPiExtension(pi: ExtensionAPI) {
|
|
|
43
43
|
if (!bootstrap) return;
|
|
44
44
|
|
|
45
45
|
const bootstrapMessage = {
|
|
46
|
-
role:
|
|
47
|
-
content: [{ type:
|
|
46
|
+
role: 'user' as const,
|
|
47
|
+
content: [{ type: 'text' as const, text: bootstrap }],
|
|
48
48
|
timestamp: Date.now(),
|
|
49
49
|
};
|
|
50
50
|
|
|
@@ -52,11 +52,7 @@ export default function tribunalPiExtension(pi: ExtensionAPI) {
|
|
|
52
52
|
const insertAt = firstNonCompactionSummaryIndex(messages);
|
|
53
53
|
|
|
54
54
|
return {
|
|
55
|
-
messages: [
|
|
56
|
-
...messages.slice(0, insertAt),
|
|
57
|
-
bootstrapMessage,
|
|
58
|
-
...messages.slice(insertAt),
|
|
59
|
-
],
|
|
55
|
+
messages: [...messages.slice(0, insertAt), bootstrapMessage, ...messages.slice(insertAt)],
|
|
60
56
|
};
|
|
61
57
|
});
|
|
62
58
|
}
|
|
@@ -65,12 +61,13 @@ function getBootstrapContent(): string | null {
|
|
|
65
61
|
if (cachedBootstrap !== undefined) return cachedBootstrap;
|
|
66
62
|
|
|
67
63
|
try {
|
|
68
|
-
let body =
|
|
64
|
+
let body = '';
|
|
69
65
|
if (existsSync(rulesPath)) {
|
|
70
|
-
const raw = readFileSync(rulesPath,
|
|
66
|
+
const raw = readFileSync(rulesPath, 'utf8');
|
|
71
67
|
body = stripFrontmatter(raw);
|
|
72
68
|
} else {
|
|
73
|
-
body =
|
|
69
|
+
body =
|
|
70
|
+
'# Tribunal Kit Master Governance Active\nEnforce strict TDD and 28-specialist reviewer waves.';
|
|
74
71
|
}
|
|
75
72
|
|
|
76
73
|
cachedBootstrap = `${EXTREMELY_IMPORTANT_MARKER}
|
|
@@ -111,14 +108,14 @@ Subagent-Driven Development (SDD):
|
|
|
111
108
|
|
|
112
109
|
function messageContainsBootstrap(message: unknown): boolean {
|
|
113
110
|
const content = (message as { content?: unknown })?.content;
|
|
114
|
-
if (typeof content ===
|
|
111
|
+
if (typeof content === 'string') return content.includes(BOOTSTRAP_MARKER);
|
|
115
112
|
if (!Array.isArray(content)) return false;
|
|
116
|
-
return content.some(
|
|
113
|
+
return content.some(part => {
|
|
117
114
|
return (
|
|
118
115
|
part &&
|
|
119
|
-
typeof part ===
|
|
120
|
-
(part as { type?: unknown }).type ===
|
|
121
|
-
typeof (part as { text?: unknown }).text ===
|
|
116
|
+
typeof part === 'object' &&
|
|
117
|
+
(part as { type?: unknown }).type === 'text' &&
|
|
118
|
+
typeof (part as { text?: unknown }).text === 'string' &&
|
|
122
119
|
(part as { text: string }).text.includes(BOOTSTRAP_MARKER)
|
|
123
120
|
);
|
|
124
121
|
});
|
|
@@ -126,7 +123,7 @@ function messageContainsBootstrap(message: unknown): boolean {
|
|
|
126
123
|
|
|
127
124
|
function firstNonCompactionSummaryIndex(messages: unknown[]): number {
|
|
128
125
|
let index = 0;
|
|
129
|
-
while ((messages[index] as { role?: unknown } | undefined)?.role ===
|
|
126
|
+
while ((messages[index] as { role?: unknown } | undefined)?.role === 'compactionSummary') {
|
|
130
127
|
index += 1;
|
|
131
128
|
}
|
|
132
129
|
return index;
|
package/AGENTS.md
CHANGED
|
@@ -52,21 +52,22 @@ Am I importing a package/method that exists?
|
|
|
52
52
|
|
|
53
53
|
When you detect code or design requests, apply the specialist agent profile:
|
|
54
54
|
|
|
55
|
-
| Domain
|
|
56
|
-
|
|
|
57
|
-
| API / server / backend
|
|
58
|
-
| React / Next.js / UI
|
|
59
|
-
| Database / schema / SQL
|
|
60
|
-
| Python / FastAPI / Django
|
|
61
|
-
| Mobile (RN / Flutter)
|
|
62
|
-
| Debugging / errors
|
|
63
|
-
| Security / vulnerabilities
|
|
64
|
-
| Performance / optimization
|
|
65
|
-
| DevOps / CI-CD / Docker
|
|
66
|
-
| Test generation
|
|
67
|
-
| Architecture / planning
|
|
55
|
+
| Domain | Specialist |
|
|
56
|
+
| -------------------------- | ----------------------- |
|
|
57
|
+
| API / server / backend | `backend-specialist` |
|
|
58
|
+
| React / Next.js / UI | `frontend-specialist` |
|
|
59
|
+
| Database / schema / SQL | `database-architect` |
|
|
60
|
+
| Python / FastAPI / Django | `python-pro` |
|
|
61
|
+
| Mobile (RN / Flutter) | `mobile-developer` |
|
|
62
|
+
| Debugging / errors | `debugger` |
|
|
63
|
+
| Security / vulnerabilities | `security-auditor` |
|
|
64
|
+
| Performance / optimization | `performance-optimizer` |
|
|
65
|
+
| DevOps / CI-CD / Docker | `devops-engineer` |
|
|
66
|
+
| Test generation | `test-engineer` |
|
|
67
|
+
| Architecture / planning | `project-planner` |
|
|
68
68
|
|
|
69
69
|
Always announce the active specialist:
|
|
70
|
+
|
|
70
71
|
```
|
|
71
72
|
🤖 Applying knowledge of @[agent-name]...
|
|
72
73
|
```
|
|
@@ -84,6 +85,7 @@ Always announce the active specialist:
|
|
|
84
85
|
## 4. Skills & Tool Integration
|
|
85
86
|
|
|
86
87
|
Tribunal Kit provides 185 deep skill modules located in:
|
|
88
|
+
|
|
87
89
|
- `./skills/<skill-name>/SKILL.md`
|
|
88
90
|
- `./.agent/skills/<skill-name>/SKILL.md`
|
|
89
91
|
- `./.agents/skills/<skill-name>/SKILL.md`
|
package/CLAUDE.md
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
# Tribunal Kit — Claude Bridge
|
|
2
|
+
|
|
2
3
|
# Auto-generated by tribunal-kit init. Do not edit manually.
|
|
4
|
+
|
|
3
5
|
# Source: .agent/rules/GEMINI.md
|
|
4
6
|
|
|
5
7
|
---
|
|
8
|
+
|
|
6
9
|
trigger: always_on
|
|
7
10
|
---
|
|
8
11
|
|
|
@@ -439,4 +442,3 @@ Before modifying any file:
|
|
|
439
442
|
**Workflows:** `.agent/workflows/`
|
|
440
443
|
**Rules (this file):** `.agent/rules/GEMINI.md`
|
|
441
444
|
**Architecture:** `.agent/ARCHITECTURE.md`
|
|
442
|
-
|