tribunal-kit 9.0.2 → 9.2.3
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 +44 -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/config/claude.json +1 -1
- package/.agent/config/plugin.json +1 -1
- package/.agent/history/architecture-explorer.html +352 -0
- package/.agent/history/architecture-graph.yaml +181 -1
- package/.agent/history/graph-cache.json +323 -13
- package/.agent/history/integrity_manifest.json +3937 -299
- package/.agent/history/memory/.memory.idx +50 -50
- package/.agent/history/snapshots/.opencode__plugins__tribunal.js.json +12 -0
- package/.agent/history/snapshots/.pi__extensions__tribunal.ts.json +12 -0
- package/.agent/history/snapshots/bin__adapter-install.js.json +1 -1
- package/.agent/history/snapshots/bin__mcp-server.js.json +4 -2
- package/.agent/history/snapshots/bin__proxy-server.js.json +1 -1
- package/.agent/history/snapshots/bin__spawn-agent.js.json +1 -1
- package/.agent/history/snapshots/bin__wrapper.js.json +1 -1
- package/.agent/history/snapshots/eslint.config.js.json +1 -1
- package/.agent/history/snapshots/hooks__session-start.js.json +11 -0
- package/.agent/history/snapshots/scripts__apply-version.js.json +11 -0
- package/.agent/history/snapshots/scripts__audit_skill_sdo.js.json +11 -0
- package/.agent/history/snapshots/scripts__clean-pycache.js.json +11 -0
- package/.agent/history/snapshots/scripts__context_compiler.js.json +17 -0
- package/.agent/history/snapshots/scripts__modernize_skills.js.json +11 -0
- package/.agent/history/snapshots/scripts__package-cores.js.json +12 -0
- package/.agent/history/snapshots/scripts__skill_enhancement_engine.js.json +11 -0
- package/.agent/history/snapshots/scripts__sync-skills.js.json +11 -0
- package/.agent/history/snapshots/scripts__telemetry_gc.js.json +11 -0
- package/.agent/history/snapshots/scripts__validate-payload.js.json +1 -1
- package/.agent/history/snapshots/test__integration__browser_cli.test.js.json +12 -0
- package/.agent/history/snapshots/test__integration__sync_status.test.js.json +1 -1
- package/.agent/history/snapshots/test__unit__ast_context_loader.test.js.json +12 -0
- package/.agent/history/snapshots/test__unit__browser_case_bridge.test.js.json +11 -0
- package/.agent/history/snapshots/test__unit__browser_discovery.test.js.json +10 -0
- package/.agent/history/snapshots/test__unit__browser_idpi.test.js.json +10 -0
- package/.agent/history/snapshots/test__unit__browser_sentinel.test.js.json +11 -0
- package/.agent/history/snapshots/test__unit__browser_synapse.test.js.json +10 -0
- package/.agent/history/snapshots/test__unit__browser_trimmer.test.js.json +10 -0
- package/.agent/history/snapshots/test__unit__context_compiler.test.js.json +26 -0
- package/.agent/history/snapshots/test__unit__init.test.js.json +1 -1
- package/.agent/history/snapshots/test__unit__learn.test.js.json +1 -1
- package/.agent/history/snapshots/test__unit__mcp_server.test.js.json +1 -1
- package/.agent/history/snapshots/test__unit__platform_download_audit.test.js.json +11 -0
- package/.agent/history/snapshots/test__unit__prompt_compiler.test.js.json +10 -0
- package/.agent/history/snapshots/test__unit__sdd_integration.test.js.json +12 -0
- package/.agent/history/snapshots/test__unit__stress.test.js.json +1 -1
- package/.agent/history/snapshots/test__unit__token_budget_broker.test.js.json +10 -0
- package/.agent/history/snapshots/test__unit__tui.test.js.json +10 -0
- package/.agent/routing_index.json +266 -1531
- package/.agent/rules/kernel.md +86 -0
- package/.agent/scripts/_utils.js +78 -0
- package/.agent/scripts/browser_audit.js +13 -5
- package/.agent/scripts/bundle_analyzer.js +7 -3
- package/.agent/scripts/context_broker.js +0 -8
- package/.agent/scripts/context_compiler.js +1106 -3
- package/.agent/scripts/dependency_analyzer.js +16 -16
- package/.agent/scripts/guardrail_engine.js +48 -11
- package/.agent/scripts/inner_loop_validator.js +1 -1
- package/.agent/scripts/memory_engine.js +490 -329
- package/.agent/scripts/payload_schemas.js +18 -0
- package/.agent/scripts/pipeline_engine.js +29 -105
- package/.agent/scripts/schema_validator.js +2 -1
- package/.agent/scripts/swarm_dispatcher.js +148 -46
- package/.agent/scripts/test_runner.js +1 -2
- package/.agent/skill_topic_map.json +71 -22
- package/.agent/skills/12-principles-of-animation/SKILL.md +1 -76
- package/.agent/skills/60fps-animation/SKILL.md +4 -77
- package/.agent/skills/accessible-animation/SKILL.md +9 -86
- package/.agent/skills/adapt/SKILL.md +1 -76
- package/.agent/skills/advanced-rag-pipelines/SKILL.md +1 -76
- package/.agent/skills/agent-organizer/SKILL.md +1 -76
- package/.agent/skills/agentic-patterns/SKILL.md +1 -76
- package/.agent/skills/agentic-workflows-2026/SKILL.md +1 -75
- package/.agent/skills/ai-app-hardening/SKILL.md +1 -75
- package/.agent/skills/ai-prompt-injection-defense/SKILL.md +1 -76
- package/.agent/skills/animation-on-scroll/SKILL.md +16 -87
- package/.agent/skills/animation-systems/SKILL.md +15 -90
- package/.agent/skills/antfu-conventions/SKILL.md +0 -75
- package/.agent/skills/api-patterns/SKILL.md +1 -76
- package/.agent/skills/api-security-auditor/SKILL.md +1 -76
- package/.agent/skills/app-builder/SKILL.md +1 -76
- package/.agent/skills/appflow-wireframe/SKILL.md +1 -78
- package/.agent/skills/apple-design/SKILL.md +1 -76
- package/.agent/skills/architecture/SKILL.md +1 -76
- package/.agent/skills/audit-and-fix/SKILL.md +41 -77
- package/.agent/skills/authentication-best-practices/SKILL.md +1 -76
- package/.agent/skills/backend-security-expert/SKILL.md +1 -76
- package/.agent/skills/baseline-ui/SKILL.md +1 -76
- package/.agent/skills/bash-linux/SKILL.md +1 -76
- package/.agent/skills/behavioral-modes/SKILL.md +1 -76
- package/.agent/skills/better-colors/SKILL.md +1 -76
- package/.agent/skills/better-typography/SKILL.md +1 -75
- package/.agent/skills/better-ui/SKILL.md +18 -81
- package/.agent/skills/bolder/SKILL.md +1 -76
- package/.agent/skills/brainstorming/SKILL.md +1 -75
- package/.agent/skills/browser-audit/SKILL.md +15 -83
- package/.agent/skills/browser-native-ai/SKILL.md +1 -76
- package/.agent/skills/build-primitive/SKILL.md +1 -76
- package/.agent/skills/building-native-ui/SKILL.md +1 -76
- package/.agent/skills/cicd-pro/SKILL.md +1 -76
- package/.agent/skills/clarify/SKILL.md +1 -76
- package/.agent/skills/clean-code/SKILL.md +1 -76
- package/.agent/skills/cloud-architect/SKILL.md +1 -76
- package/.agent/skills/cobejs/SKILL.md +1 -76
- package/.agent/skills/code-review-checklist/SKILL.md +1 -76
- package/.agent/skills/codebase-design/SKILL.md +1 -76
- package/.agent/skills/colorize/SKILL.md +1 -76
- package/.agent/skills/compact-landing/SKILL.md +1 -76
- package/.agent/skills/company-logos/SKILL.md +1 -76
- package/.agent/skills/config-validator/SKILL.md +1 -76
- package/.agent/skills/containerization-pro/SKILL.md +1 -76
- package/.agent/skills/context-engineering-pro/SKILL.md +1 -75
- package/.agent/skills/create-design-md/SKILL.md +1 -76
- package/.agent/skills/critique/SKILL.md +1 -76
- package/.agent/skills/csharp-developer/SKILL.md +1 -76
- package/.agent/skills/data-validation-schemas/SKILL.md +1 -76
- package/.agent/skills/database-design/SKILL.md +1 -76
- package/.agent/skills/delight/SKILL.md +1 -76
- package/.agent/skills/deployment-procedures/SKILL.md +1 -76
- package/.agent/skills/design-lab/SKILL.md +0 -75
- package/.agent/skills/devops-engineer/SKILL.md +1 -76
- package/.agent/skills/devops-incident-responder/SKILL.md +1 -76
- package/.agent/skills/diagnosing-bugs/SKILL.md +0 -75
- package/.agent/skills/distill/SKILL.md +1 -76
- package/.agent/skills/documentation-templates/SKILL.md +1 -76
- package/.agent/skills/domain-modeling/SKILL.md +1 -76
- package/.agent/skills/duckdb-analytical-sql/SKILL.md +1 -75
- package/.agent/skills/edge-ai-mobile/SKILL.md +1 -75
- package/.agent/skills/edge-computing/SKILL.md +1 -76
- package/.agent/skills/emil-design-eng/SKILL.md +1 -76
- package/.agent/skills/error-resilience/SKILL.md +1 -76
- package/.agent/skills/expo-router-v4/SKILL.md +1 -75
- package/.agent/skills/extract-design-system/SKILL.md +1 -76
- package/.agent/skills/fabel-protocol/SKILL.md +1 -76
- package/.agent/skills/fixing-accessibility/SKILL.md +1 -76
- package/.agent/skills/fixing-metadata/SKILL.md +1 -76
- package/.agent/skills/fixing-motion-performance/SKILL.md +1 -76
- package/.agent/skills/framer-motion-expert/SKILL.md +1 -76
- package/.agent/skills/frontend-design/SKILL.md +1 -76
- package/.agent/skills/frontend-security-expert/SKILL.md +1 -76
- package/.agent/skills/game-design-expert/SKILL.md +1 -76
- package/.agent/skills/game-engineering-expert/SKILL.md +1 -76
- package/.agent/skills/generative-ui-expert/SKILL.md +1 -76
- package/.agent/skills/geo-fundamentals/SKILL.md +1 -76
- package/.agent/skills/git-pro/SKILL.md +1 -76
- package/.agent/skills/github-operations/SKILL.md +1 -76
- package/.agent/skills/gpt-taste/SKILL.md +1 -76
- package/.agent/skills/gsap-core/SKILL.md +1 -76
- package/.agent/skills/gsap-frameworks/SKILL.md +1 -76
- package/.agent/skills/gsap-performance/SKILL.md +1 -76
- package/.agent/skills/gsap-plugins/SKILL.md +1 -76
- package/.agent/skills/gsap-react/SKILL.md +1 -76
- package/.agent/skills/gsap-scrolltrigger/SKILL.md +1 -76
- package/.agent/skills/gsap-timeline/SKILL.md +1 -76
- package/.agent/skills/gsap-utils/SKILL.md +1 -76
- package/.agent/skills/harden/SKILL.md +1 -76
- package/.agent/skills/harness-protocol/SKILL.md +1 -76
- package/.agent/skills/i18n-localization/SKILL.md +1 -76
- package/.agent/skills/impeccable/SKILL.md +1 -76
- package/.agent/skills/improve-codebase-architecture/SKILL.md +1 -76
- package/.agent/skills/improve-ui/SKILL.md +1 -76
- package/.agent/skills/intelligent-routing/SKILL.md +2 -87
- package/.agent/skills/knowledge-graph/SKILL.md +1 -76
- package/.agent/skills/landing-page/SKILL.md +1 -76
- package/.agent/skills/lint-and-validate/SKILL.md +1 -76
- package/.agent/skills/llm-engineering/SKILL.md +1 -76
- package/.agent/skills/local-first/SKILL.md +1 -76
- package/.agent/skills/local-first-architecture/SKILL.md +1 -76
- package/.agent/skills/lottie-animation/SKILL.md +1 -76
- package/.agent/skills/marquee-loop/SKILL.md +1 -76
- package/.agent/skills/masked-reveal/SKILL.md +1 -76
- package/.agent/skills/mcp-builder/SKILL.md +1 -76
- package/.agent/skills/micro-interaction/SKILL.md +19 -87
- package/.agent/skills/mobile-design/SKILL.md +1 -76
- package/.agent/skills/monorepo-management/SKILL.md +1 -76
- package/.agent/skills/morphing-icons/SKILL.md +1 -76
- package/.agent/skills/motion-engineering/SKILL.md +1 -76
- package/.agent/skills/nextjs-react-expert/SKILL.md +1 -76
- package/.agent/skills/nodejs-best-practices/SKILL.md +1 -76
- package/.agent/skills/observability/SKILL.md +1 -76
- package/.agent/skills/opentelemetry-observability/SKILL.md +1 -75
- package/.agent/skills/page-transition-animation/SKILL.md +1 -76
- package/.agent/skills/parallel-agents/SKILL.md +1 -76
- package/.agent/skills/performance-profiling/SKILL.md +1 -76
- package/.agent/skills/plan-writing/SKILL.md +1 -76
- package/.agent/skills/platform-engineer/SKILL.md +1 -76
- package/.agent/skills/platform-engineering-opentofu/SKILL.md +1 -75
- package/.agent/skills/playwright-ai-e2e/SKILL.md +1 -75
- package/.agent/skills/playwright-best-practices/SKILL.md +1 -76
- package/.agent/skills/polish/SKILL.md +1 -76
- package/.agent/skills/powershell-windows/SKILL.md +1 -76
- package/.agent/skills/pricing-page/SKILL.md +1 -76
- package/.agent/skills/product-aware-heuristics/SKILL.md +1 -76
- package/.agent/skills/progressive-blur/SKILL.md +1 -76
- package/.agent/skills/project-idioms/SKILL.md +1 -76
- package/.agent/skills/property-based-testing/SKILL.md +1 -75
- package/.agent/skills/python-patterns/SKILL.md +1 -76
- package/.agent/skills/python-pro/SKILL.md +1 -76
- package/.agent/skills/quieter/SKILL.md +1 -76
- package/.agent/skills/react-doctor/SKILL.md +1 -76
- package/.agent/skills/react-specialist/SKILL.md +1 -76
- package/.agent/skills/readme-builder/SKILL.md +1 -76
- package/.agent/skills/realtime-patterns/SKILL.md +1 -76
- package/.agent/skills/red-team-tactics/SKILL.md +1 -76
- package/.agent/skills/redesign-skill/SKILL.md +1 -76
- package/.agent/skills/review-animations/SKILL.md +1 -76
- package/.agent/skills/rust-pro/SKILL.md +1 -76
- package/.agent/skills/seo-fundamentals/SKILL.md +1 -76
- package/.agent/skills/server-management/SKILL.md +1 -76
- package/.agent/skills/shadcn-ui-expert/SKILL.md +1 -76
- package/.agent/skills/shape/SKILL.md +1 -76
- package/.agent/skills/skill-creator/SKILL.md +127 -86
- package/.agent/skills/soft-skill/SKILL.md +1 -76
- package/.agent/skills/sounds-on-the-web/SKILL.md +1 -76
- package/.agent/skills/sql-pro/SKILL.md +1 -76
- package/.agent/skills/supabase-postgres-best-practices/SKILL.md +1 -76
- package/.agent/skills/svg-animation/SKILL.md +1 -76
- package/.agent/skills/swiftui-expert/SKILL.md +1 -76
- package/.agent/skills/swiss-design/SKILL.md +1 -76
- package/.agent/skills/system-design-pro/SKILL.md +1 -76
- package/.agent/skills/systematic-debugging/SKILL.md +2 -76
- 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 +1 -76
- package/.agent/skills/taste-skill/SKILL.md +1 -76
- package/.agent/skills/tdd-workflow/SKILL.md +8 -82
- package/.agent/skills/test-result-analyzer/SKILL.md +1 -76
- package/.agent/skills/testing-patterns/SKILL.md +1 -76
- package/.agent/skills/thermo-nuclear-code-quality-review/SKILL.md +1 -76
- package/.agent/skills/thinking-protocol/SKILL.md +1 -77
- package/.agent/skills/to-spring-or-not-to-spring/SKILL.md +1 -76
- package/.agent/skills/transitions-dev/SKILL.md +1 -76
- package/.agent/skills/trend-researcher/SKILL.md +1 -76
- package/.agent/skills/typescript-advanced/SKILL.md +1 -76
- package/.agent/skills/typeset/SKILL.md +1 -76
- package/.agent/skills/ui-reasoning-engine/SKILL.md +1 -76
- package/.agent/skills/ui-skill-packs/SKILL.md +1 -76
- package/.agent/skills/ui-skills-root/SKILL.md +1 -76
- package/.agent/skills/ui-ux-pro-max/SKILL.md +1 -76
- package/.agent/skills/ui-ux-researcher/SKILL.md +1 -76
- package/.agent/skills/vector-search-pgvector/SKILL.md +1 -75
- package/.agent/skills/verification-before-completion/SKILL.md +20 -91
- package/.agent/skills/vue-expert/SKILL.md +1 -76
- package/.agent/skills/vulnerability-scanner/SKILL.md +1 -76
- package/.agent/skills/web-accessibility-auditor/SKILL.md +1 -76
- package/.agent/skills/web-design-guidelines/SKILL.md +1 -76
- package/.agent/skills/web-quality-audit/SKILL.md +1 -76
- package/.agent/skills/webapp-testing/SKILL.md +1 -76
- package/.agent/skills/webgpu-performance/SKILL.md +1 -76
- package/.agent/skills/whimsy-injector/SKILL.md +1 -76
- package/.agent/skills/workflow-optimizer/SKILL.md +1 -76
- package/.agent/skills/zero-trust-passkeys/SKILL.md +1 -75
- 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/generate.md +1 -1
- package/.agent/workflows/minimal.md +3 -2
- package/.agent/workflows/orchestrate.md +1 -1
- package/.agent/workflows/plan.md +1 -1
- package/.agent/workflows/review-ai.md +1 -1
- package/.agent/workflows/sdd.md +15 -0
- package/.agent/workflows/skill-enhancement-engine.md +17 -21
- package/.agent/workflows/super-prompt.md +25 -24
- package/.agent/workflows/swarm.md +1 -1
- package/.agent/workflows/tribunal-backend.md +1 -1
- package/.agent/workflows/tribunal-cicd.md +1 -1
- package/.agent/workflows/tribunal-database.md +1 -1
- package/.agent/workflows/tribunal-frontend.md +1 -1
- package/.agent/workflows/tribunal-full.md +9 -9
- package/.agent/workflows/tribunal-mobile.md +1 -1
- package/.agent/workflows/tribunal-speed.md +1 -1
- package/.agent/workflows/tribunal-ui.md +1 -1
- package/.agents/skills/12-principles-of-animation/SKILL.md +1 -76
- package/.agents/skills/60fps-animation/SKILL.md +4 -77
- package/.agents/skills/accessible-animation/SKILL.md +9 -86
- package/.agents/skills/adapt/SKILL.md +1 -76
- package/.agents/skills/advanced-rag-pipelines/SKILL.md +1 -76
- package/.agents/skills/agent-organizer/SKILL.md +1 -76
- package/.agents/skills/agentic-patterns/SKILL.md +1 -76
- package/.agents/skills/agentic-workflows-2026/SKILL.md +1 -75
- package/.agents/skills/ai-app-hardening/SKILL.md +1 -75
- package/.agents/skills/ai-prompt-injection-defense/SKILL.md +1 -76
- package/.agents/skills/animation-on-scroll/SKILL.md +16 -87
- package/.agents/skills/animation-systems/SKILL.md +15 -90
- package/.agents/skills/antfu-conventions/SKILL.md +0 -75
- package/.agents/skills/api-patterns/SKILL.md +1 -76
- package/.agents/skills/api-security-auditor/SKILL.md +1 -76
- package/.agents/skills/app-builder/SKILL.md +1 -76
- package/.agents/skills/appflow-wireframe/SKILL.md +1 -78
- package/.agents/skills/apple-design/SKILL.md +1 -76
- package/.agents/skills/architecture/SKILL.md +1 -76
- package/.agents/skills/audit-and-fix/SKILL.md +41 -77
- package/.agents/skills/authentication-best-practices/SKILL.md +1 -76
- package/.agents/skills/backend-security-expert/SKILL.md +1 -76
- package/.agents/skills/baseline-ui/SKILL.md +1 -76
- package/.agents/skills/bash-linux/SKILL.md +1 -76
- package/.agents/skills/behavioral-modes/SKILL.md +1 -76
- package/.agents/skills/better-colors/SKILL.md +1 -76
- package/.agents/skills/better-typography/SKILL.md +1 -75
- package/.agents/skills/better-ui/SKILL.md +18 -81
- package/.agents/skills/bolder/SKILL.md +1 -76
- package/.agents/skills/brainstorming/SKILL.md +1 -75
- package/.agents/skills/browser-audit/SKILL.md +15 -83
- package/.agents/skills/browser-native-ai/SKILL.md +1 -76
- package/.agents/skills/build-primitive/SKILL.md +1 -76
- package/.agents/skills/building-native-ui/SKILL.md +1 -76
- package/.agents/skills/cicd-pro/SKILL.md +1 -76
- package/.agents/skills/clarify/SKILL.md +1 -76
- package/.agents/skills/clean-code/SKILL.md +1 -76
- package/.agents/skills/cloud-architect/SKILL.md +1 -76
- package/.agents/skills/cobejs/SKILL.md +1 -76
- package/.agents/skills/code-review-checklist/SKILL.md +1 -76
- package/.agents/skills/codebase-design/SKILL.md +1 -76
- package/.agents/skills/colorize/SKILL.md +1 -76
- package/.agents/skills/compact-landing/SKILL.md +1 -76
- package/.agents/skills/company-logos/SKILL.md +1 -76
- package/.agents/skills/config-validator/SKILL.md +1 -76
- package/.agents/skills/containerization-pro/SKILL.md +1 -76
- package/.agents/skills/context-engineering-pro/SKILL.md +1 -75
- package/.agents/skills/create-design-md/SKILL.md +1 -76
- package/.agents/skills/critique/SKILL.md +1 -76
- package/.agents/skills/csharp-developer/SKILL.md +1 -76
- package/.agents/skills/data-validation-schemas/SKILL.md +1 -76
- package/.agents/skills/database-design/SKILL.md +1 -76
- package/.agents/skills/delight/SKILL.md +1 -76
- package/.agents/skills/deployment-procedures/SKILL.md +1 -76
- package/.agents/skills/design-lab/SKILL.md +0 -75
- package/.agents/skills/devops-engineer/SKILL.md +1 -76
- package/.agents/skills/devops-incident-responder/SKILL.md +1 -76
- package/.agents/skills/diagnosing-bugs/SKILL.md +0 -75
- package/.agents/skills/distill/SKILL.md +1 -76
- package/.agents/skills/documentation-templates/SKILL.md +1 -76
- package/.agents/skills/domain-modeling/SKILL.md +1 -76
- package/.agents/skills/duckdb-analytical-sql/SKILL.md +1 -75
- package/.agents/skills/edge-ai-mobile/SKILL.md +1 -75
- package/.agents/skills/edge-computing/SKILL.md +1 -76
- package/.agents/skills/emil-design-eng/SKILL.md +1 -76
- package/.agents/skills/error-resilience/SKILL.md +1 -76
- package/.agents/skills/expo-router-v4/SKILL.md +1 -75
- package/.agents/skills/extract-design-system/SKILL.md +1 -76
- package/.agents/skills/fabel-protocol/SKILL.md +1 -76
- package/.agents/skills/fixing-accessibility/SKILL.md +1 -76
- package/.agents/skills/fixing-metadata/SKILL.md +1 -76
- package/.agents/skills/fixing-motion-performance/SKILL.md +1 -76
- package/.agents/skills/framer-motion-expert/SKILL.md +1 -76
- package/.agents/skills/frontend-design/SKILL.md +1 -76
- package/.agents/skills/frontend-security-expert/SKILL.md +1 -76
- package/.agents/skills/game-design-expert/SKILL.md +1 -76
- package/.agents/skills/game-engineering-expert/SKILL.md +1 -76
- package/.agents/skills/generative-ui-expert/SKILL.md +1 -76
- package/.agents/skills/geo-fundamentals/SKILL.md +1 -76
- package/.agents/skills/git-pro/SKILL.md +1 -76
- package/.agents/skills/github-operations/SKILL.md +1 -76
- package/.agents/skills/gpt-taste/SKILL.md +1 -76
- package/.agents/skills/gsap-core/SKILL.md +1 -76
- package/.agents/skills/gsap-frameworks/SKILL.md +1 -76
- package/.agents/skills/gsap-performance/SKILL.md +1 -76
- package/.agents/skills/gsap-plugins/SKILL.md +1 -76
- package/.agents/skills/gsap-react/SKILL.md +1 -76
- package/.agents/skills/gsap-scrolltrigger/SKILL.md +1 -76
- package/.agents/skills/gsap-timeline/SKILL.md +1 -76
- package/.agents/skills/gsap-utils/SKILL.md +1 -76
- package/.agents/skills/harden/SKILL.md +1 -76
- package/.agents/skills/harness-protocol/SKILL.md +1 -76
- package/.agents/skills/i18n-localization/SKILL.md +1 -76
- package/.agents/skills/impeccable/SKILL.md +1 -76
- package/.agents/skills/improve-codebase-architecture/SKILL.md +1 -76
- package/.agents/skills/improve-ui/SKILL.md +1 -76
- package/.agents/skills/intelligent-routing/SKILL.md +2 -87
- package/.agents/skills/knowledge-graph/SKILL.md +1 -76
- package/.agents/skills/landing-page/SKILL.md +1 -76
- package/.agents/skills/lint-and-validate/SKILL.md +1 -76
- package/.agents/skills/llm-engineering/SKILL.md +1 -76
- package/.agents/skills/local-first/SKILL.md +1 -76
- package/.agents/skills/local-first-architecture/SKILL.md +1 -76
- package/.agents/skills/lottie-animation/SKILL.md +1 -76
- package/.agents/skills/marquee-loop/SKILL.md +1 -76
- package/.agents/skills/masked-reveal/SKILL.md +1 -76
- package/.agents/skills/mcp-builder/SKILL.md +1 -76
- package/.agents/skills/micro-interaction/SKILL.md +19 -87
- package/.agents/skills/mobile-design/SKILL.md +1 -76
- package/.agents/skills/monorepo-management/SKILL.md +1 -76
- package/.agents/skills/morphing-icons/SKILL.md +1 -76
- package/.agents/skills/motion-engineering/SKILL.md +1 -76
- package/.agents/skills/nextjs-react-expert/SKILL.md +1 -76
- package/.agents/skills/nodejs-best-practices/SKILL.md +1 -76
- package/.agents/skills/observability/SKILL.md +1 -76
- package/.agents/skills/opentelemetry-observability/SKILL.md +1 -75
- package/.agents/skills/page-transition-animation/SKILL.md +1 -76
- package/.agents/skills/parallel-agents/SKILL.md +1 -76
- package/.agents/skills/performance-profiling/SKILL.md +1 -76
- package/.agents/skills/plan-writing/SKILL.md +1 -76
- package/.agents/skills/platform-engineer/SKILL.md +1 -76
- package/.agents/skills/platform-engineering-opentofu/SKILL.md +1 -75
- package/.agents/skills/playwright-ai-e2e/SKILL.md +1 -75
- package/.agents/skills/playwright-best-practices/SKILL.md +1 -76
- package/.agents/skills/polish/SKILL.md +1 -76
- package/.agents/skills/powershell-windows/SKILL.md +1 -76
- package/.agents/skills/pricing-page/SKILL.md +1 -76
- package/.agents/skills/product-aware-heuristics/SKILL.md +1 -76
- package/.agents/skills/progressive-blur/SKILL.md +1 -76
- package/.agents/skills/project-idioms/SKILL.md +1 -76
- package/.agents/skills/property-based-testing/SKILL.md +1 -75
- package/.agents/skills/python-patterns/SKILL.md +1 -76
- package/.agents/skills/python-pro/SKILL.md +1 -76
- package/.agents/skills/quieter/SKILL.md +1 -76
- package/.agents/skills/react-doctor/SKILL.md +1 -76
- package/.agents/skills/react-specialist/SKILL.md +1 -76
- package/.agents/skills/readme-builder/SKILL.md +1 -76
- package/.agents/skills/realtime-patterns/SKILL.md +1 -76
- package/.agents/skills/red-team-tactics/SKILL.md +1 -76
- package/.agents/skills/redesign-skill/SKILL.md +1 -76
- package/.agents/skills/review-animations/SKILL.md +1 -76
- package/.agents/skills/rust-pro/SKILL.md +1 -76
- package/.agents/skills/seo-fundamentals/SKILL.md +1 -76
- package/.agents/skills/server-management/SKILL.md +1 -76
- package/.agents/skills/shadcn-ui-expert/SKILL.md +1 -76
- package/.agents/skills/shape/SKILL.md +1 -76
- package/.agents/skills/skill-creator/SKILL.md +127 -86
- package/.agents/skills/soft-skill/SKILL.md +1 -76
- package/.agents/skills/sounds-on-the-web/SKILL.md +1 -76
- package/.agents/skills/sql-pro/SKILL.md +1 -76
- package/.agents/skills/supabase-postgres-best-practices/SKILL.md +1 -76
- package/.agents/skills/svg-animation/SKILL.md +1 -76
- package/.agents/skills/swiftui-expert/SKILL.md +1 -76
- package/.agents/skills/swiss-design/SKILL.md +1 -76
- package/.agents/skills/system-design-pro/SKILL.md +1 -76
- package/.agents/skills/systematic-debugging/SKILL.md +2 -76
- 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 +1 -76
- package/.agents/skills/taste-skill/SKILL.md +1 -76
- package/.agents/skills/tdd-workflow/SKILL.md +8 -82
- package/.agents/skills/test-result-analyzer/SKILL.md +1 -76
- package/.agents/skills/testing-patterns/SKILL.md +1 -76
- package/.agents/skills/thermo-nuclear-code-quality-review/SKILL.md +1 -76
- package/.agents/skills/thinking-protocol/SKILL.md +1 -77
- package/.agents/skills/to-spring-or-not-to-spring/SKILL.md +1 -76
- package/.agents/skills/transitions-dev/SKILL.md +1 -76
- package/.agents/skills/trend-researcher/SKILL.md +1 -76
- package/.agents/skills/typescript-advanced/SKILL.md +1 -76
- package/.agents/skills/typeset/SKILL.md +1 -76
- package/.agents/skills/ui-reasoning-engine/SKILL.md +1 -76
- package/.agents/skills/ui-skill-packs/SKILL.md +1 -76
- package/.agents/skills/ui-skills-root/SKILL.md +1 -76
- package/.agents/skills/ui-ux-pro-max/SKILL.md +1 -76
- package/.agents/skills/ui-ux-researcher/SKILL.md +1 -76
- package/.agents/skills/vector-search-pgvector/SKILL.md +1 -75
- package/.agents/skills/verification-before-completion/SKILL.md +20 -91
- package/.agents/skills/vue-expert/SKILL.md +1 -76
- package/.agents/skills/vulnerability-scanner/SKILL.md +1 -76
- package/.agents/skills/web-accessibility-auditor/SKILL.md +1 -76
- package/.agents/skills/web-design-guidelines/SKILL.md +1 -76
- package/.agents/skills/web-quality-audit/SKILL.md +1 -76
- package/.agents/skills/webapp-testing/SKILL.md +1 -76
- package/.agents/skills/webgpu-performance/SKILL.md +1 -76
- package/.agents/skills/whimsy-injector/SKILL.md +1 -76
- package/.agents/skills/workflow-optimizer/SKILL.md +1 -76
- package/.agents/skills/zero-trust-passkeys/SKILL.md +1 -75
- 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 +23 -16
- package/bin/adapter-install.js +1 -1
- package/bin/mcp-server.js +88 -58
- package/bin/wrapper.js +22 -2
- package/dist/commands/init.js +25 -11
- package/dist/tui/banner.js +77 -77
- package/gemini-extension.json +1 -1
- package/package.json +13 -10
- 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 +256 -83
- package/scripts/modernize_skills.js +25 -11
- package/scripts/package-cores.js +4 -1
- package/scripts/skill_enhancement_engine.js +212 -77
- package/scripts/telemetry_gc.js +156 -0
- package/scripts/validate-payload.js +1 -6
- package/skills/12-principles-of-animation/SKILL.md +1 -76
- package/skills/60fps-animation/SKILL.md +4 -77
- package/skills/accessible-animation/SKILL.md +9 -86
- package/skills/adapt/SKILL.md +1 -76
- package/skills/advanced-rag-pipelines/SKILL.md +1 -76
- package/skills/agent-organizer/SKILL.md +1 -76
- package/skills/agentic-patterns/SKILL.md +1 -76
- package/skills/agentic-workflows-2026/SKILL.md +1 -75
- package/skills/ai-app-hardening/SKILL.md +1 -75
- package/skills/ai-prompt-injection-defense/SKILL.md +1 -76
- package/skills/animation-on-scroll/SKILL.md +16 -87
- package/skills/animation-systems/SKILL.md +15 -90
- package/skills/antfu-conventions/SKILL.md +0 -75
- package/skills/api-patterns/SKILL.md +1 -76
- package/skills/api-security-auditor/SKILL.md +1 -76
- package/skills/app-builder/SKILL.md +1 -76
- package/skills/appflow-wireframe/SKILL.md +1 -78
- package/skills/apple-design/SKILL.md +1 -76
- package/skills/architecture/SKILL.md +1 -76
- package/skills/audit-and-fix/SKILL.md +41 -77
- package/skills/authentication-best-practices/SKILL.md +1 -76
- package/skills/backend-security-expert/SKILL.md +1 -76
- package/skills/baseline-ui/SKILL.md +1 -76
- package/skills/bash-linux/SKILL.md +1 -76
- package/skills/behavioral-modes/SKILL.md +1 -76
- package/skills/better-colors/SKILL.md +1 -76
- package/skills/better-typography/SKILL.md +1 -75
- package/skills/better-ui/SKILL.md +18 -81
- package/skills/bolder/SKILL.md +1 -76
- package/skills/brainstorming/SKILL.md +1 -75
- package/skills/browser-audit/SKILL.md +15 -83
- package/skills/browser-native-ai/SKILL.md +1 -76
- package/skills/build-primitive/SKILL.md +1 -76
- package/skills/building-native-ui/SKILL.md +1 -76
- package/skills/cicd-pro/SKILL.md +1 -76
- package/skills/clarify/SKILL.md +1 -76
- package/skills/clean-code/SKILL.md +1 -76
- package/skills/cloud-architect/SKILL.md +1 -76
- package/skills/cobejs/SKILL.md +1 -76
- package/skills/code-review-checklist/SKILL.md +1 -76
- package/skills/codebase-design/SKILL.md +1 -76
- package/skills/colorize/SKILL.md +1 -76
- package/skills/compact-landing/SKILL.md +1 -76
- package/skills/company-logos/SKILL.md +1 -76
- package/skills/config-validator/SKILL.md +1 -76
- package/skills/containerization-pro/SKILL.md +1 -76
- package/skills/context-engineering-pro/SKILL.md +1 -75
- package/skills/create-design-md/SKILL.md +1 -76
- package/skills/critique/SKILL.md +1 -76
- package/skills/csharp-developer/SKILL.md +1 -76
- package/skills/data-validation-schemas/SKILL.md +1 -76
- package/skills/database-design/SKILL.md +1 -76
- package/skills/delight/SKILL.md +1 -76
- package/skills/deployment-procedures/SKILL.md +1 -76
- package/skills/design-lab/SKILL.md +0 -75
- package/skills/devops-engineer/SKILL.md +1 -76
- package/skills/devops-incident-responder/SKILL.md +1 -76
- package/skills/diagnosing-bugs/SKILL.md +0 -75
- package/skills/distill/SKILL.md +1 -76
- package/skills/documentation-templates/SKILL.md +1 -76
- package/skills/domain-modeling/SKILL.md +1 -76
- package/skills/duckdb-analytical-sql/SKILL.md +1 -75
- package/skills/edge-ai-mobile/SKILL.md +1 -75
- package/skills/edge-computing/SKILL.md +1 -76
- package/skills/emil-design-eng/SKILL.md +1 -76
- package/skills/error-resilience/SKILL.md +1 -76
- package/skills/expo-router-v4/SKILL.md +1 -75
- package/skills/extract-design-system/SKILL.md +1 -76
- package/skills/fabel-protocol/SKILL.md +1 -76
- package/skills/fixing-accessibility/SKILL.md +1 -76
- package/skills/fixing-metadata/SKILL.md +1 -76
- package/skills/fixing-motion-performance/SKILL.md +1 -76
- package/skills/framer-motion-expert/SKILL.md +1 -76
- package/skills/frontend-design/SKILL.md +1 -76
- package/skills/frontend-security-expert/SKILL.md +1 -76
- package/skills/game-design-expert/SKILL.md +1 -76
- package/skills/game-engineering-expert/SKILL.md +1 -76
- package/skills/generative-ui-expert/SKILL.md +1 -76
- package/skills/geo-fundamentals/SKILL.md +1 -76
- package/skills/git-pro/SKILL.md +1 -76
- package/skills/github-operations/SKILL.md +1 -76
- package/skills/gpt-taste/SKILL.md +1 -76
- package/skills/gsap-core/SKILL.md +1 -76
- package/skills/gsap-frameworks/SKILL.md +1 -76
- package/skills/gsap-performance/SKILL.md +1 -76
- package/skills/gsap-plugins/SKILL.md +1 -76
- package/skills/gsap-react/SKILL.md +1 -76
- package/skills/gsap-scrolltrigger/SKILL.md +1 -76
- package/skills/gsap-timeline/SKILL.md +1 -76
- package/skills/gsap-utils/SKILL.md +1 -76
- package/skills/harden/SKILL.md +1 -76
- package/skills/harness-protocol/SKILL.md +1 -76
- package/skills/i18n-localization/SKILL.md +1 -76
- package/skills/impeccable/SKILL.md +1 -76
- package/skills/improve-codebase-architecture/SKILL.md +1 -76
- package/skills/improve-ui/SKILL.md +1 -76
- package/skills/intelligent-routing/SKILL.md +2 -87
- package/skills/knowledge-graph/SKILL.md +1 -76
- package/skills/landing-page/SKILL.md +1 -76
- package/skills/lint-and-validate/SKILL.md +1 -76
- package/skills/llm-engineering/SKILL.md +1 -76
- package/skills/local-first/SKILL.md +1 -76
- package/skills/local-first-architecture/SKILL.md +1 -76
- package/skills/lottie-animation/SKILL.md +1 -76
- package/skills/marquee-loop/SKILL.md +1 -76
- package/skills/masked-reveal/SKILL.md +1 -76
- package/skills/mcp-builder/SKILL.md +1 -76
- package/skills/micro-interaction/SKILL.md +19 -87
- package/skills/mobile-design/SKILL.md +1 -76
- package/skills/monorepo-management/SKILL.md +1 -76
- package/skills/morphing-icons/SKILL.md +1 -76
- package/skills/motion-engineering/SKILL.md +1 -76
- package/skills/nextjs-react-expert/SKILL.md +1 -76
- package/skills/nodejs-best-practices/SKILL.md +1 -76
- package/skills/observability/SKILL.md +1 -76
- package/skills/opentelemetry-observability/SKILL.md +1 -75
- package/skills/page-transition-animation/SKILL.md +1 -76
- package/skills/parallel-agents/SKILL.md +1 -76
- package/skills/performance-profiling/SKILL.md +1 -76
- package/skills/plan-writing/SKILL.md +1 -76
- package/skills/platform-engineer/SKILL.md +1 -76
- package/skills/platform-engineering-opentofu/SKILL.md +1 -75
- package/skills/playwright-ai-e2e/SKILL.md +1 -75
- package/skills/playwright-best-practices/SKILL.md +1 -76
- package/skills/polish/SKILL.md +1 -76
- package/skills/powershell-windows/SKILL.md +1 -76
- package/skills/pricing-page/SKILL.md +1 -76
- package/skills/product-aware-heuristics/SKILL.md +1 -76
- package/skills/progressive-blur/SKILL.md +1 -76
- package/skills/project-idioms/SKILL.md +1 -76
- package/skills/property-based-testing/SKILL.md +1 -75
- package/skills/python-patterns/SKILL.md +1 -76
- package/skills/python-pro/SKILL.md +1 -76
- package/skills/quieter/SKILL.md +1 -76
- package/skills/react-doctor/SKILL.md +1 -76
- package/skills/react-specialist/SKILL.md +1 -76
- package/skills/readme-builder/SKILL.md +1 -76
- package/skills/realtime-patterns/SKILL.md +1 -76
- package/skills/red-team-tactics/SKILL.md +1 -76
- package/skills/redesign-skill/SKILL.md +1 -76
- package/skills/review-animations/SKILL.md +1 -76
- package/skills/rust-pro/SKILL.md +1 -76
- package/skills/seo-fundamentals/SKILL.md +1 -76
- package/skills/server-management/SKILL.md +1 -76
- package/skills/shadcn-ui-expert/SKILL.md +1 -76
- package/skills/shape/SKILL.md +1 -76
- package/skills/skill-creator/SKILL.md +127 -86
- package/skills/soft-skill/SKILL.md +1 -76
- package/skills/sounds-on-the-web/SKILL.md +1 -76
- package/skills/sql-pro/SKILL.md +1 -76
- package/skills/supabase-postgres-best-practices/SKILL.md +1 -76
- package/skills/svg-animation/SKILL.md +1 -76
- package/skills/swiftui-expert/SKILL.md +1 -76
- package/skills/swiss-design/SKILL.md +1 -76
- package/skills/system-design-pro/SKILL.md +1 -76
- package/skills/systematic-debugging/SKILL.md +2 -76
- 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 +1 -76
- package/skills/taste-skill/SKILL.md +1 -76
- package/skills/tdd-workflow/SKILL.md +8 -82
- package/skills/test-result-analyzer/SKILL.md +1 -76
- package/skills/testing-patterns/SKILL.md +1 -76
- package/skills/thermo-nuclear-code-quality-review/SKILL.md +1 -76
- package/skills/thinking-protocol/SKILL.md +1 -77
- package/skills/to-spring-or-not-to-spring/SKILL.md +1 -76
- package/skills/transitions-dev/SKILL.md +1 -76
- package/skills/trend-researcher/SKILL.md +1 -76
- package/skills/typescript-advanced/SKILL.md +1 -76
- package/skills/typeset/SKILL.md +1 -76
- package/skills/ui-reasoning-engine/SKILL.md +1 -76
- package/skills/ui-skill-packs/SKILL.md +1 -76
- package/skills/ui-skills-root/SKILL.md +1 -76
- package/skills/ui-ux-pro-max/SKILL.md +1 -76
- package/skills/ui-ux-researcher/SKILL.md +1 -76
- package/skills/vector-search-pgvector/SKILL.md +1 -75
- package/skills/verification-before-completion/SKILL.md +20 -91
- package/skills/vue-expert/SKILL.md +1 -76
- package/skills/vulnerability-scanner/SKILL.md +1 -76
- package/skills/web-accessibility-auditor/SKILL.md +1 -76
- package/skills/web-design-guidelines/SKILL.md +1 -76
- package/skills/web-quality-audit/SKILL.md +1 -76
- package/skills/webapp-testing/SKILL.md +1 -76
- package/skills/webgpu-performance/SKILL.md +1 -76
- package/skills/whimsy-injector/SKILL.md +1 -76
- package/skills/workflow-optimizer/SKILL.md +1 -76
- package/skills/zero-trust-passkeys/SKILL.md +1 -75
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: server-management
|
|
3
|
-
description: Use when Production Linux server administration mastery. Systemd services, Nginx reverse proxy architecture, UFW firewalls, SSH key security, cron scheduling, log rotation, and server hardening. Use when configuring bare-metal, VPS instances, or reviewing deployment architecture.
|
|
3
|
+
description: "Use when Production Linux server administration mastery. Systemd services, Nginx reverse proxy architecture, UFW firewalls, SSH key security, cron scheduling, log rotation, and server hardening. Use when configuring bare-metal, VPS instances, or reviewing deployment architecture."
|
|
4
4
|
version: 5.0.0
|
|
5
5
|
last-updated: 2026-09-13
|
|
6
6
|
skills:
|
|
@@ -15,42 +15,12 @@ scripts-binding:
|
|
|
15
15
|
|
|
16
16
|
# Server Management — Production Linux Mastery
|
|
17
17
|
|
|
18
|
-
## Mandatory Pre-Flight Context Inspection
|
|
19
|
-
|
|
20
|
-
Before generating, refactoring, or reviewing code in the `server-management` domain, inspect these 5 critical parameters:
|
|
21
|
-
|
|
22
|
-
1. **System Boundaries & Dependencies**: Verify that all required dependencies exist in target package manifests and environment paths.
|
|
23
|
-
2. **Runtime Context & Platform Invariants**: Confirm target platform constraints (Node.js, Browser, Mobile OS, Edge runtime) before applying APIs.
|
|
24
|
-
3. **Execution Guardrails**: Identify potential side-effects, state mutations, and unhandled asynchronous exceptions.
|
|
25
|
-
4. **Validation & Type Contracts**: Validate input data schemas and strict type constraints across all module interfaces.
|
|
26
|
-
5. **Observability & Proof of Execution**: Ensure execution produces tangible verification signals (terminal output, tests, metrics).
|
|
27
|
-
|
|
28
|
-
## Activation Boundaries
|
|
29
|
-
|
|
30
|
-
- **Activate when:** Use when Production Linux server administration mastery. Systemd services, Nginx reverse proxy architecture, UFW firewalls, SSH key security, cron scheduling, log rotation, and server hardening. Use when configuring bare-metal, VPS instances, or reviewing deployment architecture.
|
|
31
|
-
- **DO NOT activate when:** The task falls outside the `server-management` domain or is managed by a different dedicated specialist.
|
|
32
|
-
|
|
33
|
-
## 🔁 Multi-Pass Execution Protocol
|
|
34
|
-
|
|
35
|
-
Execute all non-trivial tasks through this 7-pass cognitive loop:
|
|
36
|
-
|
|
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
|
-
| **Pass 7** | **Quality Gate** | Enforce Verification-Before-Completion (VBC) with concrete terminal proof before finalizing. |
|
|
46
|
-
|
|
47
18
|
---
|
|
48
19
|
|
|
49
20
|
## 🛠️ Technical Architecture & Reference Recipes
|
|
50
21
|
|
|
51
22
|
---
|
|
52
23
|
|
|
53
|
-
|
|
54
24
|
## Hallucination Traps (Read First)
|
|
55
25
|
|
|
56
26
|
- ❌ Running services as root -> ✅ Create a dedicated service user with minimal permissions; never run as root
|
|
@@ -206,48 +176,3 @@ A server will inevitably crash when `/var/log` consumes 100% of the disk.
|
|
|
206
176
|
copytruncate # Copy then clear (avoids disrupting Node's open file handles)
|
|
207
177
|
}
|
|
208
178
|
```
|
|
209
|
-
|
|
210
|
-
---
|
|
211
|
-
|
|
212
|
-
## 🚨 Edge-Case & Failure Mode Matrix
|
|
213
|
-
|
|
214
|
-
| Scenario | Risk | Mitigation Strategy |
|
|
215
|
-
|:---|:---|:---|
|
|
216
|
-
| **Empty or Null Inputs** | Unhandled exception or unexpected rendering collapse | Enforce fallback guards, optional chaining, and explicit empty state handlers |
|
|
217
|
-
| **Network Timeout / Latency** | Hanging operations or duplicate side-effects | Implement bounded abort controllers, exponential backoff, and idempotency keys |
|
|
218
|
-
| **Concurrency / Race Conditions** | Stale state overwrite or inconsistent data mutations | Use atomic transactions, mutex locking, or cancel-on-resubmit controls |
|
|
219
|
-
| **Invalid Schema / Malformed Payload** | Downstream runtime errors or security injection | Validate boundary payloads with Zod/Pydantic schemas prior to execution |
|
|
220
|
-
| **Resource / Memory Saturation** | OOM errors, frame drops, or memory leaks | Clean up listeners, cancel active timers, and enforce pagination/virtualization |
|
|
221
|
-
|
|
222
|
-
---
|
|
223
|
-
|
|
224
|
-
## 🤖 LLM-Specific Traps Table
|
|
225
|
-
|
|
226
|
-
| Anti-Pattern | What AI Commonly Does Wrong | What Is Actually Correct |
|
|
227
|
-
|:---|:---|:---|
|
|
228
|
-
| **Silent Pipeline Failure** | Executing shell steps without set -euo pipefail, ignoring errors | Always initialize shell scripts with set -euo pipefail and trap handlers |
|
|
229
|
-
| **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** | Passing secrets as Docker build arguments baked into image layers | Use Docker BuildKit secret mounts (--mount=type=secret) or runtime injection |
|
|
231
|
-
|
|
232
|
-
---
|
|
233
|
-
|
|
234
|
-
## 🏛️ Tribunal Verification & Guardrails
|
|
235
|
-
|
|
236
|
-
**Active Reviewers:** `pipeline-reviewer` · `devops-engineer` · `resilience-reviewer`
|
|
237
|
-
**Slash Command:** `/review` or `/tribunal-full`
|
|
238
|
-
|
|
239
|
-
### ✅ Pre-Flight Self-Audit Checklist
|
|
240
|
-
|
|
241
|
-
```
|
|
242
|
-
✅ Are strict execution modes (set -euo pipefail) active on all scripts?
|
|
243
|
-
✅ Are container images pinned to digest/immutable tags instead of "latest"?
|
|
244
|
-
✅ Are deployment health checks and rollback baselines configured?
|
|
245
|
-
✅ Are CI secrets masked and unexposed to untrusted pull requests?
|
|
246
|
-
✅ Did I verify environment compatibility across target runtimes?
|
|
247
|
-
```
|
|
248
|
-
|
|
249
|
-
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
250
|
-
|
|
251
|
-
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
252
|
-
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
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.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: shadcn-ui-expert
|
|
3
|
-
description: Use when shadcn/ui mastery. Installation, customization via tailwind.config, component extraction, state management with Radix Primitives, theme variables (CSS custom properties), dark mode implementations, and overriding default designs. Use when building or modifying shadcn/ui components in React/Next.js projects.
|
|
3
|
+
description: "Use when shadcn/ui mastery. Installation, customization via tailwind.config, component extraction, state management with Radix Primitives, theme variables (CSS custom properties), dark mode implementations, and overriding default designs. Use when building or modifying shadcn/ui components in React/Next.js projects."
|
|
4
4
|
version: 5.0.0
|
|
5
5
|
last-updated: 2026-09-13
|
|
6
6
|
skills:
|
|
@@ -15,42 +15,12 @@ scripts-binding:
|
|
|
15
15
|
|
|
16
16
|
# shadcn/ui Expert — Component Architecture Mastery
|
|
17
17
|
|
|
18
|
-
## Mandatory Pre-Flight Context Inspection
|
|
19
|
-
|
|
20
|
-
Before generating, refactoring, or reviewing code in the `shadcn-ui-expert` domain, inspect these 5 critical parameters:
|
|
21
|
-
|
|
22
|
-
1. **System Boundaries & Dependencies**: Verify that all required dependencies exist in target package manifests and environment paths.
|
|
23
|
-
2. **Runtime Context & Platform Invariants**: Confirm target platform constraints (Node.js, Browser, Mobile OS, Edge runtime) before applying APIs.
|
|
24
|
-
3. **Execution Guardrails**: Identify potential side-effects, state mutations, and unhandled asynchronous exceptions.
|
|
25
|
-
4. **Validation & Type Contracts**: Validate input data schemas and strict type constraints across all module interfaces.
|
|
26
|
-
5. **Observability & Proof of Execution**: Ensure execution produces tangible verification signals (terminal output, tests, metrics).
|
|
27
|
-
|
|
28
|
-
## Activation Boundaries
|
|
29
|
-
|
|
30
|
-
- **Activate when:** Use when shadcn/ui mastery. Installation, customization via tailwind.config, component extraction, state management with Radix Primitives, theme variables (CSS custom properties), dark mode implementations, and overriding default designs. Use when building or modifying shadcn/ui components in React/Next.js projects.
|
|
31
|
-
- **DO NOT activate when:** The task falls outside the `shadcn-ui-expert` domain or is managed by a different dedicated specialist.
|
|
32
|
-
|
|
33
|
-
## 🔁 Multi-Pass Execution Protocol
|
|
34
|
-
|
|
35
|
-
Execute all non-trivial tasks through this 7-pass cognitive loop:
|
|
36
|
-
|
|
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
|
-
| **Pass 7** | **Quality Gate** | Enforce Verification-Before-Completion (VBC) with concrete terminal proof before finalizing. |
|
|
46
|
-
|
|
47
18
|
---
|
|
48
19
|
|
|
49
20
|
## 🛠️ Technical Architecture & Reference Recipes
|
|
50
21
|
|
|
51
22
|
---
|
|
52
23
|
|
|
53
|
-
|
|
54
24
|
## Hallucination Traps (Read First)
|
|
55
25
|
|
|
56
26
|
- ❌ `import { Button } from 'shadcn-ui'` -> ✅ shadcn/ui is NOT a package; components are copied into YOUR project. Import from `@/components/ui/button`
|
|
@@ -224,48 +194,3 @@ export default async function Page() {
|
|
|
224
194
|
return <MyDialogComponent data={data} /> // Passes data to interactive client component
|
|
225
195
|
}
|
|
226
196
|
```
|
|
227
|
-
|
|
228
|
-
---
|
|
229
|
-
|
|
230
|
-
## 🚨 Edge-Case & Failure Mode Matrix
|
|
231
|
-
|
|
232
|
-
| Scenario | Risk | Mitigation Strategy |
|
|
233
|
-
|:---|:---|:---|
|
|
234
|
-
| **Empty or Null Inputs** | Unhandled exception or unexpected rendering collapse | Enforce fallback guards, optional chaining, and explicit empty state handlers |
|
|
235
|
-
| **Network Timeout / Latency** | Hanging operations or duplicate side-effects | Implement bounded abort controllers, exponential backoff, and idempotency keys |
|
|
236
|
-
| **Concurrency / Race Conditions** | Stale state overwrite or inconsistent data mutations | Use atomic transactions, mutex locking, or cancel-on-resubmit controls |
|
|
237
|
-
| **Invalid Schema / Malformed Payload** | Downstream runtime errors or security injection | Validate boundary payloads with Zod/Pydantic schemas prior to execution |
|
|
238
|
-
| **Resource / Memory Saturation** | OOM errors, frame drops, or memory leaks | Clean up listeners, cancel active timers, and enforce pagination/virtualization |
|
|
239
|
-
|
|
240
|
-
---
|
|
241
|
-
|
|
242
|
-
## 🤖 LLM-Specific Traps Table
|
|
243
|
-
|
|
244
|
-
| Anti-Pattern | What AI Commonly Does Wrong | What Is Actually Correct |
|
|
245
|
-
|:---|:---|:---|
|
|
246
|
-
| **Uncontrolled Re-render Loop** | Mutating state inside render bodies or omitting hook dependencies | Wrap effects with explicit deps and isolate reactive derivations in useMemo |
|
|
247
|
-
| **Accessibility Neglect** | Interactive <div> without role="button", tabIndex, or onKeyDown | Use semantic <button> or provide ARIA role, keyboard handlers, and focus ring |
|
|
248
|
-
| **Layout Shift Flash** | Images/dynamic content without aspect-ratio or explicit dimensions | Enforce aspect-ratio or skeleton placeholders to guarantee zero CLS |
|
|
249
|
-
|
|
250
|
-
---
|
|
251
|
-
|
|
252
|
-
## 🏛️ Tribunal Verification & Guardrails
|
|
253
|
-
|
|
254
|
-
**Active Reviewers:** `frontend-reviewer` · `type-safety` · `ui-ux-auditor` · `complexity-reviewer`
|
|
255
|
-
**Slash Command:** `/review` or `/tribunal-full`
|
|
256
|
-
|
|
257
|
-
### ✅ Pre-Flight Self-Audit Checklist
|
|
258
|
-
|
|
259
|
-
```
|
|
260
|
-
✅ Are all component props strictly typed with zero implicit "any"?
|
|
261
|
-
✅ Are responsive breakpoints, fluid typography, and optical balance verified?
|
|
262
|
-
✅ Is accessibility (ARIA labels, keyboard focus, contrast) validated?
|
|
263
|
-
✅ Are re-renders minimized and state lifecycles cleanly separated?
|
|
264
|
-
✅ Did I verify all imported UI components and icon sets actually exist?
|
|
265
|
-
```
|
|
266
|
-
|
|
267
|
-
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
268
|
-
|
|
269
|
-
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
270
|
-
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
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.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: shape
|
|
3
|
-
description: Use when Plan feature UX before writing code via structured Socratic design interviews. Use when a user asks to plan a new screen, onboarding flow, feature UX, or user interaction before implementation.
|
|
3
|
+
description: "Use when Plan feature UX before writing code via structured Socratic design interviews. Use when a user asks to plan a new screen, onboarding flow, feature UX, or user interaction before implementation."
|
|
4
4
|
version: 5.0.0
|
|
5
5
|
last-updated: 2026-09-13
|
|
6
6
|
skills:
|
|
@@ -16,42 +16,12 @@ scripts-binding:
|
|
|
16
16
|
|
|
17
17
|
# Shape — Pre-Code UX & Feature Shaping
|
|
18
18
|
|
|
19
|
-
## Mandatory Pre-Flight Context Inspection
|
|
20
|
-
|
|
21
|
-
Before generating, refactoring, or reviewing code in the `shape` domain, inspect these 5 critical parameters:
|
|
22
|
-
|
|
23
|
-
1. **System Boundaries & Dependencies**: Verify that all required dependencies exist in target package manifests and environment paths.
|
|
24
|
-
2. **Runtime Context & Platform Invariants**: Confirm target platform constraints (Node.js, Browser, Mobile OS, Edge runtime) before applying APIs.
|
|
25
|
-
3. **Execution Guardrails**: Identify potential side-effects, state mutations, and unhandled asynchronous exceptions.
|
|
26
|
-
4. **Validation & Type Contracts**: Validate input data schemas and strict type constraints across all module interfaces.
|
|
27
|
-
5. **Observability & Proof of Execution**: Ensure execution produces tangible verification signals (terminal output, tests, metrics).
|
|
28
|
-
|
|
29
|
-
## Activation Boundaries
|
|
30
|
-
|
|
31
|
-
- **Activate when:** Use when Plan feature UX before writing code via structured Socratic design interviews. Use when a user asks to plan a new screen, onboarding flow, feature UX, or user interaction before implementation.
|
|
32
|
-
- **DO NOT activate when:** The task falls outside the `shape` domain or is managed by a different dedicated specialist.
|
|
33
|
-
|
|
34
|
-
## 🔁 Multi-Pass Execution Protocol
|
|
35
|
-
|
|
36
|
-
Execute all non-trivial tasks through this 7-pass cognitive loop:
|
|
37
|
-
|
|
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
|
-
| **Pass 7** | **Quality Gate** | Enforce Verification-Before-Completion (VBC) with concrete terminal proof before finalizing. |
|
|
47
|
-
|
|
48
19
|
---
|
|
49
20
|
|
|
50
21
|
## 🛠️ Technical Architecture & Reference Recipes
|
|
51
22
|
|
|
52
23
|
---
|
|
53
24
|
|
|
54
|
-
|
|
55
25
|
---
|
|
56
26
|
|
|
57
27
|
## The 3-Step Shaping Workflow
|
|
@@ -84,48 +54,3 @@ Summarize the screen contract in a concise visual outline before coding:
|
|
|
84
54
|
├── Secondary Actions: (e.g. Import from GitHub)
|
|
85
55
|
└── Exit Point: (e.g. Redirect to /project/[id])
|
|
86
56
|
```
|
|
87
|
-
|
|
88
|
-
---
|
|
89
|
-
|
|
90
|
-
## 🚨 Edge-Case & Failure Mode Matrix
|
|
91
|
-
|
|
92
|
-
| Scenario | Risk | Mitigation Strategy |
|
|
93
|
-
|:---|:---|:---|
|
|
94
|
-
| **Empty or Null Inputs** | Unhandled exception or unexpected rendering collapse | Enforce fallback guards, optional chaining, and explicit empty state handlers |
|
|
95
|
-
| **Network Timeout / Latency** | Hanging operations or duplicate side-effects | Implement bounded abort controllers, exponential backoff, and idempotency keys |
|
|
96
|
-
| **Concurrency / Race Conditions** | Stale state overwrite or inconsistent data mutations | Use atomic transactions, mutex locking, or cancel-on-resubmit controls |
|
|
97
|
-
| **Invalid Schema / Malformed Payload** | Downstream runtime errors or security injection | Validate boundary payloads with Zod/Pydantic schemas prior to execution |
|
|
98
|
-
| **Resource / Memory Saturation** | OOM errors, frame drops, or memory leaks | Clean up listeners, cancel active timers, and enforce pagination/virtualization |
|
|
99
|
-
|
|
100
|
-
---
|
|
101
|
-
|
|
102
|
-
## 🤖 LLM-Specific Traps Table
|
|
103
|
-
|
|
104
|
-
| Anti-Pattern | What AI Commonly Does Wrong | What Is Actually Correct |
|
|
105
|
-
|:---|:---|:---|
|
|
106
|
-
| **Uncontrolled Re-render Loop** | Mutating state inside render bodies or omitting hook dependencies | Wrap effects with explicit deps and isolate reactive derivations in useMemo |
|
|
107
|
-
| **Accessibility Neglect** | Interactive <div> without role="button", tabIndex, or onKeyDown | Use semantic <button> or provide ARIA role, keyboard handlers, and focus ring |
|
|
108
|
-
| **Layout Shift Flash** | Images/dynamic content without aspect-ratio or explicit dimensions | Enforce aspect-ratio or skeleton placeholders to guarantee zero CLS |
|
|
109
|
-
|
|
110
|
-
---
|
|
111
|
-
|
|
112
|
-
## 🏛️ Tribunal Verification & Guardrails
|
|
113
|
-
|
|
114
|
-
**Active Reviewers:** `frontend-reviewer` · `type-safety` · `ui-ux-auditor` · `complexity-reviewer`
|
|
115
|
-
**Slash Command:** `/review` or `/tribunal-full`
|
|
116
|
-
|
|
117
|
-
### ✅ Pre-Flight Self-Audit Checklist
|
|
118
|
-
|
|
119
|
-
```
|
|
120
|
-
✅ Are all component props strictly typed with zero implicit "any"?
|
|
121
|
-
✅ Are responsive breakpoints, fluid typography, and optical balance verified?
|
|
122
|
-
✅ Is accessibility (ARIA labels, keyboard focus, contrast) validated?
|
|
123
|
-
✅ Are re-renders minimized and state lifecycles cleanly separated?
|
|
124
|
-
✅ Did I verify all imported UI components and icon sets actually exist?
|
|
125
|
-
```
|
|
126
|
-
|
|
127
|
-
### 🛑 Verification-Before-Completion (VBC) Protocol
|
|
128
|
-
|
|
129
|
-
**CRITICAL:** You must follow a strict "evidence-based closeout" state machine.
|
|
130
|
-
- ❌ **Forbidden:** Declaring a task complete because the output "looks correct."
|
|
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.
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: skill-creator
|
|
3
|
-
description: Use when
|
|
3
|
+
description: "Use when Use this skill for creating new skills and iteratively improving them via a structured workflow (draft, evaluate, review, improve)."
|
|
4
4
|
version: 5.0.0
|
|
5
5
|
last-updated: 2026-09-13
|
|
6
|
-
skills:
|
|
7
|
-
- clean-code
|
|
8
|
-
- documentation-templates
|
|
9
|
-
- fabel-protocol
|
|
10
6
|
tools: Read, Grep, Glob, Bash, Edit, Write
|
|
11
7
|
scripts-binding:
|
|
12
8
|
- .agent/scripts/skill_integrator.js
|
|
@@ -14,123 +10,168 @@ scripts-binding:
|
|
|
14
10
|
- .agent/scripts/lint_runner.js
|
|
15
11
|
---
|
|
16
12
|
|
|
17
|
-
#
|
|
13
|
+
# /skill-creator — Skill Creation & Iterative Improvement Engine
|
|
18
14
|
|
|
19
|
-
|
|
15
|
+
A specialized meta-skill workflow for creating, evaluating, and iteratively refining new AI skills.
|
|
16
|
+
This skill guides the process from capturing intent to writing the skill, testing it with baseline comparisons, and optimizing its triggering description.
|
|
20
17
|
|
|
21
|
-
|
|
18
|
+
---
|
|
22
19
|
|
|
23
|
-
1. **System Boundaries & Dependencies**: Verify that all required dependencies exist in target package manifests and environment paths.
|
|
24
|
-
2. **Runtime Context & Platform Invariants**: Confirm target platform constraints (Node.js, Browser, Mobile OS, Edge runtime) before applying APIs.
|
|
25
|
-
3. **Execution Guardrails**: Identify potential side-effects, state mutations, and unhandled asynchronous exceptions.
|
|
26
|
-
4. **Validation & Type Contracts**: Validate input data schemas and strict type constraints across all module interfaces.
|
|
27
|
-
5. **Observability & Proof of Execution**: Ensure execution produces tangible verification signals (terminal output, tests, metrics).
|
|
28
20
|
|
|
29
|
-
|
|
21
|
+
---
|
|
30
22
|
|
|
31
|
-
|
|
32
|
-
- **DO NOT activate when:** The task falls outside the `skill-creator` domain or is managed by a different dedicated specialist.
|
|
23
|
+
## 🔁 The Skill Creation Loop
|
|
33
24
|
|
|
34
|
-
|
|
25
|
+
Execute the creation process using this high-level loop:
|
|
26
|
+
1. Decide what the skill should do and how.
|
|
27
|
+
2. Write a draft of the skill (`SKILL.md`).
|
|
28
|
+
3. Create test prompts and run Claude with access to the skill.
|
|
29
|
+
4. Help the user evaluate results (qualitatively and quantitatively).
|
|
30
|
+
5. While runs happen, draft quantitative evals.
|
|
31
|
+
6. Use the eval-viewer (`generate_review.py`) to show results to the user.
|
|
32
|
+
7. Rewrite the skill based on feedback.
|
|
33
|
+
8. Repeat until satisfied, then run the description optimizer.
|
|
35
34
|
|
|
36
|
-
|
|
35
|
+
---
|
|
37
36
|
|
|
38
|
-
|
|
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
|
-
| **Pass 7** | **Quality Gate** | Enforce Verification-Before-Completion (VBC) with concrete terminal proof before finalizing. |
|
|
37
|
+
## Phase 1 — Capture Intent & Interview
|
|
47
38
|
|
|
48
|
-
|
|
39
|
+
Start by understanding the skill requirements. Ask clarifying questions:
|
|
40
|
+
- What should this skill enable Claude to do?
|
|
41
|
+
- When should this skill trigger? (What user phrases/contexts?)
|
|
42
|
+
- What's the expected output format?
|
|
43
|
+
- Should we set up test cases? (Yes for objective tasks like file transforms; maybe no for subjective ones like writing style).
|
|
49
44
|
|
|
50
|
-
|
|
45
|
+
**Research**: Check available MCPs for research via subagents or inline. Come prepared to reduce the burden on the user.
|
|
51
46
|
|
|
52
47
|
---
|
|
53
48
|
|
|
49
|
+
## Phase 2 — Write the SKILL.md
|
|
54
50
|
|
|
55
|
-
|
|
51
|
+
Based on the interview, draft the skill components.
|
|
56
52
|
|
|
57
|
-
|
|
53
|
+
- **name**: Skill identifier.
|
|
54
|
+
- **description**: Make it slightly "pushy". Include what it does AND specific contexts to trigger it.
|
|
55
|
+
- *Example*: Instead of "Build a dashboard", use "Use this skill whenever the user mentions dashboards, data visualization, internal metrics, or wants to display any kind of company data, even if they don't explicitly ask for a 'dashboard'."
|
|
58
56
|
|
|
59
|
-
###
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
skills:
|
|
68
|
-
- [dependency-skill-1]
|
|
69
|
-
- [dependency-skill-2]
|
|
70
|
-
scripts-binding:
|
|
71
|
-
- .agent/scripts/lint_runner.js
|
|
72
|
-
- .agent/scripts/verify_all.js
|
|
73
|
-
---
|
|
57
|
+
### Anatomy of a Skill
|
|
58
|
+
```text
|
|
59
|
+
skill-name/
|
|
60
|
+
├── SKILL.md (required - YAML frontmatter + Markdown)
|
|
61
|
+
└── Bundled Resources (optional)
|
|
62
|
+
├── scripts/ - Executable code for deterministic tasks
|
|
63
|
+
├── references/ - Docs loaded into context as needed
|
|
64
|
+
└── assets/ - Templates, icons, fonts
|
|
74
65
|
```
|
|
75
66
|
|
|
76
|
-
###
|
|
77
|
-
|
|
67
|
+
### Writing Rules:
|
|
68
|
+
- Keep `SKILL.md` under 500 lines. Use progressive disclosure (references) for larger files.
|
|
69
|
+
- **Principle of Lack of Surprise**: No malware, no exploit code, no unauthorized access.
|
|
70
|
+
- Use imperative form. Explain *why* things are important instead of rigid, heavy-handed MUSTs.
|
|
71
|
+
- Include clear input/output examples.
|
|
72
|
+
- **Look for repeated work**: If test cases show subagents independently writing similar helper scripts (e.g. `create_docx.py`), bundle that script into `scripts/` and instruct the skill to use it!
|
|
78
73
|
|
|
79
|
-
|
|
80
|
-
Explicitly define:
|
|
81
|
-
- `- **Activate when:** [Exact stack, problem type, or file pattern]`
|
|
82
|
-
- `- **DO NOT activate when:** [Out-of-scope scenarios; specify which specialist/skill to defer to]`
|
|
83
|
-
|
|
84
|
-
### 4. 2026 Performance & Logic Invariants
|
|
85
|
-
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).
|
|
74
|
+
---
|
|
86
75
|
|
|
87
|
-
|
|
88
|
-
|
|
76
|
+
## Phase 3 — Test Cases & Evaluation
|
|
77
|
+
|
|
78
|
+
After drafting, create 2-3 realistic test prompts and share them with the user.
|
|
79
|
+
|
|
80
|
+
Save prompts to `evals/evals.json` (draft assertions later):
|
|
81
|
+
```json
|
|
82
|
+
{
|
|
83
|
+
"skill_name": "example-skill",
|
|
84
|
+
"evals": [
|
|
85
|
+
{
|
|
86
|
+
"id": 1,
|
|
87
|
+
"prompt": "User's task prompt",
|
|
88
|
+
"expected_output": "Description of expected result",
|
|
89
|
+
"files": []
|
|
90
|
+
}
|
|
91
|
+
]
|
|
92
|
+
}
|
|
93
|
+
```
|
|
89
94
|
|
|
90
|
-
###
|
|
91
|
-
|
|
95
|
+
### Evaluation Execution Protocol (Crucial!)
|
|
96
|
+
1. **Spawn All Runs at Once**: Spawn both with-skill AND baseline subagents in the *same turn*. Save outputs to `<workspace>/iteration-<N>/eval-<ID>/with_skill/outputs/` and `without_skill/outputs/` (or `old_skill/outputs/`).
|
|
97
|
+
2. **Draft Assertions While Running**: While runs are ongoing, draft quantitative assertions. Good assertions are objectively verifiable and have descriptive names. Update `eval_metadata.json` and `evals/evals.json`.
|
|
98
|
+
3. **Capture Timing Data**: Capture `total_tokens` and `duration_ms` from task notifications immediately to `timing.json` inside the run directory.
|
|
99
|
+
4. **Grade and Aggregate**:
|
|
100
|
+
- Grade each run using an automated grading agent. Save to `grading.json`.
|
|
101
|
+
- Aggregate into benchmark: `python -m scripts.aggregate_benchmark <workspace>/iteration-N --skill-name <name>`
|
|
102
|
+
5. **Launch Eval Viewer**:
|
|
103
|
+
```bash
|
|
104
|
+
nohup python <skill-creator-path>/eval-viewer/generate_review.py \
|
|
105
|
+
<workspace>/iteration-N \
|
|
106
|
+
--skill-name "my-skill" \
|
|
107
|
+
--benchmark <workspace>/iteration-N/benchmark.json \
|
|
108
|
+
> /dev/null 2>&1 &
|
|
109
|
+
VIEWER_PID=$!
|
|
110
|
+
```
|
|
111
|
+
*For iteration 2+, add `--previous-workspace <workspace>/iteration-<N-1>`.*
|
|
92
112
|
|
|
93
113
|
---
|
|
94
114
|
|
|
95
|
-
##
|
|
115
|
+
## Phase 4 — Review & Improve
|
|
96
116
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
| **Concurrency / Race Conditions** | Stale state overwrite or inconsistent data mutations | Use atomic transactions, mutex locking, or cancel-on-resubmit controls |
|
|
102
|
-
| **Invalid Schema / Malformed Payload** | Downstream runtime errors or security injection | Validate boundary payloads with Zod/Pydantic schemas prior to execution |
|
|
103
|
-
| **Resource / Memory Saturation** | OOM errors, frame drops, or memory leaks | Clean up listeners, cancel active timers, and enforce pagination/virtualization |
|
|
117
|
+
1. Read user feedback from `feedback.json` once the user clicks "Submit All Reviews".
|
|
118
|
+
2. **Improve**: Generalize from the feedback. Don't overfit to specific examples. Keep the prompt lean. Explain the *why* behind your instructions.
|
|
119
|
+
3. Rerun the iteration loop (apply improvements, rerun tests, launch reviewer) until the user is satisfied or feedback is empty.
|
|
120
|
+
4. Kill the viewer server when done: `kill $VIEWER_PID 2>/dev/null`
|
|
104
121
|
|
|
105
122
|
---
|
|
106
123
|
|
|
107
|
-
##
|
|
124
|
+
## Phase 5 — Description Optimization (Triggering)
|
|
125
|
+
|
|
126
|
+
Optimize the `description` to ensure Claude triggers the skill correctly.
|
|
127
|
+
|
|
128
|
+
1. **Generate Eval Queries**: Create 20 queries (10 should-trigger, 10 should-not-trigger) in JSON format.
|
|
129
|
+
- *Should-trigger*: Concrete, specific, messy real-world prompts (e.g. "my boss sent me this xlsx...").
|
|
130
|
+
- *Should-not-trigger*: Near-misses, adjacent domains, genuinely tricky cases.
|
|
131
|
+
2. **Review with User**: Use the `assets/eval_review.html` template. Replace placeholders and open in browser. Wait for the user to export `eval_set.json` (check `~/Downloads/`).
|
|
132
|
+
3. **Run Optimization Loop** (in background):
|
|
133
|
+
```bash
|
|
134
|
+
python -m scripts.run_loop \
|
|
135
|
+
--eval-set <path-to-trigger-eval.json> \
|
|
136
|
+
--skill-path <path-to-skill> \
|
|
137
|
+
--model <model-id-powering-this-session> \
|
|
138
|
+
--max-iterations 5 \
|
|
139
|
+
--verbose
|
|
140
|
+
```
|
|
141
|
+
4. Apply the `best_description` from the output to the skill's frontmatter.
|
|
142
|
+
|
|
143
|
+
---
|
|
108
144
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
145
|
+
## Final Step — Package & Present
|
|
146
|
+
|
|
147
|
+
If the `present_files` tool is available:
|
|
148
|
+
```bash
|
|
149
|
+
python -m scripts.package_skill <path/to/skill-folder>
|
|
150
|
+
```
|
|
151
|
+
Present the `.skill` file path to the user for installation.
|
|
114
152
|
|
|
115
153
|
---
|
|
116
154
|
|
|
117
|
-
##
|
|
155
|
+
## Claude.ai / Cowork Specific Adaptations
|
|
118
156
|
|
|
119
|
-
**
|
|
120
|
-
**
|
|
157
|
+
- **Claude.ai (No Subagents)**: Do test cases yourself serially. Skip baseline runs. Skip the browser reviewer—present results directly in chat. Skip description optimization (requires CLI).
|
|
158
|
+
- **Cowork**: You have subagents. Use `--static <output_path>` for `generate_review.py` to write standalone HTML, as there is no browser display. Provide the HTML link to the user.
|
|
159
|
+
- **CRITICAL**: GENERATE THE EVAL VIEWER BEFORE evaluating inputs yourself. You want to get them in front of the human ASAP!
|
|
160
|
+
|
|
161
|
+
---
|
|
121
162
|
|
|
122
|
-
|
|
163
|
+
## 🚨 Guardrails & Hallucination Traps
|
|
123
164
|
|
|
124
165
|
```
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
✅
|
|
166
|
+
❌ Never stop partway through the evaluation sequence.
|
|
167
|
+
❌ Never spawn with-skill runs and baselines in separate turns.
|
|
168
|
+
❌ Never write "ALWAYS" or "NEVER" in all caps if you can explain the reasoning instead.
|
|
169
|
+
❌ Never use simple/trivial queries for trigger evals (e.g., "format data").
|
|
170
|
+
✅ Always generate the eval viewer for the human to look at examples before revising the skill yourself.
|
|
130
171
|
```
|
|
131
172
|
|
|
132
|
-
|
|
173
|
+
## VBC Protocol
|
|
133
174
|
|
|
134
|
-
**
|
|
135
|
-
|
|
136
|
-
|
|
175
|
+
**Verification-Before-Completion (VBC)**: Never assert a fix or feature is complete without executing the verification command in the current session. Evidence before claims always.
|
|
176
|
+
1. Run `python -m scripts.run_loop --eval-set <eval.json>` to verify description triggers.
|
|
177
|
+
2. Produce HTML viewer and get human approval before finishing.
|