@jakkrichm/create-nexus-devflow 2.0.0
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/LICENSE +21 -0
- package/README.md +82 -0
- package/bin/create-nexus-devflow.js +275 -0
- package/lib/update.js +379 -0
- package/package.json +53 -0
- package/template/.agents/skills/00-discover/SKILL.md +170 -0
- package/template/.agents/skills/10-define/SKILL.md +170 -0
- package/template/.agents/skills/20-spec/SKILL.md +156 -0
- package/template/.agents/skills/30-plan/SKILL.md +221 -0
- package/template/.agents/skills/40-implement/SKILL.md +166 -0
- package/template/.agents/skills/50-verify/SKILL.md +188 -0
- package/template/.agents/skills/60-report/SKILL.md +183 -0
- package/template/.agents/skills/70-release/SKILL.md +155 -0
- package/template/.agents/skills/9arm-skills/README.md +51 -0
- package/template/.agents/skills/9arm-skills/debug-mantra/SKILL.md +86 -0
- package/template/.agents/skills/9arm-skills/management-talk/SKILL.md +79 -0
- package/template/.agents/skills/9arm-skills/post-mortem/SKILL.md +71 -0
- package/template/.agents/skills/9arm-skills/scrutinize/SKILL.md +72 -0
- package/template/.agents/skills/agent/SKILL.md +165 -0
- package/template/.agents/skills/api-and-interface-design/SKILL.md +294 -0
- package/template/.agents/skills/app-builder/SKILL.md +75 -0
- package/template/.agents/skills/app-builder/agent-coordination.md +71 -0
- package/template/.agents/skills/app-builder/feature-building.md +53 -0
- package/template/.agents/skills/app-builder/project-detection.md +34 -0
- package/template/.agents/skills/app-builder/scaffolding.md +118 -0
- package/template/.agents/skills/app-builder/tech-stack.md +40 -0
- package/template/.agents/skills/app-builder/templates/SKILL.md +39 -0
- package/template/.agents/skills/app-builder/templates/astro-static/TEMPLATE.md +76 -0
- package/template/.agents/skills/app-builder/templates/chrome-extension/TEMPLATE.md +92 -0
- package/template/.agents/skills/app-builder/templates/cli-tool/TEMPLATE.md +88 -0
- package/template/.agents/skills/app-builder/templates/electron-desktop/TEMPLATE.md +88 -0
- package/template/.agents/skills/app-builder/templates/express-api/TEMPLATE.md +83 -0
- package/template/.agents/skills/app-builder/templates/flutter-app/TEMPLATE.md +90 -0
- package/template/.agents/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +90 -0
- package/template/.agents/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +122 -0
- package/template/.agents/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +122 -0
- package/template/.agents/skills/app-builder/templates/nextjs-static/TEMPLATE.md +169 -0
- package/template/.agents/skills/app-builder/templates/nuxt-app/TEMPLATE.md +134 -0
- package/template/.agents/skills/app-builder/templates/python-fastapi/TEMPLATE.md +83 -0
- package/template/.agents/skills/app-builder/templates/react-native-app/TEMPLATE.md +119 -0
- package/template/.agents/skills/architecture/SKILL.md +55 -0
- package/template/.agents/skills/architecture/context-discovery.md +43 -0
- package/template/.agents/skills/architecture/examples.md +94 -0
- package/template/.agents/skills/architecture/pattern-selection.md +68 -0
- package/template/.agents/skills/architecture/patterns-reference.md +50 -0
- package/template/.agents/skills/architecture/trade-off-analysis.md +77 -0
- package/template/.agents/skills/bash-linux/SKILL.md +199 -0
- package/template/.agents/skills/behavioral-modes/SKILL.md +242 -0
- package/template/.agents/skills/brainstorm/SKILL.md +168 -0
- package/template/.agents/skills/browser-testing-with-devtools/SKILL.md +302 -0
- package/template/.agents/skills/changelog/SKILL.md +109 -0
- package/template/.agents/skills/check-for-updates/SKILL.md +117 -0
- package/template/.agents/skills/ci-cd-and-automation/SKILL.md +390 -0
- package/template/.agents/skills/code-review-and-quality/SKILL.md +392 -0
- package/template/.agents/skills/code-simplification/SKILL.md +331 -0
- package/template/.agents/skills/codebase-design/DEEPENING.md +24 -0
- package/template/.agents/skills/codebase-design/DESIGN-IT-TWICE.md +28 -0
- package/template/.agents/skills/codebase-design/SKILL.md +58 -0
- package/template/.agents/skills/commit/SKILL.md +63 -0
- package/template/.agents/skills/competitor-analysis/SKILL.md +66 -0
- package/template/.agents/skills/context-engineering/SKILL.md +290 -0
- package/template/.agents/skills/database-design/SKILL.md +52 -0
- package/template/.agents/skills/database-design/database-selection.md +43 -0
- package/template/.agents/skills/database-design/indexing.md +39 -0
- package/template/.agents/skills/database-design/migrations.md +48 -0
- package/template/.agents/skills/database-design/optimization.md +36 -0
- package/template/.agents/skills/database-design/orm-selection.md +30 -0
- package/template/.agents/skills/database-design/schema-design.md +56 -0
- package/template/.agents/skills/database-design/scripts/schema_validator.py +172 -0
- package/template/.agents/skills/debug/SKILL.md +131 -0
- package/template/.agents/skills/debugging-and-error-recovery/SKILL.md +298 -0
- package/template/.agents/skills/deploy/SKILL.md +91 -0
- package/template/.agents/skills/deployment-procedures/SKILL.md +241 -0
- package/template/.agents/skills/deprecation-and-migration/SKILL.md +206 -0
- package/template/.agents/skills/devflow/SKILL.md +89 -0
- package/template/.agents/skills/devflow-concept-intake/SKILL.md +150 -0
- package/template/.agents/skills/devflow-concept-intake/agents/openai.yaml +4 -0
- package/template/.agents/skills/devflow-concept-intake/references/adoption-proposal-template.md +60 -0
- package/template/.agents/skills/devflow-concept-intake/references/concept-report-template.md +47 -0
- package/template/.agents/skills/devflow-concept-intake/references/upstream-tracking-template.md +51 -0
- package/template/.agents/skills/devflow-wiki/SKILL.md +75 -0
- package/template/.agents/skills/diagnosing-bugs/SKILL.md +93 -0
- package/template/.agents/skills/documentation-and-adrs/SKILL.md +278 -0
- package/template/.agents/skills/domain-modeling/ADR-FORMAT.md +47 -0
- package/template/.agents/skills/domain-modeling/CONTEXT-FORMAT.md +60 -0
- package/template/.agents/skills/domain-modeling/SKILL.md +74 -0
- package/template/.agents/skills/english-to-thai-translator/SKILL.md +125 -0
- package/template/.agents/skills/followup/SKILL.md +83 -0
- package/template/.agents/skills/frontend-ui-engineering/SKILL.md +326 -0
- package/template/.agents/skills/frontend-ui-engineering/accessibility-checklist.md +159 -0
- package/template/.agents/skills/git-workflow-and-versioning/SKILL.md +300 -0
- package/template/.agents/skills/goal/SKILL.md +148 -0
- package/template/.agents/skills/handoff/SKILL.md +46 -0
- package/template/.agents/skills/help/SKILL.md +253 -0
- package/template/.agents/skills/human-review-decisions/SKILL.md +74 -0
- package/template/.agents/skills/i18n-localization/SKILL.md +154 -0
- package/template/.agents/skills/i18n-localization/scripts/i18n_checker.py +241 -0
- package/template/.agents/skills/idea-refine/SKILL.md +178 -0
- package/template/.agents/skills/idea-refine/examples.md +238 -0
- package/template/.agents/skills/idea-refine/frameworks.md +99 -0
- package/template/.agents/skills/idea-refine/refinement-criteria.md +113 -0
- package/template/.agents/skills/idea-refine/scripts/idea-refine.sh +15 -0
- package/template/.agents/skills/incremental-implementation/SKILL.md +248 -0
- package/template/.agents/skills/insight/SKILL.md +131 -0
- package/template/.agents/skills/insight-capture/SKILL.md +84 -0
- package/template/.agents/skills/intelligent-routing/SKILL.md +176 -0
- package/template/.agents/skills/issue-triage/SKILL.md +115 -0
- package/template/.agents/skills/lint-and-validate/SKILL.md +45 -0
- package/template/.agents/skills/lint-and-validate/scripts/lint_runner.py +184 -0
- package/template/.agents/skills/lint-and-validate/scripts/type_coverage.py +173 -0
- package/template/.agents/skills/mcp-builder/SKILL.md +176 -0
- package/template/.agents/skills/md2html/SKILL.md +154 -0
- package/template/.agents/skills/md2html/components.md +505 -0
- package/template/.agents/skills/md2html/template.html +1152 -0
- package/template/.agents/skills/merge/SKILL.md +76 -0
- package/template/.agents/skills/mobile-design/SKILL.md +394 -0
- package/template/.agents/skills/mobile-design/decision-trees.md +516 -0
- package/template/.agents/skills/mobile-design/mobile-backend.md +491 -0
- package/template/.agents/skills/mobile-design/mobile-color-system.md +420 -0
- package/template/.agents/skills/mobile-design/mobile-debugging.md +122 -0
- package/template/.agents/skills/mobile-design/mobile-design-thinking.md +357 -0
- package/template/.agents/skills/mobile-design/mobile-navigation.md +458 -0
- package/template/.agents/skills/mobile-design/mobile-performance.md +767 -0
- package/template/.agents/skills/mobile-design/mobile-testing.md +356 -0
- package/template/.agents/skills/mobile-design/mobile-typography.md +433 -0
- package/template/.agents/skills/mobile-design/platform-android.md +666 -0
- package/template/.agents/skills/mobile-design/platform-ios.md +561 -0
- package/template/.agents/skills/mobile-design/scripts/mobile_audit.py +670 -0
- package/template/.agents/skills/mobile-design/touch-psychology.md +537 -0
- package/template/.agents/skills/nextjs-react-expert/1-async-eliminating-waterfalls.md +312 -0
- package/template/.agents/skills/nextjs-react-expert/2-bundle-bundle-size-optimization.md +240 -0
- package/template/.agents/skills/nextjs-react-expert/3-server-server-side-performance.md +490 -0
- package/template/.agents/skills/nextjs-react-expert/4-client-client-side-data-fetching.md +264 -0
- package/template/.agents/skills/nextjs-react-expert/5-rerender-re-render-optimization.md +581 -0
- package/template/.agents/skills/nextjs-react-expert/6-rendering-rendering-performance.md +432 -0
- package/template/.agents/skills/nextjs-react-expert/7-js-javascript-performance.md +684 -0
- package/template/.agents/skills/nextjs-react-expert/8-advanced-advanced-patterns.md +150 -0
- package/template/.agents/skills/nextjs-react-expert/SKILL.md +286 -0
- package/template/.agents/skills/nextjs-react-expert/scripts/convert_rules.py +222 -0
- package/template/.agents/skills/nextjs-react-expert/scripts/react_performance_checker.py +252 -0
- package/template/.agents/skills/nodejs-best-practices/SKILL.md +333 -0
- package/template/.agents/skills/obsidian-bases/SKILL.md +506 -0
- package/template/.agents/skills/obsidian-bases/references/FUNCTIONS_REFERENCE.md +173 -0
- package/template/.agents/skills/obsidian-cli/SKILL.md +115 -0
- package/template/.agents/skills/obsidian-clipper-template-creator/SKILL.md +73 -0
- package/template/.agents/skills/obsidian-clipper-template-creator/assets/clipping-template.json +51 -0
- package/template/.agents/skills/obsidian-clipper-template-creator/assets/recipe-template.json +48 -0
- package/template/.agents/skills/obsidian-clipper-template-creator/references/analysis-workflow.md +79 -0
- package/template/.agents/skills/obsidian-clipper-template-creator/references/bases-workflow.md +44 -0
- package/template/.agents/skills/obsidian-clipper-template-creator/references/filters.md +51 -0
- package/template/.agents/skills/obsidian-clipper-template-creator/references/json-schema.md +77 -0
- package/template/.agents/skills/obsidian-clipper-template-creator/references/logic.md +67 -0
- package/template/.agents/skills/obsidian-clipper-template-creator/references/variables.md +64 -0
- package/template/.agents/skills/obsidian-markdown/SKILL.md +205 -0
- package/template/.agents/skills/obsidian-markdown/references/CALLOUTS.md +58 -0
- package/template/.agents/skills/obsidian-markdown/references/EMBEDS.md +63 -0
- package/template/.agents/skills/obsidian-markdown/references/PROPERTIES.md +61 -0
- package/template/.agents/skills/package-json-generator/SKILL.md +60 -0
- package/template/.agents/skills/package-json-generator/scripts/generate.js +120 -0
- package/template/.agents/skills/package-json-generator/scripts/run.sh +19 -0
- package/template/.agents/skills/parallel-agents/SKILL.md +144 -0
- package/template/.agents/skills/performance-optimization/SKILL.md +299 -0
- package/template/.agents/skills/performance-optimization/performance-checklist.md +113 -0
- package/template/.agents/skills/planning-and-task-breakdown/SKILL.md +239 -0
- package/template/.agents/skills/powershell-windows/SKILL.md +167 -0
- package/template/.agents/skills/pr/SKILL.md +93 -0
- package/template/.agents/skills/pr-review/SKILL.md +143 -0
- package/template/.agents/skills/pr-review-analysis/SKILL.md +89 -0
- package/template/.agents/skills/prd/SKILL.md +127 -0
- package/template/.agents/skills/preview/SKILL.md +121 -0
- package/template/.agents/skills/preview-local-check/SKILL.md +59 -0
- package/template/.agents/skills/prompt-addons/SKILL.md +99 -0
- package/template/.agents/skills/prototype/SKILL.md +44 -0
- package/template/.agents/skills/prp-dev-fastapi/SKILL.md +114 -0
- package/template/.agents/skills/prp-dev-multiplatform/SKILL.md +36 -0
- package/template/.agents/skills/prp-dev-odoo/SKILL.md +71 -0
- package/template/.agents/skills/prp-dev-php/SKILL.md +63 -0
- package/template/.agents/skills/prp-sa-ba/SKILL.md +52 -0
- package/template/.agents/skills/python-patterns/SKILL.md +441 -0
- package/template/.agents/skills/red-team-tactics/SKILL.md +199 -0
- package/template/.agents/skills/release-git-operations/SKILL.md +97 -0
- package/template/.agents/skills/research/SKILL.md +143 -0
- package/template/.agents/skills/review/SKILL.md +55 -0
- package/template/.agents/skills/review-followup-routing/SKILL.md +98 -0
- package/template/.agents/skills/roadmap-strategy/SKILL.md +97 -0
- package/template/.agents/skills/security-and-hardening/SKILL.md +349 -0
- package/template/.agents/skills/security-and-hardening/security-checklist.md +134 -0
- package/template/.agents/skills/security-review/SKILL.md +166 -0
- package/template/.agents/skills/seo-fundamentals/SKILL.md +129 -0
- package/template/.agents/skills/seo-fundamentals/scripts/seo_checker.py +219 -0
- package/template/.agents/skills/server-management/SKILL.md +161 -0
- package/template/.agents/skills/shipping-and-launch/SKILL.md +311 -0
- package/template/.agents/skills/silent-failure-audit/SKILL.md +73 -0
- package/template/.agents/skills/simplify/SKILL.md +79 -0
- package/template/.agents/skills/skill-development/SKILL.md +86 -0
- package/template/.agents/skills/spec-driven-development/SKILL.md +207 -0
- package/template/.agents/skills/spec-orchestration/SKILL.md +91 -0
- package/template/.agents/skills/specialist-agent-routing/SKILL.md +107 -0
- package/template/.agents/skills/tailwind-patterns/SKILL.md +269 -0
- package/template/.agents/skills/test/SKILL.md +82 -0
- package/template/.agents/skills/test-driven-development/SKILL.md +422 -0
- package/template/.agents/skills/test-driven-development/testing-patterns.md +236 -0
- package/template/.agents/skills/test-execution-and-coverage/SKILL.md +56 -0
- package/template/.agents/skills/type-design/SKILL.md +84 -0
- package/template/.agents/skills/ui-ux-pro-max/SKILL.md +75 -0
- package/template/.agents/skills/using-agent-skills/SKILL.md +171 -0
- package/template/.agents/skills/verification-orchestration/SKILL.md +68 -0
- package/template/.agents/skills/vulnerability-scanner/SKILL.md +276 -0
- package/template/.agents/skills/vulnerability-scanner/checklists.md +121 -0
- package/template/.agents/skills/vulnerability-scanner/scripts/security_scan.py +458 -0
- package/template/.agents/skills/wiki/SKILL.md +149 -0
- package/template/.agents/skills/workflow-documentation-sync/SKILL.md +87 -0
- package/template/.agents/skills/writing-great-skills/SKILL.md +65 -0
- package/template/.claude/skills/00-discover/SKILL.md +170 -0
- package/template/.claude/skills/10-define/SKILL.md +170 -0
- package/template/.claude/skills/20-spec/SKILL.md +156 -0
- package/template/.claude/skills/30-plan/SKILL.md +221 -0
- package/template/.claude/skills/40-implement/SKILL.md +166 -0
- package/template/.claude/skills/50-verify/SKILL.md +188 -0
- package/template/.claude/skills/60-report/SKILL.md +183 -0
- package/template/.claude/skills/70-release/SKILL.md +155 -0
- package/template/.claude/skills/9arm-skills/README.md +51 -0
- package/template/.claude/skills/9arm-skills/debug-mantra/SKILL.md +86 -0
- package/template/.claude/skills/9arm-skills/management-talk/SKILL.md +79 -0
- package/template/.claude/skills/9arm-skills/post-mortem/SKILL.md +71 -0
- package/template/.claude/skills/9arm-skills/scrutinize/SKILL.md +72 -0
- package/template/.claude/skills/agent/SKILL.md +165 -0
- package/template/.claude/skills/api-and-interface-design/SKILL.md +294 -0
- package/template/.claude/skills/app-builder/SKILL.md +75 -0
- package/template/.claude/skills/app-builder/agent-coordination.md +71 -0
- package/template/.claude/skills/app-builder/feature-building.md +53 -0
- package/template/.claude/skills/app-builder/project-detection.md +34 -0
- package/template/.claude/skills/app-builder/scaffolding.md +118 -0
- package/template/.claude/skills/app-builder/tech-stack.md +40 -0
- package/template/.claude/skills/app-builder/templates/SKILL.md +39 -0
- package/template/.claude/skills/app-builder/templates/astro-static/TEMPLATE.md +76 -0
- package/template/.claude/skills/app-builder/templates/chrome-extension/TEMPLATE.md +92 -0
- package/template/.claude/skills/app-builder/templates/cli-tool/TEMPLATE.md +88 -0
- package/template/.claude/skills/app-builder/templates/electron-desktop/TEMPLATE.md +88 -0
- package/template/.claude/skills/app-builder/templates/express-api/TEMPLATE.md +83 -0
- package/template/.claude/skills/app-builder/templates/flutter-app/TEMPLATE.md +90 -0
- package/template/.claude/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +90 -0
- package/template/.claude/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +122 -0
- package/template/.claude/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +122 -0
- package/template/.claude/skills/app-builder/templates/nextjs-static/TEMPLATE.md +169 -0
- package/template/.claude/skills/app-builder/templates/nuxt-app/TEMPLATE.md +134 -0
- package/template/.claude/skills/app-builder/templates/python-fastapi/TEMPLATE.md +83 -0
- package/template/.claude/skills/app-builder/templates/react-native-app/TEMPLATE.md +119 -0
- package/template/.claude/skills/architecture/SKILL.md +55 -0
- package/template/.claude/skills/architecture/context-discovery.md +43 -0
- package/template/.claude/skills/architecture/examples.md +94 -0
- package/template/.claude/skills/architecture/pattern-selection.md +68 -0
- package/template/.claude/skills/architecture/patterns-reference.md +50 -0
- package/template/.claude/skills/architecture/trade-off-analysis.md +77 -0
- package/template/.claude/skills/bash-linux/SKILL.md +199 -0
- package/template/.claude/skills/behavioral-modes/SKILL.md +242 -0
- package/template/.claude/skills/brainstorm/SKILL.md +168 -0
- package/template/.claude/skills/browser-testing-with-devtools/SKILL.md +302 -0
- package/template/.claude/skills/changelog/SKILL.md +109 -0
- package/template/.claude/skills/check-for-updates/SKILL.md +117 -0
- package/template/.claude/skills/ci-cd-and-automation/SKILL.md +390 -0
- package/template/.claude/skills/code-review-and-quality/SKILL.md +392 -0
- package/template/.claude/skills/code-simplification/SKILL.md +331 -0
- package/template/.claude/skills/codebase-design/DEEPENING.md +24 -0
- package/template/.claude/skills/codebase-design/DESIGN-IT-TWICE.md +28 -0
- package/template/.claude/skills/codebase-design/SKILL.md +58 -0
- package/template/.claude/skills/commit/SKILL.md +63 -0
- package/template/.claude/skills/competitor-analysis/SKILL.md +66 -0
- package/template/.claude/skills/context-engineering/SKILL.md +290 -0
- package/template/.claude/skills/database-design/SKILL.md +52 -0
- package/template/.claude/skills/database-design/database-selection.md +43 -0
- package/template/.claude/skills/database-design/indexing.md +39 -0
- package/template/.claude/skills/database-design/migrations.md +48 -0
- package/template/.claude/skills/database-design/optimization.md +36 -0
- package/template/.claude/skills/database-design/orm-selection.md +30 -0
- package/template/.claude/skills/database-design/schema-design.md +56 -0
- package/template/.claude/skills/database-design/scripts/schema_validator.py +172 -0
- package/template/.claude/skills/debug/SKILL.md +131 -0
- package/template/.claude/skills/debugging-and-error-recovery/SKILL.md +298 -0
- package/template/.claude/skills/deploy/SKILL.md +91 -0
- package/template/.claude/skills/deployment-procedures/SKILL.md +241 -0
- package/template/.claude/skills/deprecation-and-migration/SKILL.md +206 -0
- package/template/.claude/skills/devflow/SKILL.md +89 -0
- package/template/.claude/skills/devflow-concept-intake/SKILL.md +150 -0
- package/template/.claude/skills/devflow-concept-intake/agents/openai.yaml +4 -0
- package/template/.claude/skills/devflow-concept-intake/references/adoption-proposal-template.md +60 -0
- package/template/.claude/skills/devflow-concept-intake/references/concept-report-template.md +47 -0
- package/template/.claude/skills/devflow-concept-intake/references/upstream-tracking-template.md +51 -0
- package/template/.claude/skills/devflow-wiki/SKILL.md +75 -0
- package/template/.claude/skills/diagnosing-bugs/SKILL.md +93 -0
- package/template/.claude/skills/documentation-and-adrs/SKILL.md +278 -0
- package/template/.claude/skills/domain-modeling/ADR-FORMAT.md +47 -0
- package/template/.claude/skills/domain-modeling/CONTEXT-FORMAT.md +60 -0
- package/template/.claude/skills/domain-modeling/SKILL.md +74 -0
- package/template/.claude/skills/english-to-thai-translator/SKILL.md +125 -0
- package/template/.claude/skills/followup/SKILL.md +83 -0
- package/template/.claude/skills/frontend-ui-engineering/SKILL.md +326 -0
- package/template/.claude/skills/frontend-ui-engineering/accessibility-checklist.md +159 -0
- package/template/.claude/skills/git-workflow-and-versioning/SKILL.md +300 -0
- package/template/.claude/skills/goal/SKILL.md +148 -0
- package/template/.claude/skills/handoff/SKILL.md +46 -0
- package/template/.claude/skills/help/SKILL.md +253 -0
- package/template/.claude/skills/human-review-decisions/SKILL.md +74 -0
- package/template/.claude/skills/i18n-localization/SKILL.md +154 -0
- package/template/.claude/skills/i18n-localization/scripts/i18n_checker.py +241 -0
- package/template/.claude/skills/idea-refine/SKILL.md +178 -0
- package/template/.claude/skills/idea-refine/examples.md +238 -0
- package/template/.claude/skills/idea-refine/frameworks.md +99 -0
- package/template/.claude/skills/idea-refine/refinement-criteria.md +113 -0
- package/template/.claude/skills/idea-refine/scripts/idea-refine.sh +15 -0
- package/template/.claude/skills/incremental-implementation/SKILL.md +248 -0
- package/template/.claude/skills/insight/SKILL.md +131 -0
- package/template/.claude/skills/insight-capture/SKILL.md +84 -0
- package/template/.claude/skills/intelligent-routing/SKILL.md +176 -0
- package/template/.claude/skills/issue-triage/SKILL.md +115 -0
- package/template/.claude/skills/lint-and-validate/SKILL.md +45 -0
- package/template/.claude/skills/lint-and-validate/scripts/lint_runner.py +184 -0
- package/template/.claude/skills/lint-and-validate/scripts/type_coverage.py +173 -0
- package/template/.claude/skills/mcp-builder/SKILL.md +176 -0
- package/template/.claude/skills/md2html/SKILL.md +154 -0
- package/template/.claude/skills/md2html/components.md +505 -0
- package/template/.claude/skills/md2html/template.html +1152 -0
- package/template/.claude/skills/merge/SKILL.md +76 -0
- package/template/.claude/skills/mobile-design/SKILL.md +394 -0
- package/template/.claude/skills/mobile-design/decision-trees.md +516 -0
- package/template/.claude/skills/mobile-design/mobile-backend.md +491 -0
- package/template/.claude/skills/mobile-design/mobile-color-system.md +420 -0
- package/template/.claude/skills/mobile-design/mobile-debugging.md +122 -0
- package/template/.claude/skills/mobile-design/mobile-design-thinking.md +357 -0
- package/template/.claude/skills/mobile-design/mobile-navigation.md +458 -0
- package/template/.claude/skills/mobile-design/mobile-performance.md +767 -0
- package/template/.claude/skills/mobile-design/mobile-testing.md +356 -0
- package/template/.claude/skills/mobile-design/mobile-typography.md +433 -0
- package/template/.claude/skills/mobile-design/platform-android.md +666 -0
- package/template/.claude/skills/mobile-design/platform-ios.md +561 -0
- package/template/.claude/skills/mobile-design/scripts/mobile_audit.py +670 -0
- package/template/.claude/skills/mobile-design/touch-psychology.md +537 -0
- package/template/.claude/skills/nextjs-react-expert/1-async-eliminating-waterfalls.md +312 -0
- package/template/.claude/skills/nextjs-react-expert/2-bundle-bundle-size-optimization.md +240 -0
- package/template/.claude/skills/nextjs-react-expert/3-server-server-side-performance.md +490 -0
- package/template/.claude/skills/nextjs-react-expert/4-client-client-side-data-fetching.md +264 -0
- package/template/.claude/skills/nextjs-react-expert/5-rerender-re-render-optimization.md +581 -0
- package/template/.claude/skills/nextjs-react-expert/6-rendering-rendering-performance.md +432 -0
- package/template/.claude/skills/nextjs-react-expert/7-js-javascript-performance.md +684 -0
- package/template/.claude/skills/nextjs-react-expert/8-advanced-advanced-patterns.md +150 -0
- package/template/.claude/skills/nextjs-react-expert/SKILL.md +286 -0
- package/template/.claude/skills/nextjs-react-expert/scripts/convert_rules.py +222 -0
- package/template/.claude/skills/nextjs-react-expert/scripts/react_performance_checker.py +252 -0
- package/template/.claude/skills/nodejs-best-practices/SKILL.md +333 -0
- package/template/.claude/skills/obsidian-bases/SKILL.md +506 -0
- package/template/.claude/skills/obsidian-bases/references/FUNCTIONS_REFERENCE.md +173 -0
- package/template/.claude/skills/obsidian-cli/SKILL.md +115 -0
- package/template/.claude/skills/obsidian-clipper-template-creator/SKILL.md +73 -0
- package/template/.claude/skills/obsidian-clipper-template-creator/assets/clipping-template.json +51 -0
- package/template/.claude/skills/obsidian-clipper-template-creator/assets/recipe-template.json +48 -0
- package/template/.claude/skills/obsidian-clipper-template-creator/references/analysis-workflow.md +79 -0
- package/template/.claude/skills/obsidian-clipper-template-creator/references/bases-workflow.md +44 -0
- package/template/.claude/skills/obsidian-clipper-template-creator/references/filters.md +51 -0
- package/template/.claude/skills/obsidian-clipper-template-creator/references/json-schema.md +77 -0
- package/template/.claude/skills/obsidian-clipper-template-creator/references/logic.md +67 -0
- package/template/.claude/skills/obsidian-clipper-template-creator/references/variables.md +64 -0
- package/template/.claude/skills/obsidian-markdown/SKILL.md +205 -0
- package/template/.claude/skills/obsidian-markdown/references/CALLOUTS.md +58 -0
- package/template/.claude/skills/obsidian-markdown/references/EMBEDS.md +63 -0
- package/template/.claude/skills/obsidian-markdown/references/PROPERTIES.md +61 -0
- package/template/.claude/skills/package-json-generator/SKILL.md +60 -0
- package/template/.claude/skills/package-json-generator/scripts/generate.js +120 -0
- package/template/.claude/skills/package-json-generator/scripts/run.sh +19 -0
- package/template/.claude/skills/parallel-agents/SKILL.md +144 -0
- package/template/.claude/skills/performance-optimization/SKILL.md +299 -0
- package/template/.claude/skills/performance-optimization/performance-checklist.md +113 -0
- package/template/.claude/skills/planning-and-task-breakdown/SKILL.md +239 -0
- package/template/.claude/skills/powershell-windows/SKILL.md +167 -0
- package/template/.claude/skills/pr/SKILL.md +93 -0
- package/template/.claude/skills/pr-review/SKILL.md +143 -0
- package/template/.claude/skills/pr-review-analysis/SKILL.md +89 -0
- package/template/.claude/skills/prd/SKILL.md +127 -0
- package/template/.claude/skills/preview/SKILL.md +121 -0
- package/template/.claude/skills/preview-local-check/SKILL.md +59 -0
- package/template/.claude/skills/prompt-addons/SKILL.md +99 -0
- package/template/.claude/skills/prototype/SKILL.md +44 -0
- package/template/.claude/skills/prp-dev-fastapi/SKILL.md +114 -0
- package/template/.claude/skills/prp-dev-multiplatform/SKILL.md +36 -0
- package/template/.claude/skills/prp-dev-odoo/SKILL.md +71 -0
- package/template/.claude/skills/prp-dev-php/SKILL.md +63 -0
- package/template/.claude/skills/prp-sa-ba/SKILL.md +52 -0
- package/template/.claude/skills/python-patterns/SKILL.md +441 -0
- package/template/.claude/skills/red-team-tactics/SKILL.md +199 -0
- package/template/.claude/skills/release-git-operations/SKILL.md +97 -0
- package/template/.claude/skills/research/SKILL.md +143 -0
- package/template/.claude/skills/review/SKILL.md +55 -0
- package/template/.claude/skills/review-followup-routing/SKILL.md +98 -0
- package/template/.claude/skills/roadmap-strategy/SKILL.md +97 -0
- package/template/.claude/skills/security-and-hardening/SKILL.md +349 -0
- package/template/.claude/skills/security-and-hardening/security-checklist.md +134 -0
- package/template/.claude/skills/security-review/SKILL.md +166 -0
- package/template/.claude/skills/seo-fundamentals/SKILL.md +129 -0
- package/template/.claude/skills/seo-fundamentals/scripts/seo_checker.py +219 -0
- package/template/.claude/skills/server-management/SKILL.md +161 -0
- package/template/.claude/skills/shipping-and-launch/SKILL.md +311 -0
- package/template/.claude/skills/silent-failure-audit/SKILL.md +73 -0
- package/template/.claude/skills/simplify/SKILL.md +79 -0
- package/template/.claude/skills/skill-development/SKILL.md +86 -0
- package/template/.claude/skills/spec-driven-development/SKILL.md +207 -0
- package/template/.claude/skills/spec-orchestration/SKILL.md +91 -0
- package/template/.claude/skills/specialist-agent-routing/SKILL.md +107 -0
- package/template/.claude/skills/tailwind-patterns/SKILL.md +269 -0
- package/template/.claude/skills/test/SKILL.md +82 -0
- package/template/.claude/skills/test-driven-development/SKILL.md +422 -0
- package/template/.claude/skills/test-driven-development/testing-patterns.md +236 -0
- package/template/.claude/skills/test-execution-and-coverage/SKILL.md +56 -0
- package/template/.claude/skills/type-design/SKILL.md +84 -0
- package/template/.claude/skills/ui-ux-pro-max/SKILL.md +75 -0
- package/template/.claude/skills/using-agent-skills/SKILL.md +171 -0
- package/template/.claude/skills/verification-orchestration/SKILL.md +68 -0
- package/template/.claude/skills/vulnerability-scanner/SKILL.md +276 -0
- package/template/.claude/skills/vulnerability-scanner/checklists.md +121 -0
- package/template/.claude/skills/vulnerability-scanner/scripts/security_scan.py +458 -0
- package/template/.claude/skills/wiki/SKILL.md +149 -0
- package/template/.claude/skills/workflow-documentation-sync/SKILL.md +87 -0
- package/template/.claude/skills/writing-great-skills/SKILL.md +65 -0
- package/template/.nexus/nexus-devflow.json +44 -0
- package/template/AGENTS.md +58 -0
- package/template/CLAUDE.md +5 -0
- package/template/LICENSE +21 -0
- package/template/devflow/context/ai-interaction.md +34 -0
- package/template/devflow/context/coding-standards.md +19 -0
- package/template/devflow/context/current-stage.md +6 -0
- package/template/devflow/context/findings.md +13 -0
- package/template/devflow/context/project-overview.md +20 -0
- package/template/devflow/reference/running-id-contract.md +39 -0
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# Trade-off Analysis & ADR
|
|
2
|
+
|
|
3
|
+
> Document every architectural decision with trade-offs.
|
|
4
|
+
|
|
5
|
+
## Decision Framework
|
|
6
|
+
|
|
7
|
+
For EACH architectural component, document:
|
|
8
|
+
|
|
9
|
+
```markdown
|
|
10
|
+
## Architecture Decision Record
|
|
11
|
+
|
|
12
|
+
### Context
|
|
13
|
+
- **Problem**: [What problem are we solving?]
|
|
14
|
+
- **Constraints**: [Team size, scale, timeline, budget]
|
|
15
|
+
|
|
16
|
+
### Options Considered
|
|
17
|
+
|
|
18
|
+
| Option | Pros | Cons | Complexity | When Valid |
|
|
19
|
+
|--------|------|------|------------|-----------|
|
|
20
|
+
| Option A | Benefit 1 | Cost 1 | Low | [Conditions] |
|
|
21
|
+
| Option B | Benefit 2 | Cost 2 | High | [Conditions] |
|
|
22
|
+
|
|
23
|
+
### Decision
|
|
24
|
+
**Chosen**: [Option B]
|
|
25
|
+
|
|
26
|
+
### Rationale
|
|
27
|
+
1. [Reason 1 - tied to constraints]
|
|
28
|
+
2. [Reason 2 - tied to requirements]
|
|
29
|
+
|
|
30
|
+
### Trade-offs Accepted
|
|
31
|
+
- [What we're giving up]
|
|
32
|
+
- [Why this is acceptable]
|
|
33
|
+
|
|
34
|
+
### Consequences
|
|
35
|
+
- **Positive**: [Benefits we gain]
|
|
36
|
+
- **Negative**: [Costs/risks we accept]
|
|
37
|
+
- **Mitigation**: [How we'll address negatives]
|
|
38
|
+
|
|
39
|
+
### Revisit Trigger
|
|
40
|
+
- [When to reconsider this decision]
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## ADR Template
|
|
44
|
+
|
|
45
|
+
```markdown
|
|
46
|
+
# ADR-[XXX]: [Decision Title]
|
|
47
|
+
|
|
48
|
+
## Status
|
|
49
|
+
Proposed | Accepted | Deprecated | Superseded by [ADR-YYY]
|
|
50
|
+
|
|
51
|
+
## Context
|
|
52
|
+
[What problem? What constraints?]
|
|
53
|
+
|
|
54
|
+
## Decision
|
|
55
|
+
[What we chose - be specific]
|
|
56
|
+
|
|
57
|
+
## Rationale
|
|
58
|
+
[Why - tie to requirements and constraints]
|
|
59
|
+
|
|
60
|
+
## Trade-offs
|
|
61
|
+
[What we're giving up - be honest]
|
|
62
|
+
|
|
63
|
+
## Consequences
|
|
64
|
+
- **Positive**: [Benefits]
|
|
65
|
+
- **Negative**: [Costs]
|
|
66
|
+
- **Mitigation**: [How to address]
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## ADR Storage
|
|
70
|
+
|
|
71
|
+
```
|
|
72
|
+
docs/
|
|
73
|
+
└── architecture/
|
|
74
|
+
├── adr-001-use-nextjs.md
|
|
75
|
+
├── adr-002-postgresql-over-mongodb.md
|
|
76
|
+
└── adr-003-adopt-repository-pattern.md
|
|
77
|
+
```
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: bash-linux
|
|
3
|
+
description: Bash/Linux terminal patterns. Critical commands, piping, error handling, scripting. Use when working on macOS or Linux systems.
|
|
4
|
+
allowed-tools: Read, Write, Edit, Glob, Grep, Bash
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Bash Linux Patterns
|
|
8
|
+
|
|
9
|
+
> Essential patterns for Bash on Linux/macOS.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## 1. Operator Syntax
|
|
14
|
+
|
|
15
|
+
### Chaining Commands
|
|
16
|
+
|
|
17
|
+
| Operator | Meaning | Example |
|
|
18
|
+
|----------|---------|---------|
|
|
19
|
+
| `;` | Run sequentially | `cmd1; cmd2` |
|
|
20
|
+
| `&&` | Run if previous succeeded | `npm install && npm run dev` |
|
|
21
|
+
| `\|\|` | Run if previous failed | `npm test \|\| echo "Tests failed"` |
|
|
22
|
+
| `\|` | Pipe output | `ls \| grep ".js"` |
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## 2. File Operations
|
|
27
|
+
|
|
28
|
+
### Essential Commands
|
|
29
|
+
|
|
30
|
+
| Task | Command |
|
|
31
|
+
|------|---------|
|
|
32
|
+
| List all | `ls -la` |
|
|
33
|
+
| Find files | `find . -name "*.js" -type f` |
|
|
34
|
+
| File content | `cat file.txt` |
|
|
35
|
+
| First N lines | `head -n 20 file.txt` |
|
|
36
|
+
| Last N lines | `tail -n 20 file.txt` |
|
|
37
|
+
| Follow log | `tail -f log.txt` |
|
|
38
|
+
| Search in files | `grep -r "pattern" --include="*.js"` |
|
|
39
|
+
| File size | `du -sh *` |
|
|
40
|
+
| Disk usage | `df -h` |
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## 3. Process Management
|
|
45
|
+
|
|
46
|
+
| Task | Command |
|
|
47
|
+
|------|---------|
|
|
48
|
+
| List processes | `ps aux` |
|
|
49
|
+
| Find by name | `ps aux \| grep node` |
|
|
50
|
+
| Kill by PID | `kill -9 <PID>` |
|
|
51
|
+
| Find port user | `lsof -i :3000` |
|
|
52
|
+
| Kill port | `kill -9 $(lsof -t -i :3000)` |
|
|
53
|
+
| Background | `npm run dev &` |
|
|
54
|
+
| Jobs | `jobs -l` |
|
|
55
|
+
| Bring to front | `fg %1` |
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## 4. Text Processing
|
|
60
|
+
|
|
61
|
+
### Core Tools
|
|
62
|
+
|
|
63
|
+
| Tool | Purpose | Example |
|
|
64
|
+
|------|---------|---------|
|
|
65
|
+
| `grep` | Search | `grep -rn "TODO" src/` |
|
|
66
|
+
| `sed` | Replace | `sed -i 's/old/new/g' file.txt` |
|
|
67
|
+
| `awk` | Extract columns | `awk '{print $1}' file.txt` |
|
|
68
|
+
| `cut` | Cut fields | `cut -d',' -f1 data.csv` |
|
|
69
|
+
| `sort` | Sort lines | `sort -u file.txt` |
|
|
70
|
+
| `uniq` | Unique lines | `sort file.txt \| uniq -c` |
|
|
71
|
+
| `wc` | Count | `wc -l file.txt` |
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
## 5. Environment Variables
|
|
76
|
+
|
|
77
|
+
| Task | Command |
|
|
78
|
+
|------|---------|
|
|
79
|
+
| View all | `env` or `printenv` |
|
|
80
|
+
| View one | `echo $PATH` |
|
|
81
|
+
| Set temporary | `export VAR="value"` |
|
|
82
|
+
| Set in script | `VAR="value" command` |
|
|
83
|
+
| Add to PATH | `export PATH="$PATH:/new/path"` |
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## 6. Network
|
|
88
|
+
|
|
89
|
+
| Task | Command |
|
|
90
|
+
|------|---------|
|
|
91
|
+
| Download | `curl -O https://example.com/file` |
|
|
92
|
+
| API request | `curl -X GET https://api.example.com` |
|
|
93
|
+
| POST JSON | `curl -X POST -H "Content-Type: application/json" -d '{"key":"value"}' URL` |
|
|
94
|
+
| Check port | `nc -zv localhost 3000` |
|
|
95
|
+
| Network info | `ifconfig` or `ip addr` |
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
## 7. Script Template
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
#!/bin/bash
|
|
103
|
+
set -euo pipefail # Exit on error, undefined var, pipe fail
|
|
104
|
+
|
|
105
|
+
# Colors (optional)
|
|
106
|
+
RED='\033[0;31m'
|
|
107
|
+
GREEN='\033[0;32m'
|
|
108
|
+
NC='\033[0m'
|
|
109
|
+
|
|
110
|
+
# Script directory
|
|
111
|
+
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
112
|
+
|
|
113
|
+
# Functions
|
|
114
|
+
log_info() { echo -e "${GREEN}[INFO]${NC} $1"; }
|
|
115
|
+
log_error() { echo -e "${RED}[ERROR]${NC} $1" >&2; }
|
|
116
|
+
|
|
117
|
+
# Main
|
|
118
|
+
main() {
|
|
119
|
+
log_info "Starting..."
|
|
120
|
+
# Your logic here
|
|
121
|
+
log_info "Done!"
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
main "$@"
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## 8. Common Patterns
|
|
130
|
+
|
|
131
|
+
### Check if command exists
|
|
132
|
+
|
|
133
|
+
```bash
|
|
134
|
+
if command -v node &> /dev/null; then
|
|
135
|
+
echo "Node is installed"
|
|
136
|
+
fi
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
### Default variable value
|
|
140
|
+
|
|
141
|
+
```bash
|
|
142
|
+
NAME=${1:-"default_value"}
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
### Read file line by line
|
|
146
|
+
|
|
147
|
+
```bash
|
|
148
|
+
while IFS= read -r line; do
|
|
149
|
+
echo "$line"
|
|
150
|
+
done < file.txt
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
### Loop over files
|
|
154
|
+
|
|
155
|
+
```bash
|
|
156
|
+
for file in *.js; do
|
|
157
|
+
echo "Processing $file"
|
|
158
|
+
done
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
---
|
|
162
|
+
|
|
163
|
+
## 9. Differences from PowerShell
|
|
164
|
+
|
|
165
|
+
| Task | PowerShell | Bash |
|
|
166
|
+
|------|------------|------|
|
|
167
|
+
| List files | `Get-ChildItem` | `ls -la` |
|
|
168
|
+
| Find files | `Get-ChildItem -Recurse` | `find . -type f` |
|
|
169
|
+
| Environment | `$env:VAR` | `$VAR` |
|
|
170
|
+
| String concat | `"$a$b"` | `"$a$b"` (same) |
|
|
171
|
+
| Null check | `if ($x)` | `if [ -n "$x" ]` |
|
|
172
|
+
| Pipeline | Object-based | Text-based |
|
|
173
|
+
|
|
174
|
+
---
|
|
175
|
+
|
|
176
|
+
## 10. Error Handling
|
|
177
|
+
|
|
178
|
+
### Set options
|
|
179
|
+
|
|
180
|
+
```bash
|
|
181
|
+
set -e # Exit on error
|
|
182
|
+
set -u # Exit on undefined variable
|
|
183
|
+
set -o pipefail # Exit on pipe failure
|
|
184
|
+
set -x # Debug: print commands
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
### Trap for cleanup
|
|
188
|
+
|
|
189
|
+
```bash
|
|
190
|
+
cleanup() {
|
|
191
|
+
echo "Cleaning up..."
|
|
192
|
+
rm -f /tmp/tempfile
|
|
193
|
+
}
|
|
194
|
+
trap cleanup EXIT
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
---
|
|
198
|
+
|
|
199
|
+
> **Remember:** Bash is text-based. Use `&&` for success chains, `set -e` for safety, and quote your variables!
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: behavioral-modes
|
|
3
|
+
description: AI operational modes (brainstorm, implement, debug, review, teach, ship, orchestrate). Use to adapt behavior based on task type.
|
|
4
|
+
allowed-tools: Read, Glob, Grep
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Behavioral Modes - Adaptive AI Operating Modes
|
|
8
|
+
|
|
9
|
+
## Purpose
|
|
10
|
+
This skill defines distinct behavioral modes that optimize AI performance for specific tasks. Modes change how the AI approaches problems, communicates, and prioritizes.
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## Available Modes
|
|
15
|
+
|
|
16
|
+
### 1. 🧠 BRAINSTORM Mode
|
|
17
|
+
|
|
18
|
+
**When to use:** Early project planning, feature ideation, architecture decisions
|
|
19
|
+
|
|
20
|
+
**Behavior:**
|
|
21
|
+
- Ask clarifying questions before assumptions
|
|
22
|
+
- Offer multiple alternatives (at least 3)
|
|
23
|
+
- Think divergently - explore unconventional solutions
|
|
24
|
+
- No code yet - focus on ideas and options
|
|
25
|
+
- Use visual diagrams (mermaid) to explain concepts
|
|
26
|
+
|
|
27
|
+
**Output style:**
|
|
28
|
+
```
|
|
29
|
+
"Let's explore this together. Here are some approaches:
|
|
30
|
+
|
|
31
|
+
Option A: [description]
|
|
32
|
+
✅ Pros: ...
|
|
33
|
+
❌ Cons: ...
|
|
34
|
+
|
|
35
|
+
Option B: [description]
|
|
36
|
+
✅ Pros: ...
|
|
37
|
+
❌ Cons: ...
|
|
38
|
+
|
|
39
|
+
What resonates with you? Or should we explore a different direction?"
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
### 2. ⚡ IMPLEMENT Mode
|
|
45
|
+
|
|
46
|
+
**When to use:** Writing code, building features, executing plans
|
|
47
|
+
|
|
48
|
+
**Behavior:**
|
|
49
|
+
- **CRITICAL: Use `clean-code` skill standards** - concise, direct, no verbose explanations
|
|
50
|
+
- Fast execution - minimize questions
|
|
51
|
+
- Use established patterns and best practices
|
|
52
|
+
- Write complete, production-ready code
|
|
53
|
+
- Include error handling and edge cases
|
|
54
|
+
- **NO tutorial-style explanations** - just code
|
|
55
|
+
- **NO unnecessary comments** - let code self-document
|
|
56
|
+
- **NO over-engineering** - solve the problem directly
|
|
57
|
+
- **NO RUSHING** - Quality > Speed. Read ALL references before coding.
|
|
58
|
+
|
|
59
|
+
**Output style:**
|
|
60
|
+
```
|
|
61
|
+
[Code block]
|
|
62
|
+
|
|
63
|
+
[Brief summary, max 1-2 sentences]
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
**NOT:**
|
|
67
|
+
```
|
|
68
|
+
"Building [feature]...
|
|
69
|
+
|
|
70
|
+
✓ Created [file1]
|
|
71
|
+
✓ Created [file2]
|
|
72
|
+
✓ Updated [file3]
|
|
73
|
+
|
|
74
|
+
[long explanation]
|
|
75
|
+
|
|
76
|
+
Run `npm run dev` to test."
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
### 3. 🔍 DEBUG Mode
|
|
82
|
+
|
|
83
|
+
**When to use:** Fixing bugs, troubleshooting errors, investigating issues
|
|
84
|
+
|
|
85
|
+
**Behavior:**
|
|
86
|
+
- Ask for error messages and reproduction steps
|
|
87
|
+
- Think systematically - check logs, trace data flow
|
|
88
|
+
- Form hypothesis → test → verify
|
|
89
|
+
- Explain the root cause, not just the fix
|
|
90
|
+
- Prevent future occurrences
|
|
91
|
+
|
|
92
|
+
**Output style:**
|
|
93
|
+
```
|
|
94
|
+
"Investigating...
|
|
95
|
+
|
|
96
|
+
🔍 Symptom: [what's happening]
|
|
97
|
+
🎯 Root cause: [why it's happening]
|
|
98
|
+
✅ Fix: [the solution]
|
|
99
|
+
🛡️ Prevention: [how to avoid in future]
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
### 4. 📋 REVIEW Mode
|
|
105
|
+
|
|
106
|
+
**When to use:** Code review, architecture review, security audit
|
|
107
|
+
|
|
108
|
+
**Behavior:**
|
|
109
|
+
- Be thorough but constructive
|
|
110
|
+
- Categorize by severity (Critical/High/Medium/Low)
|
|
111
|
+
- Explain the "why" behind suggestions
|
|
112
|
+
- Offer improved code examples
|
|
113
|
+
- Acknowledge what's done well
|
|
114
|
+
|
|
115
|
+
**Output style:**
|
|
116
|
+
```
|
|
117
|
+
## Code Review: [file/feature]
|
|
118
|
+
|
|
119
|
+
### 🔴 Critical
|
|
120
|
+
- [issue with explanation]
|
|
121
|
+
|
|
122
|
+
### 🟠 Improvements
|
|
123
|
+
- [suggestion with example]
|
|
124
|
+
|
|
125
|
+
### 🟢 Good
|
|
126
|
+
- [positive observation]
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
---
|
|
130
|
+
|
|
131
|
+
### 5. 📚 TEACH Mode
|
|
132
|
+
|
|
133
|
+
**When to use:** Explaining concepts, documentation, onboarding
|
|
134
|
+
|
|
135
|
+
**Behavior:**
|
|
136
|
+
- Explain from fundamentals
|
|
137
|
+
- Use analogies and examples
|
|
138
|
+
- Progress from simple to complex
|
|
139
|
+
- Include practical exercises
|
|
140
|
+
- Check understanding
|
|
141
|
+
|
|
142
|
+
**Output style:**
|
|
143
|
+
```
|
|
144
|
+
## Understanding [Concept]
|
|
145
|
+
|
|
146
|
+
### What is it?
|
|
147
|
+
[Simple explanation with analogy]
|
|
148
|
+
|
|
149
|
+
### How it works
|
|
150
|
+
[Technical explanation with diagram]
|
|
151
|
+
|
|
152
|
+
### Example
|
|
153
|
+
[Code example with comments]
|
|
154
|
+
|
|
155
|
+
### Try it yourself
|
|
156
|
+
[Exercise or task]
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
---
|
|
160
|
+
|
|
161
|
+
### 6. 🚀 SHIP Mode
|
|
162
|
+
|
|
163
|
+
**When to use:** Production deployment, final polish, release preparation
|
|
164
|
+
|
|
165
|
+
**Behavior:**
|
|
166
|
+
- Focus on stability over features
|
|
167
|
+
- Check for missing error handling
|
|
168
|
+
- Verify environment configs
|
|
169
|
+
- Run all tests
|
|
170
|
+
- Create deployment checklist
|
|
171
|
+
|
|
172
|
+
**Output style:**
|
|
173
|
+
```
|
|
174
|
+
## Pre-Ship Checklist
|
|
175
|
+
|
|
176
|
+
### ✅ Code Quality
|
|
177
|
+
- [ ] No TypeScript errors
|
|
178
|
+
- [ ] ESLint passing
|
|
179
|
+
- [ ] All tests passing
|
|
180
|
+
|
|
181
|
+
### ✅ Security
|
|
182
|
+
- [ ] No exposed secrets
|
|
183
|
+
- [ ] Input validation complete
|
|
184
|
+
|
|
185
|
+
### ✅ Performance
|
|
186
|
+
- [ ] Bundle size acceptable
|
|
187
|
+
- [ ] No console.logs
|
|
188
|
+
|
|
189
|
+
### 🚀 Ready to deploy
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
---
|
|
193
|
+
|
|
194
|
+
## Mode Detection
|
|
195
|
+
|
|
196
|
+
The AI should automatically detect the appropriate mode based on:
|
|
197
|
+
|
|
198
|
+
| Trigger | Mode |
|
|
199
|
+
|---------|------|
|
|
200
|
+
| "what if", "ideas", "options" | BRAINSTORM |
|
|
201
|
+
| "build", "create", "add" | IMPLEMENT |
|
|
202
|
+
| "not working", "error", "bug" | DEBUG |
|
|
203
|
+
| "review", "check", "audit" | REVIEW |
|
|
204
|
+
| "explain", "how does", "learn" | TEACH |
|
|
205
|
+
| "deploy", "release", "production" | SHIP |
|
|
206
|
+
|
|
207
|
+
---
|
|
208
|
+
|
|
209
|
+
## Multi-Agent Collaboration Patterns (2025)
|
|
210
|
+
|
|
211
|
+
Modern architectures optimized for agent-to-agent collaboration:
|
|
212
|
+
|
|
213
|
+
### 1. 🔭 EXPLORE Mode
|
|
214
|
+
**Role:** Discovery and Analysis (Explorer Agent)
|
|
215
|
+
**Behavior:** Socratic questioning, deep-dive code reading, dependency mapping.
|
|
216
|
+
**Output:** `discovery-report.json`, architectural visualization.
|
|
217
|
+
|
|
218
|
+
### 2. 🗺️ PLAN-EXECUTE-CRITIC (PEC)
|
|
219
|
+
Cyclic mode transitions for high-complexity tasks:
|
|
220
|
+
1. **Planner:** Decomposes the task into atomic steps (`task.md`).
|
|
221
|
+
2. **Executor:** Performs the actual coding (`IMPLEMENT`).
|
|
222
|
+
3. **Critic:** Reviews the code, performs security and performance checks (`REVIEW`).
|
|
223
|
+
|
|
224
|
+
### 3. 🧠 MENTAL MODEL SYNC
|
|
225
|
+
Behavior for creating and loading "Mental Model" summaries to preserve context between sessions.
|
|
226
|
+
|
|
227
|
+
---
|
|
228
|
+
|
|
229
|
+
## Combining Modes
|
|
230
|
+
|
|
231
|
+
---
|
|
232
|
+
|
|
233
|
+
## Manual Mode Switching
|
|
234
|
+
|
|
235
|
+
Users can explicitly request a mode:
|
|
236
|
+
|
|
237
|
+
```
|
|
238
|
+
/brainstorm new feature ideas
|
|
239
|
+
/implement the user profile page
|
|
240
|
+
/debug why login fails
|
|
241
|
+
/review this pull request
|
|
242
|
+
```
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
---name: brainstorm
|
|
2
|
+
|
|
3
|
+
description: Structured brainstorming for projects and features. Transitional compatibility path for the Brainstorm companion command in DevFlow 2.0.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Brainstorm - Structured Idea Exploration
|
|
7
|
+
|
|
8
|
+
$ARGUMENTS
|
|
9
|
+
|
|
10
|
+
This file keeps its old numeric path for migration compatibility.
|
|
11
|
+
|
|
12
|
+
In DevFlow 2.0, `Brainstorm` is a companion command, not a numbered mainline workflow. The operational behavior remains intentionally rich so the user experience does not regress.
|
|
13
|
+
|
|
14
|
+
## Purpose
|
|
15
|
+
|
|
16
|
+
Use `Brainstorm` for structured idea exploration before committing to a direction.
|
|
17
|
+
|
|
18
|
+
Use it when:
|
|
19
|
+
|
|
20
|
+
- the request is still vague
|
|
21
|
+
- there are multiple possible directions
|
|
22
|
+
- the team needs to compare options before locking the work
|
|
23
|
+
- Discover or Define would benefit from explicit option comparison
|
|
24
|
+
|
|
25
|
+
Preferred DevFlow 2.0 pairing:
|
|
26
|
+
|
|
27
|
+
- from `/00-Discover` when the request is still fuzzy
|
|
28
|
+
- from `/10-Define` when the direction is still unstable
|
|
29
|
+
|
|
30
|
+
When invoked with a Discovery ID, link the brainstorming report to that discovery and return to `/00-Discover {discovery_id}` for synthesis. Do not allocate a Running ID or jump directly from a discovery-owned brainstorm into Define.
|
|
31
|
+
|
|
32
|
+
## Behavior
|
|
33
|
+
|
|
34
|
+
When `Brainstorm` is triggered:
|
|
35
|
+
|
|
36
|
+
1. Understand the goal
|
|
37
|
+
- What problem are we solving?
|
|
38
|
+
- Who is the user or stakeholder?
|
|
39
|
+
- What constraints matter?
|
|
40
|
+
2. Generate options
|
|
41
|
+
- Provide at least 3 materially different approaches
|
|
42
|
+
- Include pros and cons for each
|
|
43
|
+
- Consider both safe and unconventional paths when useful
|
|
44
|
+
3. Compare and recommend
|
|
45
|
+
- Summarize the tradeoffs
|
|
46
|
+
- Give a recommendation with reasoning
|
|
47
|
+
4. Keep it exploratory
|
|
48
|
+
- Do not pretend certainty where it does not exist
|
|
49
|
+
- Do not turn this into implementation planning too early
|
|
50
|
+
|
|
51
|
+
Apply prompt ideation addons when useful:
|
|
52
|
+
|
|
53
|
+
- `ideation_code_improvements`
|
|
54
|
+
- `ideation_code_quality`
|
|
55
|
+
- `ideation_documentation`
|
|
56
|
+
- `ideation_performance`
|
|
57
|
+
- `ideation_security`
|
|
58
|
+
- `ideation_ui_ux`
|
|
59
|
+
|
|
60
|
+
In DevFlow 2.0, do not treat `Brainstorm` as a required linear state before `10-Define`. It supports the mainline; it does not replace it.
|
|
61
|
+
|
|
62
|
+
## Output Format
|
|
63
|
+
|
|
64
|
+
Return a brief summary in chat, and save the full brainstorming report under `devflow/research/brainstorm-{topic}.md`.
|
|
65
|
+
|
|
66
|
+
Before generating the report:
|
|
67
|
+
|
|
68
|
+
1. Inspect `.agent/resources/schemas/brainstorm.template.md`
|
|
69
|
+
2. Preserve its required headings and structure
|
|
70
|
+
3. Replace all placeholders with concrete content
|
|
71
|
+
4. Re-check the output against `brainstorm.template.md`, ensure required headings remain, and remove all placeholders before completion
|
|
72
|
+
|
|
73
|
+
Use this structure:
|
|
74
|
+
|
|
75
|
+
```markdown
|
|
76
|
+
## ๐ง Brainstorm: [Topic]
|
|
77
|
+
|
|
78
|
+
### Context
|
|
79
|
+
[Brief problem statement]
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
### Option A: [Name]
|
|
84
|
+
[Description]
|
|
85
|
+
|
|
86
|
+
โ… **Pros:**
|
|
87
|
+
- [benefit 1]
|
|
88
|
+
- [benefit 2]
|
|
89
|
+
|
|
90
|
+
โ **Cons:**
|
|
91
|
+
- [drawback 1]
|
|
92
|
+
|
|
93
|
+
๐“ **Effort:** Low | Medium | High
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
### Option B: [Name]
|
|
98
|
+
[Description]
|
|
99
|
+
|
|
100
|
+
โ… **Pros:**
|
|
101
|
+
- [benefit 1]
|
|
102
|
+
|
|
103
|
+
โ **Cons:**
|
|
104
|
+
- [drawback 1]
|
|
105
|
+
- [drawback 2]
|
|
106
|
+
|
|
107
|
+
๐“ **Effort:** Low | Medium | High
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
### Option C: [Name]
|
|
112
|
+
[Description]
|
|
113
|
+
|
|
114
|
+
โ… **Pros:**
|
|
115
|
+
- [benefit 1]
|
|
116
|
+
|
|
117
|
+
โ **Cons:**
|
|
118
|
+
- [drawback 1]
|
|
119
|
+
|
|
120
|
+
๐“ **Effort:** Low | Medium | High
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
## ๐’ก Recommendation
|
|
125
|
+
|
|
126
|
+
**Option [X]** because [reasoning].
|
|
127
|
+
|
|
128
|
+
## Next Suggested Actions
|
|
129
|
+
- [Action 1]
|
|
130
|
+
- [Action 2]
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
## Examples
|
|
134
|
+
|
|
135
|
+
```text
|
|
136
|
+
Brainstorm authentication system
|
|
137
|
+
Brainstorm state management for complex form
|
|
138
|
+
Brainstorm database schema for social app
|
|
139
|
+
Brainstorm caching strategy
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
## Key Principles
|
|
143
|
+
|
|
144
|
+
- No code unless the user explicitly changes mode
|
|
145
|
+
- Honest tradeoffs over fake confidence
|
|
146
|
+
- Multiple viable paths before recommending one
|
|
147
|
+
- Persistent output saved to disk
|
|
148
|
+
- Mainline remains: `/00-Discover -> /10-Define -> /20-Spec -> /30-Plan -> /40-Implement -> /50-Verify -> /60-Report -> /70-Release`
|
|
149
|
+
|
|
150
|
+
## Relationship To DevFlow 2.0
|
|
151
|
+
|
|
152
|
+
- Classification: Companion command
|
|
153
|
+
- Mainline status: Not a numbered stage
|
|
154
|
+
- Typical entry points: `/00-Discover`, `/10-Define`
|
|
155
|
+
- Typical handoff targets: `/00-Discover {discovery_id}` for discovery-owned work, or the active numbered stage for run-owned work
|
|
156
|
+
|
|
157
|
+
## Sources
|
|
158
|
+
|
|
159
|
+
- `AGENTS.md`
|
|
160
|
+
- `.agent/resources/schemas/brainstorm.template.md`
|
|
161
|
+
- Related commands: `/00-Discover`, `/10-Define`, `Research`, `PRD`, `/20-Spec`
|
|
162
|
+
|
|
163
|
+
## Next Workflow Recommendation
|
|
164
|
+
|
|
165
|
+
- Default: return to `/00-Discover {discovery_id}` when Discover requested the work; otherwise return to the stage that requested it
|
|
166
|
+
- Alternate: `Research` when facts are still missing
|
|
167
|
+
- Alternate: `/10-Define` or `/20-Spec` only when the work was not opened from a pending discovery
|
|
168
|
+
|