@cubis/foundry 0.3.32 → 0.3.33
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/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
|
@@ -1,178 +1,21 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: testing-patterns
|
|
3
|
-
description:
|
|
4
|
-
|
|
3
|
+
description: "Compatibility alias skill. Deprecated: use test-master."
|
|
4
|
+
metadata:
|
|
5
|
+
deprecated: true
|
|
6
|
+
replaced_by: test-master
|
|
7
|
+
removal_target: v0.6.0
|
|
5
8
|
---
|
|
6
9
|
|
|
7
10
|
# Testing Patterns
|
|
8
11
|
|
|
9
|
-
|
|
12
|
+
## Compatibility Alias
|
|
10
13
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
## 1. Testing Pyramid
|
|
14
|
-
|
|
15
|
-
```
|
|
16
|
-
/\ E2E (Few)
|
|
17
|
-
/ \ Critical flows
|
|
18
|
-
/----\
|
|
19
|
-
/ \ Integration (Some)
|
|
20
|
-
/--------\ API, DB queries
|
|
21
|
-
/ \
|
|
22
|
-
/------------\ Unit (Many)
|
|
23
|
-
Functions, classes
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
---
|
|
27
|
-
|
|
28
|
-
## 2. AAA Pattern
|
|
29
|
-
|
|
30
|
-
| Step | Purpose |
|
|
31
|
-
|------|---------|
|
|
32
|
-
| **Arrange** | Set up test data |
|
|
33
|
-
| **Act** | Execute code under test |
|
|
34
|
-
| **Assert** | Verify outcome |
|
|
35
|
-
|
|
36
|
-
---
|
|
37
|
-
|
|
38
|
-
## 3. Test Type Selection
|
|
39
|
-
|
|
40
|
-
### When to Use Each
|
|
41
|
-
|
|
42
|
-
| Type | Best For | Speed |
|
|
43
|
-
|------|----------|-------|
|
|
44
|
-
| **Unit** | Pure functions, logic | Fast (<50ms) |
|
|
45
|
-
| **Integration** | API, DB, services | Medium |
|
|
46
|
-
| **E2E** | Critical user flows | Slow |
|
|
47
|
-
|
|
48
|
-
---
|
|
49
|
-
|
|
50
|
-
## 4. Unit Test Principles
|
|
51
|
-
|
|
52
|
-
### Good Unit Tests
|
|
53
|
-
|
|
54
|
-
| Principle | Meaning |
|
|
55
|
-
|-----------|---------|
|
|
56
|
-
| Fast | < 100ms each |
|
|
57
|
-
| Isolated | No external deps |
|
|
58
|
-
| Repeatable | Same result always |
|
|
59
|
-
| Self-checking | No manual verification |
|
|
60
|
-
| Timely | Written with code |
|
|
61
|
-
|
|
62
|
-
### What to Unit Test
|
|
63
|
-
|
|
64
|
-
| Test | Don't Test |
|
|
65
|
-
|------|------------|
|
|
66
|
-
| Business logic | Framework code |
|
|
67
|
-
| Edge cases | Third-party libs |
|
|
68
|
-
| Error handling | Simple getters |
|
|
69
|
-
|
|
70
|
-
---
|
|
71
|
-
|
|
72
|
-
## 5. Integration Test Principles
|
|
73
|
-
|
|
74
|
-
### What to Test
|
|
75
|
-
|
|
76
|
-
| Area | Focus |
|
|
77
|
-
|------|-------|
|
|
78
|
-
| API endpoints | Request/response |
|
|
79
|
-
| Database | Queries, transactions |
|
|
80
|
-
| External services | Contracts |
|
|
81
|
-
|
|
82
|
-
### Setup/Teardown
|
|
83
|
-
|
|
84
|
-
| Phase | Action |
|
|
85
|
-
|-------|--------|
|
|
86
|
-
| Before All | Connect resources |
|
|
87
|
-
| Before Each | Reset state |
|
|
88
|
-
| After Each | Clean up |
|
|
89
|
-
| After All | Disconnect |
|
|
90
|
-
|
|
91
|
-
---
|
|
14
|
+
This skill is deprecated and kept for backward compatibility.
|
|
92
15
|
|
|
93
|
-
|
|
16
|
+
Use `test-master` as the canonical skill.
|
|
94
17
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
| Mock | Don't Mock |
|
|
98
|
-
|------|------------|
|
|
99
|
-
| External APIs | The code under test |
|
|
100
|
-
| Database (unit) | Simple dependencies |
|
|
101
|
-
| Time/random | Pure functions |
|
|
102
|
-
| Network | In-memory stores |
|
|
103
|
-
|
|
104
|
-
### Mock Types
|
|
105
|
-
|
|
106
|
-
| Type | Use |
|
|
107
|
-
|------|-----|
|
|
108
|
-
| Stub | Return fixed values |
|
|
109
|
-
| Spy | Track calls |
|
|
110
|
-
| Mock | Set expectations |
|
|
111
|
-
| Fake | Simplified implementation |
|
|
112
|
-
|
|
113
|
-
---
|
|
114
|
-
|
|
115
|
-
## 7. Test Organization
|
|
116
|
-
|
|
117
|
-
### Naming
|
|
118
|
-
|
|
119
|
-
| Pattern | Example |
|
|
120
|
-
|---------|---------|
|
|
121
|
-
| Should behavior | "should return error when..." |
|
|
122
|
-
| When condition | "when user not found..." |
|
|
123
|
-
| Given-when-then | "given X, when Y, then Z" |
|
|
124
|
-
|
|
125
|
-
### Grouping
|
|
126
|
-
|
|
127
|
-
| Level | Use |
|
|
128
|
-
|-------|-----|
|
|
129
|
-
| describe | Group related tests |
|
|
130
|
-
| it/test | Individual case |
|
|
131
|
-
| beforeEach | Common setup |
|
|
132
|
-
|
|
133
|
-
---
|
|
134
|
-
|
|
135
|
-
## 8. Test Data
|
|
136
|
-
|
|
137
|
-
### Strategies
|
|
138
|
-
|
|
139
|
-
| Approach | Use |
|
|
140
|
-
|----------|-----|
|
|
141
|
-
| Factories | Generate test data |
|
|
142
|
-
| Fixtures | Predefined datasets |
|
|
143
|
-
| Builders | Fluent object creation |
|
|
144
|
-
|
|
145
|
-
### Principles
|
|
146
|
-
|
|
147
|
-
- Use realistic data
|
|
148
|
-
- Randomize non-essential values (faker)
|
|
149
|
-
- Share common fixtures
|
|
150
|
-
- Keep data minimal
|
|
151
|
-
|
|
152
|
-
---
|
|
153
|
-
|
|
154
|
-
## 9. Best Practices
|
|
155
|
-
|
|
156
|
-
| Practice | Why |
|
|
157
|
-
|----------|-----|
|
|
158
|
-
| One assert per test | Clear failure reason |
|
|
159
|
-
| Independent tests | No order dependency |
|
|
160
|
-
| Fast tests | Run frequently |
|
|
161
|
-
| Descriptive names | Self-documenting |
|
|
162
|
-
| Clean up | Avoid side effects |
|
|
163
|
-
|
|
164
|
-
---
|
|
165
|
-
|
|
166
|
-
## 10. Anti-Patterns
|
|
167
|
-
|
|
168
|
-
| ❌ Don't | ✅ Do |
|
|
169
|
-
|----------|-------|
|
|
170
|
-
| Test implementation | Test behavior |
|
|
171
|
-
| Duplicate test code | Use factories |
|
|
172
|
-
| Complex test setup | Simplify or split |
|
|
173
|
-
| Ignore flaky tests | Fix root cause |
|
|
174
|
-
| Skip cleanup | Reset state |
|
|
175
|
-
|
|
176
|
-
---
|
|
18
|
+
## Migration
|
|
177
19
|
|
|
178
|
-
|
|
20
|
+
1. Replace direct references to `testing-patterns` with `test-master`.
|
|
21
|
+
2. Apply the full workflow from `test-master` for new work.
|
|
@@ -2,89 +2,62 @@
|
|
|
2
2
|
---
|
|
3
3
|
inclusion: manual
|
|
4
4
|
name: "typescript-pro"
|
|
5
|
-
description: "Use
|
|
5
|
+
description: "Use for TypeScript architecture and implementation with TS 5.9+ production baselines and TS 6/7 transition readiness."
|
|
6
|
+
license: MIT
|
|
7
|
+
metadata:
|
|
8
|
+
version: "2.0.0"
|
|
9
|
+
domain: "language"
|
|
10
|
+
role: "specialist"
|
|
11
|
+
stack: "typescript"
|
|
12
|
+
baseline: "TypeScript 5.9 stable"
|
|
13
|
+
transition: "TypeScript 6 compatibility prep"
|
|
6
14
|
---
|
|
7
15
|
|
|
8
|
-
|
|
9
16
|
# TypeScript Pro
|
|
10
17
|
|
|
11
|
-
##
|
|
12
|
-
|
|
13
|
-
Senior TypeScript specialist with deep expertise in advanced type systems, full-stack type safety, and production-grade TypeScript development.
|
|
14
|
-
|
|
15
|
-
## Role Definition
|
|
16
|
-
|
|
17
|
-
You are a senior TypeScript developer with 10+ years of experience. You specialize in TypeScript 5.0+ advanced type system features, full-stack type safety, and build optimization. You create type-safe APIs with zero runtime type errors.
|
|
18
|
-
|
|
19
|
-
## When to Use This Skill
|
|
20
|
-
|
|
21
|
-
- Building type-safe full-stack applications
|
|
22
|
-
- Implementing advanced generics and conditional types
|
|
23
|
-
- Setting up tsconfig and build tooling
|
|
24
|
-
- Creating discriminated unions and type guards
|
|
25
|
-
- Implementing end-to-end type safety with tRPC
|
|
26
|
-
- Optimizing TypeScript compilation and bundle size
|
|
27
|
-
|
|
28
|
-
## Core Workflow
|
|
29
|
-
|
|
30
|
-
1. **Analyze type architecture** - Review tsconfig, type coverage, build performance
|
|
31
|
-
2. **Design type-first APIs** - Create branded types, generics, utility types
|
|
32
|
-
3. **Implement with type safety** - Write type guards, discriminated unions, conditional types
|
|
33
|
-
4. **Optimize build** - Configure project references, incremental compilation, tree shaking
|
|
34
|
-
5. **Test types** - Verify type coverage, test type logic, ensure zero runtime errors
|
|
35
|
-
|
|
36
|
-
## Available Steering Files
|
|
37
|
-
|
|
38
|
-
Load detailed guidance on-demand:
|
|
39
|
-
|
|
40
|
-
| Topic | Reference | Load When |
|
|
41
|
-
| -------------- | ---------------------------- | ------------------------------------------------------------ |
|
|
42
|
-
| Advanced Types | `references/advanced-types.md` | Generics, conditional types, mapped types, template literals |
|
|
43
|
-
| Type Guards | `references/type-guards.md` | Type narrowing, discriminated unions, assertion functions |
|
|
44
|
-
| Utility Types | `references/utility-types.md` | Partial, Pick, Omit, Record, custom utilities |
|
|
45
|
-
| Configuration | `references/configuration.md` | tsconfig options, strict mode, project references |
|
|
46
|
-
| Patterns | `references/patterns.md` | Builder pattern, factory pattern, type-safe APIs |
|
|
47
|
-
|
|
48
|
-
## Constraints
|
|
18
|
+
## When to use
|
|
49
19
|
|
|
50
|
-
|
|
20
|
+
- Designing type-safe APIs and shared contracts.
|
|
21
|
+
- Refactoring codebases to strict TypeScript.
|
|
22
|
+
- Reducing type regressions in monorepos.
|
|
23
|
+
- Preparing for upcoming TS 6/7 behavior shifts.
|
|
51
24
|
|
|
52
|
-
|
|
53
|
-
- Use type-first API design
|
|
54
|
-
- Implement branded types for domain modeling
|
|
55
|
-
- Use `satisfies` operator for type validation
|
|
56
|
-
- Create discriminated unions for state machines
|
|
57
|
-
- Use `Annotated` pattern with type predicates
|
|
58
|
-
- Generate declaration files for libraries
|
|
59
|
-
- Optimize for type inference
|
|
25
|
+
## Core workflow
|
|
60
26
|
|
|
61
|
-
|
|
27
|
+
1. Confirm runtime and module target (Node, browser, edge).
|
|
28
|
+
2. Lock strict compiler baseline before feature work.
|
|
29
|
+
3. Model domain types first, then implement behavior.
|
|
30
|
+
4. Keep runtime validation where untrusted input enters.
|
|
31
|
+
5. Run type checks and targeted tests before finishing.
|
|
62
32
|
|
|
63
|
-
|
|
64
|
-
- Skip type coverage for public APIs
|
|
65
|
-
- Mix type-only and value imports
|
|
66
|
-
- Disable strict null checks
|
|
67
|
-
- Use `as` assertions without necessity
|
|
68
|
-
- Ignore compiler performance warnings
|
|
69
|
-
- Skip declaration file generation
|
|
70
|
-
- Use enums (prefer const objects with `as const`)
|
|
33
|
+
## Baseline standards
|
|
71
34
|
|
|
72
|
-
|
|
35
|
+
- Use `strict: true` and avoid opt-outs unless documented.
|
|
36
|
+
- Prefer `unknown` over `any` at boundaries.
|
|
37
|
+
- Use `satisfies` and `as const` for safer inference.
|
|
38
|
+
- Keep public API types stable and explicit.
|
|
39
|
+
- Use project references for large repos.
|
|
73
40
|
|
|
74
|
-
|
|
41
|
+
## Implementation guidance
|
|
75
42
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
43
|
+
- Encode state with discriminated unions.
|
|
44
|
+
- Narrow with type guards instead of assertions.
|
|
45
|
+
- Keep utility types readable; avoid type-level obfuscation.
|
|
46
|
+
- Use schema validation (zod/valibot/etc.) for external input.
|
|
47
|
+
- Treat type errors as design feedback, not noise.
|
|
80
48
|
|
|
81
|
-
##
|
|
49
|
+
## Avoid
|
|
82
50
|
|
|
83
|
-
|
|
51
|
+
- Library-facing `any`.
|
|
52
|
+
- Broad `as` casts to silence errors.
|
|
53
|
+
- Hidden implicit `any` from weak tsconfig defaults.
|
|
54
|
+
- Mixing runtime and type-only imports carelessly.
|
|
84
55
|
|
|
85
|
-
##
|
|
56
|
+
## Reference files
|
|
86
57
|
|
|
87
|
-
-
|
|
88
|
-
-
|
|
89
|
-
-
|
|
58
|
+
- `references/configuration.md`
|
|
59
|
+
- `references/advanced-types.md`
|
|
60
|
+
- `references/type-guards.md`
|
|
61
|
+
- `references/utility-types.md`
|
|
62
|
+
- `references/patterns.md`
|
|
90
63
|
````
|
|
@@ -1,87 +1,60 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: "typescript-pro"
|
|
3
|
-
description: "Use
|
|
3
|
+
description: "Use for TypeScript architecture and implementation with TS 5.9+ production baselines and TS 6/7 transition readiness."
|
|
4
|
+
license: MIT
|
|
5
|
+
metadata:
|
|
6
|
+
version: "2.0.0"
|
|
7
|
+
domain: "language"
|
|
8
|
+
role: "specialist"
|
|
9
|
+
stack: "typescript"
|
|
10
|
+
baseline: "TypeScript 5.9 stable"
|
|
11
|
+
transition: "TypeScript 6 compatibility prep"
|
|
4
12
|
---
|
|
5
13
|
|
|
6
|
-
|
|
7
14
|
# TypeScript Pro
|
|
8
15
|
|
|
9
|
-
##
|
|
10
|
-
|
|
11
|
-
Senior TypeScript specialist with deep expertise in advanced type systems, full-stack type safety, and production-grade TypeScript development.
|
|
12
|
-
|
|
13
|
-
## Role Definition
|
|
14
|
-
|
|
15
|
-
You are a senior TypeScript developer with 10+ years of experience. You specialize in TypeScript 5.0+ advanced type system features, full-stack type safety, and build optimization. You create type-safe APIs with zero runtime type errors.
|
|
16
|
-
|
|
17
|
-
## When to Use This Skill
|
|
18
|
-
|
|
19
|
-
- Building type-safe full-stack applications
|
|
20
|
-
- Implementing advanced generics and conditional types
|
|
21
|
-
- Setting up tsconfig and build tooling
|
|
22
|
-
- Creating discriminated unions and type guards
|
|
23
|
-
- Implementing end-to-end type safety with tRPC
|
|
24
|
-
- Optimizing TypeScript compilation and bundle size
|
|
25
|
-
|
|
26
|
-
## Core Workflow
|
|
27
|
-
|
|
28
|
-
1. **Analyze type architecture** - Review tsconfig, type coverage, build performance
|
|
29
|
-
2. **Design type-first APIs** - Create branded types, generics, utility types
|
|
30
|
-
3. **Implement with type safety** - Write type guards, discriminated unions, conditional types
|
|
31
|
-
4. **Optimize build** - Configure project references, incremental compilation, tree shaking
|
|
32
|
-
5. **Test types** - Verify type coverage, test type logic, ensure zero runtime errors
|
|
33
|
-
|
|
34
|
-
## Available Steering Files
|
|
35
|
-
|
|
36
|
-
Load detailed guidance on-demand:
|
|
37
|
-
|
|
38
|
-
| Topic | Reference | Load When |
|
|
39
|
-
| -------------- | ---------------------------- | ------------------------------------------------------------ |
|
|
40
|
-
| Advanced Types | `references/advanced-types.md` | Generics, conditional types, mapped types, template literals |
|
|
41
|
-
| Type Guards | `references/type-guards.md` | Type narrowing, discriminated unions, assertion functions |
|
|
42
|
-
| Utility Types | `references/utility-types.md` | Partial, Pick, Omit, Record, custom utilities |
|
|
43
|
-
| Configuration | `references/configuration.md` | tsconfig options, strict mode, project references |
|
|
44
|
-
| Patterns | `references/patterns.md` | Builder pattern, factory pattern, type-safe APIs |
|
|
45
|
-
|
|
46
|
-
## Constraints
|
|
16
|
+
## When to use
|
|
47
17
|
|
|
48
|
-
|
|
18
|
+
- Designing type-safe APIs and shared contracts.
|
|
19
|
+
- Refactoring codebases to strict TypeScript.
|
|
20
|
+
- Reducing type regressions in monorepos.
|
|
21
|
+
- Preparing for upcoming TS 6/7 behavior shifts.
|
|
49
22
|
|
|
50
|
-
|
|
51
|
-
- Use type-first API design
|
|
52
|
-
- Implement branded types for domain modeling
|
|
53
|
-
- Use `satisfies` operator for type validation
|
|
54
|
-
- Create discriminated unions for state machines
|
|
55
|
-
- Use `Annotated` pattern with type predicates
|
|
56
|
-
- Generate declaration files for libraries
|
|
57
|
-
- Optimize for type inference
|
|
23
|
+
## Core workflow
|
|
58
24
|
|
|
59
|
-
|
|
25
|
+
1. Confirm runtime and module target (Node, browser, edge).
|
|
26
|
+
2. Lock strict compiler baseline before feature work.
|
|
27
|
+
3. Model domain types first, then implement behavior.
|
|
28
|
+
4. Keep runtime validation where untrusted input enters.
|
|
29
|
+
5. Run type checks and targeted tests before finishing.
|
|
60
30
|
|
|
61
|
-
|
|
62
|
-
- Skip type coverage for public APIs
|
|
63
|
-
- Mix type-only and value imports
|
|
64
|
-
- Disable strict null checks
|
|
65
|
-
- Use `as` assertions without necessity
|
|
66
|
-
- Ignore compiler performance warnings
|
|
67
|
-
- Skip declaration file generation
|
|
68
|
-
- Use enums (prefer const objects with `as const`)
|
|
31
|
+
## Baseline standards
|
|
69
32
|
|
|
70
|
-
|
|
33
|
+
- Use `strict: true` and avoid opt-outs unless documented.
|
|
34
|
+
- Prefer `unknown` over `any` at boundaries.
|
|
35
|
+
- Use `satisfies` and `as const` for safer inference.
|
|
36
|
+
- Keep public API types stable and explicit.
|
|
37
|
+
- Use project references for large repos.
|
|
71
38
|
|
|
72
|
-
|
|
39
|
+
## Implementation guidance
|
|
73
40
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
41
|
+
- Encode state with discriminated unions.
|
|
42
|
+
- Narrow with type guards instead of assertions.
|
|
43
|
+
- Keep utility types readable; avoid type-level obfuscation.
|
|
44
|
+
- Use schema validation (zod/valibot/etc.) for external input.
|
|
45
|
+
- Treat type errors as design feedback, not noise.
|
|
78
46
|
|
|
79
|
-
##
|
|
47
|
+
## Avoid
|
|
80
48
|
|
|
81
|
-
|
|
49
|
+
- Library-facing `any`.
|
|
50
|
+
- Broad `as` casts to silence errors.
|
|
51
|
+
- Hidden implicit `any` from weak tsconfig defaults.
|
|
52
|
+
- Mixing runtime and type-only imports carelessly.
|
|
82
53
|
|
|
83
|
-
##
|
|
54
|
+
## Reference files
|
|
84
55
|
|
|
85
|
-
-
|
|
86
|
-
-
|
|
87
|
-
-
|
|
56
|
+
- `references/configuration.md`
|
|
57
|
+
- `references/advanced-types.md`
|
|
58
|
+
- `references/type-guards.md`
|
|
59
|
+
- `references/utility-types.md`
|
|
60
|
+
- `references/patterns.md`
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
````markdown
|
|
2
|
+
---
|
|
3
|
+
inclusion: manual
|
|
4
|
+
name: vercel-ai
|
|
5
|
+
description: "Canonical Vercel AI skill covering AI Gateway and AI SDK integration, routing, resilience, and observability."
|
|
6
|
+
metadata:
|
|
7
|
+
deprecated: false
|
|
8
|
+
replaced_by: null
|
|
9
|
+
removal_target: null
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# Vercel AI
|
|
13
|
+
|
|
14
|
+
## Purpose
|
|
15
|
+
|
|
16
|
+
Implement Vercel AI workloads with a single operating model across AI Gateway and AI SDK: provider routing, fallback resilience, secure key handling, streaming UX, and usage observability.
|
|
17
|
+
|
|
18
|
+
## Use This For
|
|
19
|
+
|
|
20
|
+
- AI Gateway provider routing and fallback chains
|
|
21
|
+
- BYOK/auth strategy and OpenAI-compatible endpoints
|
|
22
|
+
- AI SDK integration for chat/completions/streaming
|
|
23
|
+
- AI request telemetry and cost/usage controls
|
|
24
|
+
|
|
25
|
+
## Decision Flow
|
|
26
|
+
|
|
27
|
+
1. Select provider topology and fallback policy.
|
|
28
|
+
2. Define auth and secret boundaries.
|
|
29
|
+
3. Implement SDK streaming/UI contract.
|
|
30
|
+
4. Validate latency/cost/error behavior with telemetry.
|
|
31
|
+
|
|
32
|
+
## Verification
|
|
33
|
+
|
|
34
|
+
- Gateway routes and fallback logic are deterministic.
|
|
35
|
+
- SDK streaming path is stable under provider failure.
|
|
36
|
+
- Token usage and error rates are observable per route/model.
|
|
37
|
+
|
|
38
|
+
## Related Skills
|
|
39
|
+
|
|
40
|
+
- `vercel-platform`
|
|
41
|
+
- `prompt-engineer`
|
|
42
|
+
- `vercel-observability`
|
|
43
|
+
````
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: vercel-ai
|
|
3
|
+
description: "Canonical Vercel AI skill covering AI Gateway and AI SDK integration, routing, resilience, and observability."
|
|
4
|
+
metadata:
|
|
5
|
+
deprecated: false
|
|
6
|
+
replaced_by: null
|
|
7
|
+
removal_target: null
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Vercel AI
|
|
11
|
+
|
|
12
|
+
## Purpose
|
|
13
|
+
|
|
14
|
+
Implement Vercel AI workloads with a single operating model across AI Gateway and AI SDK: provider routing, fallback resilience, secure key handling, streaming UX, and usage observability.
|
|
15
|
+
|
|
16
|
+
## Use This For
|
|
17
|
+
|
|
18
|
+
- AI Gateway provider routing and fallback chains
|
|
19
|
+
- BYOK/auth strategy and OpenAI-compatible endpoints
|
|
20
|
+
- AI SDK integration for chat/completions/streaming
|
|
21
|
+
- AI request telemetry and cost/usage controls
|
|
22
|
+
|
|
23
|
+
## Decision Flow
|
|
24
|
+
|
|
25
|
+
1. Select provider topology and fallback policy.
|
|
26
|
+
2. Define auth and secret boundaries.
|
|
27
|
+
3. Implement SDK streaming/UI contract.
|
|
28
|
+
4. Validate latency/cost/error behavior with telemetry.
|
|
29
|
+
|
|
30
|
+
## Verification
|
|
31
|
+
|
|
32
|
+
- Gateway routes and fallback logic are deterministic.
|
|
33
|
+
- SDK streaming path is stable under provider failure.
|
|
34
|
+
- Token usage and error rates are observable per route/model.
|
|
35
|
+
|
|
36
|
+
## Related Skills
|
|
37
|
+
|
|
38
|
+
- `vercel-platform`
|
|
39
|
+
- `prompt-engineer`
|
|
40
|
+
- `vercel-observability`
|
|
@@ -2,81 +2,23 @@
|
|
|
2
2
|
---
|
|
3
3
|
inclusion: manual
|
|
4
4
|
name: vercel-ai-gateway
|
|
5
|
-
description: "
|
|
6
|
-
license: MIT
|
|
5
|
+
description: "Compatibility alias skill. Deprecated: use vercel-ai."
|
|
7
6
|
metadata:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
triggers: vercel, ai, gateway, llm, byok, fallback, model routing, openai compatible, token usage, ai observability
|
|
12
|
-
role: specialist
|
|
13
|
-
scope: implementation
|
|
14
|
-
output-format: checklist
|
|
15
|
-
related-skills: prompt-engineer, monitoring-expert, secure-code-guardian, vercel-observability
|
|
16
|
-
consolidates: vercel-ai-gateway-core, vercel-ai-gateway-auth-byok, vercel-ai-gateway-fallbacks, vercel-ai-gateway-model-routing, vercel-ai-gateway-observability, vercel-ai-gateway-openai-compatible
|
|
7
|
+
deprecated: true
|
|
8
|
+
replaced_by: vercel-ai
|
|
9
|
+
removal_target: v0.6.0
|
|
17
10
|
---
|
|
18
11
|
|
|
19
|
-
# Vercel
|
|
12
|
+
# Vercel Ai Gateway
|
|
20
13
|
|
|
21
|
-
##
|
|
14
|
+
## Compatibility Alias
|
|
22
15
|
|
|
23
|
-
|
|
16
|
+
This skill is deprecated and kept for backward compatibility.
|
|
24
17
|
|
|
25
|
-
|
|
18
|
+
Use `vercel-ai` as the canonical skill.
|
|
26
19
|
|
|
27
|
-
|
|
28
|
-
- Configuring bring-your-own-key (BYOK) authentication for AI providers.
|
|
29
|
-
- Implementing retries and fallback chains for resilient AI responses.
|
|
30
|
-
- Designing model and provider routing policies for latency, quality, and cost.
|
|
31
|
-
- Monitoring AI Gateway usage, latency, and spend.
|
|
32
|
-
- Using OpenAI-compatible endpoints without provider lock-in.
|
|
20
|
+
## Migration
|
|
33
21
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
### Core Routing
|
|
37
|
-
|
|
38
|
-
- Define unified gateway endpoint and routing config.
|
|
39
|
-
- Set per-model quality, latency, and cost objectives.
|
|
40
|
-
|
|
41
|
-
### Authentication & BYOK
|
|
42
|
-
|
|
43
|
-
- Configure provider API key management and BYOK controls.
|
|
44
|
-
- Scope key access per project/environment.
|
|
45
|
-
|
|
46
|
-
### Fallbacks & Resilience
|
|
47
|
-
|
|
48
|
-
- Implement retry policies and fallback provider chains.
|
|
49
|
-
- Define circuit-breaker thresholds.
|
|
50
|
-
|
|
51
|
-
### Model Routing Policies
|
|
52
|
-
|
|
53
|
-
- Route by latency, cost, capability, or custom weights.
|
|
54
|
-
- Support multi-provider and multi-region strategies.
|
|
55
|
-
|
|
56
|
-
### Observability
|
|
57
|
-
|
|
58
|
-
- Instrument token usage, latency, and error rates per model.
|
|
59
|
-
- Set spend thresholds and alerting.
|
|
60
|
-
|
|
61
|
-
### OpenAI Compatibility
|
|
62
|
-
|
|
63
|
-
- Use OpenAI-compatible request/response format.
|
|
64
|
-
- Migrate between providers without application changes.
|
|
65
|
-
|
|
66
|
-
## Operating Checklist
|
|
67
|
-
|
|
68
|
-
1. Define model quality, latency, and cost objectives for each endpoint.
|
|
69
|
-
2. Configure authentication and BYOK key scoping per environment.
|
|
70
|
-
3. Implement routing, fallback, and retry policies explicitly.
|
|
71
|
-
4. Instrument token usage, latency, and error classes for all calls.
|
|
72
|
-
5. Validate OpenAI-compatible endpoint compatibility if needed.
|
|
73
|
-
6. Run safety and regression checks before broad rollout.
|
|
74
|
-
|
|
75
|
-
## Output Contract
|
|
76
|
-
|
|
77
|
-
- Proposed routing and authentication architecture with tradeoffs
|
|
78
|
-
- Required config, code, and environment changes
|
|
79
|
-
- Fallback chain definition and circuit-breaker settings
|
|
80
|
-
- Validation evidence (spend limits, latency targets, error budgets)
|
|
81
|
-
- Residual risks and follow-up actions
|
|
22
|
+
1. Replace direct references to `vercel-ai-gateway` with `vercel-ai`.
|
|
23
|
+
2. Apply the full workflow from `vercel-ai` for new work.
|
|
82
24
|
````
|