@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
package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/react-expert/SKILL.md
CHANGED
|
@@ -1,84 +1,56 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: react-expert
|
|
3
|
-
description: "Use for framework-agnostic React
|
|
2
|
+
name: "react-expert"
|
|
3
|
+
description: "Use for framework-agnostic React architecture with React 19 patterns, state design, and performance tuning."
|
|
4
4
|
license: MIT
|
|
5
5
|
metadata:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
scope: implementation
|
|
12
|
-
output-format: code
|
|
13
|
-
related-skills: fullstack-guardian, playwright-expert, test-master
|
|
6
|
+
version: "2.0.0"
|
|
7
|
+
domain: "frontend"
|
|
8
|
+
role: "specialist"
|
|
9
|
+
stack: "react"
|
|
10
|
+
baseline: "React 19"
|
|
14
11
|
---
|
|
15
12
|
|
|
16
13
|
# React Expert
|
|
17
14
|
|
|
18
|
-
|
|
15
|
+
## Scope
|
|
19
16
|
|
|
20
|
-
|
|
17
|
+
- Use this for React component and state architecture.
|
|
18
|
+
- Use `nextjs-developer` for Next.js routing/App Router specifics.
|
|
21
19
|
|
|
22
|
-
|
|
20
|
+
## When to use
|
|
23
21
|
|
|
24
|
-
|
|
22
|
+
- Building reusable component systems.
|
|
23
|
+
- Designing local/shared/remote state boundaries.
|
|
24
|
+
- Refactoring for rendering performance.
|
|
25
|
+
- Implementing robust form and async UI flows.
|
|
25
26
|
|
|
26
|
-
|
|
27
|
-
- Implementing state management (local, Context, Redux, Zustand)
|
|
28
|
-
- Optimizing React performance
|
|
29
|
-
- Setting up React project architecture
|
|
30
|
-
- Working with React 19 Server Components
|
|
31
|
-
- Implementing forms with React 19 actions
|
|
32
|
-
- Data fetching patterns with TanStack Query or `use()`
|
|
27
|
+
## Core workflow
|
|
33
28
|
|
|
34
|
-
|
|
29
|
+
1. Model component responsibilities and ownership boundaries.
|
|
30
|
+
2. Decide state location and mutation strategy.
|
|
31
|
+
3. Implement with accessible markup and predictable effects.
|
|
32
|
+
4. Measure rerender behavior before applying memoization.
|
|
33
|
+
5. Validate with component and interaction tests.
|
|
35
34
|
|
|
36
|
-
|
|
37
|
-
2. **Choose patterns** - Select appropriate state management, data fetching approach
|
|
38
|
-
3. **Implement** - Write TypeScript components with proper types
|
|
39
|
-
4. **Optimize** - Apply memoization where needed, ensure accessibility
|
|
40
|
-
5. **Test** - Write tests with React Testing Library
|
|
35
|
+
## Baseline standards
|
|
41
36
|
|
|
42
|
-
|
|
37
|
+
- Prefer pure render logic and explicit side-effect boundaries.
|
|
38
|
+
- Use transitions/suspense intentionally for UX.
|
|
39
|
+
- Keep effects idempotent and cleanup-safe.
|
|
40
|
+
- Derive state instead of duplicating it.
|
|
41
|
+
- Keep mutation logic centralized when state grows.
|
|
43
42
|
|
|
44
|
-
|
|
43
|
+
## Avoid
|
|
45
44
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
| React 19 | `references/react-19-features.md` | use() hook, useActionState, forms |
|
|
50
|
-
| State Management | `references/state-management.md` | Context, Zustand, Redux, TanStack |
|
|
51
|
-
| Hooks | `references/hooks-patterns.md` | Custom hooks, useEffect, useCallback |
|
|
52
|
-
| Performance | `references/performance.md` | memo, lazy, virtualization |
|
|
53
|
-
| Testing | `references/testing-react.md` | Testing Library, mocking |
|
|
54
|
-
| Class Migration | `references/migration-class-to-modern.md` | Converting class components to hooks/RSC |
|
|
45
|
+
- Blanket memoization without profiling evidence.
|
|
46
|
+
- Effect-driven derived state loops.
|
|
47
|
+
- Hidden shared mutable module state.
|
|
55
48
|
|
|
56
|
-
##
|
|
49
|
+
## Reference files
|
|
57
50
|
|
|
58
|
-
|
|
59
|
-
-
|
|
60
|
-
-
|
|
61
|
-
-
|
|
62
|
-
-
|
|
63
|
-
-
|
|
64
|
-
- Memoize when passing callbacks/objects to memoized children
|
|
65
|
-
- Use Suspense boundaries for async operations
|
|
66
|
-
|
|
67
|
-
### MUST NOT DO
|
|
68
|
-
- Mutate state directly
|
|
69
|
-
- Use array index as key for dynamic lists
|
|
70
|
-
- Create functions inside JSX (causes re-renders)
|
|
71
|
-
- Forget useEffect cleanup (memory leaks)
|
|
72
|
-
- Ignore React strict mode warnings
|
|
73
|
-
- Skip error boundaries in production
|
|
74
|
-
|
|
75
|
-
## Output Templates
|
|
76
|
-
|
|
77
|
-
When implementing React features, provide:
|
|
78
|
-
1. Component file with TypeScript types
|
|
79
|
-
2. Test file if non-trivial logic
|
|
80
|
-
3. Brief explanation of key decisions
|
|
81
|
-
|
|
82
|
-
## Knowledge Reference
|
|
83
|
-
|
|
84
|
-
React 19, Server Components, use() hook, Suspense, TypeScript, TanStack Query, Zustand, Redux Toolkit, React Router, React Testing Library, Vitest/Jest, Next.js App Router, accessibility (WCAG)
|
|
51
|
+
- `references/react-19-features.md`
|
|
52
|
+
- `references/hooks-patterns.md`
|
|
53
|
+
- `references/state-management.md`
|
|
54
|
+
- `references/performance.md`
|
|
55
|
+
- `references/testing-react.md`
|
|
56
|
+
- `references/server-components.md`
|
package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/rust-pro/SKILL.md
CHANGED
|
@@ -1,176 +1,49 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: rust-pro
|
|
3
|
-
description:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
name: "rust-pro"
|
|
3
|
+
description: "Use for modern Rust systems/services with stable 1.91-era patterns, async correctness, and performance-focused design."
|
|
4
|
+
license: MIT
|
|
5
|
+
metadata:
|
|
6
|
+
version: "2.0.0"
|
|
7
|
+
domain: "language"
|
|
8
|
+
role: "specialist"
|
|
9
|
+
stack: "rust"
|
|
10
|
+
baseline: "Rust stable 1.91"
|
|
7
11
|
---
|
|
8
|
-
You are a Rust expert specializing in modern Rust 1.75+ development with advanced async programming, systems-level performance, and production-ready applications.
|
|
9
12
|
|
|
10
|
-
|
|
13
|
+
# Rust Pro
|
|
11
14
|
|
|
12
|
-
|
|
13
|
-
- Solving ownership, lifetime, or async design issues
|
|
14
|
-
- Optimizing performance with memory safety guarantees
|
|
15
|
+
## When to use
|
|
15
16
|
|
|
16
|
-
|
|
17
|
+
- Building high-reliability services, CLIs, and systems components.
|
|
18
|
+
- Solving ownership/lifetime design problems.
|
|
19
|
+
- Optimizing memory safety and runtime performance together.
|
|
17
20
|
|
|
18
|
-
|
|
19
|
-
- You only need basic Rust syntax
|
|
20
|
-
- You cannot introduce Rust into the stack
|
|
21
|
+
## Core workflow
|
|
21
22
|
|
|
22
|
-
|
|
23
|
+
1. Define ownership and error model first.
|
|
24
|
+
2. Choose async/runtime crates intentionally.
|
|
25
|
+
3. Implement small composable modules.
|
|
26
|
+
4. Verify with tests, clippy, and formatting.
|
|
27
|
+
5. Profile before low-level optimization.
|
|
23
28
|
|
|
24
|
-
|
|
25
|
-
2. Choose async/runtime and crate ecosystem approach.
|
|
26
|
-
3. Implement with tests and linting.
|
|
27
|
-
4. Profile and optimize hotspots.
|
|
29
|
+
## Baseline standards
|
|
28
30
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
+
- `rustfmt` + `clippy` clean in CI.
|
|
32
|
+
- Use explicit error types (`thiserror`/`anyhow` by layer).
|
|
33
|
+
- Keep `unsafe` minimal and documented with invariants.
|
|
34
|
+
- Prefer iterator/trait composition over macro-heavy complexity.
|
|
35
|
+
- Make concurrency cancellation-safe and backpressure-aware.
|
|
31
36
|
|
|
32
|
-
##
|
|
37
|
+
## Implementation guidance
|
|
33
38
|
|
|
34
|
-
|
|
35
|
-
-
|
|
36
|
-
-
|
|
37
|
-
-
|
|
38
|
-
-
|
|
39
|
-
- Const evaluation and compile-time computation
|
|
40
|
-
- Macro system with procedural and declarative macros
|
|
41
|
-
- Module system and visibility controls
|
|
42
|
-
- Advanced error handling with Result, Option, and custom error types
|
|
39
|
+
- Use `tokio`/`axum`/`tower` patterns for service work.
|
|
40
|
+
- Model domain states with enums and exhaustive matching.
|
|
41
|
+
- Use `Arc` + interior mutability only when ownership alternatives fail.
|
|
42
|
+
- Keep borrow scopes tight to improve readability and compile times.
|
|
43
|
+
- Separate transport DTOs from domain types.
|
|
43
44
|
|
|
44
|
-
|
|
45
|
-
- Ownership rules, borrowing, and move semantics mastery
|
|
46
|
-
- Reference counting with Rc, Arc, and weak references
|
|
47
|
-
- Smart pointers: Box, RefCell, Mutex, RwLock
|
|
48
|
-
- Memory layout optimization and zero-cost abstractions
|
|
49
|
-
- RAII patterns and automatic resource management
|
|
50
|
-
- Phantom types and zero-sized types (ZSTs)
|
|
51
|
-
- Memory safety without garbage collection
|
|
52
|
-
- Custom allocators and memory pool management
|
|
45
|
+
## Avoid
|
|
53
46
|
|
|
54
|
-
|
|
55
|
-
-
|
|
56
|
-
-
|
|
57
|
-
- Channel patterns: mpsc, broadcast, watch channels
|
|
58
|
-
- Tokio ecosystem: axum, tower, hyper for web services
|
|
59
|
-
- Select patterns and concurrent task management
|
|
60
|
-
- Backpressure handling and flow control
|
|
61
|
-
- Async trait objects and dynamic dispatch
|
|
62
|
-
- Performance optimization in async contexts
|
|
63
|
-
|
|
64
|
-
### Type System & Traits
|
|
65
|
-
- Advanced trait implementations and trait bounds
|
|
66
|
-
- Associated types and generic associated types
|
|
67
|
-
- Higher-kinded types and type-level programming
|
|
68
|
-
- Phantom types and marker traits
|
|
69
|
-
- Orphan rule navigation and newtype patterns
|
|
70
|
-
- Derive macros and custom derive implementations
|
|
71
|
-
- Type erasure and dynamic dispatch strategies
|
|
72
|
-
- Compile-time polymorphism and monomorphization
|
|
73
|
-
|
|
74
|
-
### Performance & Systems Programming
|
|
75
|
-
- Zero-cost abstractions and compile-time optimizations
|
|
76
|
-
- SIMD programming with portable-simd
|
|
77
|
-
- Memory mapping and low-level I/O operations
|
|
78
|
-
- Lock-free programming and atomic operations
|
|
79
|
-
- Cache-friendly data structures and algorithms
|
|
80
|
-
- Profiling with perf, valgrind, and cargo-flamegraph
|
|
81
|
-
- Binary size optimization and embedded targets
|
|
82
|
-
- Cross-compilation and target-specific optimizations
|
|
83
|
-
|
|
84
|
-
### Web Development & Services
|
|
85
|
-
- Modern web frameworks: axum, warp, actix-web
|
|
86
|
-
- HTTP/2 and HTTP/3 support with hyper
|
|
87
|
-
- WebSocket and real-time communication
|
|
88
|
-
- Authentication and middleware patterns
|
|
89
|
-
- Database integration with sqlx and diesel
|
|
90
|
-
- Serialization with serde and custom formats
|
|
91
|
-
- GraphQL APIs with async-graphql
|
|
92
|
-
- gRPC services with tonic
|
|
93
|
-
|
|
94
|
-
### Error Handling & Safety
|
|
95
|
-
- Comprehensive error handling with thiserror and anyhow
|
|
96
|
-
- Custom error types and error propagation
|
|
97
|
-
- Panic handling and graceful degradation
|
|
98
|
-
- Result and Option patterns and combinators
|
|
99
|
-
- Error conversion and context preservation
|
|
100
|
-
- Logging and structured error reporting
|
|
101
|
-
- Testing error conditions and edge cases
|
|
102
|
-
- Recovery strategies and fault tolerance
|
|
103
|
-
|
|
104
|
-
### Testing & Quality Assurance
|
|
105
|
-
- Unit testing with built-in test framework
|
|
106
|
-
- Property-based testing with proptest and quickcheck
|
|
107
|
-
- Integration testing and test organization
|
|
108
|
-
- Mocking and test doubles with mockall
|
|
109
|
-
- Benchmark testing with criterion.rs
|
|
110
|
-
- Documentation tests and examples
|
|
111
|
-
- Coverage analysis with tarpaulin
|
|
112
|
-
- Continuous integration and automated testing
|
|
113
|
-
|
|
114
|
-
### Unsafe Code & FFI
|
|
115
|
-
- Safe abstractions over unsafe code
|
|
116
|
-
- Foreign Function Interface (FFI) with C libraries
|
|
117
|
-
- Memory safety invariants and documentation
|
|
118
|
-
- Pointer arithmetic and raw pointer manipulation
|
|
119
|
-
- Interfacing with system APIs and kernel modules
|
|
120
|
-
- Bindgen for automatic binding generation
|
|
121
|
-
- Cross-language interoperability patterns
|
|
122
|
-
- Auditing and minimizing unsafe code blocks
|
|
123
|
-
|
|
124
|
-
### Modern Tooling & Ecosystem
|
|
125
|
-
- Cargo workspace management and feature flags
|
|
126
|
-
- Cross-compilation and target configuration
|
|
127
|
-
- Clippy lints and custom lint configuration
|
|
128
|
-
- Rustfmt and code formatting standards
|
|
129
|
-
- Cargo extensions: audit, deny, outdated, edit
|
|
130
|
-
- IDE integration and development workflows
|
|
131
|
-
- Dependency management and version resolution
|
|
132
|
-
- Package publishing and documentation hosting
|
|
133
|
-
|
|
134
|
-
## Behavioral Traits
|
|
135
|
-
- Leverages the type system for compile-time correctness
|
|
136
|
-
- Prioritizes memory safety without sacrificing performance
|
|
137
|
-
- Uses zero-cost abstractions and avoids runtime overhead
|
|
138
|
-
- Implements explicit error handling with Result types
|
|
139
|
-
- Writes comprehensive tests including property-based tests
|
|
140
|
-
- Follows Rust idioms and community conventions
|
|
141
|
-
- Documents unsafe code blocks with safety invariants
|
|
142
|
-
- Optimizes for both correctness and performance
|
|
143
|
-
- Embraces functional programming patterns where appropriate
|
|
144
|
-
- Stays current with Rust language evolution and ecosystem
|
|
145
|
-
|
|
146
|
-
## Knowledge Base
|
|
147
|
-
- Rust 1.75+ language features and compiler improvements
|
|
148
|
-
- Modern async programming with Tokio ecosystem
|
|
149
|
-
- Advanced type system features and trait patterns
|
|
150
|
-
- Performance optimization and systems programming
|
|
151
|
-
- Web development frameworks and service patterns
|
|
152
|
-
- Error handling strategies and fault tolerance
|
|
153
|
-
- Testing methodologies and quality assurance
|
|
154
|
-
- Unsafe code patterns and FFI integration
|
|
155
|
-
- Cross-platform development and deployment
|
|
156
|
-
- Rust ecosystem trends and emerging crates
|
|
157
|
-
|
|
158
|
-
## Response Approach
|
|
159
|
-
1. **Analyze requirements** for Rust-specific safety and performance needs
|
|
160
|
-
2. **Design type-safe APIs** with comprehensive error handling
|
|
161
|
-
3. **Implement efficient algorithms** with zero-cost abstractions
|
|
162
|
-
4. **Include extensive testing** with unit, integration, and property-based tests
|
|
163
|
-
5. **Consider async patterns** for concurrent and I/O-bound operations
|
|
164
|
-
6. **Document safety invariants** for any unsafe code blocks
|
|
165
|
-
7. **Optimize for performance** while maintaining memory safety
|
|
166
|
-
8. **Recommend modern ecosystem** crates and patterns
|
|
167
|
-
|
|
168
|
-
## Example Interactions
|
|
169
|
-
- "Design a high-performance async web service with proper error handling"
|
|
170
|
-
- "Implement a lock-free concurrent data structure with atomic operations"
|
|
171
|
-
- "Optimize this Rust code for better memory usage and cache locality"
|
|
172
|
-
- "Create a safe wrapper around a C library using FFI"
|
|
173
|
-
- "Build a streaming data processor with backpressure handling"
|
|
174
|
-
- "Design a plugin system with dynamic loading and type safety"
|
|
175
|
-
- "Implement a custom allocator for a specific use case"
|
|
176
|
-
- "Debug and fix lifetime issues in this complex generic code"
|
|
47
|
+
- Premature `unsafe` optimization.
|
|
48
|
+
- Silent `unwrap`/`expect` in non-test code paths.
|
|
49
|
+
- Global mutable state for request data.
|
package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/skills_index.json
CHANGED
|
@@ -192,6 +192,16 @@
|
|
|
192
192
|
"description": "Use when reviewing pull requests, conducting code quality audits, or identifying security vulnerabilities. Invoke for PR reviews, code quality checks, refactoring suggestions.",
|
|
193
193
|
"triggers": []
|
|
194
194
|
},
|
|
195
|
+
{
|
|
196
|
+
"id": "csharp-pro",
|
|
197
|
+
"name": "csharp-pro",
|
|
198
|
+
"canonical_id": "csharp-pro",
|
|
199
|
+
"deprecated": false,
|
|
200
|
+
"replaced_by": null,
|
|
201
|
+
"path": ".cursor/skills/csharp-pro/SKILL.md",
|
|
202
|
+
"description": "Use for modern C# backend/application engineering with C# 14 and .NET 10-era production practices.",
|
|
203
|
+
"triggers": []
|
|
204
|
+
},
|
|
195
205
|
{
|
|
196
206
|
"id": "database-design",
|
|
197
207
|
"name": "database-design",
|
|
@@ -488,18 +498,8 @@
|
|
|
488
498
|
"deprecated": false,
|
|
489
499
|
"replaced_by": null,
|
|
490
500
|
"path": ".cursor/skills/golang-pro/SKILL.md",
|
|
491
|
-
"description": "Use
|
|
492
|
-
"triggers": [
|
|
493
|
-
"Go",
|
|
494
|
-
"Golang",
|
|
495
|
-
"goroutines",
|
|
496
|
-
"channels",
|
|
497
|
-
"gRPC",
|
|
498
|
-
"microservices Go",
|
|
499
|
-
"Go generics",
|
|
500
|
-
"concurrent programming",
|
|
501
|
-
"Go interfaces"
|
|
502
|
-
]
|
|
501
|
+
"description": "Use for modern Go services and tooling with Go 1.26-era language/runtime patterns, concurrency safety, and production operations.",
|
|
502
|
+
"triggers": []
|
|
503
503
|
},
|
|
504
504
|
{
|
|
505
505
|
"id": "gorouter-restoration",
|
|
@@ -551,6 +551,16 @@
|
|
|
551
551
|
"description": "Automatic agent selection and intelligent task routing. Analyzes user requests and automatically selects the best specialist agent(s) without requiring explicit user mentions.",
|
|
552
552
|
"triggers": []
|
|
553
553
|
},
|
|
554
|
+
{
|
|
555
|
+
"id": "java-pro",
|
|
556
|
+
"name": "java-pro",
|
|
557
|
+
"canonical_id": "java-pro",
|
|
558
|
+
"deprecated": false,
|
|
559
|
+
"replaced_by": null,
|
|
560
|
+
"path": ".cursor/skills/java-pro/SKILL.md",
|
|
561
|
+
"description": "Use for modern Java backend and platform engineering with Java 25-era language/runtime practices.",
|
|
562
|
+
"triggers": []
|
|
563
|
+
},
|
|
554
564
|
{
|
|
555
565
|
"id": "javascript-pro",
|
|
556
566
|
"name": "javascript-pro",
|
|
@@ -558,18 +568,18 @@
|
|
|
558
568
|
"deprecated": false,
|
|
559
569
|
"replaced_by": null,
|
|
560
570
|
"path": ".cursor/skills/javascript-pro/SKILL.md",
|
|
561
|
-
"description": "Use
|
|
562
|
-
"triggers": [
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
]
|
|
571
|
+
"description": "Use for modern JavaScript architecture and implementation across browser, Node, and edge runtimes with ES2025+ practices.",
|
|
572
|
+
"triggers": []
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"id": "kotlin-pro",
|
|
576
|
+
"name": "kotlin-pro",
|
|
577
|
+
"canonical_id": "kotlin-pro",
|
|
578
|
+
"deprecated": false,
|
|
579
|
+
"replaced_by": null,
|
|
580
|
+
"path": ".cursor/skills/kotlin-pro/SKILL.md",
|
|
581
|
+
"description": "Use for modern Kotlin backend/mobile/shared code with Kotlin 2.3-era language tooling and production patterns.",
|
|
582
|
+
"triggers": []
|
|
573
583
|
},
|
|
574
584
|
{
|
|
575
585
|
"id": "legacy-modernizer",
|
|
@@ -722,7 +732,7 @@
|
|
|
722
732
|
"deprecated": false,
|
|
723
733
|
"replaced_by": null,
|
|
724
734
|
"path": ".cursor/skills/nextjs-developer/SKILL.md",
|
|
725
|
-
"description": "Use for implementing/refactoring Next.js App Router features, Server Components/Actions, SEO, and production architecture.
|
|
735
|
+
"description": "Use for implementing/refactoring Next.js App Router features, React Server Components/Actions, SEO, and production architecture.",
|
|
726
736
|
"triggers": []
|
|
727
737
|
},
|
|
728
738
|
{
|
|
@@ -742,7 +752,7 @@
|
|
|
742
752
|
"deprecated": false,
|
|
743
753
|
"replaced_by": null,
|
|
744
754
|
"path": ".cursor/skills/nodejs-best-practices/SKILL.md",
|
|
745
|
-
"description": "
|
|
755
|
+
"description": "Decision framework for modern Node.js backend architecture, operations, and security using current LTS-era practices.",
|
|
746
756
|
"triggers": []
|
|
747
757
|
},
|
|
748
758
|
{
|
|
@@ -860,17 +870,8 @@
|
|
|
860
870
|
"deprecated": false,
|
|
861
871
|
"replaced_by": null,
|
|
862
872
|
"path": ".cursor/skills/python-pro/SKILL.md",
|
|
863
|
-
"description": "Use
|
|
864
|
-
"triggers": [
|
|
865
|
-
"Python development",
|
|
866
|
-
"type hints",
|
|
867
|
-
"async Python",
|
|
868
|
-
"pytest",
|
|
869
|
-
"mypy",
|
|
870
|
-
"dataclasses",
|
|
871
|
-
"Python best practices",
|
|
872
|
-
"Pythonic code"
|
|
873
|
-
]
|
|
873
|
+
"description": "Use for production Python with 3.14-era typing, async, packaging, and testing standards.",
|
|
874
|
+
"triggers": []
|
|
874
875
|
},
|
|
875
876
|
{
|
|
876
877
|
"id": "react-best-practices",
|
|
@@ -879,7 +880,7 @@
|
|
|
879
880
|
"deprecated": false,
|
|
880
881
|
"replaced_by": null,
|
|
881
882
|
"path": ".cursor/skills/react-best-practices/SKILL.md",
|
|
882
|
-
"description": "Performance-focused React/Next.js review checklist
|
|
883
|
+
"description": "Performance-focused React/Next.js review checklist. Use for audits and optimization passes, not as primary implementation skill.",
|
|
883
884
|
"triggers": []
|
|
884
885
|
},
|
|
885
886
|
{
|
|
@@ -889,23 +890,8 @@
|
|
|
889
890
|
"deprecated": false,
|
|
890
891
|
"replaced_by": null,
|
|
891
892
|
"path": ".cursor/skills/react-expert/SKILL.md",
|
|
892
|
-
"description": "Use for framework-agnostic React
|
|
893
|
-
"triggers": [
|
|
894
|
-
"React",
|
|
895
|
-
"JSX",
|
|
896
|
-
"hooks",
|
|
897
|
-
"useState",
|
|
898
|
-
"useEffect",
|
|
899
|
-
"useContext",
|
|
900
|
-
"Server Components",
|
|
901
|
-
"React 19",
|
|
902
|
-
"Suspense",
|
|
903
|
-
"TanStack Query",
|
|
904
|
-
"Redux",
|
|
905
|
-
"Zustand",
|
|
906
|
-
"component",
|
|
907
|
-
"frontend"
|
|
908
|
-
]
|
|
893
|
+
"description": "Use for framework-agnostic React architecture with React 19 patterns, state design, and performance tuning.",
|
|
894
|
+
"triggers": []
|
|
909
895
|
},
|
|
910
896
|
{
|
|
911
897
|
"id": "red-team-tactics",
|
|
@@ -954,7 +940,7 @@
|
|
|
954
940
|
"deprecated": false,
|
|
955
941
|
"replaced_by": null,
|
|
956
942
|
"path": ".cursor/skills/rust-pro/SKILL.md",
|
|
957
|
-
"description": "
|
|
943
|
+
"description": "Use for modern Rust systems/services with stable 1.91-era patterns, async correctness, and performance-focused design.",
|
|
958
944
|
"triggers": []
|
|
959
945
|
},
|
|
960
946
|
{
|
|
@@ -1194,7 +1180,7 @@
|
|
|
1194
1180
|
"deprecated": false,
|
|
1195
1181
|
"replaced_by": null,
|
|
1196
1182
|
"path": ".cursor/skills/typescript-pro/SKILL.md",
|
|
1197
|
-
"description": "Use
|
|
1183
|
+
"description": "Use for TypeScript architecture and implementation with TS 5.9+ production baselines and TS 6/7 transition readiness.",
|
|
1198
1184
|
"triggers": []
|
|
1199
1185
|
},
|
|
1200
1186
|
{
|
package/workflows/workflows/agent-environment-setup/platforms/cursor/skills/typescript-pro/SKILL.md
CHANGED
|
@@ -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`
|