@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,207 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: spec-driven-development
|
|
3
|
+
description: Creates specs before coding. Use when starting a new project, feature, or significant change and no specification exists yet. Use when requirements are unclear, ambiguous, or only exist as a vague idea.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Spec-Driven Development
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
Write a structured specification before writing any code. The spec is the shared source of truth between you and the human engineer — it defines what we're building, why, and how we'll know it's done. Code without a spec is guessing.
|
|
11
|
+
|
|
12
|
+
## When to Use
|
|
13
|
+
|
|
14
|
+
- Starting a new project or feature
|
|
15
|
+
- Requirements are ambiguous or incomplete
|
|
16
|
+
- The change touches multiple files or modules
|
|
17
|
+
- You're about to make an architectural decision
|
|
18
|
+
- The task would take more than 30 minutes to implement
|
|
19
|
+
|
|
20
|
+
**When NOT to use:** Single-line fixes, typo corrections, or changes where requirements are unambiguous and self-contained.
|
|
21
|
+
|
|
22
|
+
## The Gated Workflow
|
|
23
|
+
|
|
24
|
+
Spec-driven development has four phases. Do not advance to the next phase until the current one is validated.
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
SPECIFY ──→ PLAN ──→ TASKS ──→ IMPLEMENT
|
|
28
|
+
│ │ │ │
|
|
29
|
+
▼ ▼ ▼ ▼
|
|
30
|
+
Human Human Human Human
|
|
31
|
+
reviews reviews reviews reviews
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Phase 1: Specify
|
|
35
|
+
|
|
36
|
+
Start with a high-level vision. Ask the human clarifying questions until requirements are concrete.
|
|
37
|
+
|
|
38
|
+
**Surface assumptions immediately.** Before writing any spec content, list what you're assuming:
|
|
39
|
+
|
|
40
|
+
```
|
|
41
|
+
ASSUMPTIONS I'M MAKING:
|
|
42
|
+
1. This is a web application (not native mobile)
|
|
43
|
+
2. Authentication uses session-based cookies (not JWT)
|
|
44
|
+
3. The database is PostgreSQL (based on existing Prisma schema)
|
|
45
|
+
4. We're targeting modern browsers only (no IE11)
|
|
46
|
+
→ Correct me now or I'll proceed with these.
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Don't silently fill in ambiguous requirements. The spec's entire purpose is to surface misunderstandings *before* code gets written — assumptions are the most dangerous form of misunderstanding.
|
|
50
|
+
|
|
51
|
+
**Write a spec document covering these six core areas:**
|
|
52
|
+
|
|
53
|
+
1. **Objective** — What are we building and why? Who is the user? What does success look like?
|
|
54
|
+
|
|
55
|
+
2. **Commands** — Full executable commands with flags, not just tool names.
|
|
56
|
+
```
|
|
57
|
+
Build: npm run build
|
|
58
|
+
Test: npm test -- --coverage
|
|
59
|
+
Lint: npm run lint --fix
|
|
60
|
+
Dev: npm run dev
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
3. **Project Structure** — Where source code lives, where tests go, where docs belong.
|
|
64
|
+
```
|
|
65
|
+
src/ → Application source code
|
|
66
|
+
src/components → React components
|
|
67
|
+
src/lib → Shared utilities
|
|
68
|
+
tests/ → Unit and integration tests
|
|
69
|
+
e2e/ → End-to-end tests
|
|
70
|
+
docs/ → Documentation
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
4. **Code Style** — One real code snippet showing your style beats three paragraphs describing it. Include naming conventions, formatting rules, and examples of good output.
|
|
74
|
+
|
|
75
|
+
5. **Testing Strategy** — What framework, where tests live, coverage expectations, which test levels for which concerns.
|
|
76
|
+
|
|
77
|
+
6. **Boundaries** — Three-tier system:
|
|
78
|
+
- **Always do:** Run tests before commits, follow naming conventions, validate inputs
|
|
79
|
+
- **Ask first:** Database schema changes, adding dependencies, changing CI config
|
|
80
|
+
- **Never do:** Commit secrets, edit vendor directories, remove failing tests without approval
|
|
81
|
+
|
|
82
|
+
## DevFlow 2.0 Specification Contract
|
|
83
|
+
|
|
84
|
+
Every specification must stand on its own in markdown under `devflow/runs/{ID}-*/`:
|
|
85
|
+
|
|
86
|
+
1. **`define.md`**: Decision and scope framing when the problem still needs clarification.
|
|
87
|
+
2. **`spec.md`**: The delivery contract following the template below.
|
|
88
|
+
|
|
89
|
+
**Spec template:**
|
|
90
|
+
|
|
91
|
+
```markdown
|
|
92
|
+
# Spec: [Project/Feature Name]
|
|
93
|
+
|
|
94
|
+
## Objective
|
|
95
|
+
[What we're building and why. User stories or acceptance criteria.]
|
|
96
|
+
|
|
97
|
+
## Tech Stack
|
|
98
|
+
[Framework, language, key dependencies with versions]
|
|
99
|
+
|
|
100
|
+
## Commands
|
|
101
|
+
[Build, test, lint, dev — full commands]
|
|
102
|
+
|
|
103
|
+
## Project Structure
|
|
104
|
+
[Directory layout with descriptions]
|
|
105
|
+
|
|
106
|
+
## Code Style
|
|
107
|
+
[Example snippet + key conventions]
|
|
108
|
+
|
|
109
|
+
## Testing Strategy
|
|
110
|
+
[Framework, test locations, coverage requirements, test levels]
|
|
111
|
+
|
|
112
|
+
## Boundaries
|
|
113
|
+
- Always: [...]
|
|
114
|
+
- Ask first: [...]
|
|
115
|
+
- Never: [...]
|
|
116
|
+
|
|
117
|
+
## Success Criteria
|
|
118
|
+
[How we'll know this is done — specific, testable conditions]
|
|
119
|
+
|
|
120
|
+
## Open Questions
|
|
121
|
+
[Anything unresolved that needs human input]
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
**Reframe instructions as success criteria.** When receiving vague requirements, translate them into concrete conditions:
|
|
125
|
+
|
|
126
|
+
```
|
|
127
|
+
REQUIREMENT: "Make the dashboard faster"
|
|
128
|
+
|
|
129
|
+
REFRAMED SUCCESS CRITERIA:
|
|
130
|
+
- Dashboard LCP < 2.5s on 4G connection
|
|
131
|
+
- Initial data load completes in < 500ms
|
|
132
|
+
- No layout shift during load (CLS < 0.1)
|
|
133
|
+
→ Are these the right targets?
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
This lets you loop, retry, and problem-solve toward a clear goal rather than guessing what "faster" means.
|
|
137
|
+
|
|
138
|
+
### Phase 2: Plan
|
|
139
|
+
|
|
140
|
+
With the validated spec, generate a technical implementation plan:
|
|
141
|
+
|
|
142
|
+
1. Identify the major components and their dependencies
|
|
143
|
+
2. Determine the implementation order (what must be built first)
|
|
144
|
+
3. Note risks and mitigation strategies
|
|
145
|
+
4. Identify what can be built in parallel vs. what must be sequential
|
|
146
|
+
5. Define verification checkpoints between phases
|
|
147
|
+
|
|
148
|
+
The plan should be reviewable: the human should be able to read it and say "yes, that's the right approach" or "no, change X."
|
|
149
|
+
|
|
150
|
+
### Phase 3: Tasks
|
|
151
|
+
|
|
152
|
+
Break the plan into discrete, implementable tasks:
|
|
153
|
+
|
|
154
|
+
- Each task should be completable in a single focused session
|
|
155
|
+
- Each task has explicit acceptance criteria
|
|
156
|
+
- Each task includes a verification step (test, build, manual check)
|
|
157
|
+
- Tasks are ordered by dependency, not by perceived importance
|
|
158
|
+
- No task should require changing more than ~5 files
|
|
159
|
+
|
|
160
|
+
**Task template:**
|
|
161
|
+
```markdown
|
|
162
|
+
- [ ] Task: [Description]
|
|
163
|
+
- Acceptance: [What must be true when done]
|
|
164
|
+
- Verify: [How to confirm — test command, build, manual check]
|
|
165
|
+
- Files: [Which files will be touched]
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
### Phase 4: Implement
|
|
169
|
+
|
|
170
|
+
Execute tasks one at a time following `incremental-implementation` and `test-driven-development` skills. Use `context-engineering` to load the right spec sections and source files at each step rather than flooding the agent with the entire spec.
|
|
171
|
+
|
|
172
|
+
## Keeping the Spec Alive
|
|
173
|
+
|
|
174
|
+
The spec is a living document, not a one-time artifact:
|
|
175
|
+
|
|
176
|
+
- **Update when decisions change** — If you discover the data model needs to change, update the spec first, then implement.
|
|
177
|
+
- **Update when scope changes** — Features added or cut should be reflected in the spec.
|
|
178
|
+
- **Commit the spec** — The spec belongs in version control alongside the code.
|
|
179
|
+
- **Reference the spec in PRs** — Link back to the spec section that each PR implements.
|
|
180
|
+
|
|
181
|
+
## Common Rationalizations
|
|
182
|
+
|
|
183
|
+
| Rationalization | Reality |
|
|
184
|
+
|---|---|
|
|
185
|
+
| "This is simple, I don't need a spec" | Simple tasks don't need *long* specs, but they still need acceptance criteria. A two-line spec is fine. |
|
|
186
|
+
| "I'll write the spec after I code it" | That's documentation, not specification. The spec's value is in forcing clarity *before* code. |
|
|
187
|
+
| "The spec will slow us down" | A 15-minute spec prevents hours of rework. Waterfall in 15 minutes beats debugging in 15 hours. |
|
|
188
|
+
| "Requirements will change anyway" | That's why the spec is a living document. An outdated spec is still better than no spec. |
|
|
189
|
+
| "The user knows what they want" | Even clear requests have implicit assumptions. The spec surfaces those assumptions. |
|
|
190
|
+
|
|
191
|
+
## Red Flags
|
|
192
|
+
|
|
193
|
+
- Starting to write code without any written requirements
|
|
194
|
+
- Asking "should I just start building?" before clarifying what "done" means
|
|
195
|
+
- Implementing features not mentioned in any spec or task list
|
|
196
|
+
- Making architectural decisions without documenting them
|
|
197
|
+
- Skipping the spec because "it's obvious what to build"
|
|
198
|
+
|
|
199
|
+
## Verification
|
|
200
|
+
|
|
201
|
+
Before proceeding to implementation, confirm:
|
|
202
|
+
|
|
203
|
+
- [ ] The spec covers all six core areas
|
|
204
|
+
- [ ] The human has reviewed and approved the spec
|
|
205
|
+
- [ ] Success criteria are specific and testable
|
|
206
|
+
- [ ] Boundaries (Always/Ask First/Never) are defined
|
|
207
|
+
- [ ] The spec is saved to a file in the repository
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: spec-orchestration
|
|
3
|
+
description: Coordinate Brainstorm, Research, PRD, competitor context, and spec critique before the work re-enters the numbered mainline. Use when a broad idea needs orchestration rather than a straight pass.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Spec Orchestration
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
This skill is the shared behavior layer behind `Spec-Orchestrate`.
|
|
11
|
+
|
|
12
|
+
It keeps the valuable orchestration UX from the legacy prompt while making sure DevFlow 2.0 still routes back into the numbered mainline cleanly.
|
|
13
|
+
|
|
14
|
+
## Related Assets
|
|
15
|
+
|
|
16
|
+
This skill should reuse and align with:
|
|
17
|
+
|
|
18
|
+
- `.agent/resources/schemas/spec_orchestration.template.md`
|
|
19
|
+
- `Brainstorm`
|
|
20
|
+
- `Research`
|
|
21
|
+
- `Spec-Research`
|
|
22
|
+
- `Competitor`
|
|
23
|
+
- `PRD`
|
|
24
|
+
|
|
25
|
+
## When to Use
|
|
26
|
+
|
|
27
|
+
- when an idea is too broad for one straight pass through Discover, Define, and Spec
|
|
28
|
+
- when multiple evidence lanes are needed before a real delivery contract can be written
|
|
29
|
+
- when the user needs orchestration, not autonomous execution
|
|
30
|
+
|
|
31
|
+
## Process
|
|
32
|
+
|
|
33
|
+
### 1. Clarify The Idea
|
|
34
|
+
|
|
35
|
+
Identify:
|
|
36
|
+
|
|
37
|
+
- target user
|
|
38
|
+
- core problem
|
|
39
|
+
- desired outcome
|
|
40
|
+
- constraints
|
|
41
|
+
- acceptance signals
|
|
42
|
+
|
|
43
|
+
### 2. Choose Only The Needed Support
|
|
44
|
+
|
|
45
|
+
Route proportionally:
|
|
46
|
+
|
|
47
|
+
- `Brainstorm` for option generation
|
|
48
|
+
- `Research` or `Spec-Research` for external or technical proof
|
|
49
|
+
- `Competitor` for market context
|
|
50
|
+
- `PRD` for product framing
|
|
51
|
+
- `/10-Define` for scope and decision locking
|
|
52
|
+
- `/20-Spec` for delivery contract writing
|
|
53
|
+
|
|
54
|
+
Do not stack every support surface by default.
|
|
55
|
+
|
|
56
|
+
### 3. Critique Before Execution
|
|
57
|
+
|
|
58
|
+
Check for:
|
|
59
|
+
|
|
60
|
+
- missing acceptance criteria
|
|
61
|
+
- unverified dependencies
|
|
62
|
+
- unclear boundaries
|
|
63
|
+
- hidden risks
|
|
64
|
+
- ambiguous UX, API, or data behavior
|
|
65
|
+
- wrong sequencing between framing and execution
|
|
66
|
+
|
|
67
|
+
### 4. Save A Reusable Report
|
|
68
|
+
|
|
69
|
+
Write the orchestration report to:
|
|
70
|
+
|
|
71
|
+
```text
|
|
72
|
+
devflow/reports/{date}-{slug}-spec-orchestration.md
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Use `.agent/resources/schemas/spec_orchestration.template.md` and replace placeholder text fully.
|
|
76
|
+
|
|
77
|
+
### 5. Route Back To Mainline
|
|
78
|
+
|
|
79
|
+
- `/10-Define` when the idea still needs scope decisions
|
|
80
|
+
- `/20-Spec` when enough evidence exists to write the delivery contract
|
|
81
|
+
- `/30-Plan` only when the spec is already solid
|
|
82
|
+
|
|
83
|
+
## Output
|
|
84
|
+
|
|
85
|
+
Return:
|
|
86
|
+
|
|
87
|
+
- what is already stable
|
|
88
|
+
- what still needs proof or discovery
|
|
89
|
+
- the supporting commands chosen
|
|
90
|
+
- where the orchestration report was saved
|
|
91
|
+
- the exact next command
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: specialist-agent-routing
|
|
3
|
+
description: Route a request to the right specialist agent and preserve the DevFlow 2.0 stage-first contract. Use when the user wants direct specialist judgment on a file, folder, workspace, or concern.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Specialist Agent Routing
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
This skill is the shared behavior layer behind `Agent`.
|
|
11
|
+
|
|
12
|
+
It keeps direct specialist invocation available for advanced use, but makes clear that the owning workflow or mainline stage still controls lifecycle state.
|
|
13
|
+
|
|
14
|
+
## When to Use
|
|
15
|
+
|
|
16
|
+
- when the user explicitly wants a specialist persona
|
|
17
|
+
- when a stage needs deeper focused judgment on a bounded target
|
|
18
|
+
- when a file, folder, running ID workspace, or codebase concern maps better to one expert than to a whole workflow
|
|
19
|
+
|
|
20
|
+
## Core Rule
|
|
21
|
+
|
|
22
|
+
`Agent` is not a mainline stage and should not replace the owning workflow.
|
|
23
|
+
|
|
24
|
+
Use it to add focused expertise, then route back to the correct lifecycle step.
|
|
25
|
+
|
|
26
|
+
## Input Shape
|
|
27
|
+
|
|
28
|
+
```text
|
|
29
|
+
Agent {AGENT_NAME} {TARGET}
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Examples:
|
|
33
|
+
|
|
34
|
+
```text
|
|
35
|
+
Agent requirements-engineer devflow/runs/007/spec.md
|
|
36
|
+
Agent codebase-explorer src/services/
|
|
37
|
+
Agent code-reviewer devflow/runs/007
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Process
|
|
41
|
+
|
|
42
|
+
### 1. Load The Specialist
|
|
43
|
+
|
|
44
|
+
Read:
|
|
45
|
+
|
|
46
|
+
- `.agent/agents/{AGENT_NAME}.md`
|
|
47
|
+
- the minimum necessary target context
|
|
48
|
+
- relevant stage artifacts when the target belongs to a running ID
|
|
49
|
+
|
|
50
|
+
### 2. Preserve Stage-First Contract
|
|
51
|
+
|
|
52
|
+
- prefer `discover.md`, `define.md`, `spec.md`, `plan.md`, `implement.md`, `verify.md`, `release.md`, and `report.md`
|
|
53
|
+
- do not silently mutate legacy JSON contracts
|
|
54
|
+
- if the agent is only reviewing, return recommendations or save a report instead of pretending to execute the whole lifecycle
|
|
55
|
+
|
|
56
|
+
### 3. Apply Specialist Discipline
|
|
57
|
+
|
|
58
|
+
Examples:
|
|
59
|
+
|
|
60
|
+
- `code-reviewer` -> correctness, risk, maintainability, findings-first review
|
|
61
|
+
- `prp-core-debugger` -> RCA and validation evidence
|
|
62
|
+
- `requirements-engineer` -> scope, ambiguity, acceptance criteria
|
|
63
|
+
- `codebase-explorer` -> architecture, pattern, and data flow investigation
|
|
64
|
+
|
|
65
|
+
### 4. Save A Reusable Report When Needed
|
|
66
|
+
|
|
67
|
+
For substantial outputs, save to:
|
|
68
|
+
|
|
69
|
+
```text
|
|
70
|
+
devflow/reports/{date}-{agent-name}-{timestamp}.md
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
Use `.agent/resources/schemas/agent_report.template.md` unless the invoking workflow provides a more specific template.
|
|
74
|
+
|
|
75
|
+
### 5. Route Back
|
|
76
|
+
|
|
77
|
+
Return to the owning step:
|
|
78
|
+
|
|
79
|
+
- `/10-Define`
|
|
80
|
+
- `/20-Spec`
|
|
81
|
+
- `/30-Plan`
|
|
82
|
+
- `/40-Implement`
|
|
83
|
+
- `/50-Verify`
|
|
84
|
+
- `/70-Release`
|
|
85
|
+
- `/60-Report`
|
|
86
|
+
- `PR-Review`
|
|
87
|
+
- `Research`
|
|
88
|
+
|
|
89
|
+
## Skills That Should Not Be Invoked As Agents
|
|
90
|
+
|
|
91
|
+
These former narrow agents now belong in the skill layer:
|
|
92
|
+
|
|
93
|
+
- `code-simplification`
|
|
94
|
+
- `type-design`
|
|
95
|
+
- `silent-failure-audit`
|
|
96
|
+
|
|
97
|
+
Invoke them through the responsible workflow or agent instead.
|
|
98
|
+
|
|
99
|
+
## Output
|
|
100
|
+
|
|
101
|
+
Return:
|
|
102
|
+
|
|
103
|
+
- agent used
|
|
104
|
+
- target reviewed
|
|
105
|
+
- concise findings or changes
|
|
106
|
+
- report path when a substantial report was written
|
|
107
|
+
- exact recommended next route
|
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: tailwind-patterns
|
|
3
|
+
description: Tailwind CSS v4 principles. CSS-first configuration, container queries, modern patterns, design token architecture.
|
|
4
|
+
allowed-tools: Read, Write, Edit, Glob, Grep
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Tailwind CSS Patterns (v4 - 2025)
|
|
8
|
+
|
|
9
|
+
> Modern utility-first CSS with CSS-native configuration.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## 1. Tailwind v4 Architecture
|
|
14
|
+
|
|
15
|
+
### What Changed from v3
|
|
16
|
+
|
|
17
|
+
| v3 (Legacy) | v4 (Current) |
|
|
18
|
+
|-------------|--------------|
|
|
19
|
+
| `tailwind.config.js` | CSS-based `@theme` directive |
|
|
20
|
+
| PostCSS plugin | Oxide engine (10x faster) |
|
|
21
|
+
| JIT mode | Native, always-on |
|
|
22
|
+
| Plugin system | CSS-native features |
|
|
23
|
+
| `@apply` directive | Still works, discouraged |
|
|
24
|
+
|
|
25
|
+
### v4 Core Concepts
|
|
26
|
+
|
|
27
|
+
| Concept | Description |
|
|
28
|
+
|---------|-------------|
|
|
29
|
+
| **CSS-first** | Configuration in CSS, not JavaScript |
|
|
30
|
+
| **Oxide Engine** | Rust-based compiler, much faster |
|
|
31
|
+
| **Native Nesting** | CSS nesting without PostCSS |
|
|
32
|
+
| **CSS Variables** | All tokens exposed as `--*` vars |
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## 2. CSS-Based Configuration
|
|
37
|
+
|
|
38
|
+
### Theme Definition
|
|
39
|
+
|
|
40
|
+
```
|
|
41
|
+
@theme {
|
|
42
|
+
/* Colors - use semantic names */
|
|
43
|
+
--color-primary: oklch(0.7 0.15 250);
|
|
44
|
+
--color-surface: oklch(0.98 0 0);
|
|
45
|
+
--color-surface-dark: oklch(0.15 0 0);
|
|
46
|
+
|
|
47
|
+
/* Spacing scale */
|
|
48
|
+
--spacing-xs: 0.25rem;
|
|
49
|
+
--spacing-sm: 0.5rem;
|
|
50
|
+
--spacing-md: 1rem;
|
|
51
|
+
--spacing-lg: 2rem;
|
|
52
|
+
|
|
53
|
+
/* Typography */
|
|
54
|
+
--font-sans: 'Inter', system-ui, sans-serif;
|
|
55
|
+
--font-mono: 'JetBrains Mono', monospace;
|
|
56
|
+
}
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### When to Extend vs Override
|
|
60
|
+
|
|
61
|
+
| Action | Use When |
|
|
62
|
+
|--------|----------|
|
|
63
|
+
| **Extend** | Adding new values alongside defaults |
|
|
64
|
+
| **Override** | Replacing default scale entirely |
|
|
65
|
+
| **Semantic tokens** | Project-specific naming (primary, surface) |
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## 3. Container Queries (v4 Native)
|
|
70
|
+
|
|
71
|
+
### Breakpoint vs Container
|
|
72
|
+
|
|
73
|
+
| Type | Responds To |
|
|
74
|
+
|------|-------------|
|
|
75
|
+
| **Breakpoint** (`md:`) | Viewport width |
|
|
76
|
+
| **Container** (`@container`) | Parent element width |
|
|
77
|
+
|
|
78
|
+
### Container Query Usage
|
|
79
|
+
|
|
80
|
+
| Pattern | Classes |
|
|
81
|
+
|---------|---------|
|
|
82
|
+
| Define container | `@container` on parent |
|
|
83
|
+
| Container breakpoint | `@sm:`, `@md:`, `@lg:` on children |
|
|
84
|
+
| Named containers | `@container/card` for specificity |
|
|
85
|
+
|
|
86
|
+
### When to Use
|
|
87
|
+
|
|
88
|
+
| Scenario | Use |
|
|
89
|
+
|----------|-----|
|
|
90
|
+
| Page-level layouts | Viewport breakpoints |
|
|
91
|
+
| Component-level responsive | Container queries |
|
|
92
|
+
| Reusable components | Container queries (context-independent) |
|
|
93
|
+
|
|
94
|
+
---
|
|
95
|
+
|
|
96
|
+
## 4. Responsive Design
|
|
97
|
+
|
|
98
|
+
### Breakpoint System
|
|
99
|
+
|
|
100
|
+
| Prefix | Min Width | Target |
|
|
101
|
+
|--------|-----------|--------|
|
|
102
|
+
| (none) | 0px | Mobile-first base |
|
|
103
|
+
| `sm:` | 640px | Large phone / small tablet |
|
|
104
|
+
| `md:` | 768px | Tablet |
|
|
105
|
+
| `lg:` | 1024px | Laptop |
|
|
106
|
+
| `xl:` | 1280px | Desktop |
|
|
107
|
+
| `2xl:` | 1536px | Large desktop |
|
|
108
|
+
|
|
109
|
+
### Mobile-First Principle
|
|
110
|
+
|
|
111
|
+
1. Write mobile styles first (no prefix)
|
|
112
|
+
2. Add larger screen overrides with prefixes
|
|
113
|
+
3. Example: `w-full md:w-1/2 lg:w-1/3`
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
## 5. Dark Mode
|
|
118
|
+
|
|
119
|
+
### Configuration Strategies
|
|
120
|
+
|
|
121
|
+
| Method | Behavior | Use When |
|
|
122
|
+
|--------|----------|----------|
|
|
123
|
+
| `class` | `.dark` class toggles | Manual theme switcher |
|
|
124
|
+
| `media` | Follows system preference | No user control |
|
|
125
|
+
| `selector` | Custom selector (v4) | Complex theming |
|
|
126
|
+
|
|
127
|
+
### Dark Mode Pattern
|
|
128
|
+
|
|
129
|
+
| Element | Light | Dark |
|
|
130
|
+
|---------|-------|------|
|
|
131
|
+
| Background | `bg-white` | `dark:bg-zinc-900` |
|
|
132
|
+
| Text | `text-zinc-900` | `dark:text-zinc-100` |
|
|
133
|
+
| Borders | `border-zinc-200` | `dark:border-zinc-700` |
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
## 6. Modern Layout Patterns
|
|
138
|
+
|
|
139
|
+
### Flexbox Patterns
|
|
140
|
+
|
|
141
|
+
| Pattern | Classes |
|
|
142
|
+
|---------|---------|
|
|
143
|
+
| Center (both axes) | `flex items-center justify-center` |
|
|
144
|
+
| Vertical stack | `flex flex-col gap-4` |
|
|
145
|
+
| Horizontal row | `flex gap-4` |
|
|
146
|
+
| Space between | `flex justify-between items-center` |
|
|
147
|
+
| Wrap grid | `flex flex-wrap gap-4` |
|
|
148
|
+
|
|
149
|
+
### Grid Patterns
|
|
150
|
+
|
|
151
|
+
| Pattern | Classes |
|
|
152
|
+
|---------|---------|
|
|
153
|
+
| Auto-fit responsive | `grid grid-cols-[repeat(auto-fit,minmax(250px,1fr))]` |
|
|
154
|
+
| Asymmetric (Bento) | `grid grid-cols-3 grid-rows-2` with spans |
|
|
155
|
+
| Sidebar layout | `grid grid-cols-[auto_1fr]` |
|
|
156
|
+
|
|
157
|
+
> **Note:** Prefer asymmetric/Bento layouts over symmetric 3-column grids.
|
|
158
|
+
|
|
159
|
+
---
|
|
160
|
+
|
|
161
|
+
## 7. Modern Color System
|
|
162
|
+
|
|
163
|
+
### OKLCH vs RGB/HSL
|
|
164
|
+
|
|
165
|
+
| Format | Advantage |
|
|
166
|
+
|--------|-----------|
|
|
167
|
+
| **OKLCH** | Perceptually uniform, better for design |
|
|
168
|
+
| **HSL** | Intuitive hue/saturation |
|
|
169
|
+
| **RGB** | Legacy compatibility |
|
|
170
|
+
|
|
171
|
+
### Color Token Architecture
|
|
172
|
+
|
|
173
|
+
| Layer | Example | Purpose |
|
|
174
|
+
|-------|---------|---------|
|
|
175
|
+
| **Primitive** | `--blue-500` | Raw color values |
|
|
176
|
+
| **Semantic** | `--color-primary` | Purpose-based naming |
|
|
177
|
+
| **Component** | `--button-bg` | Component-specific |
|
|
178
|
+
|
|
179
|
+
---
|
|
180
|
+
|
|
181
|
+
## 8. Typography System
|
|
182
|
+
|
|
183
|
+
### Font Stack Pattern
|
|
184
|
+
|
|
185
|
+
| Type | Recommended |
|
|
186
|
+
|------|-------------|
|
|
187
|
+
| Sans | `'Inter', 'SF Pro', system-ui, sans-serif` |
|
|
188
|
+
| Mono | `'JetBrains Mono', 'Fira Code', monospace` |
|
|
189
|
+
| Display | `'Outfit', 'Poppins', sans-serif` |
|
|
190
|
+
|
|
191
|
+
### Type Scale
|
|
192
|
+
|
|
193
|
+
| Class | Size | Use |
|
|
194
|
+
|-------|------|-----|
|
|
195
|
+
| `text-xs` | 0.75rem | Labels, captions |
|
|
196
|
+
| `text-sm` | 0.875rem | Secondary text |
|
|
197
|
+
| `text-base` | 1rem | Body text |
|
|
198
|
+
| `text-lg` | 1.125rem | Lead text |
|
|
199
|
+
| `text-xl`+ | 1.25rem+ | Headings |
|
|
200
|
+
|
|
201
|
+
---
|
|
202
|
+
|
|
203
|
+
## 9. Animation & Transitions
|
|
204
|
+
|
|
205
|
+
### Built-in Animations
|
|
206
|
+
|
|
207
|
+
| Class | Effect |
|
|
208
|
+
|-------|--------|
|
|
209
|
+
| `animate-spin` | Continuous rotation |
|
|
210
|
+
| `animate-ping` | Attention pulse |
|
|
211
|
+
| `animate-pulse` | Subtle opacity pulse |
|
|
212
|
+
| `animate-bounce` | Bouncing effect |
|
|
213
|
+
|
|
214
|
+
### Transition Patterns
|
|
215
|
+
|
|
216
|
+
| Pattern | Classes |
|
|
217
|
+
|---------|---------|
|
|
218
|
+
| All properties | `transition-all duration-200` |
|
|
219
|
+
| Specific | `transition-colors duration-150` |
|
|
220
|
+
| With easing | `ease-out` or `ease-in-out` |
|
|
221
|
+
| Hover effect | `hover:scale-105 transition-transform` |
|
|
222
|
+
|
|
223
|
+
---
|
|
224
|
+
|
|
225
|
+
## 10. Component Extraction
|
|
226
|
+
|
|
227
|
+
### When to Extract
|
|
228
|
+
|
|
229
|
+
| Signal | Action |
|
|
230
|
+
|--------|--------|
|
|
231
|
+
| Same class combo 3+ times | Extract component |
|
|
232
|
+
| Complex state variants | Extract component |
|
|
233
|
+
| Design system element | Extract + document |
|
|
234
|
+
|
|
235
|
+
### Extraction Methods
|
|
236
|
+
|
|
237
|
+
| Method | Use When |
|
|
238
|
+
|--------|----------|
|
|
239
|
+
| **React/Vue component** | Dynamic, JS needed |
|
|
240
|
+
| **@apply in CSS** | Static, no JS needed |
|
|
241
|
+
| **Design tokens** | Reusable values |
|
|
242
|
+
|
|
243
|
+
---
|
|
244
|
+
|
|
245
|
+
## 11. Anti-Patterns
|
|
246
|
+
|
|
247
|
+
| Don't | Do |
|
|
248
|
+
|-------|-----|
|
|
249
|
+
| Arbitrary values everywhere | Use design system scale |
|
|
250
|
+
| `!important` | Fix specificity properly |
|
|
251
|
+
| Inline `style=` | Use utilities |
|
|
252
|
+
| Duplicate long class lists | Extract component |
|
|
253
|
+
| Mix v3 config with v4 | Migrate fully to CSS-first |
|
|
254
|
+
| Use `@apply` heavily | Prefer components |
|
|
255
|
+
|
|
256
|
+
---
|
|
257
|
+
|
|
258
|
+
## 12. Performance Principles
|
|
259
|
+
|
|
260
|
+
| Principle | Implementation |
|
|
261
|
+
|-----------|----------------|
|
|
262
|
+
| **Purge unused** | Automatic in v4 |
|
|
263
|
+
| **Avoid dynamism** | No template string classes |
|
|
264
|
+
| **Use Oxide** | Default in v4, 10x faster |
|
|
265
|
+
| **Cache builds** | CI/CD caching |
|
|
266
|
+
|
|
267
|
+
---
|
|
268
|
+
|
|
269
|
+
> **Remember:** Tailwind v4 is CSS-first. Embrace CSS variables, container queries, and native features. The config file is now optional.
|