agent-toolkit-cli 1.0.3__py3-none-any.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 +3 -0
- agent_toolkit/_paths.py +64 -0
- agent_toolkit/cli/__init__.py +0 -0
- agent_toolkit/cli/doctor.py +453 -0
- agent_toolkit/cli/install.py +445 -0
- agent_toolkit/cli/main.py +66 -0
- agent_toolkit/cli/mcp.py +418 -0
- agent_toolkit/cli/plugin.py +213 -0
- agent_toolkit/cli/skills.py +421 -0
- agent_toolkit/loop/__init__.py +0 -0
- agent_toolkit/loop/gh_gate.py +626 -0
- agent_toolkit/loop/runner.py +1548 -0
- agent_toolkit/runner/__init__.py +0 -0
- agent_toolkit/runner/dispatcher.py +164 -0
- agent_toolkit/runner/policy.py +345 -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 +105 -0
- agent_toolkit/runner/providers/opencode_provider.py +127 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/agents/architect/AGENT.md +30 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/agents/assistant/AGENT.md +59 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/agents/build-error-resolver/AGENT.md +30 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/agents/client-workflow-bootstrap/AGENT.md +60 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/agents/code-reviewer/AGENT.md +49 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/agents/database-reviewer/AGENT.md +44 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/agents/docs-lookup/AGENT.md +28 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/agents/e2e-runner/AGENT.md +38 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/agents/performance-optimizer/AGENT.md +52 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/agents/planner/AGENT.md +41 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/agents/refactor-cleaner/AGENT.md +43 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/agents/reference-lookup/AGENT.md +33 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/agents/security-reviewer/AGENT.md +47 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/agents/tdd-guide/AGENT.md +58 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/agents/tech-assistant/AGENT.md +11 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/agents/typescript-reviewer/AGENT.md +61 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/catalogs/agent-catalog.yaml +202 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/catalogs/loop-catalog.yaml +165 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/catalogs/skill-catalog.yaml +699 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/catalogs/skills-layout.json +337 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/loops/changelog-drafter/loop.yaml +40 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/loops/ci-sweeper/loop.yaml +53 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/loops/daily-triage/loop.yaml +47 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/loops/dep-sweeper/loop.yaml +46 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/loops/issue-triage/loop.yaml +40 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/loops/oss-daily-briefing/loop.yaml +65 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/loops/oss-pr-monitor/loop.yaml +85 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/loops/oss-triage/loop.yaml +67 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/loops/post-merge-cleanup/loop.yaml +44 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/loops/pr-babysitter/loop.yaml +46 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/mcp/templates/clickup/README.md +45 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/mcp/templates/clickup/config.template.json +7 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/mcp/templates/clickup/wrapper.sh +23 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/mcp/templates/figma/README.md +56 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/mcp/templates/figma/config.template.json +9 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/mcp/templates/github/README.md +11 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/mcp/templates/github/config.template.json +7 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/mcp/templates/github/wrapper.sh +23 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/mcp/templates/linear/README.md +49 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/mcp/templates/linear/config.template.json +10 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/mcp/templates/notion/README.md +7 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/mcp/templates/notion/config.template.json +7 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/mcp/templates/notion/wrapper.sh +23 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/mcp/templates/slack/README.md +8 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/mcp/templates/slack/config.template.json +8 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/mcp/templates/slack/wrapper.sh +23 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/claude-code/CLAUDE.md +66 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/claude-code/agents/assistant.md +59 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/claude-code/agents/build-error-resolver.md +30 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/claude-code/agents/client-workflow-bootstrap.md +60 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/claude-code/agents/contribution-planner.md +39 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/claude-code/agents/database-reviewer.md +44 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/claude-code/agents/docs-lookup.md +28 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/claude-code/agents/e2e-runner.md +38 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/claude-code/agents/performance-optimizer.md +52 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/claude-code/agents/planner.md +41 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/claude-code/agents/refactor-cleaner.md +43 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/claude-code/agents/reference-lookup.md +33 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/claude-code/agents/security-reviewer.md +47 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/claude-code/agents/tdd-guide.md +58 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/claude-code/agents/typescript-reviewer.md +61 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/claude-code/settings.json +87 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/copilot/copilot-instructions.md +15 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/cursor/README.md +33 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/cursor/rules/architect.mdc +23 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/cursor/rules/assistant.mdc +25 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/cursor/rules/build-error-resolver.mdc +20 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/cursor/rules/code-reviewer.mdc +21 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/cursor/rules/database-reviewer.mdc +29 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/cursor/rules/docs-lookup.mdc +15 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/cursor/rules/e2e-runner.mdc +30 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/cursor/rules/performance-optimizer.mdc +27 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/cursor/rules/planner.mdc +28 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/cursor/rules/refactor-cleaner.mdc +26 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/cursor/rules/reference-lookup.mdc +20 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/cursor/rules/security-reviewer.mdc +20 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/cursor/rules/tdd-guide.mdc +26 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/cursor/rules/typescript-reviewer.mdc +28 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/agents/architect.md +30 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/agents/assistant.md +52 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/agents/build-error-resolver.md +31 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/agents/client-workflow-bootstrap.md +66 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/agents/code-reviewer.md +47 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/agents/contribution-planner.md +44 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/agents/database-reviewer.md +43 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/agents/docs-lookup.md +28 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/agents/e2e-runner.md +33 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/agents/performance-optimizer.md +34 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/agents/planner.md +27 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/agents/refactor-cleaner.md +27 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/agents/reference-lookup.md +27 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/agents/security-reviewer.md +27 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/agents/tdd-guide.md +27 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/agents/typescript-reviewer.md +30 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/opencode/opencode.json +37 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/pi/skills/architect/skill.md +5 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/pi/skills/assistant/skill.md +3 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/pi/skills/code-reviewer/skill.md +5 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/pi/skills/planner/skill.md +3 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/pi/skills/security-reviewer/skill.md +3 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/windsurf/memories/global_rules.md +74 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/windsurf/rules/architect.mdc +23 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/windsurf/rules/build-error-resolver.mdc +20 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/windsurf/rules/code-reviewer.mdc +21 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/windsurf/rules/database-reviewer.mdc +29 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/windsurf/rules/docs-lookup.mdc +15 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/windsurf/rules/e2e-runner.mdc +30 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/windsurf/rules/performance-optimizer.mdc +27 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/windsurf/rules/planner.mdc +28 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/windsurf/rules/refactor-cleaner.mdc +26 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/windsurf/rules/security-reviewer.mdc +20 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/windsurf/rules/tdd-guide.mdc +26 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/profiles/windsurf/rules/typescript-reviewer.mdc +28 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/core/assistant/SKILL.md +213 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/core/assistant/references/AGENTS_TEMPLATE.md +0 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/core/assistant/references/ORCHESTRATION.md +0 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/core/assistant/references/REPO_INSPECTION.md +0 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/core/dev-companion/SKILL.md +65 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/core/dev-companion/references/LOOP_GUARDRAILS.md +0 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/core/onboarding/SKILL.md +119 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/core/output-handshake/SKILL.md +24 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/core/pr-fallback/SKILL.md +33 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/core/pr-fallback/references/pr-body-default.md +0 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/core/workspace-knowledge-sync/SKILL.md +141 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/data/dbt-validation/SKILL.md +41 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/data/snowflake-validation/SKILL.md +38 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/adr/SKILL.md +46 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/adr/references/default-template.md +0 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/adr/references/example-001-graphql-adoption.md +66 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/agreement/SKILL.md +23 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/agreement/references/default-template.md +0 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/agreement/references/example-api-versioning.md +29 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/bug/SKILL.md +25 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/bug/references/default-template.md +0 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/bug/references/example-search-filter-bug.md +58 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/decision-log/SKILL.md +27 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/decision-log/references/default-template.md +0 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/decision-log/references/example-repository-pattern.md +27 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/development-workflow/SKILL.md +33 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/development-workflow/references/default-template.md +0 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/development-workflow/references/default-workflow-checklist.md +44 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/epic/SKILL.md +21 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/epic/references/default-template.md +0 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/epic/references/example-unified-dashboard.md +40 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/incident/SKILL.md +23 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/incident/references/default-template.md +0 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/incident/references/example-payment-outage.md +62 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/management-unit-assessment/SKILL.md +105 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/management-unit-assessment/references/default-template.md +0 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/management-unit-assessment/references/example-team-assessment.md +126 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/meeting-minutes/SKILL.md +24 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/meeting-minutes/references/default-template.md +0 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/meeting-minutes/references/example-weekly-sync.md +72 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/planning/SKILL.md +30 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/planning/references/default-template.md +0 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/planning/references/example-sprint-planning.md +62 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/prd/SKILL.md +44 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/prd/references/default-template.md +0 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/prd/references/example-unified-api.md +71 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/project-assessment/SKILL.md +90 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/project-assessment/references/default-template.md +0 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/project-assessment/references/example-platform-assessment.md +122 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/project-assessment-evidence/SKILL.md +88 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/project-assessment-evidence/references/default-template.md +0 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/project-assessment-evidence/references/example-evidence-map.md +46 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/spike/SKILL.md +23 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/spike/references/default-template.md +0 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/spike/references/example-graphql-federation.md +79 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/task/SKILL.md +20 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/task/references/default-template.md +0 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/task/references/example-nav-system.md +33 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/technical-unit-assessment/SKILL.md +58 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/technical-unit-assessment/references/default-template.md +0 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/technical-unit-assessment/references/example-frontend-assessment.md +112 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/technical-unit-assessment/references/indicator-groups.md +65 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/trd/SKILL.md +47 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/trd/references/default-template.md +0 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/trd/references/example-api-migration.md +122 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/user-story/SKILL.md +20 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/user-story/references/default-template.md +0 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/user-story/references/example-advanced-filtering.md +37 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/work-item/SKILL.md +30 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/work-item/references/default-template.md +0 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/work-item/references/example-routing-dashboard.md +23 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/workflow-client-bootstrap/SKILL.md +148 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/workflow-client-bootstrap/questions.yaml +165 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/delivery/workflow-generic-project/SKILL.md +78 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma/LICENSE.txt +2 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma/NOTICE.txt +25 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma/SKILL.md +95 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma/references/figma-mcp-config.md +82 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma/references/figma-tools-and-prompts.md +34 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma-code-connect-components/LICENSE.txt +2 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma-code-connect-components/NOTICE.txt +18 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma-code-connect-components/SKILL.md +350 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma-code-connect-components/references/mapping-checklist.md +7 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma-code-connect-components/scripts/normalize_node_id.py +25 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma-create-design-system-rules/LICENSE.txt +2 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma-create-design-system-rules/NOTICE.txt +19 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma-create-design-system-rules/SKILL.md +550 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma-create-design-system-rules/references/rule-template.md +15 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma-create-design-system-rules/scripts/check_agents_md.sh +9 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma-create-new-file/LICENSE.txt +2 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma-create-new-file/NOTICE.txt +17 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma-create-new-file/SKILL.md +69 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma-implement-design/LICENSE.txt +2 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma-implement-design/NOTICE.txt +19 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/figma-implement-design/SKILL.md +264 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/SKILL.md +60 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/charts.csv +26 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/colors.csv +97 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/icons.csv +101 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/landing.csv +31 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/products.csv +97 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/react-performance.csv +45 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/stacks/astro.csv +54 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/stacks/react.csv +54 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/stacks/vue.csv +50 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/styles.csv +68 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/typography.csv +58 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/data/web-interface.csv +31 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/references/pre-delivery-checklist.md +39 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/references/search-reference.md +44 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/references/ui-rules.md +35 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/scripts/core.py +253 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/scripts/design_system.py +1067 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/design/ui-ux-pro-max/scripts/search.py +114 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/forge/gh-address-comments/LICENSE.txt +202 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/forge/gh-address-comments/NOTICE.txt +20 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/forge/gh-address-comments/SKILL.md +69 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/forge/gh-address-comments/scripts/fetch_comments.py +237 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/forge/gh-contribution-planner/SKILL.md +157 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/forge/gh-contribution-planner/scripts/inspect_contributions.py +800 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/forge/gh-fix-ci/LICENSE.txt +201 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/forge/gh-fix-ci/NOTICE.txt +20 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/forge/gh-fix-ci/SKILL.md +71 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/forge/gh-fix-ci/scripts/inspect_pr_checks.py +509 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/forge/github-cli-workflow/SKILL.md +49 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/forge/gitlab-cli-workflow/SKILL.md +44 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/forge/workflow-client-bootstrap/SKILL.md +14 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/forge/workflow-generic-project/SKILL.md +14 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/integrations/clickup-cli/SKILL.md +75 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/integrations/clickup-cli/references/docs-management.md +57 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/integrations/clickup-cli/references/task-management.md +131 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/integrations/clickup-cli/references/time-tracking.md +38 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/integrations/linear/LICENSE.txt +202 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/integrations/linear/NOTICE.txt +23 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/integrations/linear/SKILL.md +131 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/integrations/slack-assistant/SKILL.md +134 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/integrations/slack-cli/SKILL.md +105 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/integrations/slack-cli/references/INSTALLATION.md +42 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/loops/loop-runner/SKILL.md +90 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/ops/docs-generator/SKILL.md +81 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/ops/llm-cost-advisor/SKILL.md +83 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/ops/triage/SKILL.md +117 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/tooling/jupyter-notebook/LICENSE.txt +201 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/tooling/jupyter-notebook/NOTICE.txt +27 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/tooling/jupyter-notebook/SKILL.md +142 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/tooling/jupyter-notebook/assets/experiment-template.ipynb +110 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/tooling/jupyter-notebook/assets/tutorial-template.ipynb +107 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/tooling/jupyter-notebook/references/experiment-patterns.md +10 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/tooling/jupyter-notebook/references/notebook-structure.md +17 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/tooling/jupyter-notebook/references/quality-checklist.md +11 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/tooling/jupyter-notebook/references/tutorial-patterns.md +9 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/tooling/jupyter-notebook/scripts/new_notebook.py +130 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/tooling/playwright-cli/LICENSE.txt +201 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/tooling/playwright-cli/NOTICE.txt +29 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/tooling/playwright-cli/SKILL.md +151 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/tooling/playwright-cli/references/cli.md +116 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/tooling/playwright-cli/references/workflows.md +98 -0
- agent_toolkit_cli-1.0.3.data/data/agent_toolkit/data/skills/tooling/playwright-cli/scripts/executable_playwright_cli.sh +25 -0
- agent_toolkit_cli-1.0.3.dist-info/METADATA +411 -0
- agent_toolkit_cli-1.0.3.dist-info/RECORD +310 -0
- agent_toolkit_cli-1.0.3.dist-info/WHEEL +4 -0
- agent_toolkit_cli-1.0.3.dist-info/entry_points.txt +2 -0
- agent_toolkit_cli-1.0.3.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: workflow-client-bootstrap
|
|
3
|
+
description: >-
|
|
4
|
+
WHAT — Interactive interview to capture client delivery context and store it inside the user's
|
|
5
|
+
~/.ai-workspace (or similar) as packs + knowledge (no client skills). Use when onboarding a
|
|
6
|
+
new client project or updating an existing workspace context.
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Workflow Client Bootstrap
|
|
10
|
+
|
|
11
|
+
Use this skill to **create or update** a client-specific delivery context for any project.
|
|
12
|
+
It runs a structured interview and stores the result inside the user’s **workspace**
|
|
13
|
+
(`~/.ai-workspace`, `~/.ai-workspace`, or a workspace-like directory) as **packs + knowledge**
|
|
14
|
+
(not new skills).
|
|
15
|
+
|
|
16
|
+
**All generated files, PR text, and Jira/ClickUp comments must be in English.**
|
|
17
|
+
|
|
18
|
+
## When to use
|
|
19
|
+
|
|
20
|
+
- Onboarding a new client project that needs its own delivery workflow (beyond `workflow-generic-project`)
|
|
21
|
+
- Updating an existing workflow with new lifecycle states, repos, or guardrails
|
|
22
|
+
- Documenting a client's ticket lifecycle so future agent sessions can use correct status transitions
|
|
23
|
+
|
|
24
|
+
## Do not use when
|
|
25
|
+
|
|
26
|
+
- The project already has an up-to-date workflow skill and only a ticket or code change is needed
|
|
27
|
+
- The work fits entirely within `workflow-generic-project` without client-specific gates
|
|
28
|
+
|
|
29
|
+
## Interview process
|
|
30
|
+
|
|
31
|
+
Read `questions.yaml` (co-located with this skill) before starting. It defines multiple question groups.
|
|
32
|
+
|
|
33
|
+
| Group | Topics |
|
|
34
|
+
| --- | --- |
|
|
35
|
+
| **Identity** | Client name, slug, ticket system, docs platform, repo host |
|
|
36
|
+
| **Workflow** | Custom ticket statuses, done criteria, base branch, staging/QA gates |
|
|
37
|
+
| **Stack** | Repository list with roles, AGENTS.md presence, validation tools |
|
|
38
|
+
| **Conventions** | Branch naming, PR style, guardrails, Slack channel |
|
|
39
|
+
|
|
40
|
+
### Workspace root selection (mandatory)
|
|
41
|
+
|
|
42
|
+
Before asking client questions, resolve the workspace root directory:
|
|
43
|
+
|
|
44
|
+
1. Look for workspace-like directories (in order):
|
|
45
|
+
- `~/.ai-workspace`
|
|
46
|
+
- `~/.ai-workspace`
|
|
47
|
+
- the current working directory if it looks like a workspace (has `packs/` and `knowledge/`)
|
|
48
|
+
- other close matches (e.g. `~/*workspace*`) that contain both `packs/` and `knowledge/`
|
|
49
|
+
2. If exactly one plausible workspace is found, select it and print: `Using workspace: <path>`.
|
|
50
|
+
3. If multiple are found, present a numbered list and ask which one to use.
|
|
51
|
+
4. If none are found, explain the expected structure and ask the user for the path to use.
|
|
52
|
+
|
|
53
|
+
After selecting the path, clearly explain where answers will be stored (see **Storage explanation** below).
|
|
54
|
+
|
|
55
|
+
### Interview rules
|
|
56
|
+
|
|
57
|
+
1. Work through the groups **in order**: Identity → Workflow → Stack → Conventions.
|
|
58
|
+
2. Ask **all required questions**. Skip optional ones only if context already answers them.
|
|
59
|
+
3. Apply **conditional questions**: only ask `jira_project_key` if `ticket_system == jira`, etc.
|
|
60
|
+
4. After each group, briefly summarise what you collected and ask for corrections before moving on.
|
|
61
|
+
5. If the user shares a screenshot or diagram of the ticket workflow, extract statuses and transitions from it.
|
|
62
|
+
6. **Never generate files until the full interview is complete and the user has approved the summary.**
|
|
63
|
+
|
|
64
|
+
## Pre-generation summary (gate)
|
|
65
|
+
|
|
66
|
+
After the interview, present a structured summary:
|
|
67
|
+
|
|
68
|
+
```
|
|
69
|
+
Client: <name>
|
|
70
|
+
Slug: <slug>
|
|
71
|
+
Ticket system: <system> (<key prefix if Jira>)
|
|
72
|
+
Docs platform: <platform>
|
|
73
|
+
Repo host: <host> / org: <org>
|
|
74
|
+
Base branch: <branch>
|
|
75
|
+
Done status: <status>
|
|
76
|
+
Has staging QA: <yes/no>
|
|
77
|
+
Repos: <list>
|
|
78
|
+
Validation: <tools>
|
|
79
|
+
Branch naming: <convention>
|
|
80
|
+
PR style: <draft/direct>
|
|
81
|
+
Guardrails: <list>
|
|
82
|
+
|
|
83
|
+
Files to generate:
|
|
84
|
+
packs/clients/<slug>/pack.yaml
|
|
85
|
+
knowledge/clients/<slug>/reference.md
|
|
86
|
+
knowledge/clients/<slug>/workflow.md
|
|
87
|
+
(optional) personas/clients/<slug>.md
|
|
88
|
+
|
|
89
|
+
Storage location: <workspace-root>/(paths above)
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
**Stop here and ask: "Does everything look correct? Shall I generate the files?"**
|
|
93
|
+
Do not proceed until the user explicitly confirms.
|
|
94
|
+
|
|
95
|
+
## File generation (workspace)
|
|
96
|
+
|
|
97
|
+
Generate files that follow the patterns below. Do **not** hardcode CLI commands inside the generated
|
|
98
|
+
SKILL.md — delegate those to the appropriate tool skills.
|
|
99
|
+
|
|
100
|
+
### Workspace outputs
|
|
101
|
+
|
|
102
|
+
Generate these files under the selected workspace root:
|
|
103
|
+
|
|
104
|
+
- `packs/clients/<slug>/pack.yaml`
|
|
105
|
+
- `knowledge/clients/<slug>/reference.md`
|
|
106
|
+
- `knowledge/clients/<slug>/workflow.md`
|
|
107
|
+
- (optional) `personas/clients/<slug>.md`
|
|
108
|
+
|
|
109
|
+
### Storage explanation (mandatory)
|
|
110
|
+
|
|
111
|
+
After selecting the workspace root, clearly explain:
|
|
112
|
+
|
|
113
|
+
- the chosen workspace directory path
|
|
114
|
+
- which exact files will be written (full paths)
|
|
115
|
+
- that this data is local to the workstation and only becomes shared if the workspace is committed/pushed
|
|
116
|
+
- how to load it later (e.g. via the workspace context loader, or by opening the pack/knowledge files)
|
|
117
|
+
|
|
118
|
+
## Post-generation steps
|
|
119
|
+
|
|
120
|
+
1. Write the files under the chosen workspace root.
|
|
121
|
+
2. If the workspace is a git repo and the user wants to share changes, create a commit there (English message) and open a PR as appropriate for that repo.
|
|
122
|
+
3. Otherwise, keep it local and provide the exact paths so the user can back it up or share it later.
|
|
123
|
+
|
|
124
|
+
## Updating an existing workflow
|
|
125
|
+
|
|
126
|
+
If the client already has a workflow skill:
|
|
127
|
+
1. Load the existing `SKILL.md` and `reference.md`.
|
|
128
|
+
2. Run only the interview groups relevant to what changed (ask the user which groups to revisit).
|
|
129
|
+
3. Show a diff summary before applying changes.
|
|
130
|
+
4. Follow the same commit/PR flow above.
|
|
131
|
+
|
|
132
|
+
## Delegation
|
|
133
|
+
|
|
134
|
+
| Need | Delegate to |
|
|
135
|
+
| --- | --- |
|
|
136
|
+
| Push branch and create draft PR | **github-cli-workflow** or **gitlab-cli-workflow** |
|
|
137
|
+
| Jira ticket operations | External **jira-*** skills |
|
|
138
|
+
| ClickUp ticket operations | **clickup-cli** |
|
|
139
|
+
| Repo discovery | **assistant** |
|
|
140
|
+
|
|
141
|
+
## Checklist
|
|
142
|
+
|
|
143
|
+
- [ ] All required interview questions answered
|
|
144
|
+
- [ ] Summary approved by user before file generation
|
|
145
|
+
- [ ] Generated files follow established patterns (use existing bundled skills as structure reference)
|
|
146
|
+
- [ ] `skill-catalog.yaml` updated with both new entries
|
|
147
|
+
- [ ] Agent wrappers created for Claude Code and opencode
|
|
148
|
+
- [ ] Commit and draft PR created; URL shared with user
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
# workflow-client-bootstrap — interview question bank
|
|
2
|
+
# Each block is an interview group. The agent MUST ask all required questions
|
|
3
|
+
# and may skip optional ones if context already answers them.
|
|
4
|
+
|
|
5
|
+
version: 2
|
|
6
|
+
|
|
7
|
+
groups:
|
|
8
|
+
- id: workspace
|
|
9
|
+
label: "Workspace Root (where data will be stored)"
|
|
10
|
+
description: "Select the workspace directory (e.g. ~/.ai-workspace) and explain storage paths."
|
|
11
|
+
questions:
|
|
12
|
+
- id: workspace_root_override
|
|
13
|
+
required: false
|
|
14
|
+
prompt: >-
|
|
15
|
+
(Optional) If you want to explicitly set the workspace root path, paste it now.
|
|
16
|
+
Otherwise leave blank and I will auto-detect candidates (e.g. ~/.ai-workspace, ~/.ai-workspace, current dir).
|
|
17
|
+
|
|
18
|
+
- id: identity
|
|
19
|
+
label: "Project Identity"
|
|
20
|
+
description: "Establish client name, slug, and tooling stack."
|
|
21
|
+
questions:
|
|
22
|
+
- id: client_name
|
|
23
|
+
required: true
|
|
24
|
+
prompt: "What is the client or project name? (e.g. Acme Payments, Example Corp)"
|
|
25
|
+
|
|
26
|
+
- id: client_slug
|
|
27
|
+
required: true
|
|
28
|
+
prompt: "What short slug should be used for naming? Use lowercase-kebab-case (e.g. `acme-payments`). This becomes the directory name under packs/clients/ and knowledge/clients/."
|
|
29
|
+
|
|
30
|
+
- id: ticket_system
|
|
31
|
+
required: true
|
|
32
|
+
prompt: "Which ticket system does this project use?"
|
|
33
|
+
options: [jira, clickup, linear, github-issues, none, other]
|
|
34
|
+
|
|
35
|
+
- id: jira_project_key
|
|
36
|
+
required: false
|
|
37
|
+
condition: "ticket_system == jira"
|
|
38
|
+
prompt: "What is the Jira project key prefix? (e.g. PROJ, ABC)"
|
|
39
|
+
|
|
40
|
+
- id: docs_platform
|
|
41
|
+
required: true
|
|
42
|
+
prompt: "Which documentation platform does this project use?"
|
|
43
|
+
options: [confluence, notion, github-wiki, none, other]
|
|
44
|
+
|
|
45
|
+
- id: repo_host
|
|
46
|
+
required: true
|
|
47
|
+
prompt: "Where are the code repositories hosted?"
|
|
48
|
+
options: [github, gitlab, bitbucket, other]
|
|
49
|
+
|
|
50
|
+
- id: repo_org
|
|
51
|
+
required: true
|
|
52
|
+
prompt: "What is the GitHub / GitLab organization or group name? (e.g. my-client-org)"
|
|
53
|
+
|
|
54
|
+
- id: account_name
|
|
55
|
+
required: false
|
|
56
|
+
prompt: "Optional: Is there an account/engagement name you want to group this client under? (e.g. Internal, Acme)."
|
|
57
|
+
|
|
58
|
+
- id: workflow
|
|
59
|
+
label: "Ticket Lifecycle & Delivery Workflow"
|
|
60
|
+
description: "Understand the client's Jira/ClickUp workflow and delivery gates."
|
|
61
|
+
questions:
|
|
62
|
+
- id: has_custom_workflow
|
|
63
|
+
required: true
|
|
64
|
+
prompt: "Does the ticket system have a custom status workflow (beyond the default To Do / In Progress / Done)? Answer yes or no."
|
|
65
|
+
options: [yes, no]
|
|
66
|
+
|
|
67
|
+
- id: custom_statuses
|
|
68
|
+
required: false
|
|
69
|
+
condition: "has_custom_workflow == yes"
|
|
70
|
+
prompt: "List all ticket statuses in order, from creation to done. Include any blocked or failed states. (You can paste a list or describe them.)"
|
|
71
|
+
|
|
72
|
+
- id: done_status
|
|
73
|
+
required: true
|
|
74
|
+
prompt: "What status means a ticket is fully done and accepted? (e.g. Accepted, Done, Closed)"
|
|
75
|
+
|
|
76
|
+
- id: base_branch
|
|
77
|
+
required: true
|
|
78
|
+
prompt: "What is the base branch for all feature work? (e.g. main, develop, master)"
|
|
79
|
+
|
|
80
|
+
- id: branching_model
|
|
81
|
+
required: true
|
|
82
|
+
prompt: "What branching model does this client use?"
|
|
83
|
+
options: [single-branch-main, gitflow-develop, staging-and-prod-branches, release-branches, other]
|
|
84
|
+
|
|
85
|
+
- id: has_staging
|
|
86
|
+
required: true
|
|
87
|
+
prompt: "Does the project have a staging environment with a QA gate before production? Answer yes or no."
|
|
88
|
+
options: [yes, no]
|
|
89
|
+
|
|
90
|
+
- id: has_preprod_pr
|
|
91
|
+
required: false
|
|
92
|
+
condition: "has_staging == yes"
|
|
93
|
+
prompt: "Is there a separate pre-prod PR review step before the production release? Answer yes or no."
|
|
94
|
+
options: [yes, no]
|
|
95
|
+
|
|
96
|
+
- id: deploy_method
|
|
97
|
+
required: true
|
|
98
|
+
prompt: "How are changes deployed to production? (e.g. CI/CD auto-deploy on merge, manual trigger, scheduled pipeline)"
|
|
99
|
+
|
|
100
|
+
- id: environments
|
|
101
|
+
required: false
|
|
102
|
+
prompt: "List known environments and their purpose (e.g. dev, staging, prod; or ANALYTICS_STAGING vs ANALYTICS). Answer none if not applicable."
|
|
103
|
+
|
|
104
|
+
- id: stack
|
|
105
|
+
label: "Repositories & Technical Stack"
|
|
106
|
+
description: "Capture repos and any validation tools specific to this client."
|
|
107
|
+
questions:
|
|
108
|
+
- id: repos
|
|
109
|
+
required: true
|
|
110
|
+
prompt: "List the main repositories for this project, one per line. Format: `<repo-name> — <role>` (e.g. `dbt-project-main — primary dbt project`, `api-service — backend REST API`)."
|
|
111
|
+
|
|
112
|
+
- id: has_agents_md
|
|
113
|
+
required: true
|
|
114
|
+
prompt: "Do the repositories use an AGENTS.md (or CLAUDE.md) as the agent contract? Answer yes, no, or varies."
|
|
115
|
+
options: [yes, no, varies]
|
|
116
|
+
|
|
117
|
+
- id: validation_tools
|
|
118
|
+
required: true
|
|
119
|
+
prompt: "Which technical validation tools does this project require before merging? (e.g. dbt parse/test, Snowflake queries, pytest, Cypress, eslint, none)"
|
|
120
|
+
|
|
121
|
+
- id: secrets_and_credentials
|
|
122
|
+
required: false
|
|
123
|
+
prompt: "Where do credentials live (vault, 1Password, env vars)? Any strict rules to follow?"
|
|
124
|
+
|
|
125
|
+
- id: ci_system
|
|
126
|
+
required: false
|
|
127
|
+
prompt: "What CI system runs validation (GitHub Actions, GitLab CI, CircleCI, none, other)?"
|
|
128
|
+
|
|
129
|
+
- id: data_artifacts_policy
|
|
130
|
+
required: false
|
|
131
|
+
prompt: "Are there any data artifacts (CSVs, exports) that must NEVER be committed? Describe the policy or answer none."
|
|
132
|
+
|
|
133
|
+
- id: conventions
|
|
134
|
+
label: "Conventions & Guardrails"
|
|
135
|
+
description: "Branch naming, PR style, and any client-specific restrictions."
|
|
136
|
+
questions:
|
|
137
|
+
- id: branch_naming
|
|
138
|
+
required: true
|
|
139
|
+
prompt: "What is the branch naming convention? Leave blank to use the agent-toolkit default: `<username>/<ticket-id>-<short-slug>`."
|
|
140
|
+
|
|
141
|
+
- id: pr_style
|
|
142
|
+
required: true
|
|
143
|
+
prompt: "Should PRs start as drafts or go directly to review?"
|
|
144
|
+
options: [draft, direct]
|
|
145
|
+
|
|
146
|
+
- id: pr_template
|
|
147
|
+
required: false
|
|
148
|
+
prompt: "Does the repo have a PR template at `.github/PULL_REQUEST_TEMPLATE.md` or similar? Answer yes, no, or unknown."
|
|
149
|
+
|
|
150
|
+
- id: slack_channel
|
|
151
|
+
required: false
|
|
152
|
+
prompt: "Is there a primary Slack channel for communication with this client or team? (e.g. #acme-engineering)"
|
|
153
|
+
|
|
154
|
+
- id: guardrails
|
|
155
|
+
required: false
|
|
156
|
+
prompt: "Are there any special guardrails or restrictions for this client? (e.g. never commit credentials, no force-push, secrets in specific vault). Answer none if not applicable."
|
|
157
|
+
|
|
158
|
+
- id: storage_visibility
|
|
159
|
+
required: true
|
|
160
|
+
prompt: "Should the generated workspace files be local-only, or committed to the workspace repo for sharing?"
|
|
161
|
+
options: [local-only, commit-to-workspace]
|
|
162
|
+
|
|
163
|
+
- id: extra_notes
|
|
164
|
+
required: false
|
|
165
|
+
prompt: "Any additional context the workflow should capture? (e.g. time zone constraints, review SLAs, specific tooling notes)"
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: workflow-generic-project
|
|
3
|
+
description: >-
|
|
4
|
+
WHAT — Generic client delivery: Jira or ClickUp, full repo context, human gates, English traceability
|
|
5
|
+
on tickets, draft PR via delegated forge skills. Use workspace packs for client/account overlays.
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Workflow — Generic Project (WHAT)
|
|
9
|
+
|
|
10
|
+
**All skill instructions, ticket comments, and PR text must be in English.**
|
|
11
|
+
|
|
12
|
+
This workflow supports client delivery phases and gates. Apply any client/account constraints by loading the appropriate workspace pack first.
|
|
13
|
+
|
|
14
|
+
## Mode selection (mandatory)
|
|
15
|
+
|
|
16
|
+
- Use **this skill** for client delivery phases and gates.
|
|
17
|
+
- If the task is in a specific client/account context, load the corresponding workspace pack overlay first.
|
|
18
|
+
- If unclear → **ask** which engagement context to use before proceeding.
|
|
19
|
+
|
|
20
|
+
## Delegation (HOW lives in tool skills)
|
|
21
|
+
|
|
22
|
+
| Need | Delegate to |
|
|
23
|
+
| --- | --- |
|
|
24
|
+
| ClickUp tasks, comments, status | **clickup-cli** |
|
|
25
|
+
| Jira issue ops, comments, dev links | External **jira-*** skills (e.g. via **jira-assistant** router; CLI: `jira-as`) per repo docs |
|
|
26
|
+
| Confluence pages, search | External **confluence-*** skills (e.g. via **confluence-assistant** router; CLI: `confluence-as`) per repo docs |
|
|
27
|
+
| Planning and estimation | **planning** |
|
|
28
|
+
| Default development workflow / validation fallback | **development-workflow** |
|
|
29
|
+
| Work item structure and templates | **work-item**, **epic**, **user-story**, **task**, **bug**, **incident** |
|
|
30
|
+
| Meetings, decisions, agreements, spikes | **meeting-minutes**, **decision-log**, **agreement**, **spike** |
|
|
31
|
+
| Project assessments, evidence maps, technical/management unit scorecards | **project-assessment**, **project-assessment-evidence**, **technical-unit-assessment**, **management-unit-assessment** |
|
|
32
|
+
| PRD / TRD / ADR structure (templates) | **prd**, **trd**, **adr** (WHAT; see local template references inside each skill) |
|
|
33
|
+
| Where to save a deliverable + human review | **output-handshake** (WHAT; always before final deliverables and PR/MR text) |
|
|
34
|
+
| Default PR body when the repo has no template | **pr-fallback** (WHAT) then **github-cli-workflow** (HOW) |
|
|
35
|
+
| Draft PR on GitHub after push | **github-cli-workflow** |
|
|
36
|
+
| Draft MR on GitLab after push | **gitlab-cli-workflow** |
|
|
37
|
+
| Repository discovery and conflicts | **assistant** |
|
|
38
|
+
|
|
39
|
+
Do **not** paste forge or ticket CLI sequences here; open the tool skill and follow it.
|
|
40
|
+
|
|
41
|
+
## Principles
|
|
42
|
+
|
|
43
|
+
1. **Context:** Pull Jira, ClickUp, Confluence, and linked docs the task references; treat them as source of truth with the codebase (**assistant** inspection order).
|
|
44
|
+
2. **Repo standards:** Follow `AGENTS.md`, CONTRIBUTING, PR templates, and documented Docker or devcontainer flows.
|
|
45
|
+
3. **Human in the loop:** Confirm understanding and plan **before** substantial implementation; get explicit approval **before** finalizing PR text; escalate when context is missing.
|
|
46
|
+
4. **Validation first:** Align on acceptance criteria and approach before deep implementation.
|
|
47
|
+
5. **Traceability:** Add concise English comments on the **original** ticket for plan approval, meaningful milestones, and PR link—no duplicate full PR bodies in tickets.
|
|
48
|
+
|
|
49
|
+
## Phases (gates)
|
|
50
|
+
|
|
51
|
+
1. **Intake:** Identify ticket IDs and engagement context; retrieve linked docs via appropriate skills.
|
|
52
|
+
2. **Discovery:** Analyze repo per **assistant**; note CI, templates, dev environments.
|
|
53
|
+
3. **Plan:** Written plan → **stop for user approval.** No implementation until approved.
|
|
54
|
+
4. **Plan traceability:** After plan approval, post a short ticket comment (delegate comment mechanism to **clickup-cli**, **jira-*** or **confluence-*** as applicable).
|
|
55
|
+
5. **Implement:** Work in logical commits per repo conventions; self-review.
|
|
56
|
+
6. **Push and draft PR/MR:** Push branch, then invoke **github-cli-workflow** or **gitlab-cli-workflow** for a **draft**; confirm title/body with the user.
|
|
57
|
+
7. **Close loop:** Post final short ticket comment with PR link (via same ticket skills as above).
|
|
58
|
+
|
|
59
|
+
## Branch naming (intent)
|
|
60
|
+
|
|
61
|
+
Prefer **`<short-username>/<WORK_ITEM_ID>-<short-slug>`** (lowercase). Resolve username per repo or user preference; base branch per repo default (**main**, **develop**, etc.).
|
|
62
|
+
|
|
63
|
+
## Session override
|
|
64
|
+
|
|
65
|
+
If the user requests **local-only** work: skip push/PR automation; note limitations in ticket updates if still posting.
|
|
66
|
+
|
|
67
|
+
## Safety
|
|
68
|
+
|
|
69
|
+
- Never commit secrets; no force-push to shared defaults unless the user explicitly requests recovery steps.
|
|
70
|
+
|
|
71
|
+
## Checklist
|
|
72
|
+
|
|
73
|
+
- [ ] Engagement context (if any) confirmed
|
|
74
|
+
- [ ] Work item + doc context retrieved
|
|
75
|
+
- [ ] Plan approved before code; ticket comment after plan approval
|
|
76
|
+
- [ ] Repo standards (template, devcontainer) respected
|
|
77
|
+
- [ ] Draft PR/MR via **github-cli-workflow** or **gitlab-cli-workflow** (or documented fallback)
|
|
78
|
+
- [ ] Final traceability comment with PR link when applicable
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
Use of these Figma skills and related files ("Materials") is governed by the Figma Developer Terms (available at https://www.figma.com/legal/developer-terms/). By accessing, downloading, or using these Materials — including through automated systems or AI agents — you agree to the Figma Developer Terms.
|
|
2
|
+
These Materials are currently offered as a Beta feature. Figma may modify, suspend, or discontinue them at any time without notice.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
figma (agent-toolkit distribution)
|
|
2
|
+
============================
|
|
3
|
+
|
|
4
|
+
This skill is derived from the OpenAI "skills" repository, originally licensed
|
|
5
|
+
under the Apache License 2.0:
|
|
6
|
+
|
|
7
|
+
https://github.com/openai/skills (skills/.curated/figma)
|
|
8
|
+
|
|
9
|
+
Modifications by agent-toolkit S.A. for distribution via agent-toolkit:
|
|
10
|
+
|
|
11
|
+
- Replaced the Codex-only `references/figma-mcp-config.md` (which assumed
|
|
12
|
+
`~/.codex/config.toml`, `bearer_token_env_var`, and
|
|
13
|
+
`[features].rmcp_client = true`) with a tool-agnostic guide that points to
|
|
14
|
+
the chezmoi-managed MCP template at `~/.local/share/agent-toolkit/mcp/figma/` and
|
|
15
|
+
documents Claude Code, Cursor, OpenCode and Windsurf registration paths.
|
|
16
|
+
- Rewrote the SKILL.md introduction with a routing table to the rest of the
|
|
17
|
+
Figma family, and flagged `figma-use` and `figma-generate-design` /
|
|
18
|
+
`figma-generate-library` as opt-in packs (not bundled by default).
|
|
19
|
+
- Documented secret handling via `~/.config/agent-toolkit/env.d/figma.env`
|
|
20
|
+
(`FIGMA_OAUTH_TOKEN`, `FIGMA_REGION`).
|
|
21
|
+
- Removed the `agents/openai.yaml` manifest in favor of the agent-toolkit
|
|
22
|
+
`skill.json` schema.
|
|
23
|
+
- Dropped vendor logo assets (`assets/figma*`).
|
|
24
|
+
|
|
25
|
+
Original LICENSE.txt is preserved in this directory.
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: figma
|
|
3
|
+
description: Use the Figma MCP server to fetch design context, screenshots, variables, and assets, and to translate Figma nodes into production code. Trigger when a task involves Figma URLs, node IDs, design-to-code implementation, or Figma MCP setup and troubleshooting.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Figma MCP
|
|
7
|
+
|
|
8
|
+
Use the Figma MCP server for Figma-driven implementation. For setup and
|
|
9
|
+
debugging details (env vars, tool registration, verification), see
|
|
10
|
+
[`references/figma-mcp-config.md`](references/figma-mcp-config.md).
|
|
11
|
+
|
|
12
|
+
This is the **entry-point skill** for the Figma family. Switch to a more
|
|
13
|
+
specialized skill once intent is clear:
|
|
14
|
+
|
|
15
|
+
| If the user wants to… | Use |
|
|
16
|
+
|---|---|
|
|
17
|
+
| Translate a Figma node into production code | [`figma-implement-design`](../figma-implement-design/SKILL.md) |
|
|
18
|
+
| Generate a full screen in Figma from code/description | `figma-generate-design` (opt-in pack — see `docs/SKILLS.md`) |
|
|
19
|
+
| Author Code Connect mappings | [`figma-code-connect-components`](../figma-code-connect-components/SKILL.md) |
|
|
20
|
+
| Create reusable agent rules (`CLAUDE.md`/`AGENTS.md`) for a design system | [`figma-create-design-system-rules`](../figma-create-design-system-rules/SKILL.md) |
|
|
21
|
+
| Create a brand-new Figma file | [`figma-create-new-file`](../figma-create-new-file/SKILL.md) |
|
|
22
|
+
| Run JS in Figma via the Plugin API | `figma-use` (opt-in pack — see `docs/SKILLS.md`) |
|
|
23
|
+
| Generate/import a full library | `figma-generate-library` (opt-in pack — see `docs/SKILLS.md`) |
|
|
24
|
+
|
|
25
|
+
## Figma MCP Integration Rules
|
|
26
|
+
|
|
27
|
+
These rules define how to translate Figma inputs into code for this project and
|
|
28
|
+
must be followed for every Figma-driven change.
|
|
29
|
+
|
|
30
|
+
### Required flow (do not skip)
|
|
31
|
+
|
|
32
|
+
1. Run `get_design_context` first to fetch the structured representation for
|
|
33
|
+
the exact node(s).
|
|
34
|
+
2. If the response is too large or truncated, run `get_metadata` to get the
|
|
35
|
+
high-level node map and then re-fetch only the required node(s) with
|
|
36
|
+
`get_design_context`.
|
|
37
|
+
3. Run `get_screenshot` for a visual reference of the node variant being
|
|
38
|
+
implemented.
|
|
39
|
+
4. Only after you have both `get_design_context` and `get_screenshot`, download
|
|
40
|
+
any assets needed and start implementation.
|
|
41
|
+
5. Translate the output (usually React + Tailwind) into this project's
|
|
42
|
+
conventions, styles and framework. Reuse the project's color tokens,
|
|
43
|
+
components, and typography wherever possible.
|
|
44
|
+
6. Validate against Figma for 1:1 look and behavior before marking complete.
|
|
45
|
+
|
|
46
|
+
### Implementation rules
|
|
47
|
+
|
|
48
|
+
- Treat the Figma MCP output (React + Tailwind) as a representation of design
|
|
49
|
+
and behavior, not as final code style.
|
|
50
|
+
- Replace Tailwind utility classes with the project's preferred utilities /
|
|
51
|
+
design-system tokens when applicable.
|
|
52
|
+
- Reuse existing components (e.g. buttons, inputs, typography, icon wrappers)
|
|
53
|
+
instead of duplicating functionality.
|
|
54
|
+
- Use the project's color system, typography scale, and spacing tokens
|
|
55
|
+
consistently.
|
|
56
|
+
- Respect existing routing, state management, and data-fetch patterns already
|
|
57
|
+
adopted in the repo.
|
|
58
|
+
- Strive for 1:1 visual parity with the Figma design. When conflicts arise,
|
|
59
|
+
prefer design-system tokens and adjust spacing or sizes minimally to match
|
|
60
|
+
visuals.
|
|
61
|
+
- Validate the final UI against the Figma screenshot for both look and
|
|
62
|
+
behavior.
|
|
63
|
+
|
|
64
|
+
### Asset handling
|
|
65
|
+
|
|
66
|
+
- The Figma MCP server provides an assets endpoint that serves image and SVG
|
|
67
|
+
assets.
|
|
68
|
+
- **Important**: if the Figma MCP server returns a `localhost` source for an
|
|
69
|
+
image or SVG, use that source directly.
|
|
70
|
+
- **Important**: do NOT import/add new icon packages — all assets should be in
|
|
71
|
+
the Figma payload.
|
|
72
|
+
- **Important**: do NOT use or create placeholders if a `localhost` source is
|
|
73
|
+
provided.
|
|
74
|
+
|
|
75
|
+
### Link-based prompting
|
|
76
|
+
|
|
77
|
+
- The remote Figma MCP server is link-based: copy the Figma frame/layer link
|
|
78
|
+
and provide that URL to the AI tool when asking for implementation help.
|
|
79
|
+
- The AI tool cannot browse the URL but extracts the node ID from the link.
|
|
80
|
+
Always ensure the link points to the exact node/variant you want.
|
|
81
|
+
|
|
82
|
+
## Boundaries
|
|
83
|
+
|
|
84
|
+
- This skill **reads** Figma context and **writes code in the user's repo**.
|
|
85
|
+
It does not write back into Figma — that lives in the opt-in `figma-use` /
|
|
86
|
+
`figma-generate-design` pack (see `docs/SKILLS.md`).
|
|
87
|
+
- Do not bypass the MCP and call the Figma REST API directly from this skill.
|
|
88
|
+
|
|
89
|
+
## References
|
|
90
|
+
|
|
91
|
+
- [`references/figma-mcp-config.md`](references/figma-mcp-config.md) — register
|
|
92
|
+
the Figma MCP in Claude Code / Cursor / OpenCode / Windsurf. Points at the
|
|
93
|
+
agent-toolkit template under `~/.local/share/agent-toolkit/mcp/figma/`.
|
|
94
|
+
- [`references/figma-tools-and-prompts.md`](references/figma-tools-and-prompts.md)
|
|
95
|
+
— tool catalog and prompt patterns.
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# Figma MCP — setup and troubleshooting
|
|
2
|
+
|
|
3
|
+
The Figma MCP is a **streamable HTTP** endpoint with bearer-token auth pulled
|
|
4
|
+
from an environment variable. agent-toolkit ships a tool-agnostic template at
|
|
5
|
+
`~/.local/share/agent-toolkit/mcp/figma/` (deployed by `chezmoi apply`).
|
|
6
|
+
|
|
7
|
+
## 1) Get a Figma token
|
|
8
|
+
|
|
9
|
+
1. In Figma → Settings → **Personal access tokens** (or your org's OAuth flow).
|
|
10
|
+
2. Create a token with the scopes you need (read + assets at minimum).
|
|
11
|
+
3. Store it persistently in `~/.config/agent-toolkit/env.d/` (covered by `loadenv`):
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
mkdir -p ~/.config/agent-toolkit/env.d
|
|
15
|
+
cat >> ~/.config/agent-toolkit/env.d/figma.env <<'EOF'
|
|
16
|
+
export FIGMA_OAUTH_TOKEN="<paste-token-here>"
|
|
17
|
+
export FIGMA_REGION="us-east-1" # change if your org uses a different region
|
|
18
|
+
EOF
|
|
19
|
+
chmod 600 ~/.config/agent-toolkit/env.d/figma.env
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
`doctor` will pick up `figma.env` under "Integrations" without ever
|
|
23
|
+
printing the token value.
|
|
24
|
+
|
|
25
|
+
> [!CAUTION]
|
|
26
|
+
> Tokens copied from Figma should not include surrounding quotes. Never commit
|
|
27
|
+
> `figma.env` to a repository.
|
|
28
|
+
|
|
29
|
+
## 2) Register the MCP in your AI tool
|
|
30
|
+
|
|
31
|
+
Each AI tool registers MCP servers in a different file. Use the values from
|
|
32
|
+
`~/.local/share/agent-toolkit/mcp/figma/config.template.json` as reference:
|
|
33
|
+
|
|
34
|
+
| AI tool | Configuration file |
|
|
35
|
+
|---------|--------------------|
|
|
36
|
+
| Claude Code | `~/.claude/mcp.json` (or `claude mcp add figma --transport http --url https://mcp.figma.com/mcp --header "Authorization: Bearer $FIGMA_OAUTH_TOKEN" --header "X-Figma-Region: $FIGMA_REGION"`) |
|
|
37
|
+
| Cursor | `~/.cursor/mcp.json` |
|
|
38
|
+
| OpenCode | `~/.config/opencode/mcp.json` |
|
|
39
|
+
| Windsurf | `~/.codeium/windsurf/mcp_config.json` |
|
|
40
|
+
|
|
41
|
+
Required headers:
|
|
42
|
+
|
|
43
|
+
- `Authorization: Bearer ${FIGMA_OAUTH_TOKEN}`
|
|
44
|
+
- `X-Figma-Region: ${FIGMA_REGION}` (default `us-east-1`; change if your org
|
|
45
|
+
uses another region)
|
|
46
|
+
|
|
47
|
+
Make sure `FIGMA_OAUTH_TOKEN` is exported in the shell that launches your AI
|
|
48
|
+
tool. With `loadenv` already wired in `bootstrap`, sourcing your shell
|
|
49
|
+
profile is enough.
|
|
50
|
+
|
|
51
|
+
## 3) Verify
|
|
52
|
+
|
|
53
|
+
1. Run `doctor` and confirm `~/.config/agent-toolkit/env.d/figma.env` is listed
|
|
54
|
+
under Integrations.
|
|
55
|
+
2. Restart your AI tool so it re-reads its MCP config.
|
|
56
|
+
3. Ask the AI to list Figma tools or call `whoami` — it should return your
|
|
57
|
+
Figma user identity.
|
|
58
|
+
|
|
59
|
+
## Troubleshooting
|
|
60
|
+
|
|
61
|
+
- **Token not picked up**: confirm `echo $FIGMA_OAUTH_TOKEN` returns a value in
|
|
62
|
+
the shell that launches your AI tool. If it doesn't, re-source the profile
|
|
63
|
+
(`exec $SHELL -l`) or restart the IDE.
|
|
64
|
+
- **OAuth errors**: verify the bearer token is valid and not expired. Tokens
|
|
65
|
+
copied from the Figma UI should not have surrounding quotes.
|
|
66
|
+
- **Network/region**: if your org runs in a non-default Figma region, update
|
|
67
|
+
`FIGMA_REGION` in `figma.env` and restart the AI tool.
|
|
68
|
+
- **Generic / vague output**: re-state the project-specific rules from the
|
|
69
|
+
parent `SKILL.md` and ensure you follow the required flow
|
|
70
|
+
(`get_design_context` → optional `get_metadata` → `get_screenshot`).
|
|
71
|
+
|
|
72
|
+
## Link-based prompting
|
|
73
|
+
|
|
74
|
+
The remote Figma MCP server is link-based: copy the Figma frame/layer link and
|
|
75
|
+
provide that URL to the AI tool. The AI tool will extract the node ID from the
|
|
76
|
+
link (it cannot browse the page itself).
|
|
77
|
+
|
|
78
|
+
## Optional: per-server timeouts
|
|
79
|
+
|
|
80
|
+
Most AI tools allow per-server `startup_timeout_sec` (default ~10) and
|
|
81
|
+
`tool_timeout_sec` (default ~60). Adjust them in your AI tool's config if you
|
|
82
|
+
hit timeouts on large nodes.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Figma MCP tools and prompt patterns
|
|
2
|
+
|
|
3
|
+
Quick reference for the Figma MCP toolset, when to use each tool, and prompt examples to steer output toward your stack.
|
|
4
|
+
|
|
5
|
+
## Core tools
|
|
6
|
+
- `get_design_context` (Figma Design, Figma Make): Primary tool. Returns structured design data and default React + Tailwind code. Selection-based prompting works on desktop; the remote server uses a frame/layer link to extract the node ID.
|
|
7
|
+
- `get_variable_defs` (Figma Design): Lists variables/styles (colors, spacing, typography) used in the selection. Useful to align with tokens.
|
|
8
|
+
- `get_metadata` (Figma Design): Sparse XML outline of layer IDs/names/types/positions/sizes. Use before re-calling `get_design_context` on large nodes to avoid truncation.
|
|
9
|
+
- `get_screenshot` (Figma Design, FigJam): Screenshot of the selection for visual fidelity checks.
|
|
10
|
+
- `get_figjam` (FigJam): XML + screenshots for FigJam diagrams (architecture, flows).
|
|
11
|
+
- `create_design_system_rules` (no file context): Generates a rule file with design-to-code guidance for your stack. Save it where the agent can read it.
|
|
12
|
+
- `get_code_connect_map` (Figma Design): Returns mapping of Figma node IDs to code components (`codeConnectSrc`, `codeConnectName`). Use to reuse existing components.
|
|
13
|
+
- `add_code_connect_map` (Figma Design): Adds/updates a mapping between a Figma node and a code component to improve reuse.
|
|
14
|
+
- `get_strategy_for_mapping` (alpha, local only): Figma-prompted tool to decide mapping strategy for connecting a node to a code component.
|
|
15
|
+
- `send_get_strategy_response` (alpha, local only): Sends the response after `get_strategy_for_mapping`.
|
|
16
|
+
- `whoami` (remote only): Returns the authenticated Figma user identity (email, plans, seat types).
|
|
17
|
+
|
|
18
|
+
## Prompt patterns (design context)
|
|
19
|
+
- Change framework: “generate my Figma selection in Vue” or “in plain HTML + CSS” or “for iOS”.
|
|
20
|
+
- Use my components: “generate my Figma selection using components from `src/components/ui`”.
|
|
21
|
+
- Combine: “generate my Figma selection using components from `src/ui` and style with Tailwind”.
|
|
22
|
+
- Note: On the remote server, selection-based prompting requires a frame/layer link; the server extracts the node ID from the URL.
|
|
23
|
+
|
|
24
|
+
## Prompt patterns (variables/styles)
|
|
25
|
+
- “get the variables used in my Figma selection”
|
|
26
|
+
- “what color and spacing variables are used in my Figma selection?”
|
|
27
|
+
- “list the variable names and their values used in my Figma selection”
|
|
28
|
+
|
|
29
|
+
## Prompt patterns (code connect)
|
|
30
|
+
- “show the code connect map for this selection”
|
|
31
|
+
- “map this node to `src/components/ui/Button.tsx` with name `Button`”
|
|
32
|
+
|
|
33
|
+
## Best-practice flow reminder
|
|
34
|
+
Use `get_design_context` → (optionally `get_metadata` for large nodes) → `get_screenshot`, and keep project rules from `SKILL.md` in mind when applying the generated output.
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
Use of these Figma skills and related files ("Materials") is governed by the Figma Developer Terms (available at https://www.figma.com/legal/developer-terms/). By accessing, downloading, or using these Materials — including through automated systems or AI agents — you agree to the Figma Developer Terms.
|
|
2
|
+
These Materials are currently offered as a Beta feature. Figma may modify, suspend, or discontinue them at any time without notice.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
figma-code-connect-components (agent-toolkit distribution)
|
|
2
|
+
====================================================
|
|
3
|
+
|
|
4
|
+
This skill is derived from the OpenAI "skills" repository, originally licensed
|
|
5
|
+
under the Apache License 2.0:
|
|
6
|
+
|
|
7
|
+
https://github.com/openai/skills (skills/.curated/figma-code-connect-components)
|
|
8
|
+
|
|
9
|
+
Modifications by agent-toolkit S.A. for distribution via agent-toolkit:
|
|
10
|
+
|
|
11
|
+
- Removed the `agents/openai.yaml` manifest in favor of the agent-toolkit
|
|
12
|
+
`skill.json` schema.
|
|
13
|
+
- Updated cross-references to point to the opt-in `figma-use` pack (see
|
|
14
|
+
`docs/SKILLS.md`) since it is not bundled by default.
|
|
15
|
+
- Dropped vendor logo assets (`assets/figma*`).
|
|
16
|
+
|
|
17
|
+
`scripts/normalize_node_id.py` and `references/mapping-checklist.md` are
|
|
18
|
+
preserved unmodified. Original LICENSE.txt is preserved in this directory.
|