@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
|
@@ -1,161 +1,21 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: server-management
|
|
3
|
-
description:
|
|
4
|
-
|
|
3
|
+
description: "Compatibility alias skill. Deprecated: use sre-engineer."
|
|
4
|
+
metadata:
|
|
5
|
+
deprecated: true
|
|
6
|
+
replaced_by: sre-engineer
|
|
7
|
+
removal_target: v0.6.0
|
|
5
8
|
---
|
|
6
9
|
|
|
7
10
|
# Server Management
|
|
8
11
|
|
|
9
|
-
|
|
10
|
-
> **Learn to THINK, not memorize commands.**
|
|
12
|
+
## Compatibility Alias
|
|
11
13
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
## 1. Process Management Principles
|
|
15
|
-
|
|
16
|
-
### Tool Selection
|
|
17
|
-
|
|
18
|
-
| Scenario | Tool |
|
|
19
|
-
|----------|------|
|
|
20
|
-
| **Node.js app** | PM2 (clustering, reload) |
|
|
21
|
-
| **Any app** | systemd (Linux native) |
|
|
22
|
-
| **Containers** | Docker/Podman |
|
|
23
|
-
| **Orchestration** | Kubernetes, Docker Swarm |
|
|
24
|
-
|
|
25
|
-
### Process Management Goals
|
|
26
|
-
|
|
27
|
-
| Goal | What It Means |
|
|
28
|
-
|------|---------------|
|
|
29
|
-
| **Restart on crash** | Auto-recovery |
|
|
30
|
-
| **Zero-downtime reload** | No service interruption |
|
|
31
|
-
| **Clustering** | Use all CPU cores |
|
|
32
|
-
| **Persistence** | Survive server reboot |
|
|
33
|
-
|
|
34
|
-
---
|
|
35
|
-
|
|
36
|
-
## 2. Monitoring Principles
|
|
37
|
-
|
|
38
|
-
### What to Monitor
|
|
39
|
-
|
|
40
|
-
| Category | Key Metrics |
|
|
41
|
-
|----------|-------------|
|
|
42
|
-
| **Availability** | Uptime, health checks |
|
|
43
|
-
| **Performance** | Response time, throughput |
|
|
44
|
-
| **Errors** | Error rate, types |
|
|
45
|
-
| **Resources** | CPU, memory, disk |
|
|
46
|
-
|
|
47
|
-
### Alert Severity Strategy
|
|
48
|
-
|
|
49
|
-
| Level | Response |
|
|
50
|
-
|-------|----------|
|
|
51
|
-
| **Critical** | Immediate action |
|
|
52
|
-
| **Warning** | Investigate soon |
|
|
53
|
-
| **Info** | Review daily |
|
|
54
|
-
|
|
55
|
-
### Monitoring Tool Selection
|
|
56
|
-
|
|
57
|
-
| Need | Options |
|
|
58
|
-
|------|---------|
|
|
59
|
-
| Simple/Free | PM2 metrics, htop |
|
|
60
|
-
| Full observability | Grafana, Datadog |
|
|
61
|
-
| Error tracking | Sentry |
|
|
62
|
-
| Uptime | UptimeRobot, Pingdom |
|
|
63
|
-
|
|
64
|
-
---
|
|
65
|
-
|
|
66
|
-
## 3. Log Management Principles
|
|
67
|
-
|
|
68
|
-
### Log Strategy
|
|
69
|
-
|
|
70
|
-
| Log Type | Purpose |
|
|
71
|
-
|----------|---------|
|
|
72
|
-
| **Application logs** | Debug, audit |
|
|
73
|
-
| **Access logs** | Traffic analysis |
|
|
74
|
-
| **Error logs** | Issue detection |
|
|
75
|
-
|
|
76
|
-
### Log Principles
|
|
77
|
-
|
|
78
|
-
1. **Rotate logs** to prevent disk fill
|
|
79
|
-
2. **Structured logging** (JSON) for parsing
|
|
80
|
-
3. **Appropriate levels** (error/warn/info/debug)
|
|
81
|
-
4. **No sensitive data** in logs
|
|
82
|
-
|
|
83
|
-
---
|
|
84
|
-
|
|
85
|
-
## 4. Scaling Decisions
|
|
14
|
+
This skill is deprecated and kept for backward compatibility.
|
|
86
15
|
|
|
87
|
-
|
|
16
|
+
Use `sre-engineer` as the canonical skill.
|
|
88
17
|
|
|
89
|
-
|
|
90
|
-
|---------|----------|
|
|
91
|
-
| High CPU | Add instances (horizontal) |
|
|
92
|
-
| High memory | Increase RAM or fix leak |
|
|
93
|
-
| Slow response | Profile first, then scale |
|
|
94
|
-
| Traffic spikes | Auto-scaling |
|
|
95
|
-
|
|
96
|
-
### Scaling Strategy
|
|
97
|
-
|
|
98
|
-
| Type | When to Use |
|
|
99
|
-
|------|-------------|
|
|
100
|
-
| **Vertical** | Quick fix, single instance |
|
|
101
|
-
| **Horizontal** | Sustainable, distributed |
|
|
102
|
-
| **Auto** | Variable traffic |
|
|
103
|
-
|
|
104
|
-
---
|
|
105
|
-
|
|
106
|
-
## 5. Health Check Principles
|
|
107
|
-
|
|
108
|
-
### What Constitutes Healthy
|
|
109
|
-
|
|
110
|
-
| Check | Meaning |
|
|
111
|
-
|-------|---------|
|
|
112
|
-
| **HTTP 200** | Service responding |
|
|
113
|
-
| **Database connected** | Data accessible |
|
|
114
|
-
| **Dependencies OK** | External services reachable |
|
|
115
|
-
| **Resources OK** | CPU/memory not exhausted |
|
|
116
|
-
|
|
117
|
-
### Health Check Implementation
|
|
118
|
-
|
|
119
|
-
- Simple: Just return 200
|
|
120
|
-
- Deep: Check all dependencies
|
|
121
|
-
- Choose based on load balancer needs
|
|
122
|
-
|
|
123
|
-
---
|
|
124
|
-
|
|
125
|
-
## 6. Security Principles
|
|
126
|
-
|
|
127
|
-
| Area | Principle |
|
|
128
|
-
|------|-----------|
|
|
129
|
-
| **Access** | SSH keys only, no passwords |
|
|
130
|
-
| **Firewall** | Only needed ports open |
|
|
131
|
-
| **Updates** | Regular security patches |
|
|
132
|
-
| **Secrets** | Environment vars, not files |
|
|
133
|
-
| **Audit** | Log access and changes |
|
|
134
|
-
|
|
135
|
-
---
|
|
136
|
-
|
|
137
|
-
## 7. Troubleshooting Priority
|
|
138
|
-
|
|
139
|
-
When something's wrong:
|
|
140
|
-
|
|
141
|
-
1. **Check if running** (process status)
|
|
142
|
-
2. **Check logs** (error messages)
|
|
143
|
-
3. **Check resources** (disk, memory, CPU)
|
|
144
|
-
4. **Check network** (ports, DNS)
|
|
145
|
-
5. **Check dependencies** (database, APIs)
|
|
146
|
-
|
|
147
|
-
---
|
|
148
|
-
|
|
149
|
-
## 8. Anti-Patterns
|
|
150
|
-
|
|
151
|
-
| ❌ Don't | ✅ Do |
|
|
152
|
-
|----------|-------|
|
|
153
|
-
| Run as root | Use non-root user |
|
|
154
|
-
| Ignore logs | Set up log rotation |
|
|
155
|
-
| Skip monitoring | Monitor from day one |
|
|
156
|
-
| Manual restarts | Auto-restart config |
|
|
157
|
-
| No backups | Regular backup schedule |
|
|
158
|
-
|
|
159
|
-
---
|
|
18
|
+
## Migration
|
|
160
19
|
|
|
161
|
-
|
|
20
|
+
1. Replace direct references to `server-management` with `sre-engineer`.
|
|
21
|
+
2. Apply the full workflow from `sre-engineer` for new work.
|
|
@@ -2,151 +2,23 @@
|
|
|
2
2
|
---
|
|
3
3
|
inclusion: manual
|
|
4
4
|
name: tdd-workflow
|
|
5
|
-
description:
|
|
6
|
-
|
|
5
|
+
description: "Compatibility alias skill. Deprecated: use test-master."
|
|
6
|
+
metadata:
|
|
7
|
+
deprecated: true
|
|
8
|
+
replaced_by: test-master
|
|
9
|
+
removal_target: v0.6.0
|
|
7
10
|
---
|
|
8
11
|
|
|
9
|
-
#
|
|
12
|
+
# Tdd Workflow
|
|
10
13
|
|
|
11
|
-
|
|
14
|
+
## Compatibility Alias
|
|
12
15
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
## 1. The TDD Cycle
|
|
16
|
-
|
|
17
|
-
```
|
|
18
|
-
🔴 RED → Write failing test
|
|
19
|
-
↓
|
|
20
|
-
🟢 GREEN → Write minimal code to pass
|
|
21
|
-
↓
|
|
22
|
-
🔵 REFACTOR → Improve code quality
|
|
23
|
-
↓
|
|
24
|
-
Repeat...
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
---
|
|
28
|
-
|
|
29
|
-
## 2. The Three Laws of TDD
|
|
30
|
-
|
|
31
|
-
1. Write production code only to make a failing test pass
|
|
32
|
-
2. Write only enough test to demonstrate failure
|
|
33
|
-
3. Write only enough code to make the test pass
|
|
34
|
-
|
|
35
|
-
---
|
|
36
|
-
|
|
37
|
-
## 3. RED Phase Principles
|
|
38
|
-
|
|
39
|
-
### What to Write
|
|
40
|
-
|
|
41
|
-
| Focus | Example |
|
|
42
|
-
|-------|---------|
|
|
43
|
-
| Behavior | "should add two numbers" |
|
|
44
|
-
| Edge cases | "should handle empty input" |
|
|
45
|
-
| Error states | "should throw for invalid data" |
|
|
46
|
-
|
|
47
|
-
### RED Phase Rules
|
|
48
|
-
|
|
49
|
-
- Test must fail first
|
|
50
|
-
- Test name describes expected behavior
|
|
51
|
-
- One assertion per test (ideally)
|
|
52
|
-
|
|
53
|
-
---
|
|
54
|
-
|
|
55
|
-
## 4. GREEN Phase Principles
|
|
56
|
-
|
|
57
|
-
### Minimum Code
|
|
58
|
-
|
|
59
|
-
| Principle | Meaning |
|
|
60
|
-
|-----------|---------|
|
|
61
|
-
| **YAGNI** | You Aren't Gonna Need It |
|
|
62
|
-
| **Simplest thing** | Write the minimum to pass |
|
|
63
|
-
| **No optimization** | Just make it work |
|
|
64
|
-
|
|
65
|
-
### GREEN Phase Rules
|
|
66
|
-
|
|
67
|
-
- Don't write unneeded code
|
|
68
|
-
- Don't optimize yet
|
|
69
|
-
- Pass the test, nothing more
|
|
70
|
-
|
|
71
|
-
---
|
|
72
|
-
|
|
73
|
-
## 5. REFACTOR Phase Principles
|
|
74
|
-
|
|
75
|
-
### What to Improve
|
|
16
|
+
This skill is deprecated and kept for backward compatibility.
|
|
76
17
|
|
|
77
|
-
|
|
78
|
-
|------|--------|
|
|
79
|
-
| Duplication | Extract common code |
|
|
80
|
-
| Naming | Make intent clear |
|
|
81
|
-
| Structure | Improve organization |
|
|
82
|
-
| Complexity | Simplify logic |
|
|
18
|
+
Use `test-master` as the canonical skill.
|
|
83
19
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
- All tests must stay green
|
|
87
|
-
- Small incremental changes
|
|
88
|
-
- Commit after each refactor
|
|
89
|
-
|
|
90
|
-
---
|
|
91
|
-
|
|
92
|
-
## 6. AAA Pattern
|
|
93
|
-
|
|
94
|
-
Every test follows:
|
|
95
|
-
|
|
96
|
-
| Step | Purpose |
|
|
97
|
-
|------|---------|
|
|
98
|
-
| **Arrange** | Set up test data |
|
|
99
|
-
| **Act** | Execute code under test |
|
|
100
|
-
| **Assert** | Verify expected outcome |
|
|
101
|
-
|
|
102
|
-
---
|
|
103
|
-
|
|
104
|
-
## 7. When to Use TDD
|
|
105
|
-
|
|
106
|
-
| Scenario | TDD Value |
|
|
107
|
-
|----------|-----------|
|
|
108
|
-
| New feature | High |
|
|
109
|
-
| Bug fix | High (write test first) |
|
|
110
|
-
| Complex logic | High |
|
|
111
|
-
| Exploratory | Low (spike, then TDD) |
|
|
112
|
-
| UI layout | Low |
|
|
113
|
-
|
|
114
|
-
---
|
|
115
|
-
|
|
116
|
-
## 8. Test Prioritization
|
|
117
|
-
|
|
118
|
-
| Priority | Test Type |
|
|
119
|
-
|----------|-----------|
|
|
120
|
-
| 1 | Happy path |
|
|
121
|
-
| 2 | Error cases |
|
|
122
|
-
| 3 | Edge cases |
|
|
123
|
-
| 4 | Performance |
|
|
124
|
-
|
|
125
|
-
---
|
|
126
|
-
|
|
127
|
-
## 9. Anti-Patterns
|
|
128
|
-
|
|
129
|
-
| ❌ Don't | ✅ Do |
|
|
130
|
-
|----------|-------|
|
|
131
|
-
| Skip the RED phase | Watch test fail first |
|
|
132
|
-
| Write tests after | Write tests before |
|
|
133
|
-
| Over-engineer initial | Keep it simple |
|
|
134
|
-
| Multiple asserts | One behavior per test |
|
|
135
|
-
| Test implementation | Test behavior |
|
|
136
|
-
|
|
137
|
-
---
|
|
138
|
-
|
|
139
|
-
## 10. AI-Augmented TDD
|
|
140
|
-
|
|
141
|
-
### Multi-Agent Pattern
|
|
142
|
-
|
|
143
|
-
| Agent | Role |
|
|
144
|
-
|-------|------|
|
|
145
|
-
| Agent A | Write failing tests (RED) |
|
|
146
|
-
| Agent B | Implement to pass (GREEN) |
|
|
147
|
-
| Agent C | Optimize (REFACTOR) |
|
|
148
|
-
|
|
149
|
-
---
|
|
20
|
+
## Migration
|
|
150
21
|
|
|
151
|
-
|
|
22
|
+
1. Replace direct references to `tdd-workflow` with `test-master`.
|
|
23
|
+
2. Apply the full workflow from `test-master` for new work.
|
|
152
24
|
````
|
|
@@ -1,149 +1,21 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: tdd-workflow
|
|
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
|
+
# Tdd Workflow
|
|
8
11
|
|
|
9
|
-
|
|
12
|
+
## Compatibility Alias
|
|
10
13
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
## 1. The TDD Cycle
|
|
14
|
-
|
|
15
|
-
```
|
|
16
|
-
🔴 RED → Write failing test
|
|
17
|
-
↓
|
|
18
|
-
🟢 GREEN → Write minimal code to pass
|
|
19
|
-
↓
|
|
20
|
-
🔵 REFACTOR → Improve code quality
|
|
21
|
-
↓
|
|
22
|
-
Repeat...
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
---
|
|
26
|
-
|
|
27
|
-
## 2. The Three Laws of TDD
|
|
28
|
-
|
|
29
|
-
1. Write production code only to make a failing test pass
|
|
30
|
-
2. Write only enough test to demonstrate failure
|
|
31
|
-
3. Write only enough code to make the test pass
|
|
32
|
-
|
|
33
|
-
---
|
|
34
|
-
|
|
35
|
-
## 3. RED Phase Principles
|
|
36
|
-
|
|
37
|
-
### What to Write
|
|
38
|
-
|
|
39
|
-
| Focus | Example |
|
|
40
|
-
|-------|---------|
|
|
41
|
-
| Behavior | "should add two numbers" |
|
|
42
|
-
| Edge cases | "should handle empty input" |
|
|
43
|
-
| Error states | "should throw for invalid data" |
|
|
44
|
-
|
|
45
|
-
### RED Phase Rules
|
|
46
|
-
|
|
47
|
-
- Test must fail first
|
|
48
|
-
- Test name describes expected behavior
|
|
49
|
-
- One assertion per test (ideally)
|
|
50
|
-
|
|
51
|
-
---
|
|
52
|
-
|
|
53
|
-
## 4. GREEN Phase Principles
|
|
54
|
-
|
|
55
|
-
### Minimum Code
|
|
56
|
-
|
|
57
|
-
| Principle | Meaning |
|
|
58
|
-
|-----------|---------|
|
|
59
|
-
| **YAGNI** | You Aren't Gonna Need It |
|
|
60
|
-
| **Simplest thing** | Write the minimum to pass |
|
|
61
|
-
| **No optimization** | Just make it work |
|
|
62
|
-
|
|
63
|
-
### GREEN Phase Rules
|
|
64
|
-
|
|
65
|
-
- Don't write unneeded code
|
|
66
|
-
- Don't optimize yet
|
|
67
|
-
- Pass the test, nothing more
|
|
68
|
-
|
|
69
|
-
---
|
|
70
|
-
|
|
71
|
-
## 5. REFACTOR Phase Principles
|
|
72
|
-
|
|
73
|
-
### What to Improve
|
|
14
|
+
This skill is deprecated and kept for backward compatibility.
|
|
74
15
|
|
|
75
|
-
|
|
76
|
-
|------|--------|
|
|
77
|
-
| Duplication | Extract common code |
|
|
78
|
-
| Naming | Make intent clear |
|
|
79
|
-
| Structure | Improve organization |
|
|
80
|
-
| Complexity | Simplify logic |
|
|
16
|
+
Use `test-master` as the canonical skill.
|
|
81
17
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
- All tests must stay green
|
|
85
|
-
- Small incremental changes
|
|
86
|
-
- Commit after each refactor
|
|
87
|
-
|
|
88
|
-
---
|
|
89
|
-
|
|
90
|
-
## 6. AAA Pattern
|
|
91
|
-
|
|
92
|
-
Every test follows:
|
|
93
|
-
|
|
94
|
-
| Step | Purpose |
|
|
95
|
-
|------|---------|
|
|
96
|
-
| **Arrange** | Set up test data |
|
|
97
|
-
| **Act** | Execute code under test |
|
|
98
|
-
| **Assert** | Verify expected outcome |
|
|
99
|
-
|
|
100
|
-
---
|
|
101
|
-
|
|
102
|
-
## 7. When to Use TDD
|
|
103
|
-
|
|
104
|
-
| Scenario | TDD Value |
|
|
105
|
-
|----------|-----------|
|
|
106
|
-
| New feature | High |
|
|
107
|
-
| Bug fix | High (write test first) |
|
|
108
|
-
| Complex logic | High |
|
|
109
|
-
| Exploratory | Low (spike, then TDD) |
|
|
110
|
-
| UI layout | Low |
|
|
111
|
-
|
|
112
|
-
---
|
|
113
|
-
|
|
114
|
-
## 8. Test Prioritization
|
|
115
|
-
|
|
116
|
-
| Priority | Test Type |
|
|
117
|
-
|----------|-----------|
|
|
118
|
-
| 1 | Happy path |
|
|
119
|
-
| 2 | Error cases |
|
|
120
|
-
| 3 | Edge cases |
|
|
121
|
-
| 4 | Performance |
|
|
122
|
-
|
|
123
|
-
---
|
|
124
|
-
|
|
125
|
-
## 9. Anti-Patterns
|
|
126
|
-
|
|
127
|
-
| ❌ Don't | ✅ Do |
|
|
128
|
-
|----------|-------|
|
|
129
|
-
| Skip the RED phase | Watch test fail first |
|
|
130
|
-
| Write tests after | Write tests before |
|
|
131
|
-
| Over-engineer initial | Keep it simple |
|
|
132
|
-
| Multiple asserts | One behavior per test |
|
|
133
|
-
| Test implementation | Test behavior |
|
|
134
|
-
|
|
135
|
-
---
|
|
136
|
-
|
|
137
|
-
## 10. AI-Augmented TDD
|
|
138
|
-
|
|
139
|
-
### Multi-Agent Pattern
|
|
140
|
-
|
|
141
|
-
| Agent | Role |
|
|
142
|
-
|-------|------|
|
|
143
|
-
| Agent A | Write failing tests (RED) |
|
|
144
|
-
| Agent B | Implement to pass (GREEN) |
|
|
145
|
-
| Agent C | Optimize (REFACTOR) |
|
|
146
|
-
|
|
147
|
-
---
|
|
18
|
+
## Migration
|
|
148
19
|
|
|
149
|
-
|
|
20
|
+
1. Replace direct references to `tdd-workflow` with `test-master`.
|
|
21
|
+
2. Apply the full workflow from `test-master` for new work.
|
|
@@ -2,180 +2,23 @@
|
|
|
2
2
|
---
|
|
3
3
|
inclusion: manual
|
|
4
4
|
name: testing-patterns
|
|
5
|
-
description:
|
|
6
|
-
|
|
5
|
+
description: "Compatibility alias skill. Deprecated: use test-master."
|
|
6
|
+
metadata:
|
|
7
|
+
deprecated: true
|
|
8
|
+
replaced_by: test-master
|
|
9
|
+
removal_target: v0.6.0
|
|
7
10
|
---
|
|
8
11
|
|
|
9
12
|
# Testing Patterns
|
|
10
13
|
|
|
11
|
-
|
|
14
|
+
## Compatibility Alias
|
|
12
15
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
## 1. Testing Pyramid
|
|
16
|
-
|
|
17
|
-
```
|
|
18
|
-
/\ E2E (Few)
|
|
19
|
-
/ \ Critical flows
|
|
20
|
-
/----\
|
|
21
|
-
/ \ Integration (Some)
|
|
22
|
-
/--------\ API, DB queries
|
|
23
|
-
/ \
|
|
24
|
-
/------------\ Unit (Many)
|
|
25
|
-
Functions, classes
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
---
|
|
29
|
-
|
|
30
|
-
## 2. AAA Pattern
|
|
31
|
-
|
|
32
|
-
| Step | Purpose |
|
|
33
|
-
|------|---------|
|
|
34
|
-
| **Arrange** | Set up test data |
|
|
35
|
-
| **Act** | Execute code under test |
|
|
36
|
-
| **Assert** | Verify outcome |
|
|
37
|
-
|
|
38
|
-
---
|
|
39
|
-
|
|
40
|
-
## 3. Test Type Selection
|
|
41
|
-
|
|
42
|
-
### When to Use Each
|
|
43
|
-
|
|
44
|
-
| Type | Best For | Speed |
|
|
45
|
-
|------|----------|-------|
|
|
46
|
-
| **Unit** | Pure functions, logic | Fast (<50ms) |
|
|
47
|
-
| **Integration** | API, DB, services | Medium |
|
|
48
|
-
| **E2E** | Critical user flows | Slow |
|
|
49
|
-
|
|
50
|
-
---
|
|
51
|
-
|
|
52
|
-
## 4. Unit Test Principles
|
|
53
|
-
|
|
54
|
-
### Good Unit Tests
|
|
55
|
-
|
|
56
|
-
| Principle | Meaning |
|
|
57
|
-
|-----------|---------|
|
|
58
|
-
| Fast | < 100ms each |
|
|
59
|
-
| Isolated | No external deps |
|
|
60
|
-
| Repeatable | Same result always |
|
|
61
|
-
| Self-checking | No manual verification |
|
|
62
|
-
| Timely | Written with code |
|
|
63
|
-
|
|
64
|
-
### What to Unit Test
|
|
65
|
-
|
|
66
|
-
| Test | Don't Test |
|
|
67
|
-
|------|------------|
|
|
68
|
-
| Business logic | Framework code |
|
|
69
|
-
| Edge cases | Third-party libs |
|
|
70
|
-
| Error handling | Simple getters |
|
|
71
|
-
|
|
72
|
-
---
|
|
73
|
-
|
|
74
|
-
## 5. Integration Test Principles
|
|
75
|
-
|
|
76
|
-
### What to Test
|
|
77
|
-
|
|
78
|
-
| Area | Focus |
|
|
79
|
-
|------|-------|
|
|
80
|
-
| API endpoints | Request/response |
|
|
81
|
-
| Database | Queries, transactions |
|
|
82
|
-
| External services | Contracts |
|
|
83
|
-
|
|
84
|
-
### Setup/Teardown
|
|
85
|
-
|
|
86
|
-
| Phase | Action |
|
|
87
|
-
|-------|--------|
|
|
88
|
-
| Before All | Connect resources |
|
|
89
|
-
| Before Each | Reset state |
|
|
90
|
-
| After Each | Clean up |
|
|
91
|
-
| After All | Disconnect |
|
|
92
|
-
|
|
93
|
-
---
|
|
16
|
+
This skill is deprecated and kept for backward compatibility.
|
|
94
17
|
|
|
95
|
-
|
|
18
|
+
Use `test-master` as the canonical skill.
|
|
96
19
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
| Mock | Don't Mock |
|
|
100
|
-
|------|------------|
|
|
101
|
-
| External APIs | The code under test |
|
|
102
|
-
| Database (unit) | Simple dependencies |
|
|
103
|
-
| Time/random | Pure functions |
|
|
104
|
-
| Network | In-memory stores |
|
|
105
|
-
|
|
106
|
-
### Mock Types
|
|
107
|
-
|
|
108
|
-
| Type | Use |
|
|
109
|
-
|------|-----|
|
|
110
|
-
| Stub | Return fixed values |
|
|
111
|
-
| Spy | Track calls |
|
|
112
|
-
| Mock | Set expectations |
|
|
113
|
-
| Fake | Simplified implementation |
|
|
114
|
-
|
|
115
|
-
---
|
|
116
|
-
|
|
117
|
-
## 7. Test Organization
|
|
118
|
-
|
|
119
|
-
### Naming
|
|
120
|
-
|
|
121
|
-
| Pattern | Example |
|
|
122
|
-
|---------|---------|
|
|
123
|
-
| Should behavior | "should return error when..." |
|
|
124
|
-
| When condition | "when user not found..." |
|
|
125
|
-
| Given-when-then | "given X, when Y, then Z" |
|
|
126
|
-
|
|
127
|
-
### Grouping
|
|
128
|
-
|
|
129
|
-
| Level | Use |
|
|
130
|
-
|-------|-----|
|
|
131
|
-
| describe | Group related tests |
|
|
132
|
-
| it/test | Individual case |
|
|
133
|
-
| beforeEach | Common setup |
|
|
134
|
-
|
|
135
|
-
---
|
|
136
|
-
|
|
137
|
-
## 8. Test Data
|
|
138
|
-
|
|
139
|
-
### Strategies
|
|
140
|
-
|
|
141
|
-
| Approach | Use |
|
|
142
|
-
|----------|-----|
|
|
143
|
-
| Factories | Generate test data |
|
|
144
|
-
| Fixtures | Predefined datasets |
|
|
145
|
-
| Builders | Fluent object creation |
|
|
146
|
-
|
|
147
|
-
### Principles
|
|
148
|
-
|
|
149
|
-
- Use realistic data
|
|
150
|
-
- Randomize non-essential values (faker)
|
|
151
|
-
- Share common fixtures
|
|
152
|
-
- Keep data minimal
|
|
153
|
-
|
|
154
|
-
---
|
|
155
|
-
|
|
156
|
-
## 9. Best Practices
|
|
157
|
-
|
|
158
|
-
| Practice | Why |
|
|
159
|
-
|----------|-----|
|
|
160
|
-
| One assert per test | Clear failure reason |
|
|
161
|
-
| Independent tests | No order dependency |
|
|
162
|
-
| Fast tests | Run frequently |
|
|
163
|
-
| Descriptive names | Self-documenting |
|
|
164
|
-
| Clean up | Avoid side effects |
|
|
165
|
-
|
|
166
|
-
---
|
|
167
|
-
|
|
168
|
-
## 10. Anti-Patterns
|
|
169
|
-
|
|
170
|
-
| ❌ Don't | ✅ Do |
|
|
171
|
-
|----------|-------|
|
|
172
|
-
| Test implementation | Test behavior |
|
|
173
|
-
| Duplicate test code | Use factories |
|
|
174
|
-
| Complex test setup | Simplify or split |
|
|
175
|
-
| Ignore flaky tests | Fix root cause |
|
|
176
|
-
| Skip cleanup | Reset state |
|
|
177
|
-
|
|
178
|
-
---
|
|
20
|
+
## Migration
|
|
179
21
|
|
|
180
|
-
|
|
22
|
+
1. Replace direct references to `testing-patterns` with `test-master`.
|
|
23
|
+
2. Apply the full workflow from `test-master` for new work.
|
|
181
24
|
````
|