@cubis/foundry 0.3.32 → 0.3.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/README.md +23 -0
- package/bin/cubis.js +461 -37
- package/mcp/README.md +17 -0
- package/mcp/catalogs/default.json +14 -0
- package/mcp/powers/atlassian-mcp/POWER.md +91 -0
- package/mcp/powers/atlassian-mcp/SKILL.md +88 -0
- package/mcp/powers/building-mcp-server-on-cloudflare/POWER.md +261 -0
- package/mcp/powers/building-mcp-server-on-cloudflare/SKILL.md +258 -0
- package/mcp/powers/datadog-automation/POWER.md +238 -0
- package/mcp/powers/datadog-automation/SKILL.md +235 -0
- package/mcp/powers/github-automation/POWER.md +230 -0
- package/mcp/powers/github-automation/SKILL.md +227 -0
- package/mcp/powers/mcp-builder/POWER.md +179 -0
- package/mcp/powers/mcp-builder/SKILL.md +176 -0
- package/mcp/powers/mcp-developer/POWER.md +88 -0
- package/mcp/powers/mcp-developer/SKILL.md +85 -0
- package/mcp/powers/postman/POWER.md +243 -0
- package/mcp/powers/postman/SKILL.md +240 -0
- package/mcp/powers/sentry-automation/POWER.md +235 -0
- package/mcp/powers/sentry-automation/SKILL.md +232 -0
- package/mcp/skills/atlassian-mcp/SKILL.md +88 -0
- package/mcp/skills/building-mcp-server-on-cloudflare/SKILL.md +258 -0
- package/mcp/skills/datadog-automation/SKILL.md +235 -0
- package/mcp/skills/github-automation/SKILL.md +227 -0
- package/mcp/skills/mcp-builder/SKILL.md +176 -0
- package/mcp/skills/mcp-developer/SKILL.md +85 -0
- package/mcp/skills/postman/SKILL.md +240 -0
- package/mcp/skills/sentry-automation/SKILL.md +232 -0
- package/package.json +2 -1
- package/workflows/powers/architecture/POWER.md +12 -46
- package/workflows/powers/architecture/SKILL.md +12 -46
- package/workflows/powers/atlassian-mcp/POWER.md +11 -81
- package/workflows/powers/atlassian-mcp/SKILL.md +11 -81
- package/workflows/powers/building-mcp-server-on-cloudflare/POWER.md +12 -252
- package/workflows/powers/building-mcp-server-on-cloudflare/SKILL.md +12 -252
- package/workflows/powers/code-review-checklist/POWER.md +11 -99
- package/workflows/powers/code-review-checklist/SKILL.md +11 -99
- package/workflows/powers/csharp-pro/POWER.md +43 -0
- package/workflows/powers/csharp-pro/SKILL.md +40 -0
- package/workflows/powers/database-design/POWER.md +47 -5
- package/workflows/powers/database-design/SKILL.md +45 -4
- package/workflows/powers/database-optimizer/POWER.md +11 -23
- package/workflows/powers/database-optimizer/SKILL.md +5 -5
- package/workflows/powers/datadog-automation/POWER.md +12 -229
- package/workflows/powers/datadog-automation/SKILL.md +12 -229
- package/workflows/powers/debugging-wizard/POWER.md +12 -78
- package/workflows/powers/debugging-wizard/SKILL.md +12 -78
- package/workflows/powers/deployment-procedures/POWER.md +11 -231
- package/workflows/powers/deployment-procedures/SKILL.md +11 -231
- package/workflows/powers/drift-flutter/POWER.md +51 -0
- package/workflows/powers/drift-flutter/SKILL.md +2 -2
- package/workflows/powers/github-automation/POWER.md +12 -221
- package/workflows/powers/github-automation/SKILL.md +12 -221
- package/workflows/powers/golang-pro/POWER.md +38 -66
- package/workflows/powers/golang-pro/SKILL.md +38 -66
- package/workflows/powers/java-pro/POWER.md +43 -0
- package/workflows/powers/java-pro/SKILL.md +40 -0
- package/workflows/powers/javascript-pro/POWER.md +37 -67
- package/workflows/powers/javascript-pro/SKILL.md +37 -67
- package/workflows/powers/kotlin-pro/POWER.md +43 -0
- package/workflows/powers/kotlin-pro/SKILL.md +40 -0
- package/workflows/powers/mcp-builder/POWER.md +12 -170
- package/workflows/powers/mcp-builder/SKILL.md +12 -170
- package/workflows/powers/mcp-developer/POWER.md +11 -78
- package/workflows/powers/mcp-developer/SKILL.md +11 -78
- package/workflows/powers/nextjs-developer/POWER.md +41 -148
- package/workflows/powers/nextjs-developer/SKILL.md +41 -148
- package/workflows/powers/nextjs-react-expert/POWER.md +10 -281
- package/workflows/powers/nextjs-react-expert/SKILL.md +10 -281
- package/workflows/powers/nodejs-best-practices/POWER.md +33 -317
- package/workflows/powers/nodejs-best-practices/SKILL.md +33 -317
- package/workflows/powers/postman/POWER.md +11 -233
- package/workflows/powers/postman/SKILL.md +11 -233
- package/workflows/powers/python-patterns/POWER.md +11 -431
- package/workflows/powers/python-patterns/SKILL.md +11 -431
- package/workflows/powers/python-pro/POWER.md +38 -66
- package/workflows/powers/python-pro/SKILL.md +38 -66
- package/workflows/powers/react-best-practices/POWER.md +35 -118
- package/workflows/powers/react-best-practices/SKILL.md +35 -118
- package/workflows/powers/react-expert/POWER.md +38 -66
- package/workflows/powers/react-expert/SKILL.md +38 -66
- package/workflows/powers/rust-engineer/POWER.md +10 -75
- package/workflows/powers/rust-engineer/SKILL.md +10 -75
- package/workflows/powers/rust-pro/POWER.md +36 -163
- package/workflows/powers/rust-pro/SKILL.md +36 -163
- package/workflows/powers/sentry-automation/POWER.md +12 -226
- package/workflows/powers/sentry-automation/SKILL.md +12 -226
- package/workflows/powers/server-management/POWER.md +11 -151
- package/workflows/powers/server-management/SKILL.md +11 -151
- package/workflows/powers/tdd-workflow/POWER.md +12 -140
- package/workflows/powers/tdd-workflow/SKILL.md +12 -140
- package/workflows/powers/testing-patterns/POWER.md +11 -168
- package/workflows/powers/testing-patterns/SKILL.md +11 -168
- package/workflows/powers/typescript-pro/POWER.md +43 -70
- package/workflows/powers/typescript-pro/SKILL.md +43 -70
- package/workflows/powers/vercel-ai/POWER.md +43 -0
- package/workflows/powers/vercel-ai/SKILL.md +40 -0
- package/workflows/powers/vercel-ai-gateway/POWER.md +11 -69
- package/workflows/powers/vercel-ai-gateway/SKILL.md +11 -69
- package/workflows/powers/vercel-ai-sdk/POWER.md +11 -49
- package/workflows/powers/vercel-ai-sdk/SKILL.md +11 -49
- package/workflows/powers/vercel-caching/POWER.md +10 -72
- package/workflows/powers/vercel-caching/SKILL.md +10 -72
- package/workflows/powers/vercel-cli/POWER.md +11 -75
- package/workflows/powers/vercel-cli/SKILL.md +11 -75
- package/workflows/powers/vercel-delivery/POWER.md +45 -0
- package/workflows/powers/vercel-delivery/SKILL.md +42 -0
- package/workflows/powers/vercel-deployments/POWER.md +10 -90
- package/workflows/powers/vercel-deployments/SKILL.md +10 -90
- package/workflows/powers/vercel-domains/POWER.md +10 -69
- package/workflows/powers/vercel-domains/SKILL.md +10 -69
- package/workflows/powers/vercel-firewall/POWER.md +10 -61
- package/workflows/powers/vercel-firewall/SKILL.md +10 -61
- package/workflows/powers/vercel-flags/POWER.md +10 -62
- package/workflows/powers/vercel-flags/SKILL.md +10 -62
- package/workflows/powers/vercel-functions/POWER.md +10 -70
- package/workflows/powers/vercel-functions/SKILL.md +10 -70
- package/workflows/powers/vercel-routing/POWER.md +10 -68
- package/workflows/powers/vercel-routing/SKILL.md +10 -68
- package/workflows/powers/vercel-runtime/POWER.md +43 -0
- package/workflows/powers/vercel-runtime/SKILL.md +40 -0
- package/workflows/powers/vercel-security/POWER.md +43 -0
- package/workflows/powers/vercel-security/SKILL.md +40 -0
- package/workflows/powers/vulnerability-scanner/POWER.md +11 -266
- package/workflows/powers/vulnerability-scanner/SKILL.md +11 -266
- package/workflows/scripts/generate-powers.mjs +95 -202
- package/workflows/skills/atlassian-mcp/SKILL.md +11 -81
- package/workflows/skills/building-mcp-server-on-cloudflare/SKILL.md +12 -252
- package/workflows/skills/catalogs/core.json +30 -0
- package/workflows/skills/catalogs/web-backend.json +70 -0
- package/workflows/skills/csharp-pro/SKILL.md +40 -0
- package/workflows/skills/datadog-automation/SKILL.md +12 -229
- package/workflows/skills/github-automation/SKILL.md +12 -221
- package/workflows/skills/golang-pro/SKILL.md +38 -66
- package/workflows/skills/java-pro/SKILL.md +40 -0
- package/workflows/skills/javascript-pro/SKILL.md +37 -67
- package/workflows/skills/kotlin-pro/SKILL.md +40 -0
- package/workflows/skills/mcp-builder/SKILL.md +12 -170
- package/workflows/skills/mcp-developer/SKILL.md +11 -78
- package/workflows/skills/nextjs-developer/SKILL.md +41 -148
- package/workflows/skills/nextjs-react-expert/SKILL.md +5 -11
- package/workflows/skills/nodejs-best-practices/SKILL.md +33 -317
- package/workflows/skills/postman/SKILL.md +11 -233
- package/workflows/skills/python-pro/SKILL.md +38 -66
- package/workflows/skills/react-best-practices/SKILL.md +35 -118
- package/workflows/skills/react-expert/SKILL.md +38 -66
- package/workflows/skills/rust-pro/SKILL.md +36 -163
- package/workflows/skills/sentry-automation/SKILL.md +12 -226
- package/workflows/skills/skills_index.json +43 -57
- package/workflows/skills/typescript-pro/SKILL.md +43 -70
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/backend-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/code-archaeologist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/database-architect.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/debugger.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/devops-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/documentation-writer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/explorer-agent.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/frontend-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/game-developer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/mobile-developer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/orchestrator.md +28 -400
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/penetration-tester.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/performance-optimizer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/product-manager.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/product-owner.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/project-planner.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/qa-automation-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/security-auditor.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/seo-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/test-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/agents/vercel-expert.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/antigravity/rules/GEMINI.md +7 -6
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/backend-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/code-archaeologist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/database-architect.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/debugger.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/devops-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/documentation-writer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/explorer-agent.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/frontend-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/game-developer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/mobile-developer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/orchestrator.md +28 -400
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/penetration-tester.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/performance-optimizer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/product-manager.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/product-owner.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/project-planner.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/qa-automation-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/security-auditor.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/seo-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/test-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/agents/vercel-expert.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/codex/rules/AGENTS.md +7 -6
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/backend-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/code-archaeologist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/database-architect.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/debugger.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/devops-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/documentation-writer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/explorer-agent.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/frontend-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/game-developer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/mobile-developer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/orchestrator.md +28 -400
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/penetration-tester.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/performance-optimizer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/product-manager.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/product-owner.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/project-planner.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/qa-automation-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/security-auditor.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/seo-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/test-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/agents/vercel-expert.md +1 -1
- package/workflows/workflows/agent-environment-setup/platforms/copilot/rules/AGENTS.md +7 -6
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/csharp-pro/SKILL.md +40 -0
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/golang-pro/SKILL.md +38 -66
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/java-pro/SKILL.md +40 -0
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/javascript-pro/SKILL.md +37 -67
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/kotlin-pro/SKILL.md +40 -0
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/nextjs-developer/SKILL.md +41 -148
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/nextjs-react-expert/SKILL.md +6 -12
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/nodejs-best-practices/SKILL.md +33 -317
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/python-pro/SKILL.md +38 -66
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/react-best-practices/SKILL.md +35 -118
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/react-expert/SKILL.md +38 -66
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/rust-pro/SKILL.md +36 -163
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/skills_index.json +43 -57
- package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/typescript-pro/SKILL.md +43 -70
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/csharp-pro/SKILL.md +40 -0
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/golang-pro/SKILL.md +38 -66
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/java-pro/SKILL.md +40 -0
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/javascript-pro/SKILL.md +37 -67
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/kotlin-pro/SKILL.md +40 -0
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/nextjs-developer/SKILL.md +41 -148
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/nextjs-react-expert/SKILL.md +6 -12
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/nodejs-best-practices/SKILL.md +33 -317
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/python-pro/SKILL.md +38 -66
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/react-best-practices/SKILL.md +35 -118
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/react-expert/SKILL.md +38 -66
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/rust-pro/SKILL.md +36 -163
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/skills_index.json +43 -57
- package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/typescript-pro/SKILL.md +43 -70
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/csharp-pro/SKILL.md +40 -0
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/golang-pro/SKILL.md +38 -66
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/java-pro/SKILL.md +40 -0
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/javascript-pro/SKILL.md +37 -67
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/kotlin-pro/SKILL.md +40 -0
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/nextjs-developer/SKILL.md +41 -148
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/nextjs-react-expert/SKILL.md +6 -12
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/nodejs-best-practices/SKILL.md +33 -317
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/python-pro/SKILL.md +38 -66
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/react-best-practices/SKILL.md +35 -118
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/react-expert/SKILL.md +38 -66
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/rust-pro/SKILL.md +36 -163
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/skills_index.json +43 -57
- package/workflows/workflows/agent-environment-setup/platforms/windsurf/skills/typescript-pro/SKILL.md +43 -70
- package/workflows/workflows/agent-environment-setup/shared/agents/backend-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/code-archaeologist.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/database-architect.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/debugger.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/devops-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/documentation-writer.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/explorer-agent.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/frontend-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/game-developer.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/mobile-developer.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/orchestrator.md +28 -400
- package/workflows/workflows/agent-environment-setup/shared/agents/penetration-tester.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/performance-optimizer.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/product-manager.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/product-owner.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/project-planner.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/qa-automation-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/security-auditor.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/seo-specialist.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/test-engineer.md +1 -1
- package/workflows/workflows/agent-environment-setup/shared/agents/vercel-expert.md +1 -1
- package/workflows/powers/sub-agents/scripts/run_subagent.py.bak +0 -512
- /package/{workflows → mcp}/powers/atlassian-mcp/steering/authentication-patterns.md +0 -0
- /package/{workflows → mcp}/powers/atlassian-mcp/steering/common-workflows.md +0 -0
- /package/{workflows → mcp}/powers/atlassian-mcp/steering/confluence-operations.md +0 -0
- /package/{workflows → mcp}/powers/atlassian-mcp/steering/jira-queries.md +0 -0
- /package/{workflows → mcp}/powers/atlassian-mcp/steering/mcp-server-setup.md +0 -0
- /package/{workflows → mcp}/powers/building-mcp-server-on-cloudflare/steering/examples.md +0 -0
- /package/{workflows → mcp}/powers/building-mcp-server-on-cloudflare/steering/oauth-setup.md +0 -0
- /package/{workflows → mcp}/powers/building-mcp-server-on-cloudflare/steering/troubleshooting.md +0 -0
- /package/{workflows → mcp}/powers/mcp-builder/LICENSE.txt +0 -0
- /package/{workflows → mcp}/powers/mcp-builder/reference/evaluation.md +0 -0
- /package/{workflows → mcp}/powers/mcp-builder/reference/mcp_best_practices.md +0 -0
- /package/{workflows → mcp}/powers/mcp-builder/reference/node_mcp_server.md +0 -0
- /package/{workflows → mcp}/powers/mcp-builder/reference/python_mcp_server.md +0 -0
- /package/{workflows → mcp}/powers/mcp-builder/scripts/connections.py +0 -0
- /package/{workflows → mcp}/powers/mcp-builder/scripts/evaluation.py +0 -0
- /package/{workflows → mcp}/powers/mcp-builder/scripts/example_evaluation.xml +0 -0
- /package/{workflows → mcp}/powers/mcp-builder/scripts/requirements.txt +0 -0
- /package/{workflows → mcp}/powers/mcp-developer/steering/protocol.md +0 -0
- /package/{workflows → mcp}/powers/mcp-developer/steering/python-sdk.md +0 -0
- /package/{workflows → mcp}/powers/mcp-developer/steering/resources.md +0 -0
- /package/{workflows → mcp}/powers/mcp-developer/steering/tools.md +0 -0
- /package/{workflows → mcp}/powers/mcp-developer/steering/typescript-sdk.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-expert/POWER.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-expert/SKILL.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-expert/steering/bloc-state.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-expert/steering/engineering-principles.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-expert/steering/gorouter-navigation.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-expert/steering/performance.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-expert/steering/project-structure.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-expert/steering/riverpod-state.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-expert/steering/widget-patterns.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-security-reviewer/POWER.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-security-reviewer/SKILL.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-security-reviewer/steering/log_redaction.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-security-reviewer/steering/network_hardening.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-security-reviewer/steering/secret-scanning.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-security-reviewer/steering/secure_storage_policy.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-security-reviewer/steering/vulnerability-patterns.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-security-reviewer/templates/security_review_response.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-test-master/POWER.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-test-master/SKILL.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-test-master/steering/golden-testing.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-test-master/steering/integration-testing.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-test-master/steering/property-testing.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-test-master/steering/riverpod-testing.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-test-master/steering/test-utilities.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-test-master/steering/unit-testing.md +0 -0
- /package/{workflows → mcp}/powers/postman/flutter-test-master/steering/widget-testing.md +0 -0
- /package/{workflows → mcp}/powers/postman/git-commit/POWER.md +0 -0
- /package/{workflows → mcp}/powers/postman/git-commit/SKILL.md +0 -0
- /package/{workflows → mcp}/powers/postman/gorouter-restoration/POWER.md +0 -0
- /package/{workflows → mcp}/powers/postman/gorouter-restoration/SKILL.md +0 -0
- /package/{workflows → mcp}/powers/postman/gorouter-restoration/steering/guard_patterns.md +0 -0
- /package/{workflows → mcp}/powers/postman/gorouter-restoration/steering/tab_preservation.md +0 -0
- /package/{workflows → mcp}/powers/postman/gorouter-restoration/templates/guard_redirect.md +0 -0
- /package/{workflows → mcp}/powers/postman/gorouter-restoration/templates/stateful_shell_skeleton.md +0 -0
- /package/{workflows → mcp}/powers/postman/mcp.json +0 -0
- /package/{workflows → mcp}/powers/postman/microservices-architect/POWER.md +0 -0
- /package/{workflows → mcp}/powers/postman/microservices-architect/SKILL.md +0 -0
- /package/{workflows → mcp}/powers/postman/microservices-architect/steering/communication.md +0 -0
- /package/{workflows → mcp}/powers/postman/microservices-architect/steering/data.md +0 -0
- /package/{workflows → mcp}/powers/postman/microservices-architect/steering/decomposition.md +0 -0
- /package/{workflows → mcp}/powers/postman/microservices-architect/steering/observability.md +0 -0
- /package/{workflows → mcp}/powers/postman/microservices-architect/steering/patterns.md +0 -0
- /package/{workflows → mcp}/powers/postman/nestjs-expert/POWER.md +0 -0
- /package/{workflows → mcp}/powers/postman/nestjs-expert/SKILL.md +0 -0
- /package/{workflows → mcp}/powers/postman/nestjs-expert/steering/authentication.md +0 -0
- /package/{workflows → mcp}/powers/postman/nestjs-expert/steering/controllers-routing.md +0 -0
- /package/{workflows → mcp}/powers/postman/nestjs-expert/steering/dtos-validation.md +0 -0
- /package/{workflows → mcp}/powers/postman/nestjs-expert/steering/migration-from-express.md +0 -0
- /package/{workflows → mcp}/powers/postman/nestjs-expert/steering/secure-sessions.md +0 -0
- /package/{workflows → mcp}/powers/postman/nestjs-expert/steering/services-di.md +0 -0
- /package/{workflows → mcp}/powers/postman/nestjs-expert/steering/strangler-fig-pattern.md +0 -0
- /package/{workflows → mcp}/powers/postman/nestjs-expert/steering/testing-patterns.md +0 -0
- /package/{workflows → mcp}/powers/postman/oneup-design/POWER.md +0 -0
- /package/{workflows → mcp}/powers/postman/oneup-design/SKILL.md +0 -0
- /package/{workflows → mcp}/powers/postman/oneup-design/steering/colors.md +0 -0
- /package/{workflows → mcp}/powers/postman/oneup-design/steering/components.md +0 -0
- /package/{workflows → mcp}/powers/postman/oneup-design/steering/spacing.md +0 -0
- /package/{workflows → mcp}/powers/postman/openapi-docs/POWER.md +0 -0
- /package/{workflows → mcp}/powers/postman/openapi-docs/SKILL.md +0 -0
- /package/{workflows → mcp}/powers/postman/openapi-docs/steering/crud-templates.md +0 -0
- /package/{workflows → mcp}/powers/postman/openapi-docs/steering/framework-express.md +0 -0
- /package/{workflows → mcp}/powers/postman/openapi-docs/steering/framework-fastapi.md +0 -0
- /package/{workflows → mcp}/powers/postman/openapi-docs/steering/framework-nestjs.md +0 -0
- /package/{workflows → mcp}/powers/postman/openapi-docs/steering/framework-raw-openapi.md +0 -0
- /package/{workflows → mcp}/powers/postman/openapi-docs/steering/openapi-checklist.md +0 -0
- /package/{workflows → mcp}/powers/postman/openapi-docs/steering/stoplight-ui.md +0 -0
- /package/{workflows → mcp}/powers/postman/steering/steering.md +0 -0
- /package/{workflows → mcp}/skills/atlassian-mcp/references/authentication-patterns.md +0 -0
- /package/{workflows → mcp}/skills/atlassian-mcp/references/common-workflows.md +0 -0
- /package/{workflows → mcp}/skills/atlassian-mcp/references/confluence-operations.md +0 -0
- /package/{workflows → mcp}/skills/atlassian-mcp/references/jira-queries.md +0 -0
- /package/{workflows → mcp}/skills/atlassian-mcp/references/mcp-server-setup.md +0 -0
- /package/{workflows → mcp}/skills/building-mcp-server-on-cloudflare/references/examples.md +0 -0
- /package/{workflows → mcp}/skills/building-mcp-server-on-cloudflare/references/oauth-setup.md +0 -0
- /package/{workflows → mcp}/skills/building-mcp-server-on-cloudflare/references/tool-patterns.md +0 -0
- /package/{workflows → mcp}/skills/building-mcp-server-on-cloudflare/references/troubleshooting.md +0 -0
- /package/{workflows → mcp}/skills/mcp-builder/LICENSE.txt +0 -0
- /package/{workflows → mcp}/skills/mcp-builder/reference/evaluation.md +0 -0
- /package/{workflows → mcp}/skills/mcp-builder/reference/mcp_best_practices.md +0 -0
- /package/{workflows → mcp}/skills/mcp-builder/reference/node_mcp_server.md +0 -0
- /package/{workflows → mcp}/skills/mcp-builder/reference/python_mcp_server.md +0 -0
- /package/{workflows → mcp}/skills/mcp-builder/scripts/connections.py +0 -0
- /package/{workflows → mcp}/skills/mcp-builder/scripts/evaluation.py +0 -0
- /package/{workflows → mcp}/skills/mcp-builder/scripts/example_evaluation.xml +0 -0
- /package/{workflows → mcp}/skills/mcp-builder/scripts/requirements.txt +0 -0
- /package/{workflows → mcp}/skills/mcp-developer/references/protocol.md +0 -0
- /package/{workflows → mcp}/skills/mcp-developer/references/python-sdk.md +0 -0
- /package/{workflows → mcp}/skills/mcp-developer/references/resources.md +0 -0
- /package/{workflows → mcp}/skills/mcp-developer/references/tools.md +0 -0
- /package/{workflows → mcp}/skills/mcp-developer/references/typescript-sdk.md +0 -0
- /package/{workflows → mcp}/skills/postman/POWER.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-expert/POWER.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-expert/SKILL.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-expert/references/bloc-state.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-expert/references/engineering-principles.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-expert/references/gorouter-navigation.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-expert/references/performance.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-expert/references/project-structure.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-expert/references/riverpod-state.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-expert/references/widget-patterns.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-security-reviewer/POWER.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-security-reviewer/SKILL.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-security-reviewer/references/log_redaction.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-security-reviewer/references/network_hardening.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-security-reviewer/references/secret-scanning.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-security-reviewer/references/secure_storage_policy.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-security-reviewer/references/vulnerability-patterns.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-security-reviewer/templates/security_review_response.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-test-master/POWER.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-test-master/SKILL.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-test-master/references/golden-testing.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-test-master/references/integration-testing.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-test-master/references/property-testing.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-test-master/references/riverpod-testing.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-test-master/references/test-utilities.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-test-master/references/unit-testing.md +0 -0
- /package/{workflows → mcp}/skills/postman/flutter-test-master/references/widget-testing.md +0 -0
- /package/{workflows → mcp}/skills/postman/git-commit/POWER.md +0 -0
- /package/{workflows → mcp}/skills/postman/git-commit/SKILL.md +0 -0
- /package/{workflows → mcp}/skills/postman/gorouter-restoration/POWER.md +0 -0
- /package/{workflows → mcp}/skills/postman/gorouter-restoration/SKILL.md +0 -0
- /package/{workflows → mcp}/skills/postman/gorouter-restoration/references/guard_patterns.md +0 -0
- /package/{workflows → mcp}/skills/postman/gorouter-restoration/references/tab_preservation.md +0 -0
- /package/{workflows → mcp}/skills/postman/gorouter-restoration/templates/guard_redirect.md +0 -0
- /package/{workflows → mcp}/skills/postman/gorouter-restoration/templates/stateful_shell_skeleton.md +0 -0
- /package/{workflows → mcp}/skills/postman/mcp.json +0 -0
- /package/{workflows → mcp}/skills/postman/microservices-architect/POWER.md +0 -0
- /package/{workflows → mcp}/skills/postman/microservices-architect/SKILL.md +0 -0
- /package/{workflows → mcp}/skills/postman/microservices-architect/references/communication.md +0 -0
- /package/{workflows → mcp}/skills/postman/microservices-architect/references/data.md +0 -0
- /package/{workflows → mcp}/skills/postman/microservices-architect/references/decomposition.md +0 -0
- /package/{workflows → mcp}/skills/postman/microservices-architect/references/observability.md +0 -0
- /package/{workflows → mcp}/skills/postman/microservices-architect/references/patterns.md +0 -0
- /package/{workflows → mcp}/skills/postman/nestjs-expert/POWER.md +0 -0
- /package/{workflows → mcp}/skills/postman/nestjs-expert/SKILL.md +0 -0
- /package/{workflows → mcp}/skills/postman/nestjs-expert/references/authentication.md +0 -0
- /package/{workflows → mcp}/skills/postman/nestjs-expert/references/controllers-routing.md +0 -0
- /package/{workflows → mcp}/skills/postman/nestjs-expert/references/dtos-validation.md +0 -0
- /package/{workflows → mcp}/skills/postman/nestjs-expert/references/migration-from-express.md +0 -0
- /package/{workflows → mcp}/skills/postman/nestjs-expert/references/secure-sessions.md +0 -0
- /package/{workflows → mcp}/skills/postman/nestjs-expert/references/services-di.md +0 -0
- /package/{workflows → mcp}/skills/postman/nestjs-expert/references/strangler-fig-pattern.md +0 -0
- /package/{workflows → mcp}/skills/postman/nestjs-expert/references/testing-patterns.md +0 -0
- /package/{workflows → mcp}/skills/postman/oneup-design/POWER.md +0 -0
- /package/{workflows → mcp}/skills/postman/oneup-design/SKILL.md +0 -0
- /package/{workflows → mcp}/skills/postman/oneup-design/references/colors.md +0 -0
- /package/{workflows → mcp}/skills/postman/oneup-design/references/components.md +0 -0
- /package/{workflows → mcp}/skills/postman/oneup-design/references/spacing.md +0 -0
- /package/{workflows → mcp}/skills/postman/openapi-docs/POWER.md +0 -0
- /package/{workflows → mcp}/skills/postman/openapi-docs/SKILL.md +0 -0
- /package/{workflows → mcp}/skills/postman/openapi-docs/references/crud-templates.md +0 -0
- /package/{workflows → mcp}/skills/postman/openapi-docs/references/framework-express.md +0 -0
- /package/{workflows → mcp}/skills/postman/openapi-docs/references/framework-fastapi.md +0 -0
- /package/{workflows → mcp}/skills/postman/openapi-docs/references/framework-nestjs.md +0 -0
- /package/{workflows → mcp}/skills/postman/openapi-docs/references/framework-raw-openapi.md +0 -0
- /package/{workflows → mcp}/skills/postman/openapi-docs/references/openapi-checklist.md +0 -0
- /package/{workflows → mcp}/skills/postman/openapi-docs/references/stoplight-ui.md +0 -0
- /package/{workflows → mcp}/skills/postman/references/steering.md +0 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
````markdown
|
|
2
|
+
---
|
|
3
|
+
inclusion: manual
|
|
4
|
+
name: "drift-flutter"
|
|
5
|
+
description: "Use when implementing Flutter local persistence with Drift: schema design, DAOs, migrations, transactions, and repository integration"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Drift Flutter
|
|
9
|
+
|
|
10
|
+
## When to Use
|
|
11
|
+
|
|
12
|
+
- Adding or refactoring local data persistence in Flutter
|
|
13
|
+
- Migrating from Isar/SQLite wrappers to Drift
|
|
14
|
+
- Creating typed SQL queries, DAOs, and migrations
|
|
15
|
+
- Designing offline-first repository read/write behavior
|
|
16
|
+
|
|
17
|
+
## Core Workflow
|
|
18
|
+
|
|
19
|
+
1. Define schema (tables, indexes, constraints)
|
|
20
|
+
2. Add/adjust DAOs for read/write/query use-cases
|
|
21
|
+
3. Implement migrations with backward-compatible strategy
|
|
22
|
+
4. Wire repositories to DAOs (UI must not call DAOs directly)
|
|
23
|
+
5. Validate with migration and DAO tests
|
|
24
|
+
|
|
25
|
+
## Design Rules
|
|
26
|
+
|
|
27
|
+
- Keep Drift in data layer only.
|
|
28
|
+
- Keep one app database entrypoint and expose DAOs.
|
|
29
|
+
- Use transactions for multi-table consistency.
|
|
30
|
+
- Add indexes for frequent filters/joins.
|
|
31
|
+
- Prefer soft-delete/status flags when history matters.
|
|
32
|
+
- Keep session/auth flags out of Drift if simple key-value is enough.
|
|
33
|
+
|
|
34
|
+
## Migration Rules
|
|
35
|
+
|
|
36
|
+
- Every schema version bump requires explicit migration steps.
|
|
37
|
+
- Never drop user data silently.
|
|
38
|
+
- Backfill new required columns safely (defaults or staged migration).
|
|
39
|
+
- Test migration from at least previous production schema.
|
|
40
|
+
|
|
41
|
+
## Repository Integration
|
|
42
|
+
|
|
43
|
+
- Read flow: local-first, optional remote refresh, then persist.
|
|
44
|
+
- Write flow: persist local state deterministically and reconcile sync policy.
|
|
45
|
+
- Keep mapper logic in repository/data mapping classes.
|
|
46
|
+
|
|
47
|
+
## Load References When Needed
|
|
48
|
+
|
|
49
|
+
- `references/migrations.md` for migration strategy and checklist
|
|
50
|
+
- `references/queries-and-daos.md` for DAO/query patterns
|
|
51
|
+
````
|
|
@@ -44,5 +44,5 @@ description: "Use when implementing Flutter local persistence with Drift: schema
|
|
|
44
44
|
|
|
45
45
|
## Load References When Needed
|
|
46
46
|
|
|
47
|
-
- `
|
|
48
|
-
- `
|
|
47
|
+
- `references/migrations.md` for migration strategy and checklist
|
|
48
|
+
- `references/queries-and-daos.md` for DAO/query patterns
|
|
@@ -1,230 +1,21 @@
|
|
|
1
1
|
````markdown
|
|
2
2
|
---
|
|
3
3
|
inclusion: manual
|
|
4
|
-
name: github-automation
|
|
5
|
-
description:
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
name: "github-automation"
|
|
5
|
+
description: "Compatibility wrapper skill. Canonical MCP skill moved to mcp/skills/github-automation."
|
|
6
|
+
metadata:
|
|
7
|
+
deprecated: true
|
|
8
|
+
replaced_by: "github-automation"
|
|
9
|
+
moved_to: "mcp/skills/github-automation/SKILL.md"
|
|
10
|
+
removal_target: "v0.6.0"
|
|
8
11
|
---
|
|
9
12
|
|
|
10
|
-
#
|
|
13
|
+
# github-automation (Compatibility Wrapper)
|
|
11
14
|
|
|
12
|
-
|
|
15
|
+
This legacy workflow-path skill is kept for backward compatibility.
|
|
13
16
|
|
|
14
|
-
|
|
17
|
+
Canonical MCP skill path:
|
|
18
|
+
- mcp/skills/github-automation/SKILL.md
|
|
15
19
|
|
|
16
|
-
|
|
17
|
-
- Active GitHub connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `github`
|
|
18
|
-
- Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas
|
|
19
|
-
|
|
20
|
-
## Setup
|
|
21
|
-
|
|
22
|
-
**Get Rube MCP**: Add `https://rube.app/mcp` as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
1. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds
|
|
26
|
-
2. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `github`
|
|
27
|
-
3. If connection is not ACTIVE, follow the returned auth link to complete GitHub OAuth
|
|
28
|
-
4. Confirm connection status shows ACTIVE before running any workflows
|
|
29
|
-
|
|
30
|
-
## Core Workflows
|
|
31
|
-
|
|
32
|
-
### 1. Create and Manage Issues
|
|
33
|
-
|
|
34
|
-
**When to use**: User wants to create, list, or manage GitHub issues
|
|
35
|
-
|
|
36
|
-
**Tool sequence**:
|
|
37
|
-
1. `GITHUB_LIST_REPOSITORIES_FOR_THE_AUTHENTICATED_USER` - Find target repo if unknown [Prerequisite]
|
|
38
|
-
2. `GITHUB_LIST_REPOSITORY_ISSUES` - List existing issues (includes PRs) [Required]
|
|
39
|
-
3. `GITHUB_CREATE_AN_ISSUE` - Create a new issue [Required]
|
|
40
|
-
4. `GITHUB_CREATE_AN_ISSUE_COMMENT` - Add comments to an issue [Optional]
|
|
41
|
-
5. `GITHUB_SEARCH_ISSUES_AND_PULL_REQUESTS` - Search across repos by keyword [Optional]
|
|
42
|
-
|
|
43
|
-
**Key parameters**:
|
|
44
|
-
- `owner`: Repository owner (username or org), case-insensitive
|
|
45
|
-
- `repo`: Repository name without .git extension
|
|
46
|
-
- `title`: Issue title (required for creation)
|
|
47
|
-
- `body`: Issue description (supports Markdown)
|
|
48
|
-
- `labels`: Array of label names
|
|
49
|
-
- `assignees`: Array of GitHub usernames
|
|
50
|
-
- `state`: 'open', 'closed', or 'all' for filtering
|
|
51
|
-
|
|
52
|
-
**Pitfalls**:
|
|
53
|
-
- `GITHUB_LIST_REPOSITORY_ISSUES` returns both issues AND pull requests; check `pull_request` field to distinguish
|
|
54
|
-
- Only users with push access can set assignees, labels, and milestones; they are silently dropped otherwise
|
|
55
|
-
- Pagination: `per_page` max 100; iterate pages until empty
|
|
56
|
-
|
|
57
|
-
### 2. Manage Pull Requests
|
|
58
|
-
|
|
59
|
-
**When to use**: User wants to create, review, or merge pull requests
|
|
60
|
-
|
|
61
|
-
**Tool sequence**:
|
|
62
|
-
1. `GITHUB_FIND_PULL_REQUESTS` - Search and filter PRs [Required]
|
|
63
|
-
2. `GITHUB_GET_A_PULL_REQUEST` - Get detailed PR info including mergeable status [Required]
|
|
64
|
-
3. `GITHUB_LIST_PULL_REQUESTS_FILES` - Review changed files [Optional]
|
|
65
|
-
4. `GITHUB_CREATE_A_PULL_REQUEST` - Create a new PR [Required]
|
|
66
|
-
5. `GITHUB_CREATE_AN_ISSUE_COMMENT` - Post review comments [Optional]
|
|
67
|
-
6. `GITHUB_LIST_CHECK_RUNS_FOR_A_REF` - Verify CI status before merge [Optional]
|
|
68
|
-
7. `GITHUB_MERGE_A_PULL_REQUEST` - Merge after explicit user approval [Required]
|
|
69
|
-
|
|
70
|
-
**Key parameters**:
|
|
71
|
-
- `head`: Source branch with changes (must exist; for cross-repo: 'username:branch')
|
|
72
|
-
- `base`: Target branch to merge into (e.g., 'main')
|
|
73
|
-
- `title`: PR title (required unless `issue` number provided)
|
|
74
|
-
- `merge_method`: 'merge', 'squash', or 'rebase'
|
|
75
|
-
- `state`: 'open', 'closed', or 'all'
|
|
76
|
-
|
|
77
|
-
**Pitfalls**:
|
|
78
|
-
- `GITHUB_CREATE_A_PULL_REQUEST` fails with 422 if base/head are invalid, identical, or already merged
|
|
79
|
-
- `GITHUB_MERGE_A_PULL_REQUEST` can be rejected if PR is draft, closed, or branch protection applies
|
|
80
|
-
- Always verify mergeable status with `GITHUB_GET_A_PULL_REQUEST` immediately before merging
|
|
81
|
-
- Require explicit user confirmation before calling MERGE
|
|
82
|
-
|
|
83
|
-
### 3. Manage Repositories and Branches
|
|
84
|
-
|
|
85
|
-
**When to use**: User wants to create repos, manage branches, or update repo settings
|
|
86
|
-
|
|
87
|
-
**Tool sequence**:
|
|
88
|
-
1. `GITHUB_LIST_REPOSITORIES_FOR_THE_AUTHENTICATED_USER` - List user's repos [Required]
|
|
89
|
-
2. `GITHUB_GET_A_REPOSITORY` - Get detailed repo info [Optional]
|
|
90
|
-
3. `GITHUB_CREATE_A_REPOSITORY_FOR_THE_AUTHENTICATED_USER` - Create personal repo [Required]
|
|
91
|
-
4. `GITHUB_CREATE_AN_ORGANIZATION_REPOSITORY` - Create org repo [Alternative]
|
|
92
|
-
5. `GITHUB_LIST_BRANCHES` - List branches [Required]
|
|
93
|
-
6. `GITHUB_CREATE_A_REFERENCE` - Create new branch from SHA [Required]
|
|
94
|
-
7. `GITHUB_UPDATE_A_REPOSITORY` - Update repo settings [Optional]
|
|
95
|
-
|
|
96
|
-
**Key parameters**:
|
|
97
|
-
- `name`: Repository name
|
|
98
|
-
- `private`: Boolean for visibility
|
|
99
|
-
- `ref`: Full reference path (e.g., 'refs/heads/new-branch')
|
|
100
|
-
- `sha`: Commit SHA to point the new reference to
|
|
101
|
-
- `default_branch`: Default branch name
|
|
102
|
-
|
|
103
|
-
**Pitfalls**:
|
|
104
|
-
- `GITHUB_CREATE_A_REFERENCE` only creates NEW references; use `GITHUB_UPDATE_A_REFERENCE` for existing ones
|
|
105
|
-
- `ref` must start with 'refs/' and contain at least two slashes
|
|
106
|
-
- `GITHUB_LIST_BRANCHES` paginates via `page`/`per_page`; iterate until empty page
|
|
107
|
-
- `GITHUB_DELETE_A_REPOSITORY` is permanent and irreversible; requires admin privileges
|
|
108
|
-
|
|
109
|
-
### 4. Search Code and Commits
|
|
110
|
-
|
|
111
|
-
**When to use**: User wants to find code, files, or commits across repositories
|
|
112
|
-
|
|
113
|
-
**Tool sequence**:
|
|
114
|
-
1. `GITHUB_SEARCH_CODE` - Search file contents and paths [Required]
|
|
115
|
-
2. `GITHUB_SEARCH_CODE_ALL_PAGES` - Multi-page code search [Alternative]
|
|
116
|
-
3. `GITHUB_SEARCH_COMMITS_BY_AUTHOR` - Search commits by author/date/org [Required]
|
|
117
|
-
4. `GITHUB_LIST_COMMITS` - List commits for a specific repo [Alternative]
|
|
118
|
-
5. `GITHUB_GET_A_COMMIT` - Get detailed commit info [Optional]
|
|
119
|
-
6. `GITHUB_GET_REPOSITORY_CONTENT` - Get file content [Optional]
|
|
120
|
-
|
|
121
|
-
**Key parameters**:
|
|
122
|
-
- `q`: Search query with qualifiers (`language:python`, `repo:owner/repo`, `extension:js`)
|
|
123
|
-
- `owner`/`repo`: For repo-specific commit listing
|
|
124
|
-
- `author`: Filter by commit author
|
|
125
|
-
- `since`/`until`: ISO 8601 date range for commits
|
|
126
|
-
|
|
127
|
-
**Pitfalls**:
|
|
128
|
-
- Code search only indexes files under 384KB on default branch
|
|
129
|
-
- Maximum 1000 results returned from code search
|
|
130
|
-
- `GITHUB_SEARCH_COMMITS_BY_AUTHOR` requires keywords in addition to qualifiers; qualifier-only queries are not allowed
|
|
131
|
-
- `GITHUB_LIST_COMMITS` returns 409 on empty repos
|
|
132
|
-
|
|
133
|
-
### 5. Manage CI/CD and Deployments
|
|
134
|
-
|
|
135
|
-
**When to use**: User wants to view workflows, check CI status, or manage deployments
|
|
136
|
-
|
|
137
|
-
**Tool sequence**:
|
|
138
|
-
1. `GITHUB_LIST_REPOSITORY_WORKFLOWS` - List GitHub Actions workflows [Required]
|
|
139
|
-
2. `GITHUB_GET_A_WORKFLOW` - Get workflow details by ID or filename [Optional]
|
|
140
|
-
3. `GITHUB_CREATE_A_WORKFLOW_DISPATCH_EVENT` - Manually trigger a workflow [Required]
|
|
141
|
-
4. `GITHUB_LIST_CHECK_RUNS_FOR_A_REF` - Check CI status for a commit/branch [Required]
|
|
142
|
-
5. `GITHUB_LIST_DEPLOYMENTS` - List deployments [Optional]
|
|
143
|
-
6. `GITHUB_GET_A_DEPLOYMENT_STATUS` - Get deployment status [Optional]
|
|
144
|
-
|
|
145
|
-
**Key parameters**:
|
|
146
|
-
- `workflow_id`: Numeric ID or filename (e.g., 'ci.yml')
|
|
147
|
-
- `ref`: Git reference (branch/tag) for workflow dispatch
|
|
148
|
-
- `inputs`: JSON string of workflow inputs matching `on.workflow_dispatch.inputs`
|
|
149
|
-
- `environment`: Filter deployments by environment name
|
|
150
|
-
|
|
151
|
-
**Pitfalls**:
|
|
152
|
-
- `GITHUB_CREATE_A_WORKFLOW_DISPATCH_EVENT` requires the workflow to have `workflow_dispatch` trigger configured
|
|
153
|
-
- Full path `.github/workflows/main.yml` is auto-stripped to just `main.yml`
|
|
154
|
-
- Inputs max 10 key-value pairs; must match workflow's `on.workflow_dispatch.inputs` definitions
|
|
155
|
-
|
|
156
|
-
### 6. Manage Users and Permissions
|
|
157
|
-
|
|
158
|
-
**When to use**: User wants to check collaborators, permissions, or branch protection
|
|
159
|
-
|
|
160
|
-
**Tool sequence**:
|
|
161
|
-
1. `GITHUB_LIST_REPOSITORY_COLLABORATORS` - List repo collaborators [Required]
|
|
162
|
-
2. `GITHUB_GET_REPOSITORY_PERMISSIONS_FOR_A_USER` - Check specific user's access [Optional]
|
|
163
|
-
3. `GITHUB_GET_BRANCH_PROTECTION` - Inspect branch protection rules [Required]
|
|
164
|
-
4. `GITHUB_UPDATE_BRANCH_PROTECTION` - Update protection settings [Optional]
|
|
165
|
-
5. `GITHUB_ADD_A_REPOSITORY_COLLABORATOR` - Add/update collaborator [Optional]
|
|
166
|
-
|
|
167
|
-
**Key parameters**:
|
|
168
|
-
- `affiliation`: 'outside', 'direct', or 'all' for collaborator filtering
|
|
169
|
-
- `permission`: Filter by 'pull', 'triage', 'push', 'maintain', 'admin'
|
|
170
|
-
- `branch`: Branch name for protection rules
|
|
171
|
-
- `enforce_admins`: Whether protection applies to admins
|
|
172
|
-
|
|
173
|
-
**Pitfalls**:
|
|
174
|
-
- `GITHUB_GET_BRANCH_PROTECTION` returns 404 for unprotected branches; treat as no protection rules
|
|
175
|
-
- Determine push ability from `permissions.push` or `role_name`, not display labels
|
|
176
|
-
- `GITHUB_LIST_REPOSITORY_COLLABORATORS` paginates; iterate all pages
|
|
177
|
-
- `GITHUB_GET_REPOSITORY_PERMISSIONS_FOR_A_USER` may be inconclusive for non-collaborators
|
|
178
|
-
|
|
179
|
-
## Common Patterns
|
|
180
|
-
|
|
181
|
-
### ID Resolution
|
|
182
|
-
- **Repo name -> owner/repo**: `GITHUB_LIST_REPOSITORIES_FOR_THE_AUTHENTICATED_USER`
|
|
183
|
-
- **PR number -> PR details**: `GITHUB_FIND_PULL_REQUESTS` then `GITHUB_GET_A_PULL_REQUEST`
|
|
184
|
-
- **Branch name -> SHA**: `GITHUB_GET_A_BRANCH`
|
|
185
|
-
- **Workflow name -> ID**: `GITHUB_LIST_REPOSITORY_WORKFLOWS`
|
|
186
|
-
|
|
187
|
-
### Pagination
|
|
188
|
-
All list endpoints use page-based pagination:
|
|
189
|
-
- `page`: Page number (starts at 1)
|
|
190
|
-
- `per_page`: Results per page (max 100)
|
|
191
|
-
- Iterate until response returns fewer results than `per_page`
|
|
192
|
-
|
|
193
|
-
### Safety
|
|
194
|
-
- Always verify PR mergeable status before merge
|
|
195
|
-
- Require explicit user confirmation for destructive operations (merge, delete)
|
|
196
|
-
- Check CI status with `GITHUB_LIST_CHECK_RUNS_FOR_A_REF` before merging
|
|
197
|
-
|
|
198
|
-
## Known Pitfalls
|
|
199
|
-
|
|
200
|
-
- **Issues vs PRs**: `GITHUB_LIST_REPOSITORY_ISSUES` returns both; check `pull_request` field
|
|
201
|
-
- **Pagination limits**: `per_page` max 100; always iterate pages until empty
|
|
202
|
-
- **Branch creation**: `GITHUB_CREATE_A_REFERENCE` fails with 422 if reference already exists
|
|
203
|
-
- **Merge guards**: Merge can fail due to branch protection, failing checks, or draft status
|
|
204
|
-
- **Code search limits**: Only files <384KB on default branch; max 1000 results
|
|
205
|
-
- **Commit search**: Requires search text keywords alongside qualifiers
|
|
206
|
-
- **Destructive actions**: Repo deletion is irreversible; merge cannot be undone
|
|
207
|
-
- **Silent permission drops**: Labels, assignees, milestones silently dropped without push access
|
|
208
|
-
|
|
209
|
-
## Quick Reference
|
|
210
|
-
|
|
211
|
-
| Task | Tool Slug | Key Params |
|
|
212
|
-
|------|-----------|------------|
|
|
213
|
-
| List repos | `GITHUB_LIST_REPOSITORIES_FOR_THE_AUTHENTICATED_USER` | `type`, `sort`, `per_page` |
|
|
214
|
-
| Get repo | `GITHUB_GET_A_REPOSITORY` | `owner`, `repo` |
|
|
215
|
-
| Create issue | `GITHUB_CREATE_AN_ISSUE` | `owner`, `repo`, `title`, `body` |
|
|
216
|
-
| List issues | `GITHUB_LIST_REPOSITORY_ISSUES` | `owner`, `repo`, `state` |
|
|
217
|
-
| Find PRs | `GITHUB_FIND_PULL_REQUESTS` | `repo`, `state`, `author` |
|
|
218
|
-
| Create PR | `GITHUB_CREATE_A_PULL_REQUEST` | `owner`, `repo`, `head`, `base`, `title` |
|
|
219
|
-
| Merge PR | `GITHUB_MERGE_A_PULL_REQUEST` | `owner`, `repo`, `pull_number`, `merge_method` |
|
|
220
|
-
| List branches | `GITHUB_LIST_BRANCHES` | `owner`, `repo` |
|
|
221
|
-
| Create branch | `GITHUB_CREATE_A_REFERENCE` | `owner`, `repo`, `ref`, `sha` |
|
|
222
|
-
| Search code | `GITHUB_SEARCH_CODE` | `q` |
|
|
223
|
-
| List commits | `GITHUB_LIST_COMMITS` | `owner`, `repo`, `author`, `since` |
|
|
224
|
-
| Search commits | `GITHUB_SEARCH_COMMITS_BY_AUTHOR` | `q` |
|
|
225
|
-
| List workflows | `GITHUB_LIST_REPOSITORY_WORKFLOWS` | `owner`, `repo` |
|
|
226
|
-
| Trigger workflow | `GITHUB_CREATE_A_WORKFLOW_DISPATCH_EVENT` | `owner`, `repo`, `workflow_id`, `ref` |
|
|
227
|
-
| Check CI | `GITHUB_LIST_CHECK_RUNS_FOR_A_REF` | `owner`, `repo`, ref |
|
|
228
|
-
| List collaborators | `GITHUB_LIST_REPOSITORY_COLLABORATORS` | `owner`, `repo` |
|
|
229
|
-
| Branch protection | `GITHUB_GET_BRANCH_PROTECTION` | `owner`, `repo`, `branch` |
|
|
20
|
+
Install MCP skills with: cbx workflows install --include-mcp
|
|
230
21
|
````
|
|
@@ -1,227 +1,18 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: github-automation
|
|
3
|
-
description:
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
name: "github-automation"
|
|
3
|
+
description: "Compatibility wrapper skill. Canonical MCP skill moved to mcp/skills/github-automation."
|
|
4
|
+
metadata:
|
|
5
|
+
deprecated: true
|
|
6
|
+
replaced_by: "github-automation"
|
|
7
|
+
moved_to: "mcp/skills/github-automation/SKILL.md"
|
|
8
|
+
removal_target: "v0.6.0"
|
|
6
9
|
---
|
|
7
10
|
|
|
8
|
-
#
|
|
11
|
+
# github-automation (Compatibility Wrapper)
|
|
9
12
|
|
|
10
|
-
|
|
13
|
+
This legacy workflow-path skill is kept for backward compatibility.
|
|
11
14
|
|
|
12
|
-
|
|
15
|
+
Canonical MCP skill path:
|
|
16
|
+
- mcp/skills/github-automation/SKILL.md
|
|
13
17
|
|
|
14
|
-
|
|
15
|
-
- Active GitHub connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `github`
|
|
16
|
-
- Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas
|
|
17
|
-
|
|
18
|
-
## Setup
|
|
19
|
-
|
|
20
|
-
**Get Rube MCP**: Add `https://rube.app/mcp` as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
1. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds
|
|
24
|
-
2. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `github`
|
|
25
|
-
3. If connection is not ACTIVE, follow the returned auth link to complete GitHub OAuth
|
|
26
|
-
4. Confirm connection status shows ACTIVE before running any workflows
|
|
27
|
-
|
|
28
|
-
## Core Workflows
|
|
29
|
-
|
|
30
|
-
### 1. Create and Manage Issues
|
|
31
|
-
|
|
32
|
-
**When to use**: User wants to create, list, or manage GitHub issues
|
|
33
|
-
|
|
34
|
-
**Tool sequence**:
|
|
35
|
-
1. `GITHUB_LIST_REPOSITORIES_FOR_THE_AUTHENTICATED_USER` - Find target repo if unknown [Prerequisite]
|
|
36
|
-
2. `GITHUB_LIST_REPOSITORY_ISSUES` - List existing issues (includes PRs) [Required]
|
|
37
|
-
3. `GITHUB_CREATE_AN_ISSUE` - Create a new issue [Required]
|
|
38
|
-
4. `GITHUB_CREATE_AN_ISSUE_COMMENT` - Add comments to an issue [Optional]
|
|
39
|
-
5. `GITHUB_SEARCH_ISSUES_AND_PULL_REQUESTS` - Search across repos by keyword [Optional]
|
|
40
|
-
|
|
41
|
-
**Key parameters**:
|
|
42
|
-
- `owner`: Repository owner (username or org), case-insensitive
|
|
43
|
-
- `repo`: Repository name without .git extension
|
|
44
|
-
- `title`: Issue title (required for creation)
|
|
45
|
-
- `body`: Issue description (supports Markdown)
|
|
46
|
-
- `labels`: Array of label names
|
|
47
|
-
- `assignees`: Array of GitHub usernames
|
|
48
|
-
- `state`: 'open', 'closed', or 'all' for filtering
|
|
49
|
-
|
|
50
|
-
**Pitfalls**:
|
|
51
|
-
- `GITHUB_LIST_REPOSITORY_ISSUES` returns both issues AND pull requests; check `pull_request` field to distinguish
|
|
52
|
-
- Only users with push access can set assignees, labels, and milestones; they are silently dropped otherwise
|
|
53
|
-
- Pagination: `per_page` max 100; iterate pages until empty
|
|
54
|
-
|
|
55
|
-
### 2. Manage Pull Requests
|
|
56
|
-
|
|
57
|
-
**When to use**: User wants to create, review, or merge pull requests
|
|
58
|
-
|
|
59
|
-
**Tool sequence**:
|
|
60
|
-
1. `GITHUB_FIND_PULL_REQUESTS` - Search and filter PRs [Required]
|
|
61
|
-
2. `GITHUB_GET_A_PULL_REQUEST` - Get detailed PR info including mergeable status [Required]
|
|
62
|
-
3. `GITHUB_LIST_PULL_REQUESTS_FILES` - Review changed files [Optional]
|
|
63
|
-
4. `GITHUB_CREATE_A_PULL_REQUEST` - Create a new PR [Required]
|
|
64
|
-
5. `GITHUB_CREATE_AN_ISSUE_COMMENT` - Post review comments [Optional]
|
|
65
|
-
6. `GITHUB_LIST_CHECK_RUNS_FOR_A_REF` - Verify CI status before merge [Optional]
|
|
66
|
-
7. `GITHUB_MERGE_A_PULL_REQUEST` - Merge after explicit user approval [Required]
|
|
67
|
-
|
|
68
|
-
**Key parameters**:
|
|
69
|
-
- `head`: Source branch with changes (must exist; for cross-repo: 'username:branch')
|
|
70
|
-
- `base`: Target branch to merge into (e.g., 'main')
|
|
71
|
-
- `title`: PR title (required unless `issue` number provided)
|
|
72
|
-
- `merge_method`: 'merge', 'squash', or 'rebase'
|
|
73
|
-
- `state`: 'open', 'closed', or 'all'
|
|
74
|
-
|
|
75
|
-
**Pitfalls**:
|
|
76
|
-
- `GITHUB_CREATE_A_PULL_REQUEST` fails with 422 if base/head are invalid, identical, or already merged
|
|
77
|
-
- `GITHUB_MERGE_A_PULL_REQUEST` can be rejected if PR is draft, closed, or branch protection applies
|
|
78
|
-
- Always verify mergeable status with `GITHUB_GET_A_PULL_REQUEST` immediately before merging
|
|
79
|
-
- Require explicit user confirmation before calling MERGE
|
|
80
|
-
|
|
81
|
-
### 3. Manage Repositories and Branches
|
|
82
|
-
|
|
83
|
-
**When to use**: User wants to create repos, manage branches, or update repo settings
|
|
84
|
-
|
|
85
|
-
**Tool sequence**:
|
|
86
|
-
1. `GITHUB_LIST_REPOSITORIES_FOR_THE_AUTHENTICATED_USER` - List user's repos [Required]
|
|
87
|
-
2. `GITHUB_GET_A_REPOSITORY` - Get detailed repo info [Optional]
|
|
88
|
-
3. `GITHUB_CREATE_A_REPOSITORY_FOR_THE_AUTHENTICATED_USER` - Create personal repo [Required]
|
|
89
|
-
4. `GITHUB_CREATE_AN_ORGANIZATION_REPOSITORY` - Create org repo [Alternative]
|
|
90
|
-
5. `GITHUB_LIST_BRANCHES` - List branches [Required]
|
|
91
|
-
6. `GITHUB_CREATE_A_REFERENCE` - Create new branch from SHA [Required]
|
|
92
|
-
7. `GITHUB_UPDATE_A_REPOSITORY` - Update repo settings [Optional]
|
|
93
|
-
|
|
94
|
-
**Key parameters**:
|
|
95
|
-
- `name`: Repository name
|
|
96
|
-
- `private`: Boolean for visibility
|
|
97
|
-
- `ref`: Full reference path (e.g., 'refs/heads/new-branch')
|
|
98
|
-
- `sha`: Commit SHA to point the new reference to
|
|
99
|
-
- `default_branch`: Default branch name
|
|
100
|
-
|
|
101
|
-
**Pitfalls**:
|
|
102
|
-
- `GITHUB_CREATE_A_REFERENCE` only creates NEW references; use `GITHUB_UPDATE_A_REFERENCE` for existing ones
|
|
103
|
-
- `ref` must start with 'refs/' and contain at least two slashes
|
|
104
|
-
- `GITHUB_LIST_BRANCHES` paginates via `page`/`per_page`; iterate until empty page
|
|
105
|
-
- `GITHUB_DELETE_A_REPOSITORY` is permanent and irreversible; requires admin privileges
|
|
106
|
-
|
|
107
|
-
### 4. Search Code and Commits
|
|
108
|
-
|
|
109
|
-
**When to use**: User wants to find code, files, or commits across repositories
|
|
110
|
-
|
|
111
|
-
**Tool sequence**:
|
|
112
|
-
1. `GITHUB_SEARCH_CODE` - Search file contents and paths [Required]
|
|
113
|
-
2. `GITHUB_SEARCH_CODE_ALL_PAGES` - Multi-page code search [Alternative]
|
|
114
|
-
3. `GITHUB_SEARCH_COMMITS_BY_AUTHOR` - Search commits by author/date/org [Required]
|
|
115
|
-
4. `GITHUB_LIST_COMMITS` - List commits for a specific repo [Alternative]
|
|
116
|
-
5. `GITHUB_GET_A_COMMIT` - Get detailed commit info [Optional]
|
|
117
|
-
6. `GITHUB_GET_REPOSITORY_CONTENT` - Get file content [Optional]
|
|
118
|
-
|
|
119
|
-
**Key parameters**:
|
|
120
|
-
- `q`: Search query with qualifiers (`language:python`, `repo:owner/repo`, `extension:js`)
|
|
121
|
-
- `owner`/`repo`: For repo-specific commit listing
|
|
122
|
-
- `author`: Filter by commit author
|
|
123
|
-
- `since`/`until`: ISO 8601 date range for commits
|
|
124
|
-
|
|
125
|
-
**Pitfalls**:
|
|
126
|
-
- Code search only indexes files under 384KB on default branch
|
|
127
|
-
- Maximum 1000 results returned from code search
|
|
128
|
-
- `GITHUB_SEARCH_COMMITS_BY_AUTHOR` requires keywords in addition to qualifiers; qualifier-only queries are not allowed
|
|
129
|
-
- `GITHUB_LIST_COMMITS` returns 409 on empty repos
|
|
130
|
-
|
|
131
|
-
### 5. Manage CI/CD and Deployments
|
|
132
|
-
|
|
133
|
-
**When to use**: User wants to view workflows, check CI status, or manage deployments
|
|
134
|
-
|
|
135
|
-
**Tool sequence**:
|
|
136
|
-
1. `GITHUB_LIST_REPOSITORY_WORKFLOWS` - List GitHub Actions workflows [Required]
|
|
137
|
-
2. `GITHUB_GET_A_WORKFLOW` - Get workflow details by ID or filename [Optional]
|
|
138
|
-
3. `GITHUB_CREATE_A_WORKFLOW_DISPATCH_EVENT` - Manually trigger a workflow [Required]
|
|
139
|
-
4. `GITHUB_LIST_CHECK_RUNS_FOR_A_REF` - Check CI status for a commit/branch [Required]
|
|
140
|
-
5. `GITHUB_LIST_DEPLOYMENTS` - List deployments [Optional]
|
|
141
|
-
6. `GITHUB_GET_A_DEPLOYMENT_STATUS` - Get deployment status [Optional]
|
|
142
|
-
|
|
143
|
-
**Key parameters**:
|
|
144
|
-
- `workflow_id`: Numeric ID or filename (e.g., 'ci.yml')
|
|
145
|
-
- `ref`: Git reference (branch/tag) for workflow dispatch
|
|
146
|
-
- `inputs`: JSON string of workflow inputs matching `on.workflow_dispatch.inputs`
|
|
147
|
-
- `environment`: Filter deployments by environment name
|
|
148
|
-
|
|
149
|
-
**Pitfalls**:
|
|
150
|
-
- `GITHUB_CREATE_A_WORKFLOW_DISPATCH_EVENT` requires the workflow to have `workflow_dispatch` trigger configured
|
|
151
|
-
- Full path `.github/workflows/main.yml` is auto-stripped to just `main.yml`
|
|
152
|
-
- Inputs max 10 key-value pairs; must match workflow's `on.workflow_dispatch.inputs` definitions
|
|
153
|
-
|
|
154
|
-
### 6. Manage Users and Permissions
|
|
155
|
-
|
|
156
|
-
**When to use**: User wants to check collaborators, permissions, or branch protection
|
|
157
|
-
|
|
158
|
-
**Tool sequence**:
|
|
159
|
-
1. `GITHUB_LIST_REPOSITORY_COLLABORATORS` - List repo collaborators [Required]
|
|
160
|
-
2. `GITHUB_GET_REPOSITORY_PERMISSIONS_FOR_A_USER` - Check specific user's access [Optional]
|
|
161
|
-
3. `GITHUB_GET_BRANCH_PROTECTION` - Inspect branch protection rules [Required]
|
|
162
|
-
4. `GITHUB_UPDATE_BRANCH_PROTECTION` - Update protection settings [Optional]
|
|
163
|
-
5. `GITHUB_ADD_A_REPOSITORY_COLLABORATOR` - Add/update collaborator [Optional]
|
|
164
|
-
|
|
165
|
-
**Key parameters**:
|
|
166
|
-
- `affiliation`: 'outside', 'direct', or 'all' for collaborator filtering
|
|
167
|
-
- `permission`: Filter by 'pull', 'triage', 'push', 'maintain', 'admin'
|
|
168
|
-
- `branch`: Branch name for protection rules
|
|
169
|
-
- `enforce_admins`: Whether protection applies to admins
|
|
170
|
-
|
|
171
|
-
**Pitfalls**:
|
|
172
|
-
- `GITHUB_GET_BRANCH_PROTECTION` returns 404 for unprotected branches; treat as no protection rules
|
|
173
|
-
- Determine push ability from `permissions.push` or `role_name`, not display labels
|
|
174
|
-
- `GITHUB_LIST_REPOSITORY_COLLABORATORS` paginates; iterate all pages
|
|
175
|
-
- `GITHUB_GET_REPOSITORY_PERMISSIONS_FOR_A_USER` may be inconclusive for non-collaborators
|
|
176
|
-
|
|
177
|
-
## Common Patterns
|
|
178
|
-
|
|
179
|
-
### ID Resolution
|
|
180
|
-
- **Repo name -> owner/repo**: `GITHUB_LIST_REPOSITORIES_FOR_THE_AUTHENTICATED_USER`
|
|
181
|
-
- **PR number -> PR details**: `GITHUB_FIND_PULL_REQUESTS` then `GITHUB_GET_A_PULL_REQUEST`
|
|
182
|
-
- **Branch name -> SHA**: `GITHUB_GET_A_BRANCH`
|
|
183
|
-
- **Workflow name -> ID**: `GITHUB_LIST_REPOSITORY_WORKFLOWS`
|
|
184
|
-
|
|
185
|
-
### Pagination
|
|
186
|
-
All list endpoints use page-based pagination:
|
|
187
|
-
- `page`: Page number (starts at 1)
|
|
188
|
-
- `per_page`: Results per page (max 100)
|
|
189
|
-
- Iterate until response returns fewer results than `per_page`
|
|
190
|
-
|
|
191
|
-
### Safety
|
|
192
|
-
- Always verify PR mergeable status before merge
|
|
193
|
-
- Require explicit user confirmation for destructive operations (merge, delete)
|
|
194
|
-
- Check CI status with `GITHUB_LIST_CHECK_RUNS_FOR_A_REF` before merging
|
|
195
|
-
|
|
196
|
-
## Known Pitfalls
|
|
197
|
-
|
|
198
|
-
- **Issues vs PRs**: `GITHUB_LIST_REPOSITORY_ISSUES` returns both; check `pull_request` field
|
|
199
|
-
- **Pagination limits**: `per_page` max 100; always iterate pages until empty
|
|
200
|
-
- **Branch creation**: `GITHUB_CREATE_A_REFERENCE` fails with 422 if reference already exists
|
|
201
|
-
- **Merge guards**: Merge can fail due to branch protection, failing checks, or draft status
|
|
202
|
-
- **Code search limits**: Only files <384KB on default branch; max 1000 results
|
|
203
|
-
- **Commit search**: Requires search text keywords alongside qualifiers
|
|
204
|
-
- **Destructive actions**: Repo deletion is irreversible; merge cannot be undone
|
|
205
|
-
- **Silent permission drops**: Labels, assignees, milestones silently dropped without push access
|
|
206
|
-
|
|
207
|
-
## Quick Reference
|
|
208
|
-
|
|
209
|
-
| Task | Tool Slug | Key Params |
|
|
210
|
-
|------|-----------|------------|
|
|
211
|
-
| List repos | `GITHUB_LIST_REPOSITORIES_FOR_THE_AUTHENTICATED_USER` | `type`, `sort`, `per_page` |
|
|
212
|
-
| Get repo | `GITHUB_GET_A_REPOSITORY` | `owner`, `repo` |
|
|
213
|
-
| Create issue | `GITHUB_CREATE_AN_ISSUE` | `owner`, `repo`, `title`, `body` |
|
|
214
|
-
| List issues | `GITHUB_LIST_REPOSITORY_ISSUES` | `owner`, `repo`, `state` |
|
|
215
|
-
| Find PRs | `GITHUB_FIND_PULL_REQUESTS` | `repo`, `state`, `author` |
|
|
216
|
-
| Create PR | `GITHUB_CREATE_A_PULL_REQUEST` | `owner`, `repo`, `head`, `base`, `title` |
|
|
217
|
-
| Merge PR | `GITHUB_MERGE_A_PULL_REQUEST` | `owner`, `repo`, `pull_number`, `merge_method` |
|
|
218
|
-
| List branches | `GITHUB_LIST_BRANCHES` | `owner`, `repo` |
|
|
219
|
-
| Create branch | `GITHUB_CREATE_A_REFERENCE` | `owner`, `repo`, `ref`, `sha` |
|
|
220
|
-
| Search code | `GITHUB_SEARCH_CODE` | `q` |
|
|
221
|
-
| List commits | `GITHUB_LIST_COMMITS` | `owner`, `repo`, `author`, `since` |
|
|
222
|
-
| Search commits | `GITHUB_SEARCH_COMMITS_BY_AUTHOR` | `q` |
|
|
223
|
-
| List workflows | `GITHUB_LIST_REPOSITORY_WORKFLOWS` | `owner`, `repo` |
|
|
224
|
-
| Trigger workflow | `GITHUB_CREATE_A_WORKFLOW_DISPATCH_EVENT` | `owner`, `repo`, `workflow_id`, `ref` |
|
|
225
|
-
| Check CI | `GITHUB_LIST_CHECK_RUNS_FOR_A_REF` | `owner`, `repo`, ref |
|
|
226
|
-
| List collaborators | `GITHUB_LIST_REPOSITORY_COLLABORATORS` | `owner`, `repo` |
|
|
227
|
-
| Branch protection | `GITHUB_GET_BRANCH_PROTECTION` | `owner`, `repo`, `branch` |
|
|
18
|
+
Install MCP skills with: cbx workflows install --include-mcp
|
|
@@ -1,87 +1,59 @@
|
|
|
1
1
|
````markdown
|
|
2
2
|
---
|
|
3
3
|
inclusion: manual
|
|
4
|
-
name: golang-pro
|
|
5
|
-
description: Use
|
|
4
|
+
name: "golang-pro"
|
|
5
|
+
description: "Use for modern Go services and tooling with Go 1.26-era language/runtime patterns, concurrency safety, and production operations."
|
|
6
6
|
license: MIT
|
|
7
7
|
metadata:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
scope: implementation
|
|
14
|
-
output-format: code
|
|
15
|
-
related-skills: devops-engineer, microservices-architect, test-master
|
|
8
|
+
version: "2.0.0"
|
|
9
|
+
domain: "language"
|
|
10
|
+
role: "specialist"
|
|
11
|
+
stack: "go"
|
|
12
|
+
baseline: "Go 1.26"
|
|
16
13
|
---
|
|
17
14
|
|
|
18
15
|
# Golang Pro
|
|
19
16
|
|
|
20
|
-
|
|
17
|
+
## When to use
|
|
21
18
|
|
|
22
|
-
|
|
19
|
+
- Building APIs, workers, CLIs, and microservices in Go.
|
|
20
|
+
- Designing concurrency with goroutines/channels/context.
|
|
21
|
+
- Optimizing latency, allocations, and reliability.
|
|
23
22
|
|
|
24
|
-
|
|
23
|
+
## Core workflow
|
|
25
24
|
|
|
26
|
-
|
|
25
|
+
1. Define package boundaries and interfaces.
|
|
26
|
+
2. Implement with explicit error handling and context propagation.
|
|
27
|
+
3. Add tests and race checks for behavior under load.
|
|
28
|
+
4. Profile before optimization.
|
|
27
29
|
|
|
28
|
-
|
|
29
|
-
- Implementing microservices with gRPC or REST APIs
|
|
30
|
-
- Creating CLI tools and system utilities
|
|
31
|
-
- Optimizing Go code for performance and memory efficiency
|
|
32
|
-
- Designing interfaces and using Go generics
|
|
33
|
-
- Setting up testing with table-driven tests and benchmarks
|
|
30
|
+
## Baseline standards
|
|
34
31
|
|
|
35
|
-
|
|
32
|
+
- Keep APIs context-aware: pass `context.Context` first.
|
|
33
|
+
- Handle every error with actionable wrapping.
|
|
34
|
+
- Use table-driven tests and subtests for logic coverage.
|
|
35
|
+
- Run `go test -race` for concurrency-sensitive paths.
|
|
36
|
+
- Prefer composition over deep inheritance-like abstractions.
|
|
36
37
|
|
|
37
|
-
|
|
38
|
-
2. **Design interfaces** - Create small, focused interfaces with composition
|
|
39
|
-
3. **Implement** - Write idiomatic Go with proper error handling and context propagation
|
|
40
|
-
4. **Optimize** - Profile with pprof, write benchmarks, eliminate allocations
|
|
41
|
-
5. **Test** - Table-driven tests, race detector, fuzzing, 80%+ coverage
|
|
38
|
+
## Implementation guidance
|
|
42
39
|
|
|
43
|
-
|
|
40
|
+
- Use channels for ownership transfer, not shared mutation.
|
|
41
|
+
- Choose sync primitives deliberately (`Mutex`, `RWMutex`, `atomic`).
|
|
42
|
+
- Keep goroutine lifecycles bounded with cancellation.
|
|
43
|
+
- Use generics where they simplify, not where they obscure.
|
|
44
|
+
- Benchmark hot paths (`testing.B`, `pprof`) before tuning.
|
|
44
45
|
|
|
45
|
-
|
|
46
|
+
## Avoid
|
|
46
47
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
| Interfaces | `references/interfaces.md` | Interface design, io.Reader/Writer, composition |
|
|
51
|
-
| Generics | `references/generics.md` | Type parameters, constraints, generic patterns |
|
|
52
|
-
| Testing | `references/testing.md` | Table-driven tests, benchmarks, fuzzing |
|
|
53
|
-
| Project Structure | `references/project-structure.md` | Module layout, internal packages, go.mod |
|
|
48
|
+
- Fire-and-forget goroutines without cancellation path.
|
|
49
|
+
- Panic-based control flow.
|
|
50
|
+
- Over-generalized interfaces without real callers.
|
|
54
51
|
|
|
55
|
-
##
|
|
52
|
+
## Reference files
|
|
56
53
|
|
|
57
|
-
|
|
58
|
-
-
|
|
59
|
-
-
|
|
60
|
-
-
|
|
61
|
-
-
|
|
62
|
-
- Document all exported functions, types, and packages
|
|
63
|
-
- Use `X | Y` union constraints for generics (Go 1.18+)
|
|
64
|
-
- Propagate errors with fmt.Errorf("%w", err)
|
|
65
|
-
- Run race detector on tests (-race flag)
|
|
66
|
-
|
|
67
|
-
### MUST NOT DO
|
|
68
|
-
- Ignore errors (avoid _ assignment without justification)
|
|
69
|
-
- Use panic for normal error handling
|
|
70
|
-
- Create goroutines without clear lifecycle management
|
|
71
|
-
- Skip context cancellation handling
|
|
72
|
-
- Use reflection without performance justification
|
|
73
|
-
- Mix sync and async patterns carelessly
|
|
74
|
-
- Hardcode configuration (use functional options or env vars)
|
|
75
|
-
|
|
76
|
-
## Output Templates
|
|
77
|
-
|
|
78
|
-
When implementing Go features, provide:
|
|
79
|
-
1. Interface definitions (contracts first)
|
|
80
|
-
2. Implementation files with proper package structure
|
|
81
|
-
3. Test file with table-driven tests
|
|
82
|
-
4. Brief explanation of concurrency patterns used
|
|
83
|
-
|
|
84
|
-
## Knowledge Reference
|
|
85
|
-
|
|
86
|
-
Go 1.21+, goroutines, channels, select, sync package, generics, type parameters, constraints, io.Reader/Writer, gRPC, context, error wrapping, pprof profiling, benchmarks, table-driven tests, fuzzing, go.mod, internal packages, functional options
|
|
54
|
+
- `references/concurrency.md`
|
|
55
|
+
- `references/generics.md`
|
|
56
|
+
- `references/interfaces.md`
|
|
57
|
+
- `references/testing.md`
|
|
58
|
+
- `references/project-structure.md`
|
|
87
59
|
````
|