tribunal-kit 9.0.1 → 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 +176 -176
- package/plugin.json +1 -1
- package/scripts/apply-version.js +57 -0
- 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
|
@@ -34,14 +34,14 @@ Before generating, refactoring, or reviewing code in the `review-animations` dom
|
|
|
34
34
|
|
|
35
35
|
Execute all non-trivial tasks through this 7-pass cognitive loop:
|
|
36
36
|
|
|
37
|
-
| Pass
|
|
38
|
-
|
|
39
|
-
| **Pass 1** | **Understand**
|
|
40
|
-
| **Pass 2** | **Plan**
|
|
41
|
-
| **Pass 3** | **Execute**
|
|
42
|
-
| **Pass 4** | **Verify**
|
|
43
|
-
| **Pass 5** | **Attack**
|
|
44
|
-
| **Pass 6** | **Improve**
|
|
37
|
+
| Pass | Phase | Core Action |
|
|
38
|
+
| :--------- | :--------------- | :------------------------------------------------------------------------------------------- |
|
|
39
|
+
| **Pass 1** | **Understand** | Deconstruct the user's explicit objective, implicit requirements, and platform constraints. |
|
|
40
|
+
| **Pass 2** | **Plan** | Decompose the task into smallest logical steps; map dependencies and required tool calls. |
|
|
41
|
+
| **Pass 3** | **Execute** | Implement the solution with production-grade craft, zero placeholders, and strict typing. |
|
|
42
|
+
| **Pass 4** | **Verify** | Run linters, unit tests, or compiler checks to validate structural correctness. |
|
|
43
|
+
| **Pass 5** | **Attack** | Perform an adversarial review searching for edge-case failures, race conditions, and traps. |
|
|
44
|
+
| **Pass 6** | **Improve** | Eliminate discovered friction, optimize performance, and harden error boundaries. |
|
|
45
45
|
| **Pass 7** | **Quality Gate** | Enforce Verification-Before-Completion (VBC) with concrete terminal proof before finalizing. |
|
|
46
46
|
|
|
47
47
|
---
|
|
@@ -50,7 +50,6 @@ Execute all non-trivial tasks through this 7-pass cognitive loop:
|
|
|
50
50
|
|
|
51
51
|
---
|
|
52
52
|
|
|
53
|
-
|
|
54
53
|
## Operating Posture
|
|
55
54
|
|
|
56
55
|
You are a senior motion-design reviewer with a brutal eye for craft. Your bias is toward **motion that feels right**, not motion that merely runs. A transition that "works" but feels sluggish, lands from the wrong origin, fires too often, or drops frames is a regression, not a pass. Default to flagging. Approval is earned, not assumed.
|
|
@@ -78,23 +77,23 @@ Every animation in the diff is measured against these. A violation is a finding.
|
|
|
78
77
|
|
|
79
78
|
## 🚨 Edge-Case & Failure Mode Matrix
|
|
80
79
|
|
|
81
|
-
| Scenario
|
|
82
|
-
|
|
83
|
-
| **Empty or Null Inputs**
|
|
84
|
-
| **Network Timeout / Latency**
|
|
85
|
-
| **Concurrency / Race Conditions**
|
|
86
|
-
| **Invalid Schema / Malformed Payload** | Downstream runtime errors or security injection
|
|
87
|
-
| **Resource / Memory Saturation**
|
|
80
|
+
| Scenario | Risk | Mitigation Strategy |
|
|
81
|
+
| :------------------------------------- | :--------------------------------------------------- | :------------------------------------------------------------------------------ |
|
|
82
|
+
| **Empty or Null Inputs** | Unhandled exception or unexpected rendering collapse | Enforce fallback guards, optional chaining, and explicit empty state handlers |
|
|
83
|
+
| **Network Timeout / Latency** | Hanging operations or duplicate side-effects | Implement bounded abort controllers, exponential backoff, and idempotency keys |
|
|
84
|
+
| **Concurrency / Race Conditions** | Stale state overwrite or inconsistent data mutations | Use atomic transactions, mutex locking, or cancel-on-resubmit controls |
|
|
85
|
+
| **Invalid Schema / Malformed Payload** | Downstream runtime errors or security injection | Validate boundary payloads with Zod/Pydantic schemas prior to execution |
|
|
86
|
+
| **Resource / Memory Saturation** | OOM errors, frame drops, or memory leaks | Clean up listeners, cancel active timers, and enforce pagination/virtualization |
|
|
88
87
|
|
|
89
88
|
---
|
|
90
89
|
|
|
91
90
|
## 🤖 LLM-Specific Traps Table
|
|
92
91
|
|
|
93
|
-
| Anti-Pattern
|
|
94
|
-
|
|
95
|
-
| **The Instant Pop Trap** | Conditionally unmounting elements without animated interpolation
|
|
96
|
-
| **Layout Thrashing**
|
|
97
|
-
| **Sluggish Duration**
|
|
92
|
+
| Anti-Pattern | What AI Commonly Does Wrong | What Is Actually Correct |
|
|
93
|
+
| :----------------------- | :-------------------------------------------------------------------- | :------------------------------------------------------------------ |
|
|
94
|
+
| **The Instant Pop Trap** | Conditionally unmounting elements without animated interpolation | Use AnimatePresence or coordinate morphs with continuous geometry |
|
|
95
|
+
| **Layout Thrashing** | Animating width, height, top, or left inside animation loops | Animate composite-only transform (translate3d, scale) and opacity |
|
|
96
|
+
| **Sluggish Duration** | Setting micro-interaction transitions to 600ms+ causing interface lag | Cap interactive feedback at 160ms–240ms with snappy ease-out curves |
|
|
98
97
|
|
|
99
98
|
---
|
|
100
99
|
|
|
@@ -116,5 +115,6 @@ Every animation in the diff is measured against these. A violation is a finding.
|
|
|
116
115
|
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
117
116
|
|
|
118
117
|
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
118
|
+
|
|
119
119
|
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
120
120
|
- ✅ **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.
|
package/skills/rust-pro/SKILL.md
CHANGED
|
@@ -34,14 +34,14 @@ Before generating, refactoring, or reviewing code in the `rust-pro` domain, insp
|
|
|
34
34
|
|
|
35
35
|
Execute all non-trivial tasks through this 7-pass cognitive loop:
|
|
36
36
|
|
|
37
|
-
| Pass
|
|
38
|
-
|
|
39
|
-
| **Pass 1** | **Understand**
|
|
40
|
-
| **Pass 2** | **Plan**
|
|
41
|
-
| **Pass 3** | **Execute**
|
|
42
|
-
| **Pass 4** | **Verify**
|
|
43
|
-
| **Pass 5** | **Attack**
|
|
44
|
-
| **Pass 6** | **Improve**
|
|
37
|
+
| Pass | Phase | Core Action |
|
|
38
|
+
| :--------- | :--------------- | :------------------------------------------------------------------------------------------- |
|
|
39
|
+
| **Pass 1** | **Understand** | Deconstruct the user's explicit objective, implicit requirements, and platform constraints. |
|
|
40
|
+
| **Pass 2** | **Plan** | Decompose the task into smallest logical steps; map dependencies and required tool calls. |
|
|
41
|
+
| **Pass 3** | **Execute** | Implement the solution with production-grade craft, zero placeholders, and strict typing. |
|
|
42
|
+
| **Pass 4** | **Verify** | Run linters, unit tests, or compiler checks to validate structural correctness. |
|
|
43
|
+
| **Pass 5** | **Attack** | Perform an adversarial review searching for edge-case failures, race conditions, and traps. |
|
|
44
|
+
| **Pass 6** | **Improve** | Eliminate discovered friction, optimize performance, and harden error boundaries. |
|
|
45
45
|
| **Pass 7** | **Quality Gate** | Enforce Verification-Before-Completion (VBC) with concrete terminal proof before finalizing. |
|
|
46
46
|
|
|
47
47
|
---
|
|
@@ -50,7 +50,6 @@ Execute all non-trivial tasks through this 7-pass cognitive loop:
|
|
|
50
50
|
|
|
51
51
|
---
|
|
52
52
|
|
|
53
|
-
|
|
54
53
|
## 2026 Rust Performance & Memory Invariants
|
|
55
54
|
|
|
56
55
|
1. **Native `std::sync::LazyLock`**:
|
|
@@ -685,23 +684,23 @@ let word_counts: HashMap<&str, usize> = words.iter()
|
|
|
685
684
|
|
|
686
685
|
## 🚨 Edge-Case & Failure Mode Matrix
|
|
687
686
|
|
|
688
|
-
| Scenario
|
|
689
|
-
|
|
690
|
-
| **Empty or Null Inputs**
|
|
691
|
-
| **Network Timeout / Latency**
|
|
692
|
-
| **Concurrency / Race Conditions**
|
|
693
|
-
| **Invalid Schema / Malformed Payload** | Downstream runtime errors or security injection
|
|
694
|
-
| **Resource / Memory Saturation**
|
|
687
|
+
| Scenario | Risk | Mitigation Strategy |
|
|
688
|
+
| :------------------------------------- | :--------------------------------------------------- | :------------------------------------------------------------------------------ |
|
|
689
|
+
| **Empty or Null Inputs** | Unhandled exception or unexpected rendering collapse | Enforce fallback guards, optional chaining, and explicit empty state handlers |
|
|
690
|
+
| **Network Timeout / Latency** | Hanging operations or duplicate side-effects | Implement bounded abort controllers, exponential backoff, and idempotency keys |
|
|
691
|
+
| **Concurrency / Race Conditions** | Stale state overwrite or inconsistent data mutations | Use atomic transactions, mutex locking, or cancel-on-resubmit controls |
|
|
692
|
+
| **Invalid Schema / Malformed Payload** | Downstream runtime errors or security injection | Validate boundary payloads with Zod/Pydantic schemas prior to execution |
|
|
693
|
+
| **Resource / Memory Saturation** | OOM errors, frame drops, or memory leaks | Clean up listeners, cancel active timers, and enforce pagination/virtualization |
|
|
695
694
|
|
|
696
695
|
---
|
|
697
696
|
|
|
698
697
|
## 🤖 LLM-Specific Traps Table
|
|
699
698
|
|
|
700
|
-
| Anti-Pattern
|
|
701
|
-
|
|
702
|
-
| **Unchecked Payload Cast**
|
|
703
|
-
| **Silent Error Swallowing** | Catching errors with empty catch blocks or logging without rethrowing
|
|
704
|
-
| **Unparameterized Query**
|
|
699
|
+
| Anti-Pattern | What AI Commonly Does Wrong | What Is Actually Correct |
|
|
700
|
+
| :-------------------------- | :--------------------------------------------------------------------------- | :------------------------------------------------------------------------ |
|
|
701
|
+
| **Unchecked Payload Cast** | Casting request bodies to TypeScript types without runtime schema validation | Parse request payloads through Zod/Pydantic schemas before business logic |
|
|
702
|
+
| **Silent Error Swallowing** | Catching errors with empty catch blocks or logging without rethrowing | Propagate structured errors with status codes and contextual stack traces |
|
|
703
|
+
| **Unparameterized Query** | Concatenating user inputs into SQL/Prisma query strings | Always use parameterized bindings or type-safe ORM query builders |
|
|
705
704
|
|
|
706
705
|
---
|
|
707
706
|
|
|
@@ -723,5 +722,6 @@ let word_counts: HashMap<&str, usize> = words.iter()
|
|
|
723
722
|
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
724
723
|
|
|
725
724
|
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
725
|
+
|
|
726
726
|
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
727
727
|
- ✅ **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.
|
|
@@ -34,14 +34,14 @@ Before generating, refactoring, or reviewing code in the `seo-fundamentals` doma
|
|
|
34
34
|
|
|
35
35
|
Execute all non-trivial tasks through this 7-pass cognitive loop:
|
|
36
36
|
|
|
37
|
-
| Pass
|
|
38
|
-
|
|
39
|
-
| **Pass 1** | **Understand**
|
|
40
|
-
| **Pass 2** | **Plan**
|
|
41
|
-
| **Pass 3** | **Execute**
|
|
42
|
-
| **Pass 4** | **Verify**
|
|
43
|
-
| **Pass 5** | **Attack**
|
|
44
|
-
| **Pass 6** | **Improve**
|
|
37
|
+
| Pass | Phase | Core Action |
|
|
38
|
+
| :--------- | :--------------- | :------------------------------------------------------------------------------------------- |
|
|
39
|
+
| **Pass 1** | **Understand** | Deconstruct the user's explicit objective, implicit requirements, and platform constraints. |
|
|
40
|
+
| **Pass 2** | **Plan** | Decompose the task into smallest logical steps; map dependencies and required tool calls. |
|
|
41
|
+
| **Pass 3** | **Execute** | Implement the solution with production-grade craft, zero placeholders, and strict typing. |
|
|
42
|
+
| **Pass 4** | **Verify** | Run linters, unit tests, or compiler checks to validate structural correctness. |
|
|
43
|
+
| **Pass 5** | **Attack** | Perform an adversarial review searching for edge-case failures, race conditions, and traps. |
|
|
44
|
+
| **Pass 6** | **Improve** | Eliminate discovered friction, optimize performance, and harden error boundaries. |
|
|
45
45
|
| **Pass 7** | **Quality Gate** | Enforce Verification-Before-Completion (VBC) with concrete terminal proof before finalizing. |
|
|
46
46
|
|
|
47
47
|
---
|
|
@@ -50,7 +50,6 @@ Execute all non-trivial tasks through this 7-pass cognitive loop:
|
|
|
50
50
|
|
|
51
51
|
---
|
|
52
52
|
|
|
53
|
-
|
|
54
53
|
## Hallucination Traps (Read First)
|
|
55
54
|
|
|
56
55
|
- ❌ Using `<div>` for everything instead of semantic HTML -> ✅ Use `<main>`, `<article>`, `<nav>`, `<section>` for crawler comprehension
|
|
@@ -172,23 +171,23 @@ If a page shouldn't be indexed (e.g., dynamic search result matrices, user profi
|
|
|
172
171
|
|
|
173
172
|
## 🚨 Edge-Case & Failure Mode Matrix
|
|
174
173
|
|
|
175
|
-
| Scenario
|
|
176
|
-
|
|
177
|
-
| **Empty or Null Inputs**
|
|
178
|
-
| **Network Timeout / Latency**
|
|
179
|
-
| **Concurrency / Race Conditions**
|
|
180
|
-
| **Invalid Schema / Malformed Payload** | Downstream runtime errors or security injection
|
|
181
|
-
| **Resource / Memory Saturation**
|
|
174
|
+
| Scenario | Risk | Mitigation Strategy |
|
|
175
|
+
| :------------------------------------- | :--------------------------------------------------- | :------------------------------------------------------------------------------ |
|
|
176
|
+
| **Empty or Null Inputs** | Unhandled exception or unexpected rendering collapse | Enforce fallback guards, optional chaining, and explicit empty state handlers |
|
|
177
|
+
| **Network Timeout / Latency** | Hanging operations or duplicate side-effects | Implement bounded abort controllers, exponential backoff, and idempotency keys |
|
|
178
|
+
| **Concurrency / Race Conditions** | Stale state overwrite or inconsistent data mutations | Use atomic transactions, mutex locking, or cancel-on-resubmit controls |
|
|
179
|
+
| **Invalid Schema / Malformed Payload** | Downstream runtime errors or security injection | Validate boundary payloads with Zod/Pydantic schemas prior to execution |
|
|
180
|
+
| **Resource / Memory Saturation** | OOM errors, frame drops, or memory leaks | Clean up listeners, cancel active timers, and enforce pagination/virtualization |
|
|
182
181
|
|
|
183
182
|
---
|
|
184
183
|
|
|
185
184
|
## 🤖 LLM-Specific Traps Table
|
|
186
185
|
|
|
187
|
-
| Anti-Pattern
|
|
188
|
-
|
|
189
|
-
| **Hallucinated Tool Capabilities** | Assuming an external library or CLI command exists without verification
|
|
190
|
-
| **Premature Completion Claim**
|
|
191
|
-
| **Context Bloat Dumping**
|
|
186
|
+
| Anti-Pattern | What AI Commonly Does Wrong | What Is Actually Correct |
|
|
187
|
+
| :--------------------------------- | :------------------------------------------------------------------------ | :----------------------------------------------------------------------- |
|
|
188
|
+
| **Hallucinated Tool Capabilities** | Assuming an external library or CLI command exists without verification | Run a verification check or verify package.json before referencing tools |
|
|
189
|
+
| **Premature Completion Claim** | Declaring a task finished because code was generated without verification | Execute tests, linters, or terminal commands to provide concrete proof |
|
|
190
|
+
| **Context Bloat Dumping** | Pasting entire multi-thousand-line files into prompt context | Extract targeted excerpts, symbols, and signatures to preserve tokens |
|
|
192
191
|
|
|
193
192
|
---
|
|
194
193
|
|
|
@@ -210,5 +209,6 @@ If a page shouldn't be indexed (e.g., dynamic search result matrices, user profi
|
|
|
210
209
|
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
211
210
|
|
|
212
211
|
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
212
|
+
|
|
213
213
|
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
214
214
|
- ✅ **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.
|
|
@@ -34,14 +34,14 @@ Before generating, refactoring, or reviewing code in the `server-management` dom
|
|
|
34
34
|
|
|
35
35
|
Execute all non-trivial tasks through this 7-pass cognitive loop:
|
|
36
36
|
|
|
37
|
-
| Pass
|
|
38
|
-
|
|
39
|
-
| **Pass 1** | **Understand**
|
|
40
|
-
| **Pass 2** | **Plan**
|
|
41
|
-
| **Pass 3** | **Execute**
|
|
42
|
-
| **Pass 4** | **Verify**
|
|
43
|
-
| **Pass 5** | **Attack**
|
|
44
|
-
| **Pass 6** | **Improve**
|
|
37
|
+
| Pass | Phase | Core Action |
|
|
38
|
+
| :--------- | :--------------- | :------------------------------------------------------------------------------------------- |
|
|
39
|
+
| **Pass 1** | **Understand** | Deconstruct the user's explicit objective, implicit requirements, and platform constraints. |
|
|
40
|
+
| **Pass 2** | **Plan** | Decompose the task into smallest logical steps; map dependencies and required tool calls. |
|
|
41
|
+
| **Pass 3** | **Execute** | Implement the solution with production-grade craft, zero placeholders, and strict typing. |
|
|
42
|
+
| **Pass 4** | **Verify** | Run linters, unit tests, or compiler checks to validate structural correctness. |
|
|
43
|
+
| **Pass 5** | **Attack** | Perform an adversarial review searching for edge-case failures, race conditions, and traps. |
|
|
44
|
+
| **Pass 6** | **Improve** | Eliminate discovered friction, optimize performance, and harden error boundaries. |
|
|
45
45
|
| **Pass 7** | **Quality Gate** | Enforce Verification-Before-Completion (VBC) with concrete terminal proof before finalizing. |
|
|
46
46
|
|
|
47
47
|
---
|
|
@@ -50,7 +50,6 @@ Execute all non-trivial tasks through this 7-pass cognitive loop:
|
|
|
50
50
|
|
|
51
51
|
---
|
|
52
52
|
|
|
53
|
-
|
|
54
53
|
## Hallucination Traps (Read First)
|
|
55
54
|
|
|
56
55
|
- ❌ Running services as root -> ✅ Create a dedicated service user with minimal permissions; never run as root
|
|
@@ -211,23 +210,23 @@ A server will inevitably crash when `/var/log` consumes 100% of the disk.
|
|
|
211
210
|
|
|
212
211
|
## 🚨 Edge-Case & Failure Mode Matrix
|
|
213
212
|
|
|
214
|
-
| Scenario
|
|
215
|
-
|
|
216
|
-
| **Empty or Null Inputs**
|
|
217
|
-
| **Network Timeout / Latency**
|
|
218
|
-
| **Concurrency / Race Conditions**
|
|
219
|
-
| **Invalid Schema / Malformed Payload** | Downstream runtime errors or security injection
|
|
220
|
-
| **Resource / Memory Saturation**
|
|
213
|
+
| Scenario | Risk | Mitigation Strategy |
|
|
214
|
+
| :------------------------------------- | :--------------------------------------------------- | :------------------------------------------------------------------------------ |
|
|
215
|
+
| **Empty or Null Inputs** | Unhandled exception or unexpected rendering collapse | Enforce fallback guards, optional chaining, and explicit empty state handlers |
|
|
216
|
+
| **Network Timeout / Latency** | Hanging operations or duplicate side-effects | Implement bounded abort controllers, exponential backoff, and idempotency keys |
|
|
217
|
+
| **Concurrency / Race Conditions** | Stale state overwrite or inconsistent data mutations | Use atomic transactions, mutex locking, or cancel-on-resubmit controls |
|
|
218
|
+
| **Invalid Schema / Malformed Payload** | Downstream runtime errors or security injection | Validate boundary payloads with Zod/Pydantic schemas prior to execution |
|
|
219
|
+
| **Resource / Memory Saturation** | OOM errors, frame drops, or memory leaks | Clean up listeners, cancel active timers, and enforce pagination/virtualization |
|
|
221
220
|
|
|
222
221
|
---
|
|
223
222
|
|
|
224
223
|
## 🤖 LLM-Specific Traps Table
|
|
225
224
|
|
|
226
|
-
| Anti-Pattern
|
|
227
|
-
|
|
228
|
-
| **Silent Pipeline Failure**
|
|
225
|
+
| Anti-Pattern | What AI Commonly Does Wrong | What Is Actually Correct |
|
|
226
|
+
| :---------------------------- | :---------------------------------------------------------------- | :------------------------------------------------------------------------------- |
|
|
227
|
+
| **Silent Pipeline Failure** | Executing shell steps without set -euo pipefail, ignoring errors | Always initialize shell scripts with set -euo pipefail and trap handlers |
|
|
229
228
|
| **Unpinned Dependency Shift** | Installing packages with npm install or using :latest docker tags | Lock dependencies with npm ci / lockfiles and use immutable SHA256 image digests |
|
|
230
|
-
| **Leaking Build Secrets**
|
|
229
|
+
| **Leaking Build Secrets** | Passing secrets as Docker build arguments baked into image layers | Use Docker BuildKit secret mounts (--mount=type=secret) or runtime injection |
|
|
231
230
|
|
|
232
231
|
---
|
|
233
232
|
|
|
@@ -249,5 +248,6 @@ A server will inevitably crash when `/var/log` consumes 100% of the disk.
|
|
|
249
248
|
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
250
249
|
|
|
251
250
|
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
251
|
+
|
|
252
252
|
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
253
253
|
- ✅ **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.
|
|
@@ -34,14 +34,14 @@ Before generating, refactoring, or reviewing code in the `shadcn-ui-expert` doma
|
|
|
34
34
|
|
|
35
35
|
Execute all non-trivial tasks through this 7-pass cognitive loop:
|
|
36
36
|
|
|
37
|
-
| Pass
|
|
38
|
-
|
|
39
|
-
| **Pass 1** | **Understand**
|
|
40
|
-
| **Pass 2** | **Plan**
|
|
41
|
-
| **Pass 3** | **Execute**
|
|
42
|
-
| **Pass 4** | **Verify**
|
|
43
|
-
| **Pass 5** | **Attack**
|
|
44
|
-
| **Pass 6** | **Improve**
|
|
37
|
+
| Pass | Phase | Core Action |
|
|
38
|
+
| :--------- | :--------------- | :------------------------------------------------------------------------------------------- |
|
|
39
|
+
| **Pass 1** | **Understand** | Deconstruct the user's explicit objective, implicit requirements, and platform constraints. |
|
|
40
|
+
| **Pass 2** | **Plan** | Decompose the task into smallest logical steps; map dependencies and required tool calls. |
|
|
41
|
+
| **Pass 3** | **Execute** | Implement the solution with production-grade craft, zero placeholders, and strict typing. |
|
|
42
|
+
| **Pass 4** | **Verify** | Run linters, unit tests, or compiler checks to validate structural correctness. |
|
|
43
|
+
| **Pass 5** | **Attack** | Perform an adversarial review searching for edge-case failures, race conditions, and traps. |
|
|
44
|
+
| **Pass 6** | **Improve** | Eliminate discovered friction, optimize performance, and harden error boundaries. |
|
|
45
45
|
| **Pass 7** | **Quality Gate** | Enforce Verification-Before-Completion (VBC) with concrete terminal proof before finalizing. |
|
|
46
46
|
|
|
47
47
|
---
|
|
@@ -50,7 +50,6 @@ Execute all non-trivial tasks through this 7-pass cognitive loop:
|
|
|
50
50
|
|
|
51
51
|
---
|
|
52
52
|
|
|
53
|
-
|
|
54
53
|
## Hallucination Traps (Read First)
|
|
55
54
|
|
|
56
55
|
- ❌ `import { Button } from 'shadcn-ui'` -> ✅ shadcn/ui is NOT a package; components are copied into YOUR project. Import from `@/components/ui/button`
|
|
@@ -229,23 +228,23 @@ export default async function Page() {
|
|
|
229
228
|
|
|
230
229
|
## 🚨 Edge-Case & Failure Mode Matrix
|
|
231
230
|
|
|
232
|
-
| Scenario
|
|
233
|
-
|
|
234
|
-
| **Empty or Null Inputs**
|
|
235
|
-
| **Network Timeout / Latency**
|
|
236
|
-
| **Concurrency / Race Conditions**
|
|
237
|
-
| **Invalid Schema / Malformed Payload** | Downstream runtime errors or security injection
|
|
238
|
-
| **Resource / Memory Saturation**
|
|
231
|
+
| Scenario | Risk | Mitigation Strategy |
|
|
232
|
+
| :------------------------------------- | :--------------------------------------------------- | :------------------------------------------------------------------------------ |
|
|
233
|
+
| **Empty or Null Inputs** | Unhandled exception or unexpected rendering collapse | Enforce fallback guards, optional chaining, and explicit empty state handlers |
|
|
234
|
+
| **Network Timeout / Latency** | Hanging operations or duplicate side-effects | Implement bounded abort controllers, exponential backoff, and idempotency keys |
|
|
235
|
+
| **Concurrency / Race Conditions** | Stale state overwrite or inconsistent data mutations | Use atomic transactions, mutex locking, or cancel-on-resubmit controls |
|
|
236
|
+
| **Invalid Schema / Malformed Payload** | Downstream runtime errors or security injection | Validate boundary payloads with Zod/Pydantic schemas prior to execution |
|
|
237
|
+
| **Resource / Memory Saturation** | OOM errors, frame drops, or memory leaks | Clean up listeners, cancel active timers, and enforce pagination/virtualization |
|
|
239
238
|
|
|
240
239
|
---
|
|
241
240
|
|
|
242
241
|
## 🤖 LLM-Specific Traps Table
|
|
243
242
|
|
|
244
|
-
| Anti-Pattern
|
|
245
|
-
|
|
246
|
-
| **Uncontrolled Re-render Loop** | Mutating state inside render bodies or omitting hook dependencies
|
|
247
|
-
| **Accessibility Neglect**
|
|
248
|
-
| **Layout Shift Flash**
|
|
243
|
+
| Anti-Pattern | What AI Commonly Does Wrong | What Is Actually Correct |
|
|
244
|
+
| :------------------------------ | :----------------------------------------------------------------- | :---------------------------------------------------------------------------- |
|
|
245
|
+
| **Uncontrolled Re-render Loop** | Mutating state inside render bodies or omitting hook dependencies | Wrap effects with explicit deps and isolate reactive derivations in useMemo |
|
|
246
|
+
| **Accessibility Neglect** | Interactive <div> without role="button", tabIndex, or onKeyDown | Use semantic <button> or provide ARIA role, keyboard handlers, and focus ring |
|
|
247
|
+
| **Layout Shift Flash** | Images/dynamic content without aspect-ratio or explicit dimensions | Enforce aspect-ratio or skeleton placeholders to guarantee zero CLS |
|
|
249
248
|
|
|
250
249
|
---
|
|
251
250
|
|
|
@@ -267,5 +266,6 @@ export default async function Page() {
|
|
|
267
266
|
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
268
267
|
|
|
269
268
|
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
269
|
+
|
|
270
270
|
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
271
271
|
- ✅ **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.
|
package/skills/shape/SKILL.md
CHANGED
|
@@ -35,14 +35,14 @@ Before generating, refactoring, or reviewing code in the `shape` domain, inspect
|
|
|
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
|
---
|
|
@@ -51,7 +51,6 @@ Execute all non-trivial tasks through this 7-pass cognitive loop:
|
|
|
51
51
|
|
|
52
52
|
---
|
|
53
53
|
|
|
54
|
-
|
|
55
54
|
---
|
|
56
55
|
|
|
57
56
|
## The 3-Step Shaping Workflow
|
|
@@ -89,23 +88,23 @@ Summarize the screen contract in a concise visual outline before coding:
|
|
|
89
88
|
|
|
90
89
|
## 🚨 Edge-Case & Failure Mode Matrix
|
|
91
90
|
|
|
92
|
-
| Scenario
|
|
93
|
-
|
|
94
|
-
| **Empty or Null Inputs**
|
|
95
|
-
| **Network Timeout / Latency**
|
|
96
|
-
| **Concurrency / Race Conditions**
|
|
97
|
-
| **Invalid Schema / Malformed Payload** | Downstream runtime errors or security injection
|
|
98
|
-
| **Resource / Memory Saturation**
|
|
91
|
+
| Scenario | Risk | Mitigation Strategy |
|
|
92
|
+
| :------------------------------------- | :--------------------------------------------------- | :------------------------------------------------------------------------------ |
|
|
93
|
+
| **Empty or Null Inputs** | Unhandled exception or unexpected rendering collapse | Enforce fallback guards, optional chaining, and explicit empty state handlers |
|
|
94
|
+
| **Network Timeout / Latency** | Hanging operations or duplicate side-effects | Implement bounded abort controllers, exponential backoff, and idempotency keys |
|
|
95
|
+
| **Concurrency / Race Conditions** | Stale state overwrite or inconsistent data mutations | Use atomic transactions, mutex locking, or cancel-on-resubmit controls |
|
|
96
|
+
| **Invalid Schema / Malformed Payload** | Downstream runtime errors or security injection | Validate boundary payloads with Zod/Pydantic schemas prior to execution |
|
|
97
|
+
| **Resource / Memory Saturation** | OOM errors, frame drops, or memory leaks | Clean up listeners, cancel active timers, and enforce pagination/virtualization |
|
|
99
98
|
|
|
100
99
|
---
|
|
101
100
|
|
|
102
101
|
## 🤖 LLM-Specific Traps Table
|
|
103
102
|
|
|
104
|
-
| Anti-Pattern
|
|
105
|
-
|
|
106
|
-
| **Uncontrolled Re-render Loop** | Mutating state inside render bodies or omitting hook dependencies
|
|
107
|
-
| **Accessibility Neglect**
|
|
108
|
-
| **Layout Shift Flash**
|
|
103
|
+
| Anti-Pattern | What AI Commonly Does Wrong | What Is Actually Correct |
|
|
104
|
+
| :------------------------------ | :----------------------------------------------------------------- | :---------------------------------------------------------------------------- |
|
|
105
|
+
| **Uncontrolled Re-render Loop** | Mutating state inside render bodies or omitting hook dependencies | Wrap effects with explicit deps and isolate reactive derivations in useMemo |
|
|
106
|
+
| **Accessibility Neglect** | Interactive <div> without role="button", tabIndex, or onKeyDown | Use semantic <button> or provide ARIA role, keyboard handlers, and focus ring |
|
|
107
|
+
| **Layout Shift Flash** | Images/dynamic content without aspect-ratio or explicit dimensions | Enforce aspect-ratio or skeleton placeholders to guarantee zero CLS |
|
|
109
108
|
|
|
110
109
|
---
|
|
111
110
|
|
|
@@ -127,5 +126,6 @@ Summarize the screen contract in a concise visual outline before coding:
|
|
|
127
126
|
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
128
127
|
|
|
129
128
|
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
129
|
+
|
|
130
130
|
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
131
131
|
- ✅ **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.
|
|
@@ -35,14 +35,14 @@ Before generating, refactoring, or reviewing code in the `skill-creator` domain,
|
|
|
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
|
---
|
|
@@ -51,12 +51,12 @@ Execute all non-trivial tasks through this 7-pass cognitive loop:
|
|
|
51
51
|
|
|
52
52
|
---
|
|
53
53
|
|
|
54
|
-
|
|
55
54
|
## The V4 Hybrid Skill Specification
|
|
56
55
|
|
|
57
56
|
Every newly authored `SKILL.md` must strictly adhere to this 6-part structure:
|
|
58
57
|
|
|
59
58
|
### 1. YAML Frontmatter
|
|
59
|
+
|
|
60
60
|
```yaml
|
|
61
61
|
---
|
|
62
62
|
name: [skill-name]
|
|
@@ -74,43 +74,49 @@ scripts-binding:
|
|
|
74
74
|
```
|
|
75
75
|
|
|
76
76
|
### 2. Mandatory Pre-Flight Context Inspection
|
|
77
|
+
|
|
77
78
|
Provide 3-4 numbered, actionable checkpoints requiring inspection of target config files (`package.json`, `tsconfig.json`, `pyproject.toml`) or architectural invariants before code generation.
|
|
78
79
|
|
|
79
80
|
### 3. Activation Boundaries
|
|
81
|
+
|
|
80
82
|
Explicitly define:
|
|
83
|
+
|
|
81
84
|
- `- **Activate when:** [Exact stack, problem type, or file pattern]`
|
|
82
85
|
- `- **DO NOT activate when:** [Out-of-scope scenarios; specify which specialist/skill to defer to]`
|
|
83
86
|
|
|
84
87
|
### 4. 2026 Performance & Logic Invariants
|
|
88
|
+
|
|
85
89
|
Provide 3-5 hard technical invariants for the domain (e.g., O(1) lookups, streaming backpressure, React 19 direct ref, Python 3.12 PEP 695 generics, zero `.unwrap()` in Rust).
|
|
86
90
|
|
|
87
91
|
### 5. Hallucination Trap Table (Read First)
|
|
92
|
+
|
|
88
93
|
Provide concrete `❌ BAD (Deprecated / Inefficient)` vs `✅ GOOD (2026 Standard)` patterns. Never use abstract advice.
|
|
89
94
|
|
|
90
95
|
### 6. Actionable Implementation Rules & Code Blocks
|
|
96
|
+
|
|
91
97
|
Provide copy-paste ready, production-grade code snippets showcasing idiomatic modern patterns.
|
|
92
98
|
|
|
93
99
|
---
|
|
94
100
|
|
|
95
101
|
## 🚨 Edge-Case & Failure Mode Matrix
|
|
96
102
|
|
|
97
|
-
| Scenario
|
|
98
|
-
|
|
99
|
-
| **Empty or Null Inputs**
|
|
100
|
-
| **Network Timeout / Latency**
|
|
101
|
-
| **Concurrency / Race Conditions**
|
|
102
|
-
| **Invalid Schema / Malformed Payload** | Downstream runtime errors or security injection
|
|
103
|
-
| **Resource / Memory Saturation**
|
|
103
|
+
| Scenario | Risk | Mitigation Strategy |
|
|
104
|
+
| :------------------------------------- | :--------------------------------------------------- | :------------------------------------------------------------------------------ |
|
|
105
|
+
| **Empty or Null Inputs** | Unhandled exception or unexpected rendering collapse | Enforce fallback guards, optional chaining, and explicit empty state handlers |
|
|
106
|
+
| **Network Timeout / Latency** | Hanging operations or duplicate side-effects | Implement bounded abort controllers, exponential backoff, and idempotency keys |
|
|
107
|
+
| **Concurrency / Race Conditions** | Stale state overwrite or inconsistent data mutations | Use atomic transactions, mutex locking, or cancel-on-resubmit controls |
|
|
108
|
+
| **Invalid Schema / Malformed Payload** | Downstream runtime errors or security injection | Validate boundary payloads with Zod/Pydantic schemas prior to execution |
|
|
109
|
+
| **Resource / Memory Saturation** | OOM errors, frame drops, or memory leaks | Clean up listeners, cancel active timers, and enforce pagination/virtualization |
|
|
104
110
|
|
|
105
111
|
---
|
|
106
112
|
|
|
107
113
|
## 🤖 LLM-Specific Traps Table
|
|
108
114
|
|
|
109
|
-
| Anti-Pattern
|
|
110
|
-
|
|
111
|
-
| **Hallucinated Tool Capabilities** | Assuming an external library or CLI command exists without verification
|
|
112
|
-
| **Premature Completion Claim**
|
|
113
|
-
| **Context Bloat Dumping**
|
|
115
|
+
| Anti-Pattern | What AI Commonly Does Wrong | What Is Actually Correct |
|
|
116
|
+
| :--------------------------------- | :------------------------------------------------------------------------ | :----------------------------------------------------------------------- |
|
|
117
|
+
| **Hallucinated Tool Capabilities** | Assuming an external library or CLI command exists without verification | Run a verification check or verify package.json before referencing tools |
|
|
118
|
+
| **Premature Completion Claim** | Declaring a task finished because code was generated without verification | Execute tests, linters, or terminal commands to provide concrete proof |
|
|
119
|
+
| **Context Bloat Dumping** | Pasting entire multi-thousand-line files into prompt context | Extract targeted excerpts, symbols, and signatures to preserve tokens |
|
|
114
120
|
|
|
115
121
|
---
|
|
116
122
|
|
|
@@ -132,5 +138,6 @@ Provide copy-paste ready, production-grade code snippets showcasing idiomatic mo
|
|
|
132
138
|
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
133
139
|
|
|
134
140
|
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
141
|
+
|
|
135
142
|
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
136
143
|
- ✅ **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.
|