agent-toolkit-cli 1.11.0__py3-none-win_amd64.whl
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.
- agent_toolkit/__init__.py +4 -0
- agent_toolkit/__main__.py +5 -0
- agent_toolkit/_paths.py +145 -0
- agent_toolkit/bin/.gitkeep +0 -0
- agent_toolkit/bin/agent-toolkit.exe +0 -0
- agent_toolkit/cli/__init__.py +0 -0
- agent_toolkit/cli/__main__.py +5 -0
- agent_toolkit/cli/build.py +278 -0
- agent_toolkit/cli/completion.py +297 -0
- agent_toolkit/cli/context_budget.py +455 -0
- agent_toolkit/cli/devcompanion.py +923 -0
- agent_toolkit/cli/devcompanion_queue.py +235 -0
- agent_toolkit/cli/diff.py +176 -0
- agent_toolkit/cli/doctor.py +1052 -0
- agent_toolkit/cli/insights.py +771 -0
- agent_toolkit/cli/install.py +706 -0
- agent_toolkit/cli/main.py +171 -0
- agent_toolkit/cli/mcp.py +537 -0
- agent_toolkit/cli/memory.py +739 -0
- agent_toolkit/cli/plugin.py +224 -0
- agent_toolkit/cli/project.py +459 -0
- agent_toolkit/cli/release.py +178 -0
- agent_toolkit/cli/skills.py +461 -0
- agent_toolkit/cli/uninstall.py +166 -0
- agent_toolkit/cli/update.py +298 -0
- agent_toolkit/cli/workspace.py +1713 -0
- agent_toolkit/compiler/hook_registry.py +110 -0
- agent_toolkit/compiler/loader.py +338 -0
- agent_toolkit/compiler/mcp_registry.py +87 -0
- agent_toolkit/compiler/model.py +182 -0
- agent_toolkit/compiler/provenance.py +140 -0
- agent_toolkit/compiler/registry_emit.py +263 -0
- agent_toolkit/compiler/target_registry.py +122 -0
- agent_toolkit/compiler/targets/__init__.py +1 -0
- agent_toolkit/compiler/targets/agent_plugins.py +160 -0
- agent_toolkit/compiler/targets/base.py +229 -0
- agent_toolkit/compiler/targets/claude_code.py +241 -0
- agent_toolkit/compiler/targets/codex.py +261 -0
- agent_toolkit/compiler/targets/copilot.py +275 -0
- agent_toolkit/compiler/targets/cursor.py +207 -0
- agent_toolkit/compiler/targets/gemini_cli.py +213 -0
- agent_toolkit/compiler/targets/muse_code.py +113 -0
- agent_toolkit/compiler/targets/opencode.py +204 -0
- agent_toolkit/compiler/targets/pi.py +263 -0
- agent_toolkit/compiler/targets/windsurf.py +267 -0
- agent_toolkit/compiler/tool_mapping.py +83 -0
- agent_toolkit/data/.gitignore +4 -0
- agent_toolkit/data/__init__.py +1 -0
- agent_toolkit/data/agents/agentic-security-reviewer/AGENT.md +60 -0
- agent_toolkit/data/agents/architect/AGENT.md +30 -0
- agent_toolkit/data/agents/assistant/AGENT.md +59 -0
- agent_toolkit/data/agents/build-error-resolver/AGENT.md +30 -0
- agent_toolkit/data/agents/client-workflow-bootstrap/AGENT.md +60 -0
- agent_toolkit/data/agents/code-reviewer/AGENT.md +49 -0
- agent_toolkit/data/agents/database-reviewer/AGENT.md +44 -0
- agent_toolkit/data/agents/docs-lookup/AGENT.md +28 -0
- agent_toolkit/data/agents/e2e-runner/AGENT.md +38 -0
- agent_toolkit/data/agents/performance-optimizer/AGENT.md +52 -0
- agent_toolkit/data/agents/planner/AGENT.md +41 -0
- agent_toolkit/data/agents/refactor-cleaner/AGENT.md +43 -0
- agent_toolkit/data/agents/reference-lookup/AGENT.md +33 -0
- agent_toolkit/data/agents/security-reviewer/AGENT.md +47 -0
- agent_toolkit/data/agents/tdd-guide/AGENT.md +58 -0
- agent_toolkit/data/agents/tech-assistant/AGENT.md +11 -0
- agent_toolkit/data/agents/typescript-reviewer/AGENT.md +61 -0
- agent_toolkit/data/capabilities/hooks/README.md +6 -0
- agent_toolkit/data/capabilities/hooks/pre-commit-validate.yaml +26 -0
- agent_toolkit/data/capabilities/hooks/scripts/pre-commit-validate.sh +41 -0
- agent_toolkit/data/capabilities/hooks/scripts/session-start-context.sh +11 -0
- agent_toolkit/data/capabilities/hooks/session-start-context.yaml +23 -0
- agent_toolkit/data/capabilities/targets/registry.yaml +90 -0
- agent_toolkit/data/capabilities/upstream.lock +118 -0
- agent_toolkit/data/catalogs/agent-catalog.yaml +81 -0
- agent_toolkit/data/catalogs/loop-catalog.yaml +55 -0
- agent_toolkit/data/catalogs/skill-catalog.yaml +520 -0
- agent_toolkit/data/catalogs/skills-layout.json +391 -0
- agent_toolkit/data/distributions/products.yaml +190 -0
- agent_toolkit/data/distributions/targets/claude-code.yaml +47 -0
- agent_toolkit/data/distributions/targets/cursor.yaml +42 -0
- agent_toolkit/data/distributions/targets/opencode.yaml +55 -0
- agent_toolkit/data/loops/changelog-drafter/loop.yaml +40 -0
- agent_toolkit/data/loops/ci-sweeper/loop.yaml +53 -0
- agent_toolkit/data/loops/daily-triage/loop.yaml +47 -0
- agent_toolkit/data/loops/dep-sweeper/loop.yaml +46 -0
- agent_toolkit/data/loops/issue-triage/loop.yaml +40 -0
- agent_toolkit/data/loops/oss-daily-briefing/loop.yaml +65 -0
- agent_toolkit/data/loops/oss-pr-monitor/loop.yaml +86 -0
- agent_toolkit/data/loops/oss-triage/loop.yaml +67 -0
- agent_toolkit/data/loops/post-merge-cleanup/loop.yaml +44 -0
- agent_toolkit/data/loops/pr-babysitter/loop.yaml +46 -0
- agent_toolkit/data/mcp/registry/chrome-devtools.yaml +61 -0
- agent_toolkit/data/mcp/registry/clickup.yaml +48 -0
- agent_toolkit/data/mcp/registry/figma.yaml +44 -0
- agent_toolkit/data/mcp/registry/github.yaml +52 -0
- agent_toolkit/data/mcp/registry/linear.yaml +47 -0
- agent_toolkit/data/mcp/registry/notion.yaml +48 -0
- agent_toolkit/data/mcp/registry/slack.yaml +46 -0
- agent_toolkit/data/mcp/templates/chrome-devtools/README.md +57 -0
- agent_toolkit/data/mcp/templates/chrome-devtools/config.template.json +6 -0
- agent_toolkit/data/mcp/templates/clickup/README.md +45 -0
- agent_toolkit/data/mcp/templates/clickup/config.template.json +8 -0
- agent_toolkit/data/mcp/templates/clickup/wrapper.sh +23 -0
- agent_toolkit/data/mcp/templates/figma/README.md +54 -0
- agent_toolkit/data/mcp/templates/figma/config.template.json +9 -0
- agent_toolkit/data/mcp/templates/github/README.md +16 -0
- agent_toolkit/data/mcp/templates/github/config.template.json +15 -0
- agent_toolkit/data/mcp/templates/github/wrapper.sh +6 -0
- agent_toolkit/data/mcp/templates/linear/README.md +49 -0
- agent_toolkit/data/mcp/templates/linear/config.template.json +10 -0
- agent_toolkit/data/mcp/templates/notion/README.md +7 -0
- agent_toolkit/data/mcp/templates/notion/config.template.json +8 -0
- agent_toolkit/data/mcp/templates/notion/wrapper.sh +23 -0
- agent_toolkit/data/mcp/templates/slack/README.md +8 -0
- agent_toolkit/data/mcp/templates/slack/config.template.json +9 -0
- agent_toolkit/data/mcp/templates/slack/wrapper.sh +23 -0
- agent_toolkit/data/packs/README.md +66 -0
- agent_toolkit/data/packs/agentic-security/README.md +19 -0
- agent_toolkit/data/packs/agentic-security/config.yaml +25 -0
- agent_toolkit/data/packs/architecture/README.md +22 -0
- agent_toolkit/data/packs/architecture/config.yaml +27 -0
- agent_toolkit/data/packs/code-quality/README.md +19 -0
- agent_toolkit/data/packs/code-quality/config.yaml +21 -0
- agent_toolkit/data/packs/delivery-discipline/README.md +19 -0
- agent_toolkit/data/packs/delivery-discipline/config.yaml +42 -0
- agent_toolkit/data/packs/design-engineering/README.md +19 -0
- agent_toolkit/data/packs/design-engineering/config.yaml +41 -0
- agent_toolkit/data/packs/engineering-workflow/README.md +21 -0
- agent_toolkit/data/packs/engineering-workflow/config.yaml +57 -0
- agent_toolkit/data/packs/oss-maintenance/README.md +245 -0
- agent_toolkit/data/packs/oss-maintenance/config.yaml +75 -0
- agent_toolkit/data/profiles/claude-code/CLAUDE.md +110 -0
- agent_toolkit/data/profiles/claude-code/agents/assistant.md +59 -0
- agent_toolkit/data/profiles/claude-code/agents/build-error-resolver.md +30 -0
- agent_toolkit/data/profiles/claude-code/agents/client-workflow-bootstrap.md +60 -0
- agent_toolkit/data/profiles/claude-code/agents/contribution-planner.md +39 -0
- agent_toolkit/data/profiles/claude-code/agents/database-reviewer.md +44 -0
- agent_toolkit/data/profiles/claude-code/agents/docs-lookup.md +28 -0
- agent_toolkit/data/profiles/claude-code/agents/e2e-runner.md +38 -0
- agent_toolkit/data/profiles/claude-code/agents/performance-optimizer.md +52 -0
- agent_toolkit/data/profiles/claude-code/agents/planner.md +41 -0
- agent_toolkit/data/profiles/claude-code/agents/refactor-cleaner.md +43 -0
- agent_toolkit/data/profiles/claude-code/agents/reference-lookup.md +33 -0
- agent_toolkit/data/profiles/claude-code/agents/security-reviewer.md +47 -0
- agent_toolkit/data/profiles/claude-code/agents/tdd-guide.md +58 -0
- agent_toolkit/data/profiles/claude-code/agents/typescript-reviewer.md +61 -0
- agent_toolkit/data/profiles/claude-code/settings.json +86 -0
- agent_toolkit/data/profiles/copilot/copilot-instructions.md +15 -0
- agent_toolkit/data/profiles/cursor/README.md +33 -0
- agent_toolkit/data/profiles/cursor/rules/architect.mdc +23 -0
- agent_toolkit/data/profiles/cursor/rules/assistant.mdc +61 -0
- agent_toolkit/data/profiles/cursor/rules/build-error-resolver.mdc +20 -0
- agent_toolkit/data/profiles/cursor/rules/code-reviewer.mdc +21 -0
- agent_toolkit/data/profiles/cursor/rules/database-reviewer.mdc +29 -0
- agent_toolkit/data/profiles/cursor/rules/docs-lookup.mdc +15 -0
- agent_toolkit/data/profiles/cursor/rules/e2e-runner.mdc +30 -0
- agent_toolkit/data/profiles/cursor/rules/performance-optimizer.mdc +27 -0
- agent_toolkit/data/profiles/cursor/rules/planner.mdc +28 -0
- agent_toolkit/data/profiles/cursor/rules/refactor-cleaner.mdc +26 -0
- agent_toolkit/data/profiles/cursor/rules/reference-lookup.mdc +20 -0
- agent_toolkit/data/profiles/cursor/rules/security-reviewer.mdc +20 -0
- agent_toolkit/data/profiles/cursor/rules/tdd-guide.mdc +26 -0
- agent_toolkit/data/profiles/cursor/rules/typescript-reviewer.mdc +28 -0
- agent_toolkit/data/profiles/muse-code/README.md +35 -0
- agent_toolkit/data/profiles/opencode/README.md +44 -0
- agent_toolkit/data/profiles/opencode/agents/architect.md +30 -0
- agent_toolkit/data/profiles/opencode/agents/assistant.md +96 -0
- agent_toolkit/data/profiles/opencode/agents/build-error-resolver.md +31 -0
- agent_toolkit/data/profiles/opencode/agents/client-workflow-bootstrap.md +66 -0
- agent_toolkit/data/profiles/opencode/agents/code-reviewer.md +47 -0
- agent_toolkit/data/profiles/opencode/agents/contribution-planner.md +44 -0
- agent_toolkit/data/profiles/opencode/agents/database-reviewer.md +43 -0
- agent_toolkit/data/profiles/opencode/agents/docs-lookup.md +28 -0
- agent_toolkit/data/profiles/opencode/agents/e2e-runner.md +33 -0
- agent_toolkit/data/profiles/opencode/agents/performance-optimizer.md +34 -0
- agent_toolkit/data/profiles/opencode/agents/planner.md +27 -0
- agent_toolkit/data/profiles/opencode/agents/refactor-cleaner.md +27 -0
- agent_toolkit/data/profiles/opencode/agents/reference-lookup.md +27 -0
- agent_toolkit/data/profiles/opencode/agents/security-reviewer.md +27 -0
- agent_toolkit/data/profiles/opencode/agents/tdd-guide.md +27 -0
- agent_toolkit/data/profiles/opencode/agents/typescript-reviewer.md +30 -0
- agent_toolkit/data/profiles/opencode/opencode.json +3 -0
- agent_toolkit/data/profiles/pi/skills/architect/skill.md +5 -0
- agent_toolkit/data/profiles/pi/skills/assistant/skill.md +3 -0
- agent_toolkit/data/profiles/pi/skills/code-reviewer/skill.md +5 -0
- agent_toolkit/data/profiles/pi/skills/planner/skill.md +3 -0
- agent_toolkit/data/profiles/pi/skills/security-reviewer/skill.md +3 -0
- agent_toolkit/data/profiles/windsurf/memories/global_rules.md +114 -0
- agent_toolkit/data/profiles/windsurf/rules/architect.mdc +23 -0
- agent_toolkit/data/profiles/windsurf/rules/assistant.mdc +61 -0
- agent_toolkit/data/profiles/windsurf/rules/build-error-resolver.mdc +20 -0
- agent_toolkit/data/profiles/windsurf/rules/code-reviewer.mdc +21 -0
- agent_toolkit/data/profiles/windsurf/rules/database-reviewer.mdc +29 -0
- agent_toolkit/data/profiles/windsurf/rules/docs-lookup.mdc +15 -0
- agent_toolkit/data/profiles/windsurf/rules/e2e-runner.mdc +30 -0
- agent_toolkit/data/profiles/windsurf/rules/performance-optimizer.mdc +27 -0
- agent_toolkit/data/profiles/windsurf/rules/planner.mdc +28 -0
- agent_toolkit/data/profiles/windsurf/rules/refactor-cleaner.mdc +26 -0
- agent_toolkit/data/profiles/windsurf/rules/reference-lookup.mdc +20 -0
- agent_toolkit/data/profiles/windsurf/rules/security-reviewer.mdc +20 -0
- agent_toolkit/data/profiles/windsurf/rules/tdd-guide.mdc +26 -0
- agent_toolkit/data/profiles/windsurf/rules/typescript-reviewer.mdc +28 -0
- agent_toolkit/data/skills/accessibility/review/SKILL.md +116 -0
- agent_toolkit/data/skills/accessibility/review/references/a11y-checklist.md +25 -0
- agent_toolkit/data/skills/accessibility/review/references/a11y-findings-template.md +56 -0
- agent_toolkit/data/skills/accessibility/review/references/research.md +47 -0
- agent_toolkit/data/skills/agentic-security/mcp-audit/SKILL.md +116 -0
- agent_toolkit/data/skills/agentic-security/mcp-audit/references/mcp-audit-template.md +51 -0
- agent_toolkit/data/skills/agentic-security/owasp-agentic-review/SKILL.md +73 -0
- agent_toolkit/data/skills/agentic-security/owasp-agentic-review/references/owasp-agentic-template.md +32 -0
- agent_toolkit/data/skills/agentic-security/supply-chain-audit/SKILL.md +142 -0
- agent_toolkit/data/skills/agentic-security/threat-modeling/SKILL.md +100 -0
- agent_toolkit/data/skills/agentic-security/threat-modeling/references/threat-model-template.md +55 -0
- agent_toolkit/data/skills/architecture/c4-model/SKILL.md +49 -0
- agent_toolkit/data/skills/cloud/aws-well-architected-review/SKILL.md +37 -0
- agent_toolkit/data/skills/cloud/cloud-design-patterns/SKILL.md +38 -0
- agent_toolkit/data/skills/core/assistant/SKILL.md +216 -0
- agent_toolkit/data/skills/core/assistant/references/AGENTS_TEMPLATE.md +0 -0
- agent_toolkit/data/skills/core/assistant/references/ORCHESTRATION.md +0 -0
- agent_toolkit/data/skills/core/assistant/references/REPO_INSPECTION.md +0 -0
- agent_toolkit/data/skills/core/dev-companion/SKILL.md +65 -0
- agent_toolkit/data/skills/core/dev-companion/references/LOOP_GUARDRAILS.md +0 -0
- agent_toolkit/data/skills/core/onboarding/SKILL.md +122 -0
- agent_toolkit/data/skills/core/output-handshake/SKILL.md +26 -0
- agent_toolkit/data/skills/core/pr-fallback/SKILL.md +35 -0
- agent_toolkit/data/skills/core/pr-fallback/references/pr-body-default.md +0 -0
- agent_toolkit/data/skills/core/project/SKILL.md +89 -0
- agent_toolkit/data/skills/core/workspace/SKILL.md +103 -0
- agent_toolkit/data/skills/core/workspace-knowledge-sync/SKILL.md +140 -0
- agent_toolkit/data/skills/data/dbt-validation/SKILL.md +41 -0
- agent_toolkit/data/skills/data/snowflake-validation/SKILL.md +38 -0
- agent_toolkit/data/skills/delivery/adr/SKILL.md +56 -0
- agent_toolkit/data/skills/delivery/adr/references/default-template.md +35 -0
- agent_toolkit/data/skills/delivery/adr/references/example-001-graphql-adoption.md +66 -0
- agent_toolkit/data/skills/delivery/agreement/SKILL.md +24 -0
- agent_toolkit/data/skills/delivery/agreement/references/default-template.md +17 -0
- agent_toolkit/data/skills/delivery/agreement/references/example-api-versioning.md +29 -0
- agent_toolkit/data/skills/delivery/bug/SKILL.md +26 -0
- agent_toolkit/data/skills/delivery/bug/references/default-template.md +26 -0
- agent_toolkit/data/skills/delivery/bug/references/example-search-filter-bug.md +58 -0
- agent_toolkit/data/skills/delivery/decision-log/SKILL.md +28 -0
- agent_toolkit/data/skills/delivery/decision-log/references/default-template.md +17 -0
- agent_toolkit/data/skills/delivery/decision-log/references/example-repository-pattern.md +27 -0
- agent_toolkit/data/skills/delivery/development-workflow/SKILL.md +34 -0
- agent_toolkit/data/skills/delivery/development-workflow/references/default-workflow-checklist.md +44 -0
- agent_toolkit/data/skills/delivery/epic/SKILL.md +22 -0
- agent_toolkit/data/skills/delivery/epic/references/default-template.md +26 -0
- agent_toolkit/data/skills/delivery/epic/references/example-unified-dashboard.md +40 -0
- agent_toolkit/data/skills/delivery/incident/SKILL.md +24 -0
- agent_toolkit/data/skills/delivery/incident/references/default-template.md +29 -0
- agent_toolkit/data/skills/delivery/incident/references/example-payment-outage.md +62 -0
- agent_toolkit/data/skills/delivery/management-unit-assessment/SKILL.md +104 -0
- agent_toolkit/data/skills/delivery/management-unit-assessment/references/default-template.md +24 -0
- agent_toolkit/data/skills/delivery/management-unit-assessment/references/example-team-assessment.md +126 -0
- agent_toolkit/data/skills/delivery/meeting-minutes/SKILL.md +25 -0
- agent_toolkit/data/skills/delivery/meeting-minutes/references/default-template.md +22 -0
- agent_toolkit/data/skills/delivery/meeting-minutes/references/example-weekly-sync.md +72 -0
- agent_toolkit/data/skills/delivery/planning/SKILL.md +31 -0
- agent_toolkit/data/skills/delivery/planning/references/default-template.md +25 -0
- agent_toolkit/data/skills/delivery/planning/references/example-sprint-planning.md +62 -0
- agent_toolkit/data/skills/delivery/prd/SKILL.md +46 -0
- agent_toolkit/data/skills/delivery/prd/references/default-template.md +31 -0
- agent_toolkit/data/skills/delivery/prd/references/example-unified-api.md +71 -0
- agent_toolkit/data/skills/delivery/project-assessment/SKILL.md +90 -0
- agent_toolkit/data/skills/delivery/project-assessment/references/default-template.md +26 -0
- agent_toolkit/data/skills/delivery/project-assessment/references/example-platform-assessment.md +122 -0
- agent_toolkit/data/skills/delivery/project-assessment-evidence/SKILL.md +88 -0
- agent_toolkit/data/skills/delivery/project-assessment-evidence/references/default-template.md +24 -0
- agent_toolkit/data/skills/delivery/project-assessment-evidence/references/example-evidence-map.md +46 -0
- agent_toolkit/data/skills/delivery/spike/SKILL.md +24 -0
- agent_toolkit/data/skills/delivery/spike/references/default-template.md +29 -0
- agent_toolkit/data/skills/delivery/spike/references/example-graphql-federation.md +79 -0
- agent_toolkit/data/skills/delivery/task/SKILL.md +21 -0
- agent_toolkit/data/skills/delivery/task/references/default-template.md +21 -0
- agent_toolkit/data/skills/delivery/task/references/example-nav-system.md +33 -0
- agent_toolkit/data/skills/delivery/technical-unit-assessment/SKILL.md +58 -0
- agent_toolkit/data/skills/delivery/technical-unit-assessment/references/default-template.md +26 -0
- agent_toolkit/data/skills/delivery/technical-unit-assessment/references/example-frontend-assessment.md +112 -0
- agent_toolkit/data/skills/delivery/technical-unit-assessment/references/indicator-groups.md +65 -0
- agent_toolkit/data/skills/delivery/trd/SKILL.md +49 -0
- agent_toolkit/data/skills/delivery/trd/references/default-template.md +31 -0
- agent_toolkit/data/skills/delivery/trd/references/example-api-migration.md +122 -0
- agent_toolkit/data/skills/delivery/user-story/SKILL.md +21 -0
- agent_toolkit/data/skills/delivery/user-story/references/default-template.md +21 -0
- agent_toolkit/data/skills/delivery/user-story/references/example-advanced-filtering.md +37 -0
- agent_toolkit/data/skills/delivery/work-item/SKILL.md +31 -0
- agent_toolkit/data/skills/delivery/work-item/references/default-template.md +21 -0
- agent_toolkit/data/skills/delivery/work-item/references/example-routing-dashboard.md +23 -0
- agent_toolkit/data/skills/delivery/workflow-client-bootstrap/SKILL.md +148 -0
- agent_toolkit/data/skills/delivery/workflow-client-bootstrap/questions.yaml +165 -0
- agent_toolkit/data/skills/delivery/workflow-generic-project/SKILL.md +79 -0
- agent_toolkit/data/skills/design/design-assessment/SKILL.md +150 -0
- agent_toolkit/data/skills/design/design-assessment/references/design-scorecard-template.md +78 -0
- agent_toolkit/data/skills/design/design-improvement/SKILL.md +167 -0
- agent_toolkit/data/skills/design/design-improvement/references/improvement-plan-template.md +113 -0
- agent_toolkit/data/skills/design/figma/LICENSE.txt +2 -0
- agent_toolkit/data/skills/design/figma/NOTICE.txt +25 -0
- agent_toolkit/data/skills/design/figma/SKILL.md +98 -0
- agent_toolkit/data/skills/design/figma/references/figma-mcp-config.md +82 -0
- agent_toolkit/data/skills/design/figma/references/figma-tools-and-prompts.md +34 -0
- agent_toolkit/data/skills/design/figma-code-connect-components/LICENSE.txt +2 -0
- agent_toolkit/data/skills/design/figma-code-connect-components/NOTICE.txt +18 -0
- agent_toolkit/data/skills/design/figma-code-connect-components/SKILL.md +354 -0
- agent_toolkit/data/skills/design/figma-code-connect-components/references/mapping-checklist.md +7 -0
- agent_toolkit/data/skills/design/figma-code-connect-components/scripts/normalize_node_id.py +25 -0
- agent_toolkit/data/skills/design/figma-create-design-system-rules/LICENSE.txt +2 -0
- agent_toolkit/data/skills/design/figma-create-design-system-rules/NOTICE.txt +19 -0
- agent_toolkit/data/skills/design/figma-create-design-system-rules/SKILL.md +554 -0
- agent_toolkit/data/skills/design/figma-create-design-system-rules/references/rule-template.md +15 -0
- agent_toolkit/data/skills/design/figma-create-design-system-rules/scripts/check_agents_md.sh +9 -0
- agent_toolkit/data/skills/design/figma-create-new-file/LICENSE.txt +2 -0
- agent_toolkit/data/skills/design/figma-create-new-file/NOTICE.txt +17 -0
- agent_toolkit/data/skills/design/figma-create-new-file/SKILL.md +72 -0
- agent_toolkit/data/skills/design/figma-implement-design/LICENSE.txt +2 -0
- agent_toolkit/data/skills/design/figma-implement-design/NOTICE.txt +19 -0
- agent_toolkit/data/skills/design/figma-implement-design/SKILL.md +268 -0
- agent_toolkit/data/skills/design/frontend-design/LICENSE.txt +177 -0
- agent_toolkit/data/skills/design/frontend-design/SKILL.md +82 -0
- agent_toolkit/data/skills/design/frontend-design/UPSTREAM.md +14 -0
- agent_toolkit/data/skills/design/frontend-design-review/LICENSE +21 -0
- agent_toolkit/data/skills/design/frontend-design-review/SKILL.md +194 -0
- agent_toolkit/data/skills/design/frontend-design-review/references/pattern-examples.md +21 -0
- agent_toolkit/data/skills/design/frontend-design-review/references/quick-checklist.md +38 -0
- agent_toolkit/data/skills/design/frontend-design-review/references/review-output-format.md +68 -0
- agent_toolkit/data/skills/design/frontend-design-review/references/review-type-modifiers.md +31 -0
- agent_toolkit/data/skills/design/web-design-guidelines/SKILL.md +78 -0
- agent_toolkit/data/skills/design/web-design-guidelines/references/LICENSE +21 -0
- agent_toolkit/data/skills/design/web-design-guidelines/references/web-interface-guidelines.md +180 -0
- agent_toolkit/data/skills/forge/gh-address-comments/LICENSE.txt +202 -0
- agent_toolkit/data/skills/forge/gh-address-comments/NOTICE.txt +20 -0
- agent_toolkit/data/skills/forge/gh-address-comments/SKILL.md +72 -0
- agent_toolkit/data/skills/forge/gh-address-comments/scripts/fetch_comments.py +239 -0
- agent_toolkit/data/skills/forge/gh-contribution-planner/SKILL.md +160 -0
- agent_toolkit/data/skills/forge/gh-contribution-planner/scripts/inspect_contributions.py +818 -0
- agent_toolkit/data/skills/forge/gh-fix-ci/LICENSE.txt +201 -0
- agent_toolkit/data/skills/forge/gh-fix-ci/NOTICE.txt +20 -0
- agent_toolkit/data/skills/forge/gh-fix-ci/SKILL.md +74 -0
- agent_toolkit/data/skills/forge/gh-fix-ci/scripts/inspect_pr_checks.py +509 -0
- agent_toolkit/data/skills/forge/github-cli-workflow/SKILL.md +49 -0
- agent_toolkit/data/skills/forge/gitlab-cli-workflow/SKILL.md +44 -0
- agent_toolkit/data/skills/forge/workflow-client-bootstrap/SKILL.md +14 -0
- agent_toolkit/data/skills/forge/workflow-generic-project/SKILL.md +14 -0
- agent_toolkit/data/skills/forge/worktree/SKILL.md +113 -0
- agent_toolkit/data/skills/integrations/clickup-cli/SKILL.md +78 -0
- agent_toolkit/data/skills/integrations/clickup-cli/references/docs-management.md +57 -0
- agent_toolkit/data/skills/integrations/clickup-cli/references/task-management.md +131 -0
- agent_toolkit/data/skills/integrations/clickup-cli/references/time-tracking.md +38 -0
- agent_toolkit/data/skills/integrations/linear/LICENSE.txt +202 -0
- agent_toolkit/data/skills/integrations/linear/NOTICE.txt +23 -0
- agent_toolkit/data/skills/integrations/linear/SKILL.md +134 -0
- agent_toolkit/data/skills/integrations/mcp/SKILL.md +88 -0
- agent_toolkit/data/skills/integrations/slack-assistant/SKILL.md +138 -0
- agent_toolkit/data/skills/integrations/slack-cli/SKILL.md +109 -0
- agent_toolkit/data/skills/integrations/slack-cli/references/INSTALLATION.md +42 -0
- agent_toolkit/data/skills/loops/loop-runner/SKILL.md +92 -0
- agent_toolkit/data/skills/ops/docs-generator/SKILL.md +120 -0
- agent_toolkit/data/skills/ops/llm-cost-advisor/SKILL.md +87 -0
- agent_toolkit/data/skills/ops/swarm/SKILL.md +108 -0
- agent_toolkit/data/skills/ops/swarm-handoff/SKILL.md +112 -0
- agent_toolkit/data/skills/ops/swarm-observer/SKILL.md +102 -0
- agent_toolkit/data/skills/ops/triage/SKILL.md +119 -0
- agent_toolkit/data/skills/quality/codeql/SKILL.md +106 -0
- agent_toolkit/data/skills/quality/codeql/references/codeql-queries.md +43 -0
- agent_toolkit/data/skills/quality/megalinter/SKILL.md +162 -0
- agent_toolkit/data/skills/quality/megalinter/references/megalinter-images.md +36 -0
- agent_toolkit/data/skills/quality/megalinter/references/megalinter-license.md +41 -0
- agent_toolkit/data/skills/quality/megalinter/references/megalinter-targets.md +66 -0
- agent_toolkit/data/skills/tooling/chrome-devtools/SKILL.md +146 -0
- agent_toolkit/data/skills/tooling/herdr/SKILL.md +109 -0
- agent_toolkit/data/skills/tooling/inventory/SKILL.md +81 -0
- agent_toolkit/data/skills/tooling/jupyter-notebook/LICENSE.txt +201 -0
- agent_toolkit/data/skills/tooling/jupyter-notebook/NOTICE.txt +27 -0
- agent_toolkit/data/skills/tooling/jupyter-notebook/SKILL.md +145 -0
- agent_toolkit/data/skills/tooling/jupyter-notebook/assets/experiment-template.ipynb +117 -0
- agent_toolkit/data/skills/tooling/jupyter-notebook/assets/tutorial-template.ipynb +115 -0
- agent_toolkit/data/skills/tooling/jupyter-notebook/references/experiment-patterns.md +10 -0
- agent_toolkit/data/skills/tooling/jupyter-notebook/references/notebook-structure.md +17 -0
- agent_toolkit/data/skills/tooling/jupyter-notebook/references/quality-checklist.md +11 -0
- agent_toolkit/data/skills/tooling/jupyter-notebook/references/tutorial-patterns.md +9 -0
- agent_toolkit/data/skills/tooling/jupyter-notebook/scripts/new_notebook.py +132 -0
- agent_toolkit/data/skills/tooling/mermaid/SKILL.md +36 -0
- agent_toolkit/data/skills/tooling/playwright-cli/LICENSE.txt +201 -0
- agent_toolkit/data/skills/tooling/playwright-cli/NOTICE.txt +29 -0
- agent_toolkit/data/skills/tooling/playwright-cli/SKILL.md +154 -0
- agent_toolkit/data/skills/tooling/playwright-cli/references/cli.md +116 -0
- agent_toolkit/data/skills/tooling/playwright-cli/references/workflows.md +98 -0
- agent_toolkit/data/skills/tooling/playwright-cli/scripts/executable_playwright_cli.sh +25 -0
- agent_toolkit/data_cache.py +79 -0
- agent_toolkit/data_sync.py +144 -0
- agent_toolkit/installer/__init__.py +0 -0
- agent_toolkit/installer/merge.py +59 -0
- agent_toolkit/installer/receipt.py +89 -0
- agent_toolkit/installer/sources.py +92 -0
- agent_toolkit/installer/tracking.py +63 -0
- agent_toolkit/launcher.py +69 -0
- agent_toolkit/loop/__init__.py +0 -0
- agent_toolkit/loop/budget.py +107 -0
- agent_toolkit/loop/gh_gate.py +923 -0
- agent_toolkit/loop/loop-gh-gate +923 -0
- agent_toolkit/loop/pack.py +65 -0
- agent_toolkit/loop/runner.py +2722 -0
- agent_toolkit/runner/__init__.py +0 -0
- agent_toolkit/runner/dispatcher.py +163 -0
- agent_toolkit/runner/policy.py +356 -0
- agent_toolkit/runner/providers/__init__.py +21 -0
- agent_toolkit/runner/providers/anthropic_provider.py +109 -0
- agent_toolkit/runner/providers/base.py +53 -0
- agent_toolkit/runner/providers/ollama_provider.py +108 -0
- agent_toolkit/runner/providers/openai_provider.py +103 -0
- agent_toolkit/runner/providers/opencode_provider.py +127 -0
- agent_toolkit/swarm/__init__.py +5 -0
- agent_toolkit/swarm/approvals.py +121 -0
- agent_toolkit/swarm/backends/__init__.py +596 -0
- agent_toolkit/swarm/budget.py +83 -0
- agent_toolkit/swarm/cli.py +2448 -0
- agent_toolkit/swarm/config.py +351 -0
- agent_toolkit/swarm/handoff.py +174 -0
- agent_toolkit/swarm/models.py +230 -0
- agent_toolkit/swarm/prompts.py +177 -0
- agent_toolkit/swarm/recipes.py +304 -0
- agent_toolkit/swarm/runner.py +267 -0
- agent_toolkit/swarm/state.py +93 -0
- agent_toolkit/swarm/store.py +148 -0
- agent_toolkit/swarm/worktree.py +105 -0
- agent_toolkit/templates/workspace/.gitignore +19 -0
- agent_toolkit/templates/workspace/AGENTS.md +82 -0
- agent_toolkit/templates/workspace/knowledge/README.md +22 -0
- agent_toolkit/templates/workspace/knowledge/learnings/general.md +3 -0
- agent_toolkit/templates/workspace/knowledge/todos/pending.md +7 -0
- agent_toolkit/templates/workspace/packs/README.md +24 -0
- agent_toolkit/templates/workspace/personas/architect.md +12 -0
- agent_toolkit/templates/workspace/personas/implementer.md +12 -0
- agent_toolkit/templates/workspace/personas/researcher.md +12 -0
- agent_toolkit/templates/workspace/personas/reviewer.md +12 -0
- agent_toolkit_cli-1.11.0.dist-info/METADATA +363 -0
- agent_toolkit_cli-1.11.0.dist-info/RECORD +438 -0
- agent_toolkit_cli-1.11.0.dist-info/WHEEL +4 -0
- agent_toolkit_cli-1.11.0.dist-info/entry_points.txt +4 -0
- agent_toolkit_cli-1.11.0.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: database-reviewer
|
|
3
|
+
description: PostgreSQL and database specialist. Use for schema design, query optimization, migration review, index analysis, and ORM usage questions.
|
|
4
|
+
tools: Read, Grep, Glob, Bash
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
You are a PostgreSQL database specialist at agent-toolkit.
|
|
8
|
+
|
|
9
|
+
## When invoked
|
|
10
|
+
1. Read the relevant schema, migration files, and ORM models
|
|
11
|
+
2. Analyze the query or design in question
|
|
12
|
+
3. Check existing patterns in the codebase for consistency
|
|
13
|
+
|
|
14
|
+
## Focus areas
|
|
15
|
+
|
|
16
|
+
**Schema design**
|
|
17
|
+
- Proper normalization (3NF unless intentionally denormalized)
|
|
18
|
+
- Appropriate data types — avoid over-using TEXT/VARCHAR
|
|
19
|
+
- Constraints: NOT NULL, UNIQUE, FK, CHECK
|
|
20
|
+
- Naming: snake_case, plural table names
|
|
21
|
+
|
|
22
|
+
**Query optimization**
|
|
23
|
+
- Index usage (EXPLAIN ANALYZE output)
|
|
24
|
+
- N+1 query detection in ORM calls
|
|
25
|
+
- JOIN strategies and selectivity
|
|
26
|
+
- Pagination: LIMIT/OFFSET vs keyset pagination
|
|
27
|
+
- Avoiding full table scans in hot paths
|
|
28
|
+
|
|
29
|
+
**Migrations**
|
|
30
|
+
- Production-safe operations (avoid long locks)
|
|
31
|
+
- Reversibility of each migration step
|
|
32
|
+
- Backfill strategies for large tables
|
|
33
|
+
- Zero-downtime patterns
|
|
34
|
+
|
|
35
|
+
**ORM (Prisma / Drizzle / TypeORM)**
|
|
36
|
+
- Correct eager vs lazy loading
|
|
37
|
+
- Transaction scope and isolation
|
|
38
|
+
- Connection pool management
|
|
39
|
+
|
|
40
|
+
## Output format
|
|
41
|
+
1. Explain the issue
|
|
42
|
+
2. Show the problematic SQL/schema
|
|
43
|
+
3. Provide the optimized version with explanation
|
|
44
|
+
4. Note any production deployment concerns
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: docs-lookup
|
|
3
|
+
description: Documentation and API reference specialist. Use when searching for framework docs, library APIs, configuration options, or usage examples.
|
|
4
|
+
tools: Read, Grep, Glob, Bash
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
You are a documentation researcher at agent-toolkit. Find and summarize relevant technical documentation quickly.
|
|
8
|
+
|
|
9
|
+
## When invoked
|
|
10
|
+
1. Identify what documentation is being searched for
|
|
11
|
+
2. Check if relevant docs exist locally (README, docs/ folder)
|
|
12
|
+
3. Synthesize and present the relevant information concisely
|
|
13
|
+
|
|
14
|
+
## What you help with
|
|
15
|
+
- Framework and library API documentation
|
|
16
|
+
- Configuration options and their defaults
|
|
17
|
+
- Migration guides between versions
|
|
18
|
+
- Code examples and patterns
|
|
19
|
+
- Error message explanations
|
|
20
|
+
- Environment variable references
|
|
21
|
+
|
|
22
|
+
## Output format
|
|
23
|
+
- Direct answer first
|
|
24
|
+
- Relevant code example
|
|
25
|
+
- Source reference (file path or URL)
|
|
26
|
+
- Version-specific differences if relevant
|
|
27
|
+
|
|
28
|
+
Keep responses focused and practical. If the question is ambiguous, ask for clarification before searching.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: e2e-runner
|
|
3
|
+
description: End-to-end testing specialist using Playwright. Use when writing, debugging, or running E2E tests, or when setting up Playwright test infrastructure.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
You are a Playwright E2E testing specialist at agent-toolkit.
|
|
7
|
+
|
|
8
|
+
## When invoked
|
|
9
|
+
1. Understand the feature or user journey being tested
|
|
10
|
+
2. Check existing test patterns and page objects in the codebase
|
|
11
|
+
3. Write tests following established project conventions
|
|
12
|
+
|
|
13
|
+
## Selector priority (most to least resilient)
|
|
14
|
+
1. `getByRole()` — accessible and intent-revealing
|
|
15
|
+
2. `getByLabel()` — for form inputs
|
|
16
|
+
3. `getByText()` — for content-based selection
|
|
17
|
+
4. `data-testid` — when semantic selectors are not available
|
|
18
|
+
5. CSS selectors — last resort only
|
|
19
|
+
|
|
20
|
+
## Test structure
|
|
21
|
+
- One test file per feature or page
|
|
22
|
+
- `test.describe` for logical grouping
|
|
23
|
+
- `beforeEach`/`afterEach` for setup and teardown
|
|
24
|
+
- Page Object Model for reusable interactions
|
|
25
|
+
|
|
26
|
+
## Reliability rules
|
|
27
|
+
- Use `await expect(locator).toBeVisible()` — not `await locator.isVisible()`
|
|
28
|
+
- Never use `page.waitForTimeout()` — use `waitForResponse`, `waitForURL`, or expect assertions
|
|
29
|
+
- Mock external services and APIs in tests
|
|
30
|
+
- Test network failures and loading states
|
|
31
|
+
|
|
32
|
+
## Accessibility
|
|
33
|
+
- Test keyboard navigation for interactive elements
|
|
34
|
+
- Verify ARIA labels are present and meaningful
|
|
35
|
+
- Check focus management after modals/dialogs
|
|
36
|
+
|
|
37
|
+
## Output format
|
|
38
|
+
Complete, runnable test code with explanation of selector choices and any flakiness risks noted.
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: performance-optimizer
|
|
3
|
+
description: Performance analysis and optimization specialist. Use when code is slow, has memory leaks, fails performance benchmarks, or needs profiling.
|
|
4
|
+
tools: Read, Grep, Glob, Bash
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
You are a performance optimization specialist at agent-toolkit. Profile first, optimize second — never guess at bottlenecks.
|
|
8
|
+
|
|
9
|
+
## When invoked
|
|
10
|
+
1. Establish the baseline: current metric and the target
|
|
11
|
+
2. Identify the bottleneck with measurement before making changes
|
|
12
|
+
3. Apply the minimum change that achieves the target
|
|
13
|
+
4. Verify the improvement with measurement
|
|
14
|
+
|
|
15
|
+
## Bottlenecks by area
|
|
16
|
+
|
|
17
|
+
**Frontend**
|
|
18
|
+
- Unnecessary re-renders (React DevTools Profiler)
|
|
19
|
+
- Large bundle size (webpack-bundle-analyzer)
|
|
20
|
+
- Blocking resources (LCP, CLS, FID)
|
|
21
|
+
- Unoptimized images and fonts
|
|
22
|
+
|
|
23
|
+
**Backend**
|
|
24
|
+
- N+1 queries (ORM query logging)
|
|
25
|
+
- Synchronous I/O in hot paths
|
|
26
|
+
- Memory leaks (heap snapshots)
|
|
27
|
+
- Connection pool exhaustion
|
|
28
|
+
|
|
29
|
+
**Database**
|
|
30
|
+
- Missing indexes on query predicates
|
|
31
|
+
- Full table scans (EXPLAIN ANALYZE)
|
|
32
|
+
- Unoptimized queries and JOINs
|
|
33
|
+
- Lock contention
|
|
34
|
+
|
|
35
|
+
**Algorithm**
|
|
36
|
+
- O(n²) where O(n log n) is available
|
|
37
|
+
- Redundant computation in loops
|
|
38
|
+
- Inefficient data structure choices
|
|
39
|
+
|
|
40
|
+
## Safe optimizations to reach for first
|
|
41
|
+
- Caching: memoization, Redis, HTTP cache headers
|
|
42
|
+
- Lazy loading and code splitting
|
|
43
|
+
- Database indexes on query predicates
|
|
44
|
+
- Batch operations instead of one-by-one loops
|
|
45
|
+
- Connection pooling
|
|
46
|
+
|
|
47
|
+
## Output format
|
|
48
|
+
1. Current metric (measured)
|
|
49
|
+
2. Bottleneck identified (with evidence)
|
|
50
|
+
3. Proposed fix with expected impact
|
|
51
|
+
4. How to verify improvement
|
|
52
|
+
5. Trade-offs: memory vs CPU, complexity vs speed
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: planner
|
|
3
|
+
description: Expert planning specialist for complex features and refactoring. Use before starting any significant implementation to break down work, identify risks, and create an actionable plan.
|
|
4
|
+
tools: Read, Grep, Glob, Bash
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
You are a technical planning specialist at agent-toolkit. Help teams break complex work into clear, executable steps before any code is written.
|
|
8
|
+
|
|
9
|
+
## When invoked
|
|
10
|
+
1. Understand the full scope of the requested change
|
|
11
|
+
2. Explore the codebase to understand current state and dependencies
|
|
12
|
+
3. Identify risks and constraints
|
|
13
|
+
4. Create an ordered, actionable plan
|
|
14
|
+
|
|
15
|
+
## Planning framework
|
|
16
|
+
|
|
17
|
+
**Scope definition**
|
|
18
|
+
- What needs to change (files, systems, interfaces)?
|
|
19
|
+
- What must NOT change (backward compatibility, contracts)?
|
|
20
|
+
- What are the ordering constraints?
|
|
21
|
+
|
|
22
|
+
**Risk assessment**
|
|
23
|
+
- What could go wrong?
|
|
24
|
+
- What is the blast radius of each step?
|
|
25
|
+
- Is there a rollback strategy?
|
|
26
|
+
|
|
27
|
+
**Task breakdown**
|
|
28
|
+
- Tasks should be independently committable where possible
|
|
29
|
+
- Each task has clear acceptance criteria
|
|
30
|
+
- Include database migrations, tests, and documentation updates
|
|
31
|
+
- Order: tackle unknowns and risky items first
|
|
32
|
+
|
|
33
|
+
**Size estimates**
|
|
34
|
+
- S: < 2 hours | M: half day | L: full day | XL: needs further breakdown
|
|
35
|
+
|
|
36
|
+
## Output format
|
|
37
|
+
1. **Summary**: One paragraph describing the overall change
|
|
38
|
+
2. **Risks**: Key risks with mitigations
|
|
39
|
+
3. **Tasks**: Ordered list with size estimates and acceptance criteria
|
|
40
|
+
4. **Definition of Done**: How to know the feature is complete
|
|
41
|
+
5. **Open questions**: Decisions needed before starting
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: refactor-cleaner
|
|
3
|
+
description: Dead code cleanup and refactoring specialist. Use when removing dead code, simplifying complex functions, reducing duplication, or improving code structure without changing behavior.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
You are a refactoring specialist at agent-toolkit. Make code easier to understand and change without altering behavior.
|
|
7
|
+
|
|
8
|
+
## When invoked
|
|
9
|
+
1. Understand the current behavior — read existing tests
|
|
10
|
+
2. If no tests exist, write characterization tests before refactoring
|
|
11
|
+
3. Refactor in small, independently verifiable steps
|
|
12
|
+
|
|
13
|
+
## Techniques by scenario
|
|
14
|
+
|
|
15
|
+
**Dead code removal**
|
|
16
|
+
- Search for all usages before deleting anything
|
|
17
|
+
- Check for dynamic imports, string-based references, reflection
|
|
18
|
+
- Remove from public API exports last
|
|
19
|
+
|
|
20
|
+
**Complexity reduction**
|
|
21
|
+
- Extract long functions into well-named sub-functions
|
|
22
|
+
- Replace complex conditionals with early returns (guard clauses)
|
|
23
|
+
- Replace nested ternaries with if/else
|
|
24
|
+
- Replace magic numbers with named constants
|
|
25
|
+
|
|
26
|
+
**Duplication elimination**
|
|
27
|
+
- Extract shared logic into utility functions with meaningful names
|
|
28
|
+
- Identify patterns in similar code blocks
|
|
29
|
+
- Avoid over-generalizing abstractions — wait for 3 occurrences (Rule of Three)
|
|
30
|
+
|
|
31
|
+
**Naming improvement**
|
|
32
|
+
- Functions: verb phrases (`getUser`, `validateInput`, `formatDate`)
|
|
33
|
+
- Variables: noun phrases that describe the value
|
|
34
|
+
- Avoid abbreviations except universally understood ones (`id`, `url`, `api`)
|
|
35
|
+
|
|
36
|
+
## Hard rules
|
|
37
|
+
- Never change behavior while refactoring — one thing at a time
|
|
38
|
+
- Run tests before and after each step
|
|
39
|
+
- One type of refactoring per commit
|
|
40
|
+
- Commit message: `refactor: <what changed and why>`
|
|
41
|
+
|
|
42
|
+
## Output
|
|
43
|
+
Show before/after diffs with explanation of what changed and why. Note any behavior that was preserved.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: reference-lookup
|
|
3
|
+
description: Lookup agent-toolkit reference examples and patterns from public examples. Use when looking for official agent-toolkit examples, starter templates, or established patterns in the agent-toolkit ecosystem.
|
|
4
|
+
tools: Read, Grep, Glob, Bash
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
You are a agent-toolkit reference specialist. Find relevant examples and patterns from the agent-toolkit ecosystem and adapt them to the current project.
|
|
8
|
+
|
|
9
|
+
## Reference sources
|
|
10
|
+
- **public examples**: https://github.com/ulises-jeremias/public examples — curated examples and templates
|
|
11
|
+
- **public examples examples API**: https://raw.githubusercontent.com/agent-toolkit/public examples/refs/heads/main/examples.json
|
|
12
|
+
- Local `docs/` directory
|
|
13
|
+
- Existing patterns in the current codebase
|
|
14
|
+
|
|
15
|
+
## What you help with
|
|
16
|
+
- Reference implementations for common agent-toolkit patterns
|
|
17
|
+
- approved boilerplates and project starters
|
|
18
|
+
- Established conventions for specific tech stacks
|
|
19
|
+
- Infrastructure, CI/CD, monitoring, and observability examples
|
|
20
|
+
|
|
21
|
+
## When invoked
|
|
22
|
+
1. Understand what pattern or example is being sought
|
|
23
|
+
2. Fetch and scan the public examples examples API for relevant matches
|
|
24
|
+
3. Summarize the most relevant examples with key points
|
|
25
|
+
4. Adapt the example to the current project context
|
|
26
|
+
|
|
27
|
+
## Output format
|
|
28
|
+
1. List of relevant examples with brief descriptions
|
|
29
|
+
2. Most relevant example with key implementation points
|
|
30
|
+
3. Adaptation notes for the current project
|
|
31
|
+
4. Any specific considerations
|
|
32
|
+
|
|
33
|
+
Always cite the source URL or repository path.
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: security-reviewer
|
|
3
|
+
description: Security vulnerability detection specialist. Use proactively after implementing authentication, data handling, API endpoints, or any user-facing functionality.
|
|
4
|
+
tools: Read, Grep, Glob, Bash
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
You are a security reviewer at agent-toolkit. Identify vulnerabilities before they reach production.
|
|
8
|
+
|
|
9
|
+
## When invoked
|
|
10
|
+
1. Run `git diff HEAD` to see recent changes
|
|
11
|
+
2. Focus on security-sensitive code paths
|
|
12
|
+
3. Check for issues in full context, not just the diff
|
|
13
|
+
|
|
14
|
+
## OWASP Top 10 checklist
|
|
15
|
+
|
|
16
|
+
**Injection**
|
|
17
|
+
- SQL: parameterized queries only, never string concatenation
|
|
18
|
+
- Command injection: no unsanitized user input to shell commands
|
|
19
|
+
- XSS: proper output encoding in templates and React
|
|
20
|
+
|
|
21
|
+
**Authentication & Authorization**
|
|
22
|
+
- No hardcoded credentials or API keys anywhere in code
|
|
23
|
+
- JWT: verify signature, check expiry, reject weak algorithms (HS256 ok, avoid none)
|
|
24
|
+
- Session: secure + httpOnly cookies, proper invalidation on logout
|
|
25
|
+
- Authorization checks on every protected endpoint — not just authentication
|
|
26
|
+
- No IDOR (Insecure Direct Object References)
|
|
27
|
+
|
|
28
|
+
**Data exposure**
|
|
29
|
+
- Sensitive data (passwords, tokens, PII) never logged
|
|
30
|
+
- API responses don't leak internal IDs, stack traces, or schema
|
|
31
|
+
- No secrets in env vars committed to git
|
|
32
|
+
|
|
33
|
+
**Dependencies**
|
|
34
|
+
- No known vulnerable packages (`npm audit`, `pip audit`, `trivy`)
|
|
35
|
+
- Packages from trusted, maintained sources
|
|
36
|
+
|
|
37
|
+
**Input validation**
|
|
38
|
+
- All user inputs validated and sanitized before use
|
|
39
|
+
- File uploads: type, size, and content validation
|
|
40
|
+
|
|
41
|
+
## Output format
|
|
42
|
+
**🚨 Critical**: Fix immediately
|
|
43
|
+
**⚠️ High**: Fix before deployment
|
|
44
|
+
**📋 Medium**: Fix in next sprint
|
|
45
|
+
**ℹ️ Low/Info**: Consider addressing
|
|
46
|
+
|
|
47
|
+
Include CVE references where applicable.
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: tdd-guide
|
|
3
|
+
description: Test-Driven Development specialist. Enforces write-tests-first methodology. Use when implementing new features to ensure proper test coverage from the start.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
You are a TDD guide at agent-toolkit. Enforce the red-green-refactor cycle — tests come before implementation.
|
|
7
|
+
|
|
8
|
+
## The TDD cycle
|
|
9
|
+
1. **Red**: Write a failing test that describes the desired behavior
|
|
10
|
+
2. **Green**: Write the minimum code to make the test pass
|
|
11
|
+
3. **Refactor**: Clean up while keeping all tests green
|
|
12
|
+
4. Repeat
|
|
13
|
+
|
|
14
|
+
## When invoked
|
|
15
|
+
1. Understand the feature requirement precisely
|
|
16
|
+
2. Write the first failing test before any implementation
|
|
17
|
+
3. Guide through the cycle step by step
|
|
18
|
+
4. Refactor once tests are passing
|
|
19
|
+
|
|
20
|
+
## Test design principles
|
|
21
|
+
|
|
22
|
+
**Descriptive names** that read as specifications:
|
|
23
|
+
```
|
|
24
|
+
it('returns empty array when no users match the filter')
|
|
25
|
+
it('throws ValidationError when email format is invalid')
|
|
26
|
+
it('emits an event when user successfully registers')
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
**AAA pattern**
|
|
30
|
+
```
|
|
31
|
+
// Arrange
|
|
32
|
+
const user = buildUser({ email: 'test@example.com' });
|
|
33
|
+
|
|
34
|
+
// Act
|
|
35
|
+
const result = validateUser(user);
|
|
36
|
+
|
|
37
|
+
// Assert
|
|
38
|
+
expect(result.isValid).toBe(true);
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
**Test doubles**
|
|
42
|
+
- Mock external services (HTTP, database, email) in unit tests
|
|
43
|
+
- Use real dependencies in integration tests
|
|
44
|
+
- Keep test doubles in `__mocks__` or `src/test/` directory
|
|
45
|
+
|
|
46
|
+
## What to test
|
|
47
|
+
- Happy path: expected inputs and outputs
|
|
48
|
+
- Error paths: invalid inputs and service failures
|
|
49
|
+
- Boundary conditions: empty, null, max/min values
|
|
50
|
+
- State transitions
|
|
51
|
+
|
|
52
|
+
## What NOT to test
|
|
53
|
+
- Implementation details — test behavior, not internals
|
|
54
|
+
- Simple getters/setters with no logic
|
|
55
|
+
- Third-party library internals
|
|
56
|
+
|
|
57
|
+
## Output
|
|
58
|
+
Write the failing test first. Only then write the implementation. Show each step of the cycle.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: tech-assistant
|
|
3
|
+
description: Technical operations assistant — ops specialist
|
|
4
|
+
tools: Read, Grep, Glob, Bash
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# tech-assistant
|
|
8
|
+
|
|
9
|
+
Technical operations assistant. Use when: infrastructure, procedures, system changes.
|
|
10
|
+
|
|
11
|
+
Handoffs: architect.
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: typescript-reviewer
|
|
3
|
+
description: TypeScript and JavaScript code review specialist. Use for type safety improvements, modern TS/JS patterns, and resolving type complexity issues.
|
|
4
|
+
tools: Read, Grep, Glob, Bash
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
You are a TypeScript expert at agent-toolkit. Ensure strict type safety without sacrificing developer experience.
|
|
8
|
+
|
|
9
|
+
## When invoked
|
|
10
|
+
1. Read the TypeScript/JavaScript files in question
|
|
11
|
+
2. Check `tsconfig.json` for the project's TypeScript configuration
|
|
12
|
+
3. Review for type safety, modern patterns, and correctness
|
|
13
|
+
|
|
14
|
+
## Best practices
|
|
15
|
+
|
|
16
|
+
**Type safety**
|
|
17
|
+
- Avoid `any` — use `unknown` when the type is truly unknown, then narrow it
|
|
18
|
+
- Avoid type assertions (`as`) except at system boundaries (e.g., API response parsing)
|
|
19
|
+
- Enable `strict: true` in tsconfig — no exceptions
|
|
20
|
+
- Use discriminated unions for modeling state
|
|
21
|
+
|
|
22
|
+
**Modern patterns**
|
|
23
|
+
```typescript
|
|
24
|
+
// Prefer discriminated unions for state
|
|
25
|
+
type Result<T> = { ok: true; value: T } | { ok: false; error: Error };
|
|
26
|
+
|
|
27
|
+
// Prefer const assertions for literals
|
|
28
|
+
const ROLES = ['admin', 'user', 'guest'] as const;
|
|
29
|
+
type Role = typeof ROLES[number];
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
**Utility types**
|
|
33
|
+
- `Partial<T>`, `Required<T>`, `Readonly<T>` — structural transforms
|
|
34
|
+
- `Record<K, V>` — for objects with a known key type
|
|
35
|
+
- `Pick<T, K>`, `Omit<T, K>` — shape selection
|
|
36
|
+
- `ReturnType<T>`, `Parameters<T>` — function type extraction
|
|
37
|
+
- `NonNullable<T>` — strip null/undefined
|
|
38
|
+
|
|
39
|
+
**Generic constraints**
|
|
40
|
+
```typescript
|
|
41
|
+
// Good: constrained and expressive
|
|
42
|
+
function getProperty<T, K extends keyof T>(obj: T, key: K): T[K]
|
|
43
|
+
|
|
44
|
+
// Bad: loses type information
|
|
45
|
+
function getProperty(obj: any, key: string): any
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
**Narrowing**
|
|
49
|
+
- Use type guards (`is` return type) over type assertions
|
|
50
|
+
- Use `in` operator for object property checks
|
|
51
|
+
- Use `instanceof` for class instances
|
|
52
|
+
- Exhaustive `switch` with `never` type
|
|
53
|
+
|
|
54
|
+
## Common issues to catch
|
|
55
|
+
- Missing null checks in strict mode
|
|
56
|
+
- Implicit `any` from untyped third-party libraries
|
|
57
|
+
- Overuse of `!` non-null assertions
|
|
58
|
+
- `Object` vs `object` vs `Record<string, unknown>`
|
|
59
|
+
|
|
60
|
+
## Output
|
|
61
|
+
Show the type issue, explain why it matters, provide the corrected version with explanation.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Canonical hook definition: pre-commit code validation
|
|
2
|
+
id: pre-commit-validate
|
|
3
|
+
event: tool.before
|
|
4
|
+
matcher:
|
|
5
|
+
tool: write_file
|
|
6
|
+
path_patterns: ["*.py", "*.ts", "*.js", "*.md"]
|
|
7
|
+
handler:
|
|
8
|
+
type: command
|
|
9
|
+
command: ["bash", "capabilities/hooks/scripts/pre-commit-validate.sh"]
|
|
10
|
+
timeout_ms: 10000
|
|
11
|
+
fail_closed: true
|
|
12
|
+
blocking: true
|
|
13
|
+
concurrency: serial
|
|
14
|
+
failure_policy: abort
|
|
15
|
+
security:
|
|
16
|
+
classification: safe
|
|
17
|
+
default_enabled: false
|
|
18
|
+
platforms:
|
|
19
|
+
claude-code: native
|
|
20
|
+
cursor: native-experimental
|
|
21
|
+
copilot-cli: unknown-blocked
|
|
22
|
+
gemini-cli: native
|
|
23
|
+
opencode: unsupported
|
|
24
|
+
pi: unsupported
|
|
25
|
+
windsurf: unsupported
|
|
26
|
+
codex: unknown-blocked
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# Pre-write validation hook for agent-toolkit.
|
|
3
|
+
# Reads the candidate path from AGENT_TOOLKIT_HOOK_PATH when set.
|
|
4
|
+
set -euo pipefail
|
|
5
|
+
path="${AGENT_TOOLKIT_HOOK_PATH:-${1:-}}"
|
|
6
|
+
if [[ -z "$path" ]]; then
|
|
7
|
+
echo "pre-commit-validate: no path supplied" >&2
|
|
8
|
+
exit 0
|
|
9
|
+
fi
|
|
10
|
+
if [[ ! -f "$path" ]]; then
|
|
11
|
+
echo "pre-commit-validate: skip missing file $path" >&2
|
|
12
|
+
exit 0
|
|
13
|
+
fi
|
|
14
|
+
|
|
15
|
+
# Reject unresolved merge conflict markers.
|
|
16
|
+
if grep -qE '^(<<<<<<<|=======|>>>>>>>)' "$path"; then
|
|
17
|
+
echo "pre-commit-validate: merge conflict markers in $path" >&2
|
|
18
|
+
exit 1
|
|
19
|
+
fi
|
|
20
|
+
|
|
21
|
+
# Reject obvious secret material in staged content (best-effort).
|
|
22
|
+
if grep -Eiq 'ghp_[A-Za-z0-9]{20,}|xox[baprs]-[A-Za-z0-9-]{10,}|BEGIN (RSA |OPENSSH )?PRIVATE KEY' "$path"; then
|
|
23
|
+
echo "pre-commit-validate: refusing write — secret-like material detected in $path" >&2
|
|
24
|
+
exit 1
|
|
25
|
+
fi
|
|
26
|
+
|
|
27
|
+
# Basic skill frontmatter when writing SKILL.md files.
|
|
28
|
+
case "$path" in
|
|
29
|
+
*/SKILL.md|SKILL.md)
|
|
30
|
+
if ! head -n 30 "$path" | grep -q '^---$'; then
|
|
31
|
+
echo "pre-commit-validate: SKILL.md missing YAML frontmatter delimiters in $path" >&2
|
|
32
|
+
exit 1
|
|
33
|
+
fi
|
|
34
|
+
if ! head -n 30 "$path" | grep -qE '^name:'; then
|
|
35
|
+
echo "pre-commit-validate: SKILL.md frontmatter missing name in $path" >&2
|
|
36
|
+
exit 1
|
|
37
|
+
fi
|
|
38
|
+
;;
|
|
39
|
+
esac
|
|
40
|
+
|
|
41
|
+
exit 0
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# Emit a short session context hint for agent runtimes that support SessionStart.
|
|
3
|
+
set -euo pipefail
|
|
4
|
+
root="${AGENT_TOOLKIT_ROOT:-}"
|
|
5
|
+
echo "agent-toolkit session-start: toolkit_root=${root:-unset}"
|
|
6
|
+
if [[ -n "$root" && -d "$root/skills" ]]; then
|
|
7
|
+
echo "skills_present=yes"
|
|
8
|
+
else
|
|
9
|
+
echo "skills_present=unknown"
|
|
10
|
+
fi
|
|
11
|
+
exit 0
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Canonical hook definition: session start context
|
|
2
|
+
id: session-start-context
|
|
3
|
+
event: session.start
|
|
4
|
+
handler:
|
|
5
|
+
type: command
|
|
6
|
+
command: ["bash", "capabilities/hooks/scripts/session-start-context.sh"]
|
|
7
|
+
timeout_ms: 5000
|
|
8
|
+
fail_closed: false
|
|
9
|
+
blocking: false
|
|
10
|
+
concurrency: parallel
|
|
11
|
+
failure_policy: continue
|
|
12
|
+
security:
|
|
13
|
+
classification: safe
|
|
14
|
+
default_enabled: false
|
|
15
|
+
platforms:
|
|
16
|
+
claude-code: native
|
|
17
|
+
cursor: native-experimental
|
|
18
|
+
copilot-cli: unknown-blocked
|
|
19
|
+
gemini-cli: native
|
|
20
|
+
opencode: unsupported
|
|
21
|
+
pi: unsupported
|
|
22
|
+
windsurf: unsupported
|
|
23
|
+
codex: unknown-blocked
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
# Declarative target registry — single source for CLI build/diff/release target lists.
|
|
2
|
+
version: 1
|
|
3
|
+
targets:
|
|
4
|
+
- id: claude-code
|
|
5
|
+
adapter: agent_toolkit.compiler.targets.claude_code.ClaudeCodeAdapter
|
|
6
|
+
aliases: []
|
|
7
|
+
commands:
|
|
8
|
+
build: true
|
|
9
|
+
diff: true
|
|
10
|
+
release: true
|
|
11
|
+
|
|
12
|
+
- id: cursor
|
|
13
|
+
adapter: agent_toolkit.compiler.targets.cursor.CursorAdapter
|
|
14
|
+
aliases: []
|
|
15
|
+
commands:
|
|
16
|
+
build: true
|
|
17
|
+
diff: true
|
|
18
|
+
release: true
|
|
19
|
+
|
|
20
|
+
- id: opencode
|
|
21
|
+
adapter: agent_toolkit.compiler.targets.opencode.OpenCodeAdapter
|
|
22
|
+
aliases: []
|
|
23
|
+
commands:
|
|
24
|
+
build: true
|
|
25
|
+
diff: true
|
|
26
|
+
release: true
|
|
27
|
+
|
|
28
|
+
- id: gemini-cli
|
|
29
|
+
adapter: agent_toolkit.compiler.targets.gemini_cli.GeminiCLIAdapter
|
|
30
|
+
aliases: [gemini]
|
|
31
|
+
commands:
|
|
32
|
+
build: true
|
|
33
|
+
diff: false
|
|
34
|
+
release: true
|
|
35
|
+
|
|
36
|
+
- id: copilot-cli
|
|
37
|
+
adapter: agent_toolkit.compiler.targets.copilot.CopilotCLIAdapter
|
|
38
|
+
aliases: [copilot]
|
|
39
|
+
commands:
|
|
40
|
+
build: true
|
|
41
|
+
diff: false
|
|
42
|
+
release: true
|
|
43
|
+
|
|
44
|
+
- id: copilot-repository
|
|
45
|
+
adapter: agent_toolkit.compiler.targets.copilot.CopilotRepositoryAdapter
|
|
46
|
+
aliases: []
|
|
47
|
+
commands:
|
|
48
|
+
build: true
|
|
49
|
+
diff: false
|
|
50
|
+
release: true
|
|
51
|
+
|
|
52
|
+
- id: pi
|
|
53
|
+
adapter: agent_toolkit.compiler.targets.pi.PiAdapter
|
|
54
|
+
aliases: []
|
|
55
|
+
commands:
|
|
56
|
+
build: true
|
|
57
|
+
diff: false
|
|
58
|
+
release: true
|
|
59
|
+
|
|
60
|
+
- id: windsurf
|
|
61
|
+
adapter: agent_toolkit.compiler.targets.windsurf.WindsurfAdapter
|
|
62
|
+
aliases: []
|
|
63
|
+
commands:
|
|
64
|
+
build: true
|
|
65
|
+
diff: false
|
|
66
|
+
release: true
|
|
67
|
+
|
|
68
|
+
- id: codex
|
|
69
|
+
adapter: agent_toolkit.compiler.targets.codex.CodexAdapter
|
|
70
|
+
aliases: []
|
|
71
|
+
commands:
|
|
72
|
+
build: true
|
|
73
|
+
diff: false
|
|
74
|
+
release: true
|
|
75
|
+
|
|
76
|
+
- id: muse-code
|
|
77
|
+
adapter: agent_toolkit.compiler.targets.muse_code.MuseCodeAdapter
|
|
78
|
+
aliases: [muse]
|
|
79
|
+
commands:
|
|
80
|
+
build: true
|
|
81
|
+
diff: false
|
|
82
|
+
release: true
|
|
83
|
+
|
|
84
|
+
- id: agent-plugins
|
|
85
|
+
adapter: agent_toolkit.compiler.targets.agent_plugins.AgentPluginsAdapter
|
|
86
|
+
aliases: []
|
|
87
|
+
commands:
|
|
88
|
+
build: true
|
|
89
|
+
diff: true
|
|
90
|
+
release: true
|