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,167 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: design-improvement
|
|
3
|
+
description: WHAT - Browser-grounded iterative design improvement. Consumes design-assessment findings, defines direction, prioritizes safe vs ambiguous changes, implements within existing design system, runs app, captures rendered evidence via browser, reviews and iterates. Reuses evidence model — no new scoring framework.
|
|
4
|
+
origin:
|
|
5
|
+
type: first-party
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Design Improvement (WHAT)
|
|
9
|
+
|
|
10
|
+
Close the loop from **assessment → implementation → rendered verification**. Use this skill when the user wants to act on `design-assessment` (or `frontend-design-review`) findings, improve an existing interface, or run a browser-grounded iteration loop.
|
|
11
|
+
|
|
12
|
+
**Composition, not duplication:** Orchestrates `design-assessment`, `frontend-design`, `frontend-design-review`, `web-design-guidelines`, `playwright-cli` / `chrome-devtools`, `figma` and accessibility — delegates work, does not copy their instructions.
|
|
13
|
+
|
|
14
|
+
## Default guardrails
|
|
15
|
+
|
|
16
|
+
1. **Consume assessment findings** — start from a `design-assessment` scorecard / `frontend-design-review` output (Blocking/Major/Minor + evidence links). If no assessment exists, offer to run `design-assessment` first; do not invent findings.
|
|
17
|
+
2. Reuse the single evidence model: `observation / impact / severity / effort / confidence / evidence / screens / recommended fix` plus 1–5 scale, `3 = Defined`, `Not assessed`, confidence `High/Medium/Low`, and `output-handshake` before final artifacts. Do not introduce `72/100` or other synthetic scores.
|
|
18
|
+
3. Do not assume code is good without **rendered evidence** (screenshot/recording via browser). Implement → run → capture → inspect → compare → iterate. Where browser/vision unavailable, use text-only heuristic and mark **Low confidence — browser/vision unavailable**.
|
|
19
|
+
4. Do not auto-push to default branch or create tickets/docs without explicit approval. L2 controlled mutations for code changes; app runs isolated (no prod).
|
|
20
|
+
5. Generic-AI lens is contextual, not a checklist — a pattern is not bad merely because AI often produces it; judge appropriateness for *this* product's subject and tone.
|
|
21
|
+
|
|
22
|
+
## Safe vs ambiguous changes
|
|
23
|
+
|
|
24
|
+
Triage before implementation:
|
|
25
|
+
|
|
26
|
+
| Safe / mechanical — low judgment, implement directly with review | Ambiguous / product-defining — requires human direction, propose then confirm |
|
|
27
|
+
|---|---|
|
|
28
|
+
| Spacing/token inconsistency, broken responsive reflow, contrast violation (WCAG failure), missing focus state, overflow/clipping, misaligned design-system token, dead/incorrect ARIA, duplicate primary action | Brand direction, major visual identity, information architecture / navigation model, product-specific interaction changes, large typography or palette direction, pricing/offer hierarchy |
|
|
29
|
+
|
|
30
|
+
If a finding is ambiguous, **propose direction + rationale + rendered preview** and pause for human selection; do not blindly redesign an established product.
|
|
31
|
+
|
|
32
|
+
## Design-system preservation (existing apps)
|
|
33
|
+
|
|
34
|
+
Before inventing aesthetics, discover and respect:
|
|
35
|
+
|
|
36
|
+
- Design tokens (Figma variables, Style Dictionary, Tailwind/theme config, CSS variables)
|
|
37
|
+
- Component library (Storybook), existing Figma libraries, typography/spacing/color scales
|
|
38
|
+
- Prior decision: `greenfield` (no system, you own direction via `frontend-design`) vs `improvement within system` (default for existing apps)
|
|
39
|
+
|
|
40
|
+
Prefer **improve within system** unless explicitly commissioned to redesign. When tightening the system, author tokens/constraints rather than scattering one-off overrides.
|
|
41
|
+
|
|
42
|
+
Anti-generic-AI objective (contextual): avoid unmotivated gradients, gratuitous glow, everything-in-cards, repetitive 3-col grids, generic SaaS hero, random oversized rounded rectangles, weak hierarchy, purposeless whitespace, arbitrary decorative complexity, identical dashboard compositions, generic purple/blue palettes — unless appropriate for the product.
|
|
43
|
+
|
|
44
|
+
## Lifecycle
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
ASSESS (design-assessment) → UNDERSTAND FINDINGS → DEFINE DIRECTION → PRIORITIZE → PLAN CHANGES
|
|
48
|
+
→ IMPLEMENT → RUN APPLICATION → CAPTURE RENDERED EVIDENCE → REVIEW → FIX → RE-REVIEW → HANDSHAKE
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### 1. Understand findings
|
|
52
|
+
|
|
53
|
+
- Ingest assessment scorecard: Blocking/Major/Minor, evidence links, screenshots, Figma nodes.
|
|
54
|
+
- Cluster findings by screen/component and by safe vs ambiguous. Surface missing-evidence items as `Not assessed` with what would enable a decision.
|
|
55
|
+
|
|
56
|
+
### 2. Define design direction (only where system gaps exist)
|
|
57
|
+
|
|
58
|
+
If greenfield or system is missing/contradictory:
|
|
59
|
+
|
|
60
|
+
- Define direction as in `frontend-design`: palette as 4–6 named hex values, typefaces for display/body/utility, layout concept with ASCII wireframe, single signature element. State subject grounding — what in the product's world motivates each choice.
|
|
61
|
+
- For existing branded apps, direction is *tightening* (tokens, constraints, hierarchy rules) rather than replacement.
|
|
62
|
+
|
|
63
|
+
### 3. Propose variants → select with rationale
|
|
64
|
+
|
|
65
|
+
- Propose **2–3 variants** only for ambiguous decisions (e.g., two hierarchy treatments). For safe/mechanical fixes, one implementation is enough.
|
|
66
|
+
- Each variant: brief rationale, trade-off, and which finding(s) it resolves.
|
|
67
|
+
- Pause for human selection; record decision + evidence link.
|
|
68
|
+
|
|
69
|
+
### 4. Prioritize
|
|
70
|
+
|
|
71
|
+
Rank by `severity × user impact × effort` using assessment severity plus confidence. Suggested buckets: `quick win (S, Blocking)` → `next sprint (M, Major)` → `needs design (L, ambiguous)`. Respect user-approved priority; do not re-order against approval.
|
|
72
|
+
|
|
73
|
+
### 5. Plan changes
|
|
74
|
+
|
|
75
|
+
Produce a change plan mapped to evidence:
|
|
76
|
+
|
|
77
|
+
| Finding | Decision | Change | Files / tokens | Verification (browser capture) |
|
|
78
|
+
|---------|----------|--------|----------------|-------------------------------|
|
|
79
|
+
| [link] | [safe/ambiguous + direction] | [token, component, layout fix] | [path:line] | [screenshot/viewport/theme] |
|
|
80
|
+
|
|
81
|
+
Include Figma/token references and, where relevant, WCAG SC mapping for a11y fixes.
|
|
82
|
+
|
|
83
|
+
### 6. Implement
|
|
84
|
+
|
|
85
|
+
- Implement within the discovered system (tokens/CSS variables, not hardcoded values). Reuse design-system components; document any exception with rationale.
|
|
86
|
+
- Keep changes small and reviewable; one concern per commit where possible.
|
|
87
|
+
|
|
88
|
+
### 7. Run application
|
|
89
|
+
|
|
90
|
+
- Run per repo docs (`npm run dev`, `docker compose up`, etc.) in an isolated, non-prod context. Record URL/port and prerequisites as evidence. Do not assume success without seeing it run.
|
|
91
|
+
|
|
92
|
+
### 8. Capture rendered evidence
|
|
93
|
+
|
|
94
|
+
- Use `playwright-cli` (primary for deterministic interaction, locators, assertions, screenshots, traces, multi-tab) and/or Chrome DevTools / `chrome-devtools` skill when runtime diagnostics needed (network, console, performance, rendering, trace). See browser provider decision below.
|
|
95
|
+
- Capture at breakpoints (mobile/tablet/desktop), themes (light/dark), and relevant states (empty/loading/error/dense). Record viewport, theme, date and store artifacts alongside the change plan.
|
|
96
|
+
- **Required:** `screenshot` (or recording) for each changed screen/state before considering the change validated. Source code alone is not validation.
|
|
97
|
+
|
|
98
|
+
### 9. Review → fix → re-review
|
|
99
|
+
|
|
100
|
+
- Review captured output vs direction and vs findings: hierarchy, spacing vs tokens, typography, color, interaction, responsive reflow, a11y (contrast, focus, keyboard), design-system compliance, distinctiveness for this product.
|
|
101
|
+
- For each captured finding, delegate to the appropriate reviewer:
|
|
102
|
+
- Visual/hierarchy → `frontend-design-review` (three pillars + output format)
|
|
103
|
+
- WIG rules (a11y, focus, forms, motion) → `web-design-guidelines`
|
|
104
|
+
- A11y deeper → `accessibility` capability (when available) + browser a11y tree
|
|
105
|
+
- Design-system divergence → `figma` Dev Mode compare
|
|
106
|
+
- Distinctiveness → `frontend-design` creative lens
|
|
107
|
+
- Cite observation with screenshot anchor (`file:line` for code, region for visual). Classify `Blocking/Major/Minor` + confidence, downgraded if browser/vision was degraded.
|
|
108
|
+
- Fix failures and re-capture. Iterate until Blocking cleared and no new Major introduced; for greenfield, iterate until direction is satisfied. Gate on human approval for ambiguous changes.
|
|
109
|
+
|
|
110
|
+
### 10. Handshake
|
|
111
|
+
|
|
112
|
+
Apply `output-handshake` before final report: ask where the artifact lives (repo/docs/URL), who reviews/approves, and confirm human review. Do not create follow-up tickets without approval; delegate to ticket skills after approval.
|
|
113
|
+
|
|
114
|
+
## Browser provider selection (conceptual capabilities)
|
|
115
|
+
|
|
116
|
+
Request capabilities, not brand names, where practical:
|
|
117
|
+
|
|
118
|
+
| Capability | Playwright (`playwright-cli` / `e2e-runner`) | Chrome DevTools (`chrome-devtools`) |
|
|
119
|
+
|------------|----------------------------------------------|-------------------------------------|
|
|
120
|
+
| `browser.interact` (click/fill/navigate) | ✅ deterministic locators, fixtures | limited |
|
|
121
|
+
| `browser.capture` (screenshot, trace, pdf) | ✅ screenshots, traces, `snapshot` | ✅ screenshots, rendering diagnostics |
|
|
122
|
+
| `browser.dom` + `browser.accessibility` tree | `snapshot` (accessibility-aware) | ✅ DOM, accessibility tree, computed styles |
|
|
123
|
+
| `browser.network` / `browser.console` / `browser.performance` | limited | ✅ network, console, performance, runtime |
|
|
124
|
+
| `browser.trace` / `browser.visual-compare` | trace via CLI | trace + rendering inspection |
|
|
125
|
+
| E2E validation (`browser.assert`) | ✅ assertions, `e2e-runner` specs | — |
|
|
126
|
+
|
|
127
|
+
**Rule:** Use `playwright-cli` for deterministic interaction + E2E validation + primary capture; use `chrome-devtools` for runtime debugging, network, performance, and rendering diagnostics. Either alone suffices for degraded mode; together they cover the full `implement → render → capture → inspect → compare → iterate` loop.
|
|
128
|
+
|
|
129
|
+
If neither provider is available (no browser), fall back to text-only heuristic (code, tokens, ARIA attributes) with **Low confidence** and explicit missing-evidence register.
|
|
130
|
+
|
|
131
|
+
## Quality dimensions to consider (evidence-backed, not scored in aggregate)
|
|
132
|
+
|
|
133
|
+
Visual hierarchy, layout, spacing, typography, color, interaction, responsive behavior, accessibility, consistency, design-system compliance, product appropriateness, distinctiveness, information density, navigation clarity, feedback/states, performance where UX-relevant.
|
|
134
|
+
|
|
135
|
+
## Delegation table
|
|
136
|
+
|
|
137
|
+
| Need | Skill |
|
|
138
|
+
|------|-------|
|
|
139
|
+
| Assessment findings (input) | `design-assessment` (scorecard + prioritized findings) |
|
|
140
|
+
| Single-screen procedural critique | `frontend-design-review` |
|
|
141
|
+
| WIG rules (a11y, focus, forms, motion) | `web-design-guidelines` |
|
|
142
|
+
| Deterministic interaction + primary capture + E2E | `playwright-cli` (`tooling/playwright-cli`) / `e2e-runner` |
|
|
143
|
+
| Runtime debugging (network/console/perf/rendering) | `chrome-devtools` (`tooling/chrome-devtools`, next issue) |
|
|
144
|
+
| Design-system compare / tokens | `figma` / `figma-implement-design` / `figma-create-design-system-rules` |
|
|
145
|
+
| Distinctive direction | `frontend-design` |
|
|
146
|
+
| Accessibility deeper | `accessibility` (curated, WCAG 2.2 AA) when available |
|
|
147
|
+
| Evidence intake (single framework) | `project-assessment-evidence` |
|
|
148
|
+
| Multi-unit routing | `project-assessment` |
|
|
149
|
+
| Output gate | `output-handshake` |
|
|
150
|
+
| Parallel variant generation / multi-screen review | `swarm` (optional, sequential valid) |
|
|
151
|
+
|
|
152
|
+
## Security & compatibility
|
|
153
|
+
|
|
154
|
+
- No mutation without approval; no default-branch push.
|
|
155
|
+
- `playwright-cli` runs a real browser — treat tool arguments as executable-ish; validate URLs/inputs (no SSRF via tool injection).
|
|
156
|
+
- Portable orchestration; browser/vision optional with degraded confidence.
|
|
157
|
+
|
|
158
|
+
## References
|
|
159
|
+
|
|
160
|
+
- `references/improvement-plan-template.md` — change-plan + capture + review loop template
|
|
161
|
+
- `design-assessment` + `references/design-scorecard-template.md` — inputs (1–5, confidence, Blocking/Major/Minor, evidence links)
|
|
162
|
+
- `frontend-design-review` + `references/review-output-format.md` — review output format
|
|
163
|
+
- `web-design-guidelines` + `references/web-interface-guidelines.md` — WIG rules
|
|
164
|
+
- `playwright-cli` — deterministic browser automation; `chrome-devtools` — runtime diagnostics (next skill)
|
|
165
|
+
- `project-assessment-evidence` / `technical-unit-assessment` — evidence model and scale
|
|
166
|
+
- `output-handshake` — destination + review gate
|
|
167
|
+
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
# Design Improvement Plan Template
|
|
2
|
+
|
|
3
|
+
**Product:** [name] **Source assessment:** [link to design-assessment scorecard] **Period:** [dates]
|
|
4
|
+
**Branch:** [feature branch] **Running app:** [URL/port + command] **Assessor:** [name]
|
|
5
|
+
|
|
6
|
+
> Reuses evidence model from `project-assessment-evidence` (observation/impact/severity/effort/confidence/evidence/screens/fix, 1–5 scale 3=Defined, Not assessed, output-handshake). Do not score without evidence.
|
|
7
|
+
|
|
8
|
+
## Findings intake (from assessment)
|
|
9
|
+
|
|
10
|
+
| # | Finding | Severity | Confidence | Evidence | Screen/Component | Recommended fix |
|
|
11
|
+
|---|---------|----------|------------|----------|------------------|-----------------|
|
|
12
|
+
| 1 | [title] | Blocking/Major/Minor | High/Med/Low | [scorecard link, screenshot] | [screen] | [Figma/token/WIG rule] |
|
|
13
|
+
|
|
14
|
+
### Triage: safe vs ambiguous
|
|
15
|
+
|
|
16
|
+
| Finding | Safe (mechanical) | Ambiguous (needs direction) | Decision |
|
|
17
|
+
|---------|-------------------|-----------------------------|----------|
|
|
18
|
+
| 1 | [e.g. contrast violation] | | Implement directly → review |
|
|
19
|
+
| 2 | | [e.g. hero hierarchy] | Propose variants → human select |
|
|
20
|
+
|
|
21
|
+
## Design direction (only where system gaps exist)
|
|
22
|
+
|
|
23
|
+
**Subject grounding:** [what in product's world motivates choices]
|
|
24
|
+
**Palette:** 4–6 named hex values
|
|
25
|
+
**Typography:** display / body / utility faces
|
|
26
|
+
**Layout concept + ASCII wireframe:**
|
|
27
|
+
```
|
|
28
|
+
[wireframe]
|
|
29
|
+
```
|
|
30
|
+
**Signature element:** [single memorable element]
|
|
31
|
+
**For existing apps:** tightening tokens/constraints vs replacement: [decision]
|
|
32
|
+
|
|
33
|
+
## Variants (only for ambiguous)
|
|
34
|
+
|
|
35
|
+
| Variant | Rationale | Resolves findings | Trade-off |
|
|
36
|
+
|---------|-----------|-------------------|-----------|
|
|
37
|
+
| A | | | |
|
|
38
|
+
| B | | | |
|
|
39
|
+
|
|
40
|
+
**Selection:** [A/B] — [why] — approved by [who] on [date] — evidence [link]
|
|
41
|
+
|
|
42
|
+
## Prioritization
|
|
43
|
+
|
|
44
|
+
Ranked by `severity × impact × effort` + confidence. Buckets:
|
|
45
|
+
|
|
46
|
+
| Priority | Finding | Effort | Confidence | Verification capture |
|
|
47
|
+
|----------|---------|--------|------------|----------------------|
|
|
48
|
+
| Quick win | | S | High | screenshot viewport/theme |
|
|
49
|
+
| Next sprint | | M | | |
|
|
50
|
+
| Needs design | | L | | |
|
|
51
|
+
|
|
52
|
+
## Change plan
|
|
53
|
+
|
|
54
|
+
| Finding | Decision | Change (token/component/layout) | Files / tokens | Expected rendering |
|
|
55
|
+
|---------|----------|----------------------------------|----------------|--------------------|
|
|
56
|
+
| 1 | safe/ambiguous + direction | [e.g. spacing token s-400] | path:line | [what screenshot should show] |
|
|
57
|
+
|
|
58
|
+
## Implementation log
|
|
59
|
+
|
|
60
|
+
| Commit | Change | Finding | Evidence before | Evidence after |
|
|
61
|
+
|--------|--------|---------|-----------------|----------------|
|
|
62
|
+
| [sha] | [desc] | #1 | [screenshot before] | [screenshot after] |
|
|
63
|
+
|
|
64
|
+
## Rendered verification (required — code alone is not validation)
|
|
65
|
+
|
|
66
|
+
Record per captured state:
|
|
67
|
+
|
|
68
|
+
| Screen | Viewport | Theme | State | Screenshot | Review vs direction | Result |
|
|
69
|
+
|--------|----------|-------|-------|------------|---------------------|--------|
|
|
70
|
+
| home | desktop 1440 | light | default | [link] | [pass/fix] | Blocking cleared / Major remains |
|
|
71
|
+
| home | mobile 390 | light | default | [link] | | |
|
|
72
|
+
|
|
73
|
+
**Browser provider used:** `playwright-cli` (deterministic interaction + capture) / `chrome-devtools` (network/console/perf) / both. If degraded (no browser), mark `Low confidence — browser/vision unavailable` and list missing evidence.
|
|
74
|
+
|
|
75
|
+
### Review delegation
|
|
76
|
+
|
|
77
|
+
- Visual/hierarchy → `frontend-design-review` (three pillars)
|
|
78
|
+
- WIG rules → `web-design-guidelines`
|
|
79
|
+
- A11y deeper → `accessibility` + browser a11y tree + WCAG SC mapping
|
|
80
|
+
- Design-system divergence → `figma` Dev Mode compare
|
|
81
|
+
- Distinctiveness → `frontend-design` creative lens
|
|
82
|
+
|
|
83
|
+
## Re-review loop
|
|
84
|
+
|
|
85
|
+
Iterate `review → fix → re-capture` until Blocking cleared and no new Major introduced. For greenfield, until direction satisfied. Record:
|
|
86
|
+
|
|
87
|
+
| Iteration | Reviewer | Finding | Action | Re-capture link | Status |
|
|
88
|
+
|-----------|----------|---------|--------|-----------------|--------|
|
|
89
|
+
| 1 | frontend-design-review | #1 contrast | fix token | [link] | ✅ Blocking cleared |
|
|
90
|
+
|
|
91
|
+
## Missing evidence register
|
|
92
|
+
|
|
93
|
+
| Need | What would enable |
|
|
94
|
+
|------|-------------------|
|
|
95
|
+
| [e.g. mobile 390 screenshot] | `playwright-cli screenshot` at viewport |
|
|
96
|
+
|
|
97
|
+
## Output handshake
|
|
98
|
+
|
|
99
|
+
- **Destination:** [repo/docs/URL]
|
|
100
|
+
- **Reviewer:** [who approves]
|
|
101
|
+
- **Confirmed:** [date]
|
|
102
|
+
- **Follow-ups:** [tickets only after approval]
|
|
103
|
+
|
|
104
|
+
## Design-system evidence
|
|
105
|
+
|
|
106
|
+
Discovered tokens / Figma / Storybook:
|
|
107
|
+
|
|
108
|
+
| System | Location | Freshness | Strength | Notes |
|
|
109
|
+
|--------|----------|-----------|----------|-------|
|
|
110
|
+
| Tokens | [path/URL] | [date] | Direct | |
|
|
111
|
+
| Figma | [file] | [date] | Direct | |
|
|
112
|
+
| Storybook | [URL] | [date] | Indirect | |
|
|
113
|
+
|
|
@@ -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,98 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: figma
|
|
3
|
+
description: Use the Figma MCP server to fetch design context, screenshots, variables, and assets, and
|
|
4
|
+
to translate Figma nodes into production code. Trigger when a task involves Figma URLs, node IDs, design-to-code
|
|
5
|
+
implementation, or Figma MCP setup and troubleshooting.
|
|
6
|
+
origin:
|
|
7
|
+
type: first-party
|
|
8
|
+
---
|
|
9
|
+
# Figma MCP
|
|
10
|
+
|
|
11
|
+
Use the Figma MCP server for Figma-driven implementation. For setup and
|
|
12
|
+
debugging details (env vars, tool registration, verification), see
|
|
13
|
+
[`references/figma-mcp-config.md`](references/figma-mcp-config.md).
|
|
14
|
+
|
|
15
|
+
This is the **entry-point skill** for the Figma family. Switch to a more
|
|
16
|
+
specialized skill once intent is clear:
|
|
17
|
+
|
|
18
|
+
| If the user wants to… | Use |
|
|
19
|
+
|---|---|
|
|
20
|
+
| Translate a Figma node into production code | [`figma-implement-design`](../figma-implement-design/SKILL.md) |
|
|
21
|
+
| Generate a full screen in Figma from code/description | `figma-generate-design` (opt-in pack — see `docs/SKILLS.md`) |
|
|
22
|
+
| Author Code Connect mappings | [`figma-code-connect-components`](../figma-code-connect-components/SKILL.md) |
|
|
23
|
+
| Create reusable agent rules (`CLAUDE.md`/`AGENTS.md`) for a design system | [`figma-create-design-system-rules`](../figma-create-design-system-rules/SKILL.md) |
|
|
24
|
+
| Create a brand-new Figma file | [`figma-create-new-file`](../figma-create-new-file/SKILL.md) |
|
|
25
|
+
| Run JS in Figma via the Plugin API | `figma-use` (opt-in pack — see `docs/SKILLS.md`) |
|
|
26
|
+
| Generate/import a full library | `figma-generate-library` (opt-in pack — see `docs/SKILLS.md`) |
|
|
27
|
+
|
|
28
|
+
## Figma MCP Integration Rules
|
|
29
|
+
|
|
30
|
+
These rules define how to translate Figma inputs into code for this project and
|
|
31
|
+
must be followed for every Figma-driven change.
|
|
32
|
+
|
|
33
|
+
### Required flow (do not skip)
|
|
34
|
+
|
|
35
|
+
1. Run `get_design_context` first to fetch the structured representation for
|
|
36
|
+
the exact node(s).
|
|
37
|
+
2. If the response is too large or truncated, run `get_metadata` to get the
|
|
38
|
+
high-level node map and then re-fetch only the required node(s) with
|
|
39
|
+
`get_design_context`.
|
|
40
|
+
3. Run `get_screenshot` for a visual reference of the node variant being
|
|
41
|
+
implemented.
|
|
42
|
+
4. Only after you have both `get_design_context` and `get_screenshot`, download
|
|
43
|
+
any assets needed and start implementation.
|
|
44
|
+
5. Translate the output (usually React + Tailwind) into this project's
|
|
45
|
+
conventions, styles and framework. Reuse the project's color tokens,
|
|
46
|
+
components, and typography wherever possible.
|
|
47
|
+
6. Validate against Figma for 1:1 look and behavior before marking complete.
|
|
48
|
+
|
|
49
|
+
### Implementation rules
|
|
50
|
+
|
|
51
|
+
- Treat the Figma MCP output (React + Tailwind) as a representation of design
|
|
52
|
+
and behavior, not as final code style.
|
|
53
|
+
- Replace Tailwind utility classes with the project's preferred utilities /
|
|
54
|
+
design-system tokens when applicable.
|
|
55
|
+
- Reuse existing components (e.g. buttons, inputs, typography, icon wrappers)
|
|
56
|
+
instead of duplicating functionality.
|
|
57
|
+
- Use the project's color system, typography scale, and spacing tokens
|
|
58
|
+
consistently.
|
|
59
|
+
- Respect existing routing, state management, and data-fetch patterns already
|
|
60
|
+
adopted in the repo.
|
|
61
|
+
- Strive for 1:1 visual parity with the Figma design. When conflicts arise,
|
|
62
|
+
prefer design-system tokens and adjust spacing or sizes minimally to match
|
|
63
|
+
visuals.
|
|
64
|
+
- Validate the final UI against the Figma screenshot for both look and
|
|
65
|
+
behavior.
|
|
66
|
+
|
|
67
|
+
### Asset handling
|
|
68
|
+
|
|
69
|
+
- The Figma MCP server provides an assets endpoint that serves image and SVG
|
|
70
|
+
assets.
|
|
71
|
+
- **Important**: if the Figma MCP server returns a `localhost` source for an
|
|
72
|
+
image or SVG, use that source directly.
|
|
73
|
+
- **Important**: do NOT import/add new icon packages — all assets should be in
|
|
74
|
+
the Figma payload.
|
|
75
|
+
- **Important**: do NOT use or create placeholders if a `localhost` source is
|
|
76
|
+
provided.
|
|
77
|
+
|
|
78
|
+
### Link-based prompting
|
|
79
|
+
|
|
80
|
+
- The remote Figma MCP server is link-based: copy the Figma frame/layer link
|
|
81
|
+
and provide that URL to the AI tool when asking for implementation help.
|
|
82
|
+
- The AI tool cannot browse the URL but extracts the node ID from the link.
|
|
83
|
+
Always ensure the link points to the exact node/variant you want.
|
|
84
|
+
|
|
85
|
+
## Boundaries
|
|
86
|
+
|
|
87
|
+
- This skill **reads** Figma context and **writes code in the user's repo**.
|
|
88
|
+
It does not write back into Figma — that lives in the opt-in `figma-use` /
|
|
89
|
+
`figma-generate-design` pack (see `docs/SKILLS.md`).
|
|
90
|
+
- Do not bypass the MCP and call the Figma REST API directly from this skill.
|
|
91
|
+
|
|
92
|
+
## References
|
|
93
|
+
|
|
94
|
+
- [`references/figma-mcp-config.md`](references/figma-mcp-config.md) — register
|
|
95
|
+
the Figma MCP in Claude Code / Cursor / OpenCode / Windsurf. Points at the
|
|
96
|
+
agent-toolkit template under `~/.local/share/agent-toolkit/mcp/figma/`.
|
|
97
|
+
- [`references/figma-tools-and-prompts.md`](references/figma-tools-and-prompts.md)
|
|
98
|
+
— 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.
|