@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,239 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: planning-and-task-breakdown
|
|
3
|
+
description: Breaks work into ordered tasks. Use when you have a spec or clear requirements and need to break work into implementable tasks. Use when a task feels too large to start, when you need to estimate scope, or when parallel work is possible.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Planning and Task Breakdown
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
Decompose work into small, verifiable tasks with explicit acceptance criteria. Good task breakdown is the difference between an agent that completes work reliably and one that produces a tangled mess. Every task should be small enough to implement, test, and verify in a single focused session.
|
|
11
|
+
|
|
12
|
+
## Task Breakdown Principles
|
|
13
|
+
|
|
14
|
+
1. **Small, Focused Tasks**: Each task should take 2-5 minutes of model effort. One clear outcome per task.
|
|
15
|
+
2. **Clear Verification**: Every task must have a "Verify:" section.
|
|
16
|
+
3. **Logical Ordering**: Dependencies must be identified. Critical path first.
|
|
17
|
+
4. **Principle: Keep It SHORT**: Max 5-10 clear tasks. If more, break into multiple plans.
|
|
18
|
+
|
|
19
|
+
## When to Use
|
|
20
|
+
|
|
21
|
+
- You have a spec and need to break it into implementable units
|
|
22
|
+
- A task feels too large or vague to start
|
|
23
|
+
- Work needs to be parallelized across multiple agents or sessions
|
|
24
|
+
- You need to communicate scope to a human
|
|
25
|
+
- The implementation order isn't obvious
|
|
26
|
+
|
|
27
|
+
In DevFlow 2.0, this skill primarily supports `/30-Plan`.
|
|
28
|
+
|
|
29
|
+
**When NOT to use:** Single-file changes with obvious scope, or when the spec already contains well-defined tasks.
|
|
30
|
+
|
|
31
|
+
## The Planning Process
|
|
32
|
+
|
|
33
|
+
### Step 1: Enter Plan Mode
|
|
34
|
+
|
|
35
|
+
Before writing any code, operate in read-only mode:
|
|
36
|
+
|
|
37
|
+
- Read the spec and relevant codebase sections
|
|
38
|
+
- Identify existing patterns and conventions
|
|
39
|
+
- Map dependencies between components
|
|
40
|
+
- Note risks and unknowns
|
|
41
|
+
|
|
42
|
+
**Do NOT write code during planning.** The output is a plan document, not implementation.
|
|
43
|
+
|
|
44
|
+
### Step 2: Identify the Dependency Graph
|
|
45
|
+
|
|
46
|
+
Map what depends on what:
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
Database schema
|
|
50
|
+
│
|
|
51
|
+
├── API models/types
|
|
52
|
+
│ │
|
|
53
|
+
│ ├── API endpoints
|
|
54
|
+
│ │ │
|
|
55
|
+
│ │ └── Frontend API client
|
|
56
|
+
│ │ │
|
|
57
|
+
│ │ └── UI components
|
|
58
|
+
│ │
|
|
59
|
+
│ └── Validation logic
|
|
60
|
+
│
|
|
61
|
+
└── Seed data / migrations
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Implementation order follows the dependency graph bottom-up: build foundations first.
|
|
65
|
+
|
|
66
|
+
### Step 3: Slice Vertically
|
|
67
|
+
|
|
68
|
+
Instead of building all the database, then all the API, then all the UI — build one complete feature path at a time:
|
|
69
|
+
|
|
70
|
+
**Bad (horizontal slicing):**
|
|
71
|
+
```
|
|
72
|
+
Task 1: Build entire database schema
|
|
73
|
+
Task 2: Build all API endpoints
|
|
74
|
+
Task 3: Build all UI components
|
|
75
|
+
Task 4: Connect everything
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
**Good (vertical slicing):**
|
|
79
|
+
```
|
|
80
|
+
Task 1: User can create an account (schema + API + UI for registration)
|
|
81
|
+
Task 2: User can log in (auth schema + API + UI for login)
|
|
82
|
+
Task 3: User can create a task (task schema + API + UI for creation)
|
|
83
|
+
Task 4: User can view task list (query + API + UI for list view)
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
Each vertical slice delivers working, testable functionality.
|
|
87
|
+
|
|
88
|
+
### Step 4: Write Tasks
|
|
89
|
+
|
|
90
|
+
Each task follows this structure:
|
|
91
|
+
|
|
92
|
+
```markdown
|
|
93
|
+
## Task [N]: [Short descriptive title]
|
|
94
|
+
|
|
95
|
+
**Description:** One paragraph explaining what this task accomplishes.
|
|
96
|
+
|
|
97
|
+
**Acceptance criteria:**
|
|
98
|
+
- [ ] [Specific, testable condition]
|
|
99
|
+
- [ ] [Specific, testable condition]
|
|
100
|
+
|
|
101
|
+
**Verification:**
|
|
102
|
+
- [ ] Tests pass: `npm test -- --grep "feature-name"`
|
|
103
|
+
- [ ] Build succeeds: `npm run build`
|
|
104
|
+
- [ ] Manual check: [description of what to verify]
|
|
105
|
+
|
|
106
|
+
**Dependencies:** [Task numbers this depends on, or "None"]
|
|
107
|
+
|
|
108
|
+
**Files likely touched:**
|
|
109
|
+
- `src/path/to/file.ts`
|
|
110
|
+
- `tests/path/to/test.ts`
|
|
111
|
+
|
|
112
|
+
**Estimated scope:** [Small: 1-2 files | Medium: 3-5 files | Large: 5+ files]
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### Step 5: Order and Checkpoint
|
|
116
|
+
|
|
117
|
+
Arrange tasks so that:
|
|
118
|
+
|
|
119
|
+
1. Dependencies are satisfied (build foundation first)
|
|
120
|
+
2. Each task leaves the system in a working state
|
|
121
|
+
3. Verification checkpoints occur after every 2-3 tasks
|
|
122
|
+
4. High-risk tasks are early (fail fast)
|
|
123
|
+
|
|
124
|
+
Add explicit checkpoints:
|
|
125
|
+
|
|
126
|
+
```markdown
|
|
127
|
+
## Checkpoint: After Tasks 1-3
|
|
128
|
+
- [ ] All tests pass
|
|
129
|
+
- [ ] Application builds without errors
|
|
130
|
+
- [ ] Core user flow works end-to-end
|
|
131
|
+
- [ ] Review with human before proceeding
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
## Task Sizing Guidelines
|
|
135
|
+
|
|
136
|
+
| Size | Files | Scope | Example |
|
|
137
|
+
|------|-------|-------|---------|
|
|
138
|
+
| **XS** | 1 | Single function or config change | Add a validation rule |
|
|
139
|
+
| **S** | 1-2 | One component or endpoint | Add a new API endpoint |
|
|
140
|
+
| **M** | 3-5 | One feature slice | User registration flow |
|
|
141
|
+
| **L** | 5-8 | Multi-component feature | Search with filtering and pagination |
|
|
142
|
+
| **XL** | 8+ | **Too large — break it down further** | — |
|
|
143
|
+
|
|
144
|
+
If a task is L or larger, it should be broken into smaller tasks. An agent performs best on S and M tasks.
|
|
145
|
+
|
|
146
|
+
**When to break a task down further:**
|
|
147
|
+
- It would take more than one focused session (roughly 2+ hours of agent work)
|
|
148
|
+
- You cannot describe the acceptance criteria in 3 or fewer bullet points
|
|
149
|
+
- It touches two or more independent subsystems (e.g., auth and billing)
|
|
150
|
+
- You find yourself writing "and" in the task title (a sign it is two tasks)
|
|
151
|
+
|
|
152
|
+
## DevFlow 2.0 Stage Contract
|
|
153
|
+
|
|
154
|
+
In DevFlow 2.0, every plan must remain understandable from markdown alone inside `devflow/runs/{ID}-*/`.
|
|
155
|
+
|
|
156
|
+
1. **`plan.md`**: The primary planning artifact following the template below.
|
|
157
|
+
2. The markdown plan must still work even if no dashboard or JSON reader is available.
|
|
158
|
+
|
|
159
|
+
## Plan Document Template
|
|
160
|
+
|
|
161
|
+
```markdown
|
|
162
|
+
# Implementation Plan: [Feature/Project Name]
|
|
163
|
+
|
|
164
|
+
## Overview
|
|
165
|
+
[One paragraph summary of what we're building]
|
|
166
|
+
|
|
167
|
+
## Architecture Decisions
|
|
168
|
+
- [Key decision 1 and rationale]
|
|
169
|
+
- [Key decision 2 and rationale]
|
|
170
|
+
|
|
171
|
+
## Task List
|
|
172
|
+
|
|
173
|
+
### Phase 1: Foundation
|
|
174
|
+
- [ ] Task 1: ...
|
|
175
|
+
- [ ] Task 2: ...
|
|
176
|
+
|
|
177
|
+
### Checkpoint: Foundation
|
|
178
|
+
- [ ] Tests pass, builds clean
|
|
179
|
+
|
|
180
|
+
### Phase 2: Core Features
|
|
181
|
+
- [ ] Task 3: ...
|
|
182
|
+
- [ ] Task 4: ...
|
|
183
|
+
|
|
184
|
+
### Checkpoint: Core Features
|
|
185
|
+
- [ ] End-to-end flow works
|
|
186
|
+
|
|
187
|
+
### Phase 3: Polish
|
|
188
|
+
- [ ] Task 5: ...
|
|
189
|
+
- [ ] Task 6: ...
|
|
190
|
+
|
|
191
|
+
### Checkpoint: Complete
|
|
192
|
+
- [ ] All acceptance criteria met
|
|
193
|
+
- [ ] Ready for review
|
|
194
|
+
|
|
195
|
+
## Risks and Mitigations
|
|
196
|
+
| Risk | Impact | Mitigation |
|
|
197
|
+
|------|--------|------------|
|
|
198
|
+
| [Risk] | [High/Med/Low] | [Strategy] |
|
|
199
|
+
|
|
200
|
+
## Open Questions
|
|
201
|
+
- [Question needing human input]
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
## Parallelization Opportunities
|
|
205
|
+
|
|
206
|
+
When multiple agents or sessions are available:
|
|
207
|
+
|
|
208
|
+
- **Safe to parallelize:** Independent feature slices, tests for already-implemented features, documentation
|
|
209
|
+
- **Must be sequential:** Database migrations, shared state changes, dependency chains
|
|
210
|
+
- **Needs coordination:** Features that share an API contract (define the contract first, then parallelize)
|
|
211
|
+
|
|
212
|
+
## Common Rationalizations
|
|
213
|
+
|
|
214
|
+
| Rationalization | Reality |
|
|
215
|
+
|---|---|
|
|
216
|
+
| "I'll figure it out as I go" | That's how you end up with a tangled mess and rework. 10 minutes of planning saves hours. |
|
|
217
|
+
| "The tasks are obvious" | Write them down anyway. Explicit tasks surface hidden dependencies and forgotten edge cases. |
|
|
218
|
+
| "Planning is overhead" | Planning is the task. Implementation without a plan is just typing. |
|
|
219
|
+
| "I can hold it all in my head" | Context windows are finite. Written plans survive session boundaries and compaction. |
|
|
220
|
+
|
|
221
|
+
## Red Flags
|
|
222
|
+
|
|
223
|
+
- Starting implementation without a written task list
|
|
224
|
+
- Tasks that say "implement the feature" without acceptance criteria
|
|
225
|
+
- No verification steps in the plan
|
|
226
|
+
- All tasks are XL-sized
|
|
227
|
+
- No checkpoints between tasks
|
|
228
|
+
- Dependency order isn't considered
|
|
229
|
+
|
|
230
|
+
## Verification
|
|
231
|
+
|
|
232
|
+
Before starting implementation, confirm:
|
|
233
|
+
|
|
234
|
+
- [ ] Every task has acceptance criteria
|
|
235
|
+
- [ ] Every task has a verification step
|
|
236
|
+
- [ ] Task dependencies are identified and ordered correctly
|
|
237
|
+
- [ ] No task touches more than ~5 files
|
|
238
|
+
- [ ] Checkpoints exist between major phases
|
|
239
|
+
- [ ] The human has reviewed and approved the plan
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: powershell-windows
|
|
3
|
+
description: PowerShell Windows patterns. Critical pitfalls, operator syntax, error handling.
|
|
4
|
+
allowed-tools: Read, Write, Edit, Glob, Grep, Bash
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# PowerShell Windows Patterns
|
|
8
|
+
|
|
9
|
+
> Critical patterns and pitfalls for Windows PowerShell.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## 1. Operator Syntax Rules
|
|
14
|
+
|
|
15
|
+
### CRITICAL: Parentheses Required
|
|
16
|
+
|
|
17
|
+
| ❌ Wrong | ✅ Correct |
|
|
18
|
+
|----------|-----------|
|
|
19
|
+
| `if (Test-Path "a" -or Test-Path "b")` | `if ((Test-Path "a") -or (Test-Path "b"))` |
|
|
20
|
+
| `if (Get-Item $x -and $y -eq 5)` | `if ((Get-Item $x) -and ($y -eq 5))` |
|
|
21
|
+
|
|
22
|
+
**Rule:** Each cmdlet call MUST be in parentheses when using logical operators.
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## 2. Unicode/Emoji Restriction
|
|
27
|
+
|
|
28
|
+
### CRITICAL: No Unicode in Scripts
|
|
29
|
+
|
|
30
|
+
| Purpose | ❌ Don't Use | ✅ Use |
|
|
31
|
+
|---------|-------------|--------|
|
|
32
|
+
| Success | ✅ ✓ | [OK] [+] |
|
|
33
|
+
| Error | ❌ ✗ 🔴 | [!] [X] |
|
|
34
|
+
| Warning | ⚠️ 🟡 | [*] [WARN] |
|
|
35
|
+
| Info | ℹ️ 🔵 | [i] [INFO] |
|
|
36
|
+
| Progress | ⏳ | [...] |
|
|
37
|
+
|
|
38
|
+
**Rule:** Use ASCII characters only in PowerShell scripts.
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## 3. Null Check Patterns
|
|
43
|
+
|
|
44
|
+
### Always Check Before Access
|
|
45
|
+
|
|
46
|
+
| ❌ Wrong | ✅ Correct |
|
|
47
|
+
|----------|-----------|
|
|
48
|
+
| `$array.Count -gt 0` | `$array -and $array.Count -gt 0` |
|
|
49
|
+
| `$text.Length` | `if ($text) { $text.Length }` |
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
## 4. String Interpolation
|
|
54
|
+
|
|
55
|
+
### Complex Expressions
|
|
56
|
+
|
|
57
|
+
| ❌ Wrong | ✅ Correct |
|
|
58
|
+
|----------|-----------|
|
|
59
|
+
| `"Value: $($obj.prop.sub)"` | Store in variable first |
|
|
60
|
+
|
|
61
|
+
**Pattern:**
|
|
62
|
+
```
|
|
63
|
+
$value = $obj.prop.sub
|
|
64
|
+
Write-Output "Value: $value"
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## 5. Error Handling
|
|
70
|
+
|
|
71
|
+
### ErrorActionPreference
|
|
72
|
+
|
|
73
|
+
| Value | Use |
|
|
74
|
+
|-------|-----|
|
|
75
|
+
| Stop | Development (fail fast) |
|
|
76
|
+
| Continue | Production scripts |
|
|
77
|
+
| SilentlyContinue | When errors expected |
|
|
78
|
+
|
|
79
|
+
### Try/Catch Pattern
|
|
80
|
+
|
|
81
|
+
- Don't return inside try block
|
|
82
|
+
- Use finally for cleanup
|
|
83
|
+
- Return after try/catch
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## 6. File Paths
|
|
88
|
+
|
|
89
|
+
### Windows Path Rules
|
|
90
|
+
|
|
91
|
+
| Pattern | Use |
|
|
92
|
+
|---------|-----|
|
|
93
|
+
| Literal path | `C:\Users\User\file.txt` |
|
|
94
|
+
| Variable path | `Join-Path $env:USERPROFILE "file.txt"` |
|
|
95
|
+
| Relative | `Join-Path $ScriptDir "data"` |
|
|
96
|
+
|
|
97
|
+
**Rule:** Use Join-Path for cross-platform safety.
|
|
98
|
+
|
|
99
|
+
---
|
|
100
|
+
|
|
101
|
+
## 7. Array Operations
|
|
102
|
+
|
|
103
|
+
### Correct Patterns
|
|
104
|
+
|
|
105
|
+
| Operation | Syntax |
|
|
106
|
+
|-----------|--------|
|
|
107
|
+
| Empty array | `$array = @()` |
|
|
108
|
+
| Add item | `$array += $item` |
|
|
109
|
+
| ArrayList add | `$list.Add($item) | Out-Null` |
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
## 8. JSON Operations
|
|
114
|
+
|
|
115
|
+
### CRITICAL: Depth Parameter
|
|
116
|
+
|
|
117
|
+
| ❌ Wrong | ✅ Correct |
|
|
118
|
+
|----------|-----------|
|
|
119
|
+
| `ConvertTo-Json` | `ConvertTo-Json -Depth 10` |
|
|
120
|
+
|
|
121
|
+
**Rule:** Always specify `-Depth` for nested objects.
|
|
122
|
+
|
|
123
|
+
### File Operations
|
|
124
|
+
|
|
125
|
+
| Operation | Pattern |
|
|
126
|
+
|-----------|---------|
|
|
127
|
+
| Read | `Get-Content "file.json" -Raw | ConvertFrom-Json` |
|
|
128
|
+
| Write | `$data | ConvertTo-Json -Depth 10 | Out-File "file.json" -Encoding UTF8` |
|
|
129
|
+
|
|
130
|
+
---
|
|
131
|
+
|
|
132
|
+
## 9. Common Errors
|
|
133
|
+
|
|
134
|
+
| Error Message | Cause | Fix |
|
|
135
|
+
|---------------|-------|-----|
|
|
136
|
+
| "parameter 'or'" | Missing parentheses | Wrap cmdlets in () |
|
|
137
|
+
| "Unexpected token" | Unicode character | Use ASCII only |
|
|
138
|
+
| "Cannot find property" | Null object | Check null first |
|
|
139
|
+
| "Cannot convert" | Type mismatch | Use .ToString() |
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
## 10. Script Template
|
|
144
|
+
|
|
145
|
+
```powershell
|
|
146
|
+
# Strict mode
|
|
147
|
+
Set-StrictMode -Version Latest
|
|
148
|
+
$ErrorActionPreference = "Continue"
|
|
149
|
+
|
|
150
|
+
# Paths
|
|
151
|
+
$ScriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path
|
|
152
|
+
|
|
153
|
+
# Main
|
|
154
|
+
try {
|
|
155
|
+
# Logic here
|
|
156
|
+
Write-Output "[OK] Done"
|
|
157
|
+
exit 0
|
|
158
|
+
}
|
|
159
|
+
catch {
|
|
160
|
+
Write-Warning "Error: $_"
|
|
161
|
+
exit 1
|
|
162
|
+
}
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
---
|
|
166
|
+
|
|
167
|
+
> **Remember:** PowerShell has unique syntax rules. Parentheses, ASCII-only, and null checks are non-negotiable.
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
---name: pr
|
|
2
|
+
|
|
3
|
+
description: Create Pull Request (Git Orchestration) - Create a well-formatted pull request from the current branch with a clear summary of changes and linked artifacts.
|
|
4
|
+
---
|
|
5
|
+
# Create Pull Request (Git Orchestration)
|
|
6
|
+
|
|
7
|
+
## Base Branch: $ARGUMENTS (default: main)
|
|
8
|
+
|
|
9
|
+
Create a well-formatted pull request from the current branch with a clear summary of changes and linked artifacts.
|
|
10
|
+
|
|
11
|
+
Primary behavior now lives in:
|
|
12
|
+
|
|
13
|
+
```text
|
|
14
|
+
.agents/skills/release-git-operations/SKILL.md
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Treat this workflow file as a compatibility wrapper around that skill in `pr` mode.
|
|
18
|
+
|
|
19
|
+
In DevFlow 2.0, this is a release-adjacent workflow. It usually follows `/60-Report` and pairs naturally with `/70-Release` once the final summary is aligned.
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## Internal Process
|
|
24
|
+
|
|
25
|
+
You are an orchestrator. Your goal is to call the specialized Git PR Maker agent and preserve the quality of the original PR workflow: clean preflight checks, strong summary construction, repository-template fidelity, and explicit next steps.
|
|
26
|
+
|
|
27
|
+
### Phase 1: Pre-flight Validation
|
|
28
|
+
**Call Agent**: `prp-core-git-pr-maker`
|
|
29
|
+
|
|
30
|
+
- Provide the base branch.
|
|
31
|
+
- Ensure the branch is not `main` or `master`.
|
|
32
|
+
- Check for unpushed commits.
|
|
33
|
+
- Verify the working directory is clean enough for PR submission.
|
|
34
|
+
- Confirm the implementation has already passed the expected verification gate. If it has not, route back to `/50-Verify` first.
|
|
35
|
+
|
|
36
|
+
### Phase 2: Context And Template
|
|
37
|
+
|
|
38
|
+
- Search for PR templates in the repository, such as `.github/`.
|
|
39
|
+
- Analyze commit history, diff, and linked task artifacts.
|
|
40
|
+
- Prefer markdown-first stage artifacts as the source narrative:
|
|
41
|
+
- `20-spec.md`
|
|
42
|
+
- `30-plan.md`
|
|
43
|
+
- `40-implement.md`
|
|
44
|
+
- `50-verify.md`
|
|
45
|
+
- `60-report.md` when the final summary already exists
|
|
46
|
+
- `70-release.md` when release execution notes already exist
|
|
47
|
+
- Automatically identify and link referenced issues when supported by repository conventions.
|
|
48
|
+
- When the PR body needs stakeholder-readable language, apply `.agents/skills/9arm-skills/management-talk/SKILL.md` as a credited communication lens while preserving the repository PR template.
|
|
49
|
+
- Apply GitHub prompt addons when useful:
|
|
50
|
+
- `pr_template_filler` for PR body structure
|
|
51
|
+
- `pr_reviewer`, `pr_quality_agent`, `pr_logic_agent`, `pr_security_agent`, `pr_structural` for review perspectives
|
|
52
|
+
- `pr_finding_validator` to confirm findings are actionable
|
|
53
|
+
- `pr_followup_*` to convert review comments into focused fixes
|
|
54
|
+
- `issue_analyzer`, `issue_triager`, `duplicate_detector`, `spam_detector` for issue-linked context
|
|
55
|
+
|
|
56
|
+
### Phase 3: Push And Submission
|
|
57
|
+
|
|
58
|
+
- Push the branch to the remote repository.
|
|
59
|
+
- Use GitHub CLI or the repository-standard submission flow to create the PR with the generated body.
|
|
60
|
+
- Preserve any repository policy on draft PRs, labels, reviewers, or linked issue syntax.
|
|
61
|
+
|
|
62
|
+
### Phase 4: Final Summary
|
|
63
|
+
|
|
64
|
+
Verify that the workflow returns:
|
|
65
|
+
|
|
66
|
+
- PR number
|
|
67
|
+
- PR URL
|
|
68
|
+
- base and head branches
|
|
69
|
+
- draft or ready status
|
|
70
|
+
- any follow-up actions still expected from the user
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## Relationship To DevFlow 2.0
|
|
75
|
+
|
|
76
|
+
- Classification: Companion command
|
|
77
|
+
- Mainline status: Release support command, not a numbered stage
|
|
78
|
+
- Typical entry points: `/70-Release`, `Commit`
|
|
79
|
+
- Typical handoff targets: `PR-Review`, `PR-Followup`, `Merge`, `/70-Release`
|
|
80
|
+
|
|
81
|
+
## Sources
|
|
82
|
+
|
|
83
|
+
- `AGENTS.md`
|
|
84
|
+
- `.agents/skills/release-git-operations/SKILL.md`
|
|
85
|
+
- `.agents/skills/git-workflow-and-versioning/SKILL.md`
|
|
86
|
+
- Related commands: `Commit`, `PR-Review`, `PR-Followup`, `Merge`, `/60-Report`, `/70-Release`
|
|
87
|
+
|
|
88
|
+
## Next Workflow Recommendation
|
|
89
|
+
|
|
90
|
+
- **Primary**: `/70-Release`
|
|
91
|
+
- **Why**: after PR creation, release execution and handoff details should stay consistent with the approved report.
|
|
92
|
+
- **Alternative**: `PR-Review` for structured review before broader sharing, or `/60-Report` when the final communication summary still needs to be refreshed first.
|
|
93
|
+
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
---name: pr-review
|
|
2
|
+
|
|
3
|
+
description: PR Review Addon - Review a pull request using GitHub review prompt patterns and the credited 9arm-skills/scrutinize discipline.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Phase 55: PR Review Addon
|
|
7
|
+
|
|
8
|
+
## Target: $ARGUMENTS
|
|
9
|
+
|
|
10
|
+
Use this workflow when you need a structured PR review without creating or changing the PR. It can review a local diff, a PR URL or number, or a task-linked branch.
|
|
11
|
+
|
|
12
|
+
In DevFlow 2.0, this remains a supporting review workflow. It should feed corrective work back into `/40-Implement` or clear the path toward `/60-Report` and then `/70-Release`.
|
|
13
|
+
|
|
14
|
+
Primary behavior now lives in the `pr-review-analysis` skill. Keep this workflow as the compatibility wrapper and user-facing review prompt surface.
|
|
15
|
+
|
|
16
|
+
## Prompt Sources
|
|
17
|
+
|
|
18
|
+
Adapted from:
|
|
19
|
+
|
|
20
|
+
- `github/QA_REVIEW_SYSTEM_PROMPT.md`
|
|
21
|
+
- `github/pr_reviewer.md`
|
|
22
|
+
- `github/pr_parallel_orchestrator.md`
|
|
23
|
+
- `github/pr_orchestrator.md`
|
|
24
|
+
- `github/pr_quality_agent.md`
|
|
25
|
+
- `github/pr_logic_agent.md`
|
|
26
|
+
- `github/pr_security_agent.md`
|
|
27
|
+
- `github/pr_structural.md`
|
|
28
|
+
- `github/pr_codebase_fit_agent.md`
|
|
29
|
+
- `github/pr_finding_validator.md`
|
|
30
|
+
- `github/partials/full_context_analysis.md`
|
|
31
|
+
|
|
32
|
+
Additional credited discipline:
|
|
33
|
+
|
|
34
|
+
- `.agents/skills/9arm-skills/scrutinize/SKILL.md`
|
|
35
|
+
- Source pack: `9arm-skills`
|
|
36
|
+
- Credit: `thananon/9arm-skills`
|
|
37
|
+
- Upstream: https://github.com/thananon/9arm-skills
|
|
38
|
+
- Adapted for: Antigravity IDE / Nexus-DevFlow
|
|
39
|
+
|
|
40
|
+
## Process
|
|
41
|
+
|
|
42
|
+
### 1. Load Review Context
|
|
43
|
+
|
|
44
|
+
Read the available context:
|
|
45
|
+
|
|
46
|
+
- PR diff or local `git diff`
|
|
47
|
+
- changed filenames
|
|
48
|
+
- linked stage artifacts under `devflow/runs/{ID}-*/`
|
|
49
|
+
- `20-spec.md`, `30-plan.md`, `40-implement.md`, `50-verify.md`, `60-report.md`, and `70-release.md` when relevant
|
|
50
|
+
- project patterns and existing code around the changed files
|
|
51
|
+
- legacy JSON only when migration context is still genuinely relevant
|
|
52
|
+
|
|
53
|
+
### 2. Select Review Lanes
|
|
54
|
+
|
|
55
|
+
Start with the `scrutinize` lens before detailed lane review:
|
|
56
|
+
|
|
57
|
+
- Intent check: should this change exist in this form?
|
|
58
|
+
- Smaller alternative: can the same outcome be reached with less code, lower risk, or existing patterns?
|
|
59
|
+
- Actual path trace: follow runtime behavior beyond the diff.
|
|
60
|
+
- Precision check: were assumptions explicit, edits surgical, success criteria verified, and uncertainty surfaced instead of guessed?
|
|
61
|
+
|
|
62
|
+
Then select only the review lanes that match the scope. Do not run every lane by default; the review should be proportional to the change.
|
|
63
|
+
|
|
64
|
+
| Lane | Use When |
|
|
65
|
+
| :--- | :--- |
|
|
66
|
+
| Correctness / bugs | Always, unless the user explicitly asks for a narrow non-code review. |
|
|
67
|
+
| Type safety | Typed code, public types, schema changes, casts, `any`, or boundary parsing changed. |
|
|
68
|
+
| Maintainability | The change adds duplication, cross-file patterns, API shape, migration bridges, or technical debt. |
|
|
69
|
+
| Simplicity | The change adds abstractions, indirection, configuration, generalized utilities, or complex control flow. |
|
|
70
|
+
| Testability | Important logic is mixed with IO, hidden state, time, random values, constructors, globals, or hard-coded dependencies. |
|
|
71
|
+
| Coverage | New or changed behavior should have tests, especially bug fixes and business logic. |
|
|
72
|
+
| Docs accuracy | Commands, setup, workflows, schemas, public APIs, examples, or user-visible behavior changed. |
|
|
73
|
+
| AGENTS.md adherence | An `AGENTS.md` or equivalent project instruction file exists for the changed scope. |
|
|
74
|
+
| Security | Auth, authorization, secrets, user input, external data, dependencies, or persistence boundaries changed. |
|
|
75
|
+
| Performance | Queries, loops, rendering, data volume, hot paths, or synchronous work changed. |
|
|
76
|
+
|
|
77
|
+
When a lane is skipped, briefly note why if the omission could surprise the reader. For tiny reviews, it is acceptable to state only the lanes used.
|
|
78
|
+
|
|
79
|
+
### 3. Validate Findings
|
|
80
|
+
|
|
81
|
+
Before reporting a finding:
|
|
82
|
+
|
|
83
|
+
- verify it against the changed code
|
|
84
|
+
- check whether it affects new code or pre-existing code
|
|
85
|
+
- ensure it is actionable
|
|
86
|
+
- include file and line references when possible
|
|
87
|
+
- avoid style-only comments unless they hide real risk
|
|
88
|
+
- keep each finding in its strongest matching lane; do not report the same issue twice under different labels
|
|
89
|
+
- drop findings that are only suspicions, preferences, or theoretical improvements without a concrete failure mode
|
|
90
|
+
- for AGENTS.md findings, quote the exact project instruction being violated
|
|
91
|
+
- for docs findings, show the mismatch between what the docs say and what the code now does
|
|
92
|
+
|
|
93
|
+
### 4. Output Findings First
|
|
94
|
+
|
|
95
|
+
Use code-review style:
|
|
96
|
+
|
|
97
|
+
1. Findings ordered by severity
|
|
98
|
+
2. Open questions or assumptions
|
|
99
|
+
3. Short summary
|
|
100
|
+
4. Test gaps or residual risk
|
|
101
|
+
|
|
102
|
+
When saving a substantial report, include a short `Source Discipline` section crediting `9arm-skills/scrutinize` and, where useful, brief `Intent Check`, `Smaller Alternative Considered`, and `Actual Path Trace` sections. Preserve the required PR review template headings.
|
|
103
|
+
|
|
104
|
+
## Output
|
|
105
|
+
|
|
106
|
+
Return a PR review. Do not modify files unless the user explicitly asks for fixes.
|
|
107
|
+
|
|
108
|
+
**MANDATORY RULE:** Before saving a PR review report, inspect `.agent/resources/schemas/pr_review.template.md` and use its required headings and table structure.
|
|
109
|
+
|
|
110
|
+
Before reporting completion, run:
|
|
111
|
+
|
|
112
|
+
Review `{report_path}` against `pr_review.template.md`, keep the required headings, and remove placeholder text before completion.
|
|
113
|
+
|
|
114
|
+
Replace any placeholder or template text with concrete findings, file references, risk, and verification gaps.
|
|
115
|
+
|
|
116
|
+
**MANDATORY RULE:** If a running ID is linked to this PR, always save this review report to `pr_review.md` inside that workspace directory when possible:
|
|
117
|
+
|
|
118
|
+
```text
|
|
119
|
+
devflow/runs/{ID}-*/pr_review.md
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
## Relationship To DevFlow 2.0
|
|
123
|
+
|
|
124
|
+
- Classification: Companion command
|
|
125
|
+
- Mainline status: Verification and release support command, not a numbered stage
|
|
126
|
+
- Typical entry points: `/50-Verify`, `PR`, `Agent code-reviewer`
|
|
127
|
+
- Typical handoff targets: `PR-Followup`, `/60-Report`, `/70-Release`, `Wiki`
|
|
128
|
+
|
|
129
|
+
## Sources
|
|
130
|
+
|
|
131
|
+
- `AGENTS.md`
|
|
132
|
+
- `.agent/resources/schemas/pr_review.template.md`
|
|
133
|
+
- Related commands: `/50-Verify`, `PR`, `PR-Followup`, `Agent`, `/60-Report`, `/70-Release`, `Wiki`
|
|
134
|
+
|
|
135
|
+
## Next Workflow Recommendation
|
|
136
|
+
|
|
137
|
+
- **Primary**: `/40-Implement {ID}` when review finds required fixes, or `/60-Report {ID}` when the review is clean and the run needs the final summary refreshed before release execution.
|
|
138
|
+
- **Why**: PR review either creates corrective implementation work or clears the path toward final summary alignment and release-facing packaging.
|
|
139
|
+
- **Alternatives**:
|
|
140
|
+
- `/70-Release` when the report is already aligned and only release execution remains
|
|
141
|
+
- `Wiki` when the review establishes a durable convention or risk pattern
|
|
142
|
+
- `PR-Followup {target}` when the PR already has comments that need classification and response
|
|
143
|
+
|