tribunal-kit 7.0.0 → 9.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agent/ARCHITECTURE.md +2 -2
- package/.agent/config/claude.json +18 -0
- package/.agent/config/plugin.json +102 -0
- package/.agent/config/slash-commands.json +103 -0
- package/.agent/config/specialist-registry.json +415 -0
- package/.agent/config/system-prompt.md +244 -0
- package/.agent/history/architecture-graph.yaml +302 -3
- package/.agent/history/graph-cache.json +515 -45
- package/.agent/history/memory.db +0 -0
- package/.agent/history/snapshots/bin__adapter-install.js.json +13 -0
- package/.agent/history/snapshots/bin__global-store.js.json +15 -0
- package/.agent/history/snapshots/bin__mcp-server.js.json +19 -0
- package/.agent/history/snapshots/bin__proxy-server.js.json +20 -0
- package/.agent/history/snapshots/bin__spawn-agent.js.json +12 -0
- package/.agent/history/snapshots/bin__tk-proxy.js.json +21 -0
- package/.agent/history/snapshots/bin__tribunal-kit.js.json +9 -7
- package/.agent/history/snapshots/bin__wrapper.js.json +14 -0
- package/.agent/history/snapshots/eslint.config.js.json +1 -2
- package/.agent/history/snapshots/scripts__benchmark.js.json +14 -0
- package/.agent/history/snapshots/scripts__changelog.js.json +1 -2
- package/.agent/history/snapshots/scripts__fix-vbc.js.json +11 -0
- package/.agent/history/snapshots/scripts__stress_benchmark.js.json +15 -0
- package/.agent/history/snapshots/scripts__sync-version.js.json +1 -2
- package/.agent/history/snapshots/scripts__validate-payload.js.json +1 -2
- package/.agent/history/snapshots/scripts__visual_audit.js.json +11 -0
- package/.agent/history/snapshots/test__integration__bridges.test.js.json +1 -2
- package/.agent/history/snapshots/test__integration__graceful_degradation.test.js.json +12 -0
- package/.agent/history/snapshots/test__integration__init.test.js.json +1 -2
- package/.agent/history/snapshots/test__integration__minimal_change_pipeline.test.js.json +13 -0
- package/.agent/history/snapshots/test__integration__parallel_tribunal.test.js.json +12 -0
- package/.agent/history/snapshots/test__integration__routing.test.js.json +1 -2
- package/.agent/history/snapshots/test__integration__swarm_dispatcher.test.js.json +1 -2
- package/.agent/history/snapshots/test__integration__sync_status.test.js.json +13 -0
- package/.agent/history/snapshots/test__integration__wave2.test.js.json +1 -2
- package/.agent/history/snapshots/test__integration__wrapper.test.js.json +13 -0
- package/.agent/history/snapshots/test__unit__align.test.js.json +10 -0
- package/.agent/history/snapshots/test__unit__args.test.js.json +3 -3
- package/.agent/history/snapshots/test__unit__audit_release.test.js.json +16 -0
- package/.agent/history/snapshots/test__unit__case_law_manager.test.js.json +1 -2
- package/.agent/history/snapshots/test__unit__cicd_validator.test.js.json +12 -0
- package/.agent/history/snapshots/test__unit__compile.test.js.json +10 -0
- package/.agent/history/snapshots/test__unit__context_broker.test.js.json +1 -2
- package/.agent/history/snapshots/test__unit__contract_engine.test.js.json +13 -0
- package/.agent/history/snapshots/test__unit__copyDir.test.js.json +3 -3
- package/.agent/history/snapshots/test__unit__graph_tools.test.js.json +1 -2
- package/.agent/history/snapshots/test__unit__guardrail_engine.test.js.json +10 -0
- package/.agent/history/snapshots/test__unit__impact_classifier.test.js.json +12 -0
- package/.agent/history/snapshots/test__unit__init.test.js.json +14 -0
- package/.agent/history/snapshots/test__unit__inner_loop_validator.test.js.json +1 -2
- package/.agent/history/snapshots/test__unit__integrity_manifest.test.js.json +13 -0
- package/.agent/history/snapshots/test__unit__learn.test.js.json +11 -0
- package/.agent/history/snapshots/test__unit__marathon.test.js.json +22 -0
- package/.agent/history/snapshots/test__unit__mcp_server.test.js.json +16 -0
- package/.agent/history/snapshots/test__unit__memory.test.js.json +13 -0
- package/.agent/history/snapshots/test__unit__minimal_change.test.js.json +10 -0
- package/.agent/history/snapshots/test__unit__native.test.js.json +10 -0
- package/.agent/history/snapshots/test__unit__optimize.test.js.json +13 -0
- package/.agent/history/snapshots/test__unit__path_resolution.test.js.json +14 -0
- package/.agent/history/snapshots/test__unit__production_readiness_evidence.test.js.json +21 -0
- package/.agent/history/snapshots/test__unit__selfInstall.test.js.json +3 -3
- package/.agent/history/snapshots/test__unit__semver.test.js.json +3 -3
- package/.agent/history/snapshots/test__unit__skill_evolution.test.js.json +11 -0
- package/.agent/history/snapshots/test__unit__stress.test.js.json +15 -0
- package/.agent/history/snapshots/test__unit__swarm_dispatcher.test.js.json +3 -3
- package/.agent/history/snapshots/test__unit__utils.test.js.json +10 -0
- package/.agent/routing_index.json +2 -2
- package/.agent/scripts/ast_context_loader.js +137 -0
- package/.agent/scripts/memory_engine.js +581 -0
- package/.agent/scripts/payload_schemas.js +146 -0
- package/.agent/scripts/prompt_compiler.js +59 -11
- package/.agent/scripts/swarm_dispatcher.js +295 -67
- package/.agent/scripts/token_budget_broker.js +117 -6
- package/.agent/skills/12-principles-of-animation/SKILL.md +19 -16
- package/.agent/skills/60fps-animation/SKILL.md +47 -21
- package/.agent/skills/accessible-animation/SKILL.md +19 -16
- package/.agent/skills/adapt/SKILL.md +19 -16
- package/.agent/skills/advanced-rag-pipelines/SKILL.md +41 -40
- package/.agent/skills/agent-organizer/SKILL.md +9 -59
- package/.agent/skills/agentic-patterns/SKILL.md +9 -57
- package/.agent/skills/agentic-workflows-2026/SKILL.md +45 -8
- package/.agent/skills/ai-app-hardening/SKILL.md +31 -5
- package/.agent/skills/ai-prompt-injection-defense/SKILL.md +28 -66
- package/.agent/skills/animation-on-scroll/SKILL.md +19 -16
- package/.agent/skills/animation-systems/SKILL.md +19 -15
- package/.agent/skills/antfu-conventions/SKILL.md +19 -18
- package/.agent/skills/api-patterns/SKILL.md +8 -58
- package/.agent/skills/api-security-auditor/SKILL.md +8 -58
- package/.agent/skills/app-builder/SKILL.md +9 -59
- package/.agent/skills/appflow-wireframe/SKILL.md +13 -57
- package/.agent/skills/apple-design/SKILL.md +22 -14
- package/.agent/skills/architecture/SKILL.md +9 -59
- package/.agent/skills/audit-and-fix/SKILL.md +19 -16
- package/.agent/skills/authentication-best-practices/SKILL.md +8 -58
- package/.agent/skills/backend-security-expert/SKILL.md +32 -65
- package/.agent/skills/baseline-ui/SKILL.md +22 -14
- package/.agent/skills/bash-linux/SKILL.md +9 -59
- package/.agent/skills/behavioral-modes/SKILL.md +9 -57
- package/.agent/skills/better-colors/SKILL.md +22 -14
- package/.agent/skills/better-typography/SKILL.md +26 -14
- package/.agent/skills/better-ui/SKILL.md +54 -19
- package/.agent/skills/bolder/SKILL.md +19 -16
- package/.agent/skills/brainstorming/SKILL.md +9 -57
- package/.agent/skills/browser-native-ai/SKILL.md +9 -28
- package/.agent/skills/build-primitive/SKILL.md +19 -16
- package/.agent/skills/building-native-ui/SKILL.md +9 -59
- package/.agent/skills/cicd-pro/SKILL.md +21 -28
- package/.agent/skills/clarify/SKILL.md +19 -16
- package/.agent/skills/clean-code/SKILL.md +18 -61
- package/.agent/skills/cloud-architect/SKILL.md +21 -28
- package/.agent/skills/cobejs/SKILL.md +19 -15
- package/.agent/skills/code-review-checklist/SKILL.md +8 -58
- package/.agent/skills/codebase-design/SKILL.md +33 -22
- package/.agent/skills/colorize/SKILL.md +19 -16
- package/.agent/skills/compact-landing/SKILL.md +19 -16
- package/.agent/skills/company-logos/SKILL.md +19 -16
- package/.agent/skills/config-validator/SKILL.md +9 -59
- package/.agent/skills/containerization-pro/SKILL.md +21 -28
- package/.agent/skills/context-engineering-pro/SKILL.md +31 -5
- package/.agent/skills/create-design-md/SKILL.md +22 -14
- package/.agent/skills/critique/SKILL.md +20 -11
- package/.agent/skills/csharp-developer/SKILL.md +8 -58
- package/.agent/skills/data-validation-schemas/SKILL.md +9 -59
- package/.agent/skills/database-design/SKILL.md +27 -67
- package/.agent/skills/delight/SKILL.md +19 -16
- package/.agent/skills/deployment-procedures/SKILL.md +9 -59
- package/.agent/skills/design-lab/SKILL.md +19 -16
- package/.agent/skills/devops-engineer/SKILL.md +8 -58
- package/.agent/skills/devops-incident-responder/SKILL.md +9 -59
- package/.agent/skills/diagnosing-bugs/SKILL.md +20 -21
- package/.agent/skills/distill/SKILL.md +19 -16
- package/.agent/skills/documentation-templates/SKILL.md +9 -59
- package/.agent/skills/domain-modeling/SKILL.md +19 -18
- package/.agent/skills/duckdb-analytical-sql/SKILL.md +31 -5
- package/.agent/skills/edge-ai-mobile/SKILL.md +31 -5
- package/.agent/skills/edge-computing/SKILL.md +9 -59
- package/.agent/skills/emil-design-eng/SKILL.md +21 -24
- package/.agent/skills/error-resilience/SKILL.md +31 -66
- package/.agent/skills/expo-router-v4/SKILL.md +31 -5
- package/.agent/skills/extract-design-system/SKILL.md +9 -59
- package/.agent/skills/fabel-protocol/SKILL.md +26 -8
- package/.agent/skills/fixing-accessibility/SKILL.md +22 -14
- package/.agent/skills/fixing-metadata/SKILL.md +19 -16
- package/.agent/skills/fixing-motion-performance/SKILL.md +22 -14
- package/.agent/skills/framer-motion-expert/SKILL.md +9 -57
- package/.agent/skills/frontend-design/SKILL.md +27 -7
- package/.agent/skills/frontend-security-expert/SKILL.md +8 -58
- package/.agent/skills/game-design-expert/SKILL.md +9 -59
- package/.agent/skills/game-engineering-expert/SKILL.md +9 -59
- package/.agent/skills/generative-ui-expert/SKILL.md +9 -28
- package/.agent/skills/geo-fundamentals/SKILL.md +9 -59
- package/.agent/skills/git-pro/SKILL.md +19 -30
- package/.agent/skills/github-operations/SKILL.md +8 -58
- package/.agent/skills/gpt-taste/SKILL.md +19 -16
- package/.agent/skills/gsap-core/SKILL.md +8 -78
- package/.agent/skills/gsap-frameworks/SKILL.md +8 -78
- package/.agent/skills/gsap-performance/SKILL.md +9 -77
- package/.agent/skills/gsap-plugins/SKILL.md +9 -77
- package/.agent/skills/gsap-react/SKILL.md +9 -21
- package/.agent/skills/gsap-scrolltrigger/SKILL.md +8 -78
- package/.agent/skills/gsap-timeline/SKILL.md +9 -77
- package/.agent/skills/gsap-utils/SKILL.md +9 -77
- package/.agent/skills/harden/SKILL.md +19 -16
- package/.agent/skills/harness-protocol/SKILL.md +9 -21
- package/.agent/skills/i18n-localization/SKILL.md +9 -59
- package/.agent/skills/impeccable/SKILL.md +19 -18
- package/.agent/skills/improve-codebase-architecture/SKILL.md +19 -17
- package/.agent/skills/improve-ui/SKILL.md +22 -14
- package/.agent/skills/intelligent-routing/SKILL.md +9 -23
- package/.agent/skills/knowledge-graph/SKILL.md +9 -21
- package/.agent/skills/landing-page/SKILL.md +19 -16
- package/.agent/skills/lint-and-validate/SKILL.md +9 -59
- package/.agent/skills/llm-engineering/SKILL.md +8 -58
- package/.agent/skills/local-first/SKILL.md +9 -59
- package/.agent/skills/local-first-architecture/SKILL.md +37 -20
- package/.agent/skills/lottie-animation/SKILL.md +19 -15
- package/.agent/skills/marquee-loop/SKILL.md +19 -16
- package/.agent/skills/masked-reveal/SKILL.md +19 -15
- package/.agent/skills/mcp-builder/SKILL.md +9 -59
- package/.agent/skills/micro-interaction/SKILL.md +19 -16
- package/.agent/skills/mobile-design/SKILL.md +8 -58
- package/.agent/skills/monorepo-management/SKILL.md +9 -59
- package/.agent/skills/morphing-icons/SKILL.md +19 -15
- package/.agent/skills/motion-engineering/SKILL.md +22 -15
- package/.agent/skills/nextjs-react-expert/SKILL.md +35 -67
- package/.agent/skills/nodejs-best-practices/SKILL.md +34 -61
- package/.agent/skills/observability/SKILL.md +8 -58
- package/.agent/skills/opentelemetry-observability/SKILL.md +31 -5
- package/.agent/skills/page-transition-animation/SKILL.md +19 -16
- package/.agent/skills/parallel-agents/SKILL.md +9 -59
- package/.agent/skills/performance-profiling/SKILL.md +8 -58
- package/.agent/skills/plan-writing/SKILL.md +36 -69
- package/.agent/skills/platform-engineer/SKILL.md +9 -59
- package/.agent/skills/platform-engineering-opentofu/SKILL.md +31 -5
- package/.agent/skills/playwright-ai-e2e/SKILL.md +31 -5
- package/.agent/skills/playwright-best-practices/SKILL.md +9 -59
- package/.agent/skills/polish/SKILL.md +19 -16
- package/.agent/skills/powershell-windows/SKILL.md +8 -58
- package/.agent/skills/pricing-page/SKILL.md +19 -16
- package/.agent/skills/product-aware-heuristics/SKILL.md +27 -8
- package/.agent/skills/progressive-blur/SKILL.md +19 -16
- package/.agent/skills/project-idioms/SKILL.md +9 -59
- package/.agent/skills/property-based-testing/SKILL.md +31 -5
- package/.agent/skills/python-patterns/SKILL.md +9 -59
- package/.agent/skills/python-pro/SKILL.md +35 -67
- package/.agent/skills/quieter/SKILL.md +19 -16
- package/.agent/skills/react-doctor/SKILL.md +19 -16
- package/.agent/skills/react-specialist/SKILL.md +26 -65
- package/.agent/skills/readme-builder/SKILL.md +9 -59
- package/.agent/skills/realtime-patterns/SKILL.md +8 -58
- package/.agent/skills/red-team-tactics/SKILL.md +9 -59
- package/.agent/skills/redesign-skill/SKILL.md +19 -16
- package/.agent/skills/review-animations/SKILL.md +21 -25
- package/.agent/skills/rust-pro/SKILL.md +30 -61
- package/.agent/skills/seo-fundamentals/SKILL.md +9 -59
- package/.agent/skills/server-management/SKILL.md +9 -59
- package/.agent/skills/shadcn-ui-expert/SKILL.md +9 -59
- package/.agent/skills/shape/SKILL.md +19 -16
- package/.agent/skills/skill-creator/SKILL.md +36 -86
- package/.agent/skills/soft-skill/SKILL.md +19 -16
- package/.agent/skills/sounds-on-the-web/SKILL.md +19 -16
- package/.agent/skills/sql-pro/SKILL.md +47 -62
- package/.agent/skills/supabase-postgres-best-practices/SKILL.md +9 -59
- package/.agent/skills/svg-animation/SKILL.md +19 -15
- package/.agent/skills/swiftui-expert/SKILL.md +9 -59
- package/.agent/skills/swiss-design/SKILL.md +19 -16
- package/.agent/skills/system-design-pro/SKILL.md +21 -26
- package/.agent/skills/systematic-debugging/SKILL.md +19 -60
- package/.agent/skills/systematic-debugging/condition-based-waiting.md +115 -0
- package/.agent/skills/systematic-debugging/defense-in-depth.md +122 -0
- package/.agent/skills/systematic-debugging/root-cause-tracing.md +169 -0
- package/.agent/skills/tailwind-patterns/SKILL.md +8 -58
- package/.agent/skills/taste-skill/SKILL.md +19 -16
- package/.agent/skills/tdd-workflow/SKILL.md +65 -25
- package/.agent/skills/test-result-analyzer/SKILL.md +9 -59
- package/.agent/skills/testing-patterns/SKILL.md +8 -58
- package/.agent/skills/thermo-nuclear-code-quality-review/SKILL.md +19 -18
- package/.agent/skills/thinking-protocol/SKILL.md +33 -2
- package/.agent/skills/to-spring-or-not-to-spring/SKILL.md +19 -15
- package/.agent/skills/transitions-dev/SKILL.md +19 -15
- package/.agent/skills/trend-researcher/SKILL.md +9 -59
- package/.agent/skills/typescript-advanced/SKILL.md +21 -64
- package/.agent/skills/typeset/SKILL.md +19 -16
- package/.agent/skills/ui-reasoning-engine/SKILL.md +27 -8
- package/.agent/skills/ui-skill-packs/SKILL.md +26 -16
- package/.agent/skills/ui-skills-root/SKILL.md +22 -14
- package/.agent/skills/ui-ux-pro-max/SKILL.md +38 -12
- package/.agent/skills/ui-ux-researcher/SKILL.md +9 -59
- package/.agent/skills/vector-search-pgvector/SKILL.md +31 -5
- package/.agent/skills/verification-before-completion/SKILL.md +125 -0
- package/.agent/skills/vue-expert/SKILL.md +9 -57
- package/.agent/skills/vulnerability-scanner/SKILL.md +8 -58
- package/.agent/skills/web-accessibility-auditor/SKILL.md +9 -59
- package/.agent/skills/web-design-guidelines/SKILL.md +27 -7
- package/.agent/skills/web-quality-audit/SKILL.md +19 -16
- package/.agent/skills/webapp-testing/SKILL.md +9 -59
- package/.agent/skills/webgpu-performance/SKILL.md +9 -28
- package/.agent/skills/whimsy-injector/SKILL.md +9 -57
- package/.agent/skills/workflow-optimizer/SKILL.md +9 -57
- package/.agent/skills/zero-trust-passkeys/SKILL.md +31 -5
- package/.agent/templates/DESIGN.md +680 -160
- package/.agent/templates/sdd/implementer-prompt.md +53 -0
- package/.agent/templates/sdd/re-review-prompt.md +28 -0
- package/.agent/templates/sdd/task-reviewer-prompt.md +59 -0
- package/.agent/workflows/acf.md +4 -0
- package/.agent/workflows/api-tester.md +5 -0
- package/.agent/workflows/audit.md +5 -0
- package/.agent/workflows/brainstorm.md +17 -1
- package/.agent/workflows/changelog.md +5 -0
- package/.agent/workflows/contract.md +19 -0
- package/.agent/workflows/create.md +6 -1
- package/.agent/workflows/debug.md +5 -0
- package/.agent/workflows/deploy.md +6 -1
- package/.agent/workflows/enhance.md +6 -1
- package/.agent/workflows/fix-ci.md +5 -0
- package/.agent/workflows/fix.md +5 -0
- package/.agent/workflows/generate.md +5 -0
- package/.agent/workflows/marathon.md +6 -1
- package/.agent/workflows/migrate.md +5 -0
- package/.agent/workflows/minimal.md +4 -0
- package/.agent/workflows/orchestrate.md +6 -1
- package/.agent/workflows/performance-benchmarker.md +6 -1
- package/.agent/workflows/pipeline.md +5 -0
- package/.agent/workflows/plan.md +6 -1
- package/.agent/workflows/preview.md +6 -1
- package/.agent/workflows/refactor.md +6 -0
- package/.agent/workflows/review-ai.md +5 -0
- package/.agent/workflows/review.md +5 -0
- package/.agent/workflows/sdd.md +122 -0
- package/.agent/workflows/session.md +5 -0
- package/.agent/workflows/status.md +4 -0
- package/.agent/workflows/super-prompt.md +4 -0
- package/.agent/workflows/swarm.md +6 -1
- package/.agent/workflows/test.md +6 -1
- package/.agent/workflows/tribunal-backend.md +5 -0
- package/.agent/workflows/tribunal-cicd.md +5 -0
- package/.agent/workflows/tribunal-database.md +5 -0
- package/.agent/workflows/tribunal-full.md +8 -0
- package/.agent/workflows/tribunal-mobile.md +5 -0
- package/.agent/workflows/tribunal-performance.md +5 -0
- package/.agent/workflows/tribunal-speed.md +5 -0
- package/.agent/workflows/tribunal-ui.md +7 -0
- package/.agents/plugins/marketplace.json +20 -0
- package/.claude/CLAUDE.md +442 -0
- package/.claude-plugin/marketplace.json +17 -0
- package/.claude-plugin/plugin.json +26 -0
- package/.codex-plugin/plugin.json +45 -0
- package/.cursor-plugin/plugin.json +26 -0
- package/.devin-plugin/plugin.json +14 -0
- package/.hermes-plugin/__init__.py +102 -0
- package/.hermes-plugin/plugin.yaml +6 -0
- package/.kimi-plugin/plugin.json +38 -0
- package/.opencode/INSTALL.md +41 -0
- package/.opencode/plugins/tribunal.js +101 -0
- package/.pi/extensions/tribunal.ts +133 -0
- package/CONTRIBUTING.md +1 -1
- package/README.md +253 -218
- package/SECURITY.md +3 -3
- package/bin/adapter-install.js +240 -0
- package/bin/global-store.js +48 -0
- package/bin/mcp-server.js +568 -252
- package/bin/proxy-server.js +113 -0
- package/bin/spawn-agent.js +39 -0
- package/bin/tk-proxy.js +34 -0
- package/bin/wrapper.js +1 -0
- package/dist/cli.js +355 -355
- package/dist/commands/init.js +8 -51
- package/dist/commands/status.js +61 -36
- package/dist/commands/validate.js +22 -31
- package/dist/esm/index.mjs +142 -142
- package/dist/index.d.ts +349 -343
- package/dist/tui/banner.js +77 -0
- package/dist/tui/index.js +21 -0
- package/dist/tui/reviewer-grid.js +90 -0
- package/dist/tui/shimmer.js +91 -0
- package/dist/tui/theme.js +130 -0
- package/dist/tui/tree.js +93 -0
- package/dist/tui/wizard.js +148 -0
- package/dist/utils/helpers.js +5 -41
- package/gemini-extension.json +6 -0
- package/hooks/hooks-cursor.json +16 -0
- package/hooks/hooks.json +16 -0
- package/hooks/session-start.js +77 -0
- package/package.json +165 -129
- package/scripts/audit_skill_sdo.js +87 -0
- package/scripts/build-graph.js +71 -0
- package/scripts/modernize_skills.js +254 -0
- package/.agent/history/snapshots/migrate_refs.js.json +0 -11
- package/.agent/scripts/compile_router.py +0 -5
- package/.agent/scripts/migrate_skills_frontmatter.py +0 -5
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Implementer Subagent Prompt Template
|
|
2
|
+
|
|
3
|
+
Use this template when dispatching an implementer subagent under Tribunal-Kit Subagent-Driven Development (SDD).
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
Subagent (general-purpose):
|
|
7
|
+
description: "Implement Task N: [task name]"
|
|
8
|
+
model: [MODEL — REQUIRED: Fast/cheap for mechanical tasks; standard for integration]
|
|
9
|
+
prompt: |
|
|
10
|
+
You are implementing Task N: [task name] under Tribunal-Kit Subagent-Driven Development.
|
|
11
|
+
|
|
12
|
+
## Task Description
|
|
13
|
+
Read your task brief first: [BRIEF_FILE]
|
|
14
|
+
It contains the exact task requirements sliced out-of-band from the implementation plan.
|
|
15
|
+
|
|
16
|
+
## Scene Setting & Context
|
|
17
|
+
[Scene-setting: where this fits in the architecture, dependencies, Global Constraints]
|
|
18
|
+
|
|
19
|
+
## The Iron Law of TDD (Non-Negotiable)
|
|
20
|
+
NO PRODUCTION CODE WITHOUT A FAILING TEST FIRST.
|
|
21
|
+
If you write production code before the test, you must DELETE it and start over.
|
|
22
|
+
1. Write the failing behavioral test for the requirement.
|
|
23
|
+
2. Run the test and verify it FAILS for the expected reason (RED).
|
|
24
|
+
3. Write the minimal production code to satisfy the test (GREEN).
|
|
25
|
+
4. Run the test and verify it PASSES.
|
|
26
|
+
5. Clean up logic while keeping tests passing (REFACTOR).
|
|
27
|
+
|
|
28
|
+
## You Do Not Dispatch Subagents
|
|
29
|
+
Do all of this task's work yourself. Never spawn a helper subagent and NEVER spawn
|
|
30
|
+
a reviewer to check your work. Review is handled out-of-band by the Controller's
|
|
31
|
+
Tribunal Reviewer Wave after you submit your report.
|
|
32
|
+
|
|
33
|
+
## Zero Placeholders
|
|
34
|
+
Never use "TODO", "TBD", "implement later", or omit error handling. Write full,
|
|
35
|
+
production-ready implementations.
|
|
36
|
+
|
|
37
|
+
## Reporting Back
|
|
38
|
+
Write your full report to [REPORT_FILE]:
|
|
39
|
+
- What you implemented
|
|
40
|
+
- What tests you ran and passing output
|
|
41
|
+
- TDD Evidence:
|
|
42
|
+
- RED: command run, expected failure output
|
|
43
|
+
- GREEN: command run, passing output
|
|
44
|
+
- Files changed & commits created
|
|
45
|
+
- Concerns, if any
|
|
46
|
+
|
|
47
|
+
Then reply to the Controller with ONLY a short summary (<15 lines):
|
|
48
|
+
- Status: DONE | DONE_WITH_CONCERNS | BLOCKED | NEEDS_CONTEXT
|
|
49
|
+
- Commits created (short SHA + message)
|
|
50
|
+
- One-line test summary (e.g. "12/12 passing, pristine output")
|
|
51
|
+
- Concerns (if any)
|
|
52
|
+
- Path to report file
|
|
53
|
+
```
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Scoped Re-Review Prompt Template
|
|
2
|
+
|
|
3
|
+
Use this template when re-evaluating a task fix round after the implementer addresses prior reviewer findings.
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
Subagent (general-purpose):
|
|
7
|
+
description: "Scoped Re-Review Task N Fixes"
|
|
8
|
+
model: [MODEL — REQUIRED: Cheap/fast for mechanical fixes; mid-tier for complex logic]
|
|
9
|
+
prompt: |
|
|
10
|
+
You are performing a scoped re-review of fixes applied for Task N.
|
|
11
|
+
|
|
12
|
+
## Open Findings from Prior Review
|
|
13
|
+
[PRIOR_FINDINGS_LIST]
|
|
14
|
+
|
|
15
|
+
## Fix Diff Under Review
|
|
16
|
+
Fix Diff Package: [FIX_DIFF_FILE]
|
|
17
|
+
Implementer Fix Report: [FIX_REPORT_FILE]
|
|
18
|
+
|
|
19
|
+
## Your Job
|
|
20
|
+
Verify whether the specific open findings have been properly addressed:
|
|
21
|
+
1. Are all Critical and Important issues resolved cleanly?
|
|
22
|
+
2. Did the fixes introduce any new regressions or syntax errors?
|
|
23
|
+
3. Do the updated tests verify the fix?
|
|
24
|
+
|
|
25
|
+
## Verdict Format
|
|
26
|
+
- [✅ ALL FINDINGS RESOLVED | ❌ RESIDUAL FINDINGS REMAIN]
|
|
27
|
+
- Status for each finding: [Fixed | Incomplete | Unaddressed] (with file:line)
|
|
28
|
+
```
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Tribunal Task Reviewer Prompt Template
|
|
2
|
+
|
|
3
|
+
Use this template when dispatching an out-of-band task reviewer subagent under Tribunal-Kit SDD.
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
Subagent (general-purpose):
|
|
7
|
+
description: "Review Task N (Spec Compliance + Code Quality)"
|
|
8
|
+
model: [MODEL — REQUIRED: Choose per task complexity]
|
|
9
|
+
prompt: |
|
|
10
|
+
You are a Tribunal Reviewer evaluating Task N's implementation out-of-band.
|
|
11
|
+
Your evaluation is read-only. Do not mutate the repository.
|
|
12
|
+
|
|
13
|
+
## Context & Requirements
|
|
14
|
+
Task Brief: [BRIEF_FILE]
|
|
15
|
+
Global Constraints: [GLOBAL_CONSTRAINTS]
|
|
16
|
+
Implementer Claims: [REPORT_FILE]
|
|
17
|
+
|
|
18
|
+
## Diff Under Review
|
|
19
|
+
Base: [BASE_SHA]
|
|
20
|
+
Head: [HEAD_SHA]
|
|
21
|
+
Diff Package: [DIFF_FILE]
|
|
22
|
+
|
|
23
|
+
Read [DIFF_FILE] once. It contains the commit list, stat summary, and full diff
|
|
24
|
+
with context lines. The diff context lines ARE the files—do not crawl the broader
|
|
25
|
+
codebase unless evaluating a specific named architectural risk.
|
|
26
|
+
|
|
27
|
+
## Verification Strategy
|
|
28
|
+
Do NOT trust the implementer's report as facts. Compare the claims against the diff.
|
|
29
|
+
Do NOT blindly re-run the full test suite—inspect the implementer's reported TDD evidence.
|
|
30
|
+
|
|
31
|
+
## Part 1: Spec Compliance
|
|
32
|
+
- Missing: What requirements were skipped or missed?
|
|
33
|
+
- Extra: Unrequested features or over-engineering (YAGNI violations)?
|
|
34
|
+
- Misunderstood: Right feature built the wrong way?
|
|
35
|
+
|
|
36
|
+
## Part 2: Code Quality & Tribunal Standards
|
|
37
|
+
- Security: Parameterized queries, auth checks, input sanitization?
|
|
38
|
+
- Type Safety: Clean types, zero unexplained 'any' casts?
|
|
39
|
+
- Error Resilience: Proper error boundaries and failure handling?
|
|
40
|
+
- Modularity: Clear single-responsibility boundaries?
|
|
41
|
+
- Tests: Behavioral assertions verifying real logic, not shallow mocks?
|
|
42
|
+
|
|
43
|
+
## Calibration
|
|
44
|
+
- Critical (Must Fix): Functional bugs, security vulnerabilities, broken builds, test gaps.
|
|
45
|
+
- Important (Should Fix): Fragile patterns, missed non-critical requirements, duplication.
|
|
46
|
+
- Minor (Nice to Have): Polish, cosmetic naming, documentation comments.
|
|
47
|
+
|
|
48
|
+
## Output Verdict Format
|
|
49
|
+
### Spec Compliance
|
|
50
|
+
- [✅ Spec Compliant | ❌ Issues Found] (with file:line citations)
|
|
51
|
+
|
|
52
|
+
### Issues Found
|
|
53
|
+
#### Critical (Must Fix)
|
|
54
|
+
#### Important (Should Fix)
|
|
55
|
+
#### Minor (Nice to Have)
|
|
56
|
+
|
|
57
|
+
### Verdict
|
|
58
|
+
[APPROVED | CHANGES_REQUIRED]
|
|
59
|
+
```
|
package/.agent/workflows/acf.md
CHANGED
|
@@ -24,6 +24,10 @@ Before distilling markdown specs into `.acf` YAML files, you MUST inspect:
|
|
|
24
24
|
2. Existing Context Registry (`context/*.acf`) → Check target directory to prevent duplicate context creation
|
|
25
25
|
3. YAML Schema Strictness → Validate output against ACF schema (rules, constraints, tech-stack, boundaries) before writing to disk
|
|
26
26
|
|
|
27
|
+
4. Required Skills → Before executing, load and follow procedural rules from:
|
|
28
|
+
- `clean-code` (.agent/skills/clean-code/SKILL.md): Self-documenting naming, no over-engineering, error handling patterns
|
|
29
|
+
- `documentation-templates` (.agent/skills/documentation-templates/SKILL.md): README, API docs, code comments, and AI-friendly documentation
|
|
30
|
+
|
|
27
31
|
---
|
|
28
32
|
|
|
29
33
|
## When to Use /acf
|
|
@@ -26,6 +26,11 @@ Before running automated API endpoint tests or auth-aware request sequences, you
|
|
|
26
26
|
2. Test Server URL & Credentials (`.env.test`) → Verify base URL and test token environment variables
|
|
27
27
|
3. Multi-Stage Request Sequence → Enforce sequential execution: Auth Login → Token Capture → CRUD Operations → Error Edge Case Verification
|
|
28
28
|
|
|
29
|
+
4. Required Skills → Before executing, load and follow procedural rules from:
|
|
30
|
+
- `testing-patterns` (.agent/skills/testing-patterns/SKILL.md): Testing Trophy strategy (unit → integration → E2E)
|
|
31
|
+
- `api-patterns` (.agent/skills/api-patterns/SKILL.md): REST/GraphQL API design, versioning, and error contracts
|
|
32
|
+
- `backend-security-expert` (.agent/skills/backend-security-expert/SKILL.md): Server-side security, auth, JWT, ORM injection, RBAC
|
|
33
|
+
|
|
29
34
|
---
|
|
30
35
|
|
|
31
36
|
## When to Use /api-tester
|
|
@@ -30,6 +30,11 @@ Before triggering a full project audit, you MUST inspect:
|
|
|
30
30
|
2. Executable Scripts Inventory (`.agent/scripts/`) → Verify presence of `security_scan.js`, `lint_runner.js`, and `test_runner.js`
|
|
31
31
|
3. Pipeline Execution Constraints → Confirm fixed execution order (Security → Dependencies → Type Check → Lint → Schema → Tests → Bundle) and HALT rules on critical CVE findings
|
|
32
32
|
|
|
33
|
+
4. Required Skills → Before executing, load and follow procedural rules from:
|
|
34
|
+
- `vulnerability-scanner` (.agent/skills/vulnerability-scanner/SKILL.md): OWASP vulnerability scanning patterns and severity classification
|
|
35
|
+
- `clean-code` (.agent/skills/clean-code/SKILL.md): Self-documenting naming, no over-engineering, error handling patterns
|
|
36
|
+
- `code-review-checklist` (.agent/skills/code-review-checklist/SKILL.md): Code quality, security, and best practice review gates
|
|
37
|
+
|
|
33
38
|
---
|
|
34
39
|
|
|
35
40
|
## When to Use /audit
|
|
@@ -6,7 +6,7 @@ last-updated: 2026-07-30
|
|
|
6
6
|
required-skills:
|
|
7
7
|
- brainstorming
|
|
8
8
|
- shape
|
|
9
|
-
-
|
|
9
|
+
- plan-writing
|
|
10
10
|
scripts-binding:
|
|
11
11
|
- .agent/scripts/verify_all.js
|
|
12
12
|
---
|
|
@@ -25,6 +25,22 @@ Before generating options or conducting Socratic architectural exploration, you
|
|
|
25
25
|
2. Workspace File Layout → Understand current module scale and project structure before proposing architectural shifts
|
|
26
26
|
3. Pure Exploration Constraint → Enforce zero code edits or file creation during brainstorm phase; restrict output to options, tradeoffs, and recommendations
|
|
27
27
|
|
|
28
|
+
4. Required Skills → Before executing, load and follow procedural rules from:
|
|
29
|
+
- `brainstorming` (.agent/skills/brainstorming/SKILL.md): Structured ideation and option exploration methodology
|
|
30
|
+
- `shape` (.agent/skills/shape/SKILL.md): Socratic UX interview and feature planning before implementation
|
|
31
|
+
- `plan-writing` (.agent/skills/plan-writing/SKILL.md): Implementation plan structure, phases, and approval gates
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## Path Classification (Announce First)
|
|
36
|
+
|
|
37
|
+
Before asking questions, classify the request path out loud so the user can override:
|
|
38
|
+
- **Spike:** A quick feasibility probe ("is it possible...", "quick prototype"). Output is a recommendation; any code written is strictly throwaway.
|
|
39
|
+
- **Bounded:** A well-scoped change to existing code in this repository (one small endpoint, a new flag). Present short design in chat and get explicit human approval before any implementation.
|
|
40
|
+
- **Architectural:** New feature, new subsystem, or interface change. Full process: clarifying questions, 2-3 approaches, written spec committed to `docs/specs/YYYY-MM-DD-<topic>-design.md`, human approval gate, then `/plan-writing` or `/sdd`.
|
|
41
|
+
|
|
42
|
+
> **One-Way Ratchet:** When in doubt, take the heavier path. If hidden complexity is discovered mid-task, upgrade the path immediately. Never downgrade mid-task.
|
|
43
|
+
|
|
28
44
|
---
|
|
29
45
|
|
|
30
46
|
## When to Use /brainstorm
|
|
@@ -25,6 +25,11 @@ Before generating changelogs or parsing git history, you MUST inspect:
|
|
|
25
25
|
2. Package Manifest & Version (`package.json`) → Retrieve current release version and target release tag
|
|
26
26
|
3. Keep a Changelog Formatting Standard → Enforce categories: Added, Changed, Deprecated, Removed, Fixed, Security
|
|
27
27
|
|
|
28
|
+
4. Required Skills → Before executing, load and follow procedural rules from:
|
|
29
|
+
- `github-operations` (.agent/skills/github-operations/SKILL.md): Git workflows, branching strategies, and PR management
|
|
30
|
+
- `git-pro` (.agent/skills/git-pro/SKILL.md): Advanced git operations, rebasing, cherry-picking
|
|
31
|
+
- `readme-builder` (.agent/skills/readme-builder/SKILL.md): README generation and documentation structure
|
|
32
|
+
|
|
28
33
|
---
|
|
29
34
|
|
|
30
35
|
## When to Use /changelog
|
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: AI Agent Behavioral Contract Testing & Trace Replay. Define, validate, and enforce team behavioral rules as YAML contracts. Provides init, verify, list, trace, and auto-generate from Case Law.
|
|
3
|
+
tools: Read, Grep, Glob, Bash, Edit, Write
|
|
4
|
+
version: 3.0.0
|
|
5
|
+
last-updated: 2026-07-30
|
|
6
|
+
required-skills:
|
|
7
|
+
- clean-code
|
|
8
|
+
- code-review-checklist
|
|
9
|
+
- data-validation-schemas
|
|
10
|
+
scripts-binding:
|
|
11
|
+
- .agent/scripts/security_scan.js
|
|
12
|
+
- .agent/scripts/lint_runner.js
|
|
13
|
+
---
|
|
14
|
+
|
|
1
15
|
# /contract — AI Agent Behavioral Contract Testing & Trace Replay
|
|
2
16
|
|
|
3
17
|
$ARGUMENTS
|
|
@@ -12,6 +26,11 @@ Before running behavioral contract validation, inspect:
|
|
|
12
26
|
2. Target File Scope → Determine modified or targeted files for contract validation
|
|
13
27
|
3. Failure Context Snapshots (`.tribunal/traces/`) → Check past captured trace snapshots for context
|
|
14
28
|
|
|
29
|
+
4. Required Skills → Before executing, load and follow procedural rules from:
|
|
30
|
+
- `clean-code` (.agent/skills/clean-code/SKILL.md): Self-documenting naming, no over-engineering, error handling patterns
|
|
31
|
+
- `code-review-checklist` (.agent/skills/code-review-checklist/SKILL.md): Code quality, security, and best practice review gates
|
|
32
|
+
- `data-validation-schemas` (.agent/skills/data-validation-schemas/SKILL.md): Zod, Pydantic, and input validation schema patterns
|
|
33
|
+
|
|
15
34
|
---
|
|
16
35
|
|
|
17
36
|
## When to Use /contract
|
|
@@ -6,7 +6,7 @@ last-updated: 2026-07-30
|
|
|
6
6
|
required-skills:
|
|
7
7
|
- app-builder
|
|
8
8
|
- architecture
|
|
9
|
-
-
|
|
9
|
+
- codebase-design
|
|
10
10
|
scripts-binding:
|
|
11
11
|
- .agent/scripts/auto_preview.js
|
|
12
12
|
- .agent/scripts/verify_all.js
|
|
@@ -27,6 +27,11 @@ Before scaffolding a new application, you MUST inspect:
|
|
|
27
27
|
2. Runtime & Environment Context → Check Node/npm version and inspect `.env.example` if available
|
|
28
28
|
3. Human Gate Before Disk Modification → Enforce explicit approval of Socratic requirements, stack selection, and scaffolding plan before creating any files
|
|
29
29
|
|
|
30
|
+
4. Required Skills → Before executing, load and follow procedural rules from:
|
|
31
|
+
- `app-builder` (.agent/skills/app-builder/SKILL.md): Full-stack application scaffolding and creation orchestration
|
|
32
|
+
- `architecture` (.agent/skills/architecture/SKILL.md): System architecture, module boundaries, and dependency management
|
|
33
|
+
- `codebase-design` (.agent/skills/codebase-design/SKILL.md): Deep module design with small interfaces and clean seams
|
|
34
|
+
|
|
30
35
|
---
|
|
31
36
|
|
|
32
37
|
## When to Use /create
|
|
@@ -26,6 +26,11 @@ Before investigating or attempting any code modification during a bug report, yo
|
|
|
26
26
|
2. Target File & Callers → Inspect file referenced in error trace along with its upstream callers
|
|
27
27
|
3. Recent Changes (`git diff`) → Inspect recent edits to identify regressions before mutating code
|
|
28
28
|
|
|
29
|
+
4. Required Skills → Before executing, load and follow procedural rules from:
|
|
30
|
+
- `systematic-debugging` (.agent/skills/systematic-debugging/SKILL.md): 4-phase debugging methodology (Collect → Hypothesize → Test → Fix)
|
|
31
|
+
- `test-result-analyzer` (.agent/skills/test-result-analyzer/SKILL.md): Root cause analysis across multiple failing test files
|
|
32
|
+
- `clean-code` (.agent/skills/clean-code/SKILL.md): Self-documenting naming, no over-engineering, error handling patterns
|
|
33
|
+
|
|
29
34
|
---
|
|
30
35
|
|
|
31
36
|
## The Investigation Contract
|
|
@@ -6,7 +6,7 @@ last-updated: 2026-07-30
|
|
|
6
6
|
required-skills:
|
|
7
7
|
- deployment-procedures
|
|
8
8
|
- devops-engineer
|
|
9
|
-
-
|
|
9
|
+
- containerization-pro
|
|
10
10
|
scripts-binding:
|
|
11
11
|
- .agent/scripts/verify_all.js
|
|
12
12
|
- .agent/scripts/security_scan.js
|
|
@@ -27,6 +27,11 @@ Before triggering production deployment or executing deploy scripts, you MUST in
|
|
|
27
27
|
2. CI/CD Manifests (`.github/workflows`, `fly.toml`, `render.yaml`, etc.) → Check deployment targets and environment variable requirements
|
|
28
28
|
3. Human Gate & Rollback Baseline → Confirm baseline git tag/commit and secure explicit human approval before publishing release
|
|
29
29
|
|
|
30
|
+
4. Required Skills → Before executing, load and follow procedural rules from:
|
|
31
|
+
- `deployment-procedures` (.agent/skills/deployment-procedures/SKILL.md): Production deployment checklists and rollback procedures
|
|
32
|
+
- `devops-engineer` (.agent/skills/devops-engineer/SKILL.md): CI/CD pipeline management and infrastructure automation
|
|
33
|
+
- `containerization-pro` (.agent/skills/containerization-pro/SKILL.md): Docker, Kubernetes, and container security best practices
|
|
34
|
+
|
|
30
35
|
---
|
|
31
36
|
|
|
32
37
|
## The Deployment Contract
|
|
@@ -6,7 +6,7 @@ last-updated: 2026-07-30
|
|
|
6
6
|
required-skills:
|
|
7
7
|
- clean-code
|
|
8
8
|
- codebase-design
|
|
9
|
-
-
|
|
9
|
+
- testing-patterns
|
|
10
10
|
scripts-binding:
|
|
11
11
|
- .agent/scripts/lint_runner.js
|
|
12
12
|
- .agent/scripts/test_runner.js
|
|
@@ -26,6 +26,11 @@ Before modifying existing features or appending functionality, you MUST inspect:
|
|
|
26
26
|
2. Existing Contract & Unit Tests → Inspect existing tests and type signatures for the target module to prevent regression
|
|
27
27
|
3. Breaking Change Detection → Ensure signature changes update all dependent call sites simultaneously before writing to disk
|
|
28
28
|
|
|
29
|
+
4. Required Skills → Before executing, load and follow procedural rules from:
|
|
30
|
+
- `clean-code` (.agent/skills/clean-code/SKILL.md): Self-documenting naming, no over-engineering, error handling patterns
|
|
31
|
+
- `codebase-design` (.agent/skills/codebase-design/SKILL.md): Deep module design with small interfaces and clean seams
|
|
32
|
+
- `testing-patterns` (.agent/skills/testing-patterns/SKILL.md): Testing Trophy strategy (unit → integration → E2E)
|
|
33
|
+
|
|
29
34
|
---
|
|
30
35
|
|
|
31
36
|
## When to Use /enhance
|
|
@@ -27,6 +27,11 @@ Before attempting to fix CI pipeline failures:
|
|
|
27
27
|
2. Inspect Workflow YAML & Project Configs → Compare runner environment (Node/Python/OS version) with local workspace
|
|
28
28
|
3. Human Gate Before Disk Write → Present root cause explanation and proposed diff for approval
|
|
29
29
|
|
|
30
|
+
4. Required Skills → Before executing, load and follow procedural rules from:
|
|
31
|
+
- `cicd-pro` (.agent/skills/cicd-pro/SKILL.md): CI/CD workflow syntax, matrix builds, and deployment strategies
|
|
32
|
+
- `diagnosing-bugs` (.agent/skills/diagnosing-bugs/SKILL.md): Bug diagnosis patterns and root cause investigation
|
|
33
|
+
- `devops-engineer` (.agent/skills/devops-engineer/SKILL.md): CI/CD pipeline management and infrastructure automation
|
|
34
|
+
|
|
30
35
|
---
|
|
31
36
|
|
|
32
37
|
## 4-Step CI Diagnosis & Repair Loop
|
package/.agent/workflows/fix.md
CHANGED
|
@@ -26,6 +26,11 @@ Before executing auto-fixers or modifying code files to resolve lint/type issues
|
|
|
26
26
|
2. Target File Lint Output → Execute `node .agent/scripts/lint_runner.js` to gather precise error line numbers and rule IDs
|
|
27
27
|
3. Diff Verification Before Disk Write → Show explicit diff of proposed changes and confirm Human Gate approval before saving
|
|
28
28
|
|
|
29
|
+
4. Required Skills → Before executing, load and follow procedural rules from:
|
|
30
|
+
- `lint-and-validate` (.agent/skills/lint-and-validate/SKILL.md): ESLint, Prettier, and code quality enforcement rules
|
|
31
|
+
- `clean-code` (.agent/skills/clean-code/SKILL.md): Self-documenting naming, no over-engineering, error handling patterns
|
|
32
|
+
- `typescript-advanced` (.agent/skills/typescript-advanced/SKILL.md): TypeScript strict mode, generics, utility types, and type narrowing
|
|
33
|
+
|
|
29
34
|
---
|
|
30
35
|
|
|
31
36
|
## When to Use /fix
|
|
@@ -27,6 +27,11 @@ Before generating code modules or invoking the Maker pipeline, you MUST inspect:
|
|
|
27
27
|
2. Type Definitions & Path Aliases (`tsconfig.json`) → Verify module resolution paths and compiler strictness
|
|
28
28
|
3. Parallel Tribunal Review Assignment → Select relevant domain reviewers (`logic`, `security`, `frontend`, `backend`, `database`, `mobile`) prior to Human Gate submission
|
|
29
29
|
|
|
30
|
+
4. Required Skills → Before executing, load and follow procedural rules from:
|
|
31
|
+
- `clean-code` (.agent/skills/clean-code/SKILL.md): Self-documenting naming, no over-engineering, error handling patterns
|
|
32
|
+
- `codebase-design` (.agent/skills/codebase-design/SKILL.md): Deep module design with small interfaces and clean seams
|
|
33
|
+
- `lint-and-validate` (.agent/skills/lint-and-validate/SKILL.md): ESLint, Prettier, and code quality enforcement rules
|
|
34
|
+
|
|
30
35
|
---
|
|
31
36
|
|
|
32
37
|
## When to Use /generate
|
|
@@ -6,7 +6,7 @@ last-updated: 2026-07-30
|
|
|
6
6
|
required-skills:
|
|
7
7
|
- harness-protocol
|
|
8
8
|
- agent-organizer
|
|
9
|
-
-
|
|
9
|
+
- agentic-workflows-2026
|
|
10
10
|
scripts-binding:
|
|
11
11
|
- .agent/scripts/session_manager.js
|
|
12
12
|
- .agent/scripts/verify_all.js
|
|
@@ -26,6 +26,11 @@ Before initiating or resuming a multi-session marathon harness, you MUST inspect
|
|
|
26
26
|
2. Session Continuity Manager (`.agent/scripts/session_manager.js`) → Verify state snapshot before context truncation
|
|
27
27
|
3. Atomic Feature Handoff Protocol → Ensure each session completes exactly ONE atomic feature, runs `verify_all.js`, and commits state before handoff
|
|
28
28
|
|
|
29
|
+
4. Required Skills → Before executing, load and follow procedural rules from:
|
|
30
|
+
- `harness-protocol` (.agent/skills/harness-protocol/SKILL.md): Marathon long-running agent harness rules and handoff protocols
|
|
31
|
+
- `agent-organizer` (.agent/skills/agent-organizer/SKILL.md): Multi-agent coordination and task decomposition
|
|
32
|
+
- `agentic-workflows-2026` (.agent/skills/agentic-workflows-2026/SKILL.md): Advanced agent loops, ReAct planning, and structured tool calling
|
|
33
|
+
|
|
29
34
|
---
|
|
30
35
|
|
|
31
36
|
## When to Use /marathon
|
|
@@ -27,6 +27,11 @@ Before running framework upgrades, major dependency bumps, or database migration
|
|
|
27
27
|
2. Database Expand-and-Contract Plan (`schema_validator.js`) → Ensure database column changes add new fields before dropping old ones
|
|
28
28
|
3. Rollback Protocol Verification → Test local rollback procedure (e.g. SQLite backup or DB transaction revert) before applying migration
|
|
29
29
|
|
|
30
|
+
4. Required Skills → Before executing, load and follow procedural rules from:
|
|
31
|
+
- `plan-writing` (.agent/skills/plan-writing/SKILL.md): Implementation plan structure, phases, and approval gates
|
|
32
|
+
- `architecture` (.agent/skills/architecture/SKILL.md): System architecture, module boundaries, and dependency management
|
|
33
|
+
- `database-design` (.agent/skills/database-design/SKILL.md): Schema normalization, indexing, migration strategy
|
|
34
|
+
|
|
30
35
|
---
|
|
31
36
|
|
|
32
37
|
## When to Use /migrate
|
|
@@ -32,6 +32,10 @@ Before proposing any code change, you MUST evaluate the **10 Core Governance Que
|
|
|
32
32
|
9. Is the proposed abstraction necessary for the current requirement? (`MODIFY`/`EXTEND`)
|
|
33
33
|
10. What is the smallest implementation that satisfies the request? (`MODIFY`/`EXTEND` vs `CREATE`)
|
|
34
34
|
|
|
35
|
+
11. Required Skills → Before executing, load and follow procedural rules from:
|
|
36
|
+
- `clean-code` (.agent/skills/clean-code/SKILL.md): Self-documenting naming, no over-engineering, error handling patterns
|
|
37
|
+
- `codebase-design` (.agent/skills/codebase-design/SKILL.md): Deep module design with small interfaces and clean seams
|
|
38
|
+
|
|
35
39
|
---
|
|
36
40
|
|
|
37
41
|
## Sub-Commands
|
|
@@ -6,7 +6,7 @@ last-updated: 2026-07-30
|
|
|
6
6
|
required-skills:
|
|
7
7
|
- agent-organizer
|
|
8
8
|
- parallel-agents
|
|
9
|
-
-
|
|
9
|
+
- agentic-patterns
|
|
10
10
|
scripts-binding:
|
|
11
11
|
- .agent/scripts/swarm_dispatcher.js
|
|
12
12
|
- .agent/scripts/verify_all.js
|
|
@@ -26,6 +26,11 @@ Before dispatching multi-agent orchestrations or parallel sub-task workers, you
|
|
|
26
26
|
2. Context Window Budget Allocation → Provide scoped `context_summary` per worker; ban dumping full conversation history to workers
|
|
27
27
|
3. Fan-In Synthesis & Human Gate → Collect all worker outputs via `Promise.allSettled()` pattern and present unified synthesis before writing disk changes
|
|
28
28
|
|
|
29
|
+
4. Required Skills → Before executing, load and follow procedural rules from:
|
|
30
|
+
- `agent-organizer` (.agent/skills/agent-organizer/SKILL.md): Multi-agent coordination and task decomposition
|
|
31
|
+
- `parallel-agents` (.agent/skills/parallel-agents/SKILL.md): Parallel agent dispatch patterns and fan-in synthesis
|
|
32
|
+
- `agentic-patterns` (.agent/skills/agentic-patterns/SKILL.md): Agentic design patterns for multi-agent systems
|
|
33
|
+
|
|
29
34
|
---
|
|
30
35
|
|
|
31
36
|
## When to Use /orchestrate
|
|
@@ -5,7 +5,7 @@ version: 3.0.0
|
|
|
5
5
|
last-updated: 2026-07-30
|
|
6
6
|
required-skills:
|
|
7
7
|
- performance-profiling
|
|
8
|
-
-
|
|
8
|
+
- web-quality-audit
|
|
9
9
|
- 60fps-animation
|
|
10
10
|
scripts-binding:
|
|
11
11
|
- .agent/scripts/bundle_analyzer.js
|
|
@@ -26,6 +26,11 @@ Before running performance benchmarks or capturing latency metrics, you MUST ins
|
|
|
26
26
|
2. Benchmark Scripts Availability (`.agent/scripts/bundle_analyzer.js`) → Verify automated bundle and latency measurement tooling
|
|
27
27
|
3. Before/After Metric Recording Constraint → Require side-by-side metric tables (LCP, CLS, INP, TTFB, Bundle Size) for every benchmark pass
|
|
28
28
|
|
|
29
|
+
4. Required Skills → Before executing, load and follow procedural rules from:
|
|
30
|
+
- `performance-profiling` (.agent/skills/performance-profiling/SKILL.md): Performance measurement methodology and profiling tools
|
|
31
|
+
- `web-quality-audit` (.agent/skills/web-quality-audit/SKILL.md): Lighthouse-style analysis across Performance, Accessibility, SEO
|
|
32
|
+
- `60fps-animation` (.agent/skills/60fps-animation/SKILL.md): GPU compositor-friendly properties and layout thrash avoidance
|
|
33
|
+
|
|
29
34
|
---
|
|
30
35
|
|
|
31
36
|
## When to Use /performance-benchmarker
|
|
@@ -27,6 +27,11 @@ Before running 3-pass pipeline generation, you MUST inspect:
|
|
|
27
27
|
2. Context Token Allocation -> Keep Pass 2 builder prompt under 2,500 tokens (loading max 3 essential skill key-rules)
|
|
28
28
|
3. Zero-LLM Pass 3 Validator → Run deterministic security, lint, and type checks on generated code prior to Human Gate submission
|
|
29
29
|
|
|
30
|
+
4. Required Skills → Before executing, load and follow procedural rules from:
|
|
31
|
+
- `clean-code` (.agent/skills/clean-code/SKILL.md): Self-documenting naming, no over-engineering, error handling patterns
|
|
32
|
+
- `codebase-design` (.agent/skills/codebase-design/SKILL.md): Deep module design with small interfaces and clean seams
|
|
33
|
+
- `lint-and-validate` (.agent/skills/lint-and-validate/SKILL.md): ESLint, Prettier, and code quality enforcement rules
|
|
34
|
+
|
|
30
35
|
## When to Use /pipeline
|
|
31
36
|
|
|
32
37
|
| Use `/pipeline` when... | Use something else when... |
|
package/.agent/workflows/plan.md
CHANGED
|
@@ -6,7 +6,7 @@ last-updated: 2026-07-30
|
|
|
6
6
|
required-skills:
|
|
7
7
|
- plan-writing
|
|
8
8
|
- architecture
|
|
9
|
-
-
|
|
9
|
+
- domain-modeling
|
|
10
10
|
scripts-binding:
|
|
11
11
|
- .agent/scripts/verify_all.js
|
|
12
12
|
---
|
|
@@ -25,6 +25,11 @@ Before drafting implementation plans or technical blueprints, you MUST inspect:
|
|
|
25
25
|
2. Existing Architecture & Directory Layout → Review current module boundaries to prevent redundant architectural patterns
|
|
26
26
|
3. Zero Code Modification Rule → Restrict outputs in `/plan` mode to research, architectural design, and plan artifact generation; ban code generation before Plan approval
|
|
27
27
|
|
|
28
|
+
4. Required Skills → Before executing, load and follow procedural rules from:
|
|
29
|
+
- `plan-writing` (.agent/skills/plan-writing/SKILL.md): Implementation plan structure, phases, and approval gates
|
|
30
|
+
- `architecture` (.agent/skills/architecture/SKILL.md): System architecture, module boundaries, and dependency management
|
|
31
|
+
- `domain-modeling` (.agent/skills/domain-modeling/SKILL.md): Ubiquitous language, entity relationships, bounded contexts
|
|
32
|
+
|
|
28
33
|
---
|
|
29
34
|
|
|
30
35
|
## When to Use /plan
|
|
@@ -5,7 +5,7 @@ version: 3.0.0
|
|
|
5
5
|
last-updated: 2026-07-30
|
|
6
6
|
required-skills:
|
|
7
7
|
- bash-linux
|
|
8
|
-
-
|
|
8
|
+
- nextjs-react-expert
|
|
9
9
|
- devops-engineer
|
|
10
10
|
scripts-binding:
|
|
11
11
|
- .agent/scripts/auto_preview.js
|
|
@@ -25,6 +25,11 @@ Before managing dev server lifecycle or starting preview servers, you MUST inspe
|
|
|
25
25
|
2. Environment Configuration (`.env`) → Check port bindings and dev server host configs
|
|
26
26
|
3. Dev Server Lifecycle Script (`.agent/scripts/auto_preview.js`) → Use automated script for process management, port collision detection, and health checks
|
|
27
27
|
|
|
28
|
+
4. Required Skills → Before executing, load and follow procedural rules from:
|
|
29
|
+
- `bash-linux` (.agent/skills/bash-linux/SKILL.md): Shell scripting patterns and command-line automation
|
|
30
|
+
- `nextjs-react-expert` (.agent/skills/nextjs-react-expert/SKILL.md): Next.js 15+ App Router, Server Components, Server Actions, PPR
|
|
31
|
+
- `devops-engineer` (.agent/skills/devops-engineer/SKILL.md): CI/CD pipeline management and infrastructure automation
|
|
32
|
+
|
|
28
33
|
---
|
|
29
34
|
|
|
30
35
|
## Commands
|
|
@@ -27,6 +27,12 @@ Before executing structural refactoring or extracting interfaces, you MUST inspe
|
|
|
27
27
|
2. Baseline Test Suite Verification (`test_runner.js`) → Ensure all unit and integration tests pass BEFORE initiating refactor steps
|
|
28
28
|
3. Observable Behavior Preservation → Enforce zero change in public function behavior or API contracts; verify tests pass cleanly after every step
|
|
29
29
|
|
|
30
|
+
4. Required Skills → Before executing, load and follow procedural rules from:
|
|
31
|
+
- `clean-code` (.agent/skills/clean-code/SKILL.md): Self-documenting naming, no over-engineering, error handling patterns
|
|
32
|
+
- `architecture` (.agent/skills/architecture/SKILL.md): System architecture, module boundaries, and dependency management
|
|
33
|
+
- `codebase-design` (.agent/skills/codebase-design/SKILL.md): Deep module design with small interfaces and clean seams
|
|
34
|
+
- `tdd-workflow` (.agent/skills/tdd-workflow/SKILL.md): Red-Green-Refactor TDD cycle and test-first development
|
|
35
|
+
|
|
30
36
|
---
|
|
31
37
|
|
|
32
38
|
## The Refactoring Contract
|
|
@@ -26,6 +26,11 @@ Before auditing LLM integrations, prompt templates, or AI API calls, you MUST in
|
|
|
26
26
|
2. Prompt Injection Boundary Check → Confirm user inputs are strictly passed via message roles or delimited blocks; ban string concatenation into system prompts
|
|
27
27
|
3. 3-Reviewer AI Integration Gate → Run ai-code-reviewer, logic-reviewer, and security-auditor before approving AI code diffs
|
|
28
28
|
|
|
29
|
+
4. Required Skills → Before executing, load and follow procedural rules from:
|
|
30
|
+
- `llm-engineering` (.agent/skills/llm-engineering/SKILL.md): LLM integration patterns, prompt engineering, and cost optimization
|
|
31
|
+
- `ai-prompt-injection-defense` (.agent/skills/ai-prompt-injection-defense/SKILL.md): Prompt injection detection and sanitization patterns
|
|
32
|
+
- `generative-ui-expert` (.agent/skills/generative-ui-expert/SKILL.md): Vercel AI SDK, streaming UI, structured tool calling
|
|
33
|
+
|
|
29
34
|
---
|
|
30
35
|
|
|
31
36
|
## When to Use /review-ai
|
|
@@ -26,6 +26,11 @@ Before auditing code for hallucinations or structural flaws, you MUST inspect:
|
|
|
26
26
|
2. Package Manifest (`package.json`) → Cross-reference imported packages against installed dependencies
|
|
27
27
|
3. Pure Read-Only Constraint → Prohibit any file mutations or generation; output findings in structured audit tables strictly
|
|
28
28
|
|
|
29
|
+
4. Required Skills → Before executing, load and follow procedural rules from:
|
|
30
|
+
- `code-review-checklist` (.agent/skills/code-review-checklist/SKILL.md): Code quality, security, and best practice review gates
|
|
31
|
+
- `vulnerability-scanner` (.agent/skills/vulnerability-scanner/SKILL.md): OWASP vulnerability scanning patterns and severity classification
|
|
32
|
+
- `clean-code` (.agent/skills/clean-code/SKILL.md): Self-documenting naming, no over-engineering, error handling patterns
|
|
33
|
+
|
|
29
34
|
---
|
|
30
35
|
|
|
31
36
|
## When to Use /review
|