@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,253 @@
|
|
|
1
|
+
---name: help
|
|
2
|
+
|
|
3
|
+
description: DevFlow 2.0 Help and routing guide. Transitional file while Help moves from numbered workflow to companion command.
|
|
4
|
+
argument-hint: [optional: question, running id, stage, or issue]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Help
|
|
8
|
+
|
|
9
|
+
This file is a transitional compatibility entry for DevFlow 2.0.
|
|
10
|
+
|
|
11
|
+
In DevFlow 2.0, `Help` is a companion command, not a numbered mainline workflow.
|
|
12
|
+
|
|
13
|
+
## Mission
|
|
14
|
+
|
|
15
|
+
Act as a senior architect, project mentor, and Q&A assistant.
|
|
16
|
+
|
|
17
|
+
Help should:
|
|
18
|
+
|
|
19
|
+
- explain the current DevFlow 2.0 model
|
|
20
|
+
- route the user to the correct mainline stage
|
|
21
|
+
- recommend companion commands when the task is still unclear
|
|
22
|
+
- warn when a prior stage still needs manual review
|
|
23
|
+
- summarize current project or framework state
|
|
24
|
+
- stay read-only
|
|
25
|
+
|
|
26
|
+
Help must not:
|
|
27
|
+
|
|
28
|
+
- act like a mainline stage
|
|
29
|
+
- create or mutate stage artifacts directly
|
|
30
|
+
- send the user into deprecated JSON-first flow unless the question is specifically about legacy migration
|
|
31
|
+
|
|
32
|
+
## Read-Only Rule
|
|
33
|
+
|
|
34
|
+
Help remains read-only.
|
|
35
|
+
|
|
36
|
+
If the user asks Help to edit files directly, Help should instead:
|
|
37
|
+
|
|
38
|
+
- explain the best next command
|
|
39
|
+
- suggest the correct workflow or specialist agent
|
|
40
|
+
- point to the correct stage artifact
|
|
41
|
+
|
|
42
|
+
## Help Startup Routine
|
|
43
|
+
|
|
44
|
+
When invoked, Help should verify system health first before summarizing task status.
|
|
45
|
+
|
|
46
|
+
### Phase A: Environment Health Check
|
|
47
|
+
|
|
48
|
+
Check system readiness step by step:
|
|
49
|
+
|
|
50
|
+
1. verify `.agents/skills/` exists
|
|
51
|
+
2. verify `devflow/discoveries/` and `devflow/runs/` exist
|
|
52
|
+
3. verify the mainline workflow files exist
|
|
53
|
+
4. verify schema resources exist under `.agent/resources/schemas/`
|
|
54
|
+
|
|
55
|
+
If the framework is in mixed legacy/2.0 state, Help should say so explicitly.
|
|
56
|
+
|
|
57
|
+
If core pieces are missing, stop and recommend the underlying fix first.
|
|
58
|
+
|
|
59
|
+
### Phase B: Running Status Scan
|
|
60
|
+
|
|
61
|
+
1. scan `devflow/discoveries/` for pending discovery decisions and `devflow/runs/` for active Running IDs
|
|
62
|
+
2. prefer reading discovery and stage markdown files over legacy JSON
|
|
63
|
+
3. summarize discovery decisions, run state, blockers, and likely next action
|
|
64
|
+
4. treat `Approval Status` and `Next Allowed Command` as soft routing signals when they are present
|
|
65
|
+
|
|
66
|
+
When available, Help may use the internal helper below to build a faster first-pass summary before reading individual stage files:
|
|
67
|
+
|
|
68
|
+
```text
|
|
69
|
+
node scripts/summarize-run-status.mjs
|
|
70
|
+
node scripts/summarize-run-status.mjs --json
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
Typical summary shape:
|
|
74
|
+
|
|
75
|
+
```text
|
|
76
|
+
Help Summary:
|
|
77
|
+
Environment: All OK
|
|
78
|
+
|
|
79
|
+
Active Runs:
|
|
80
|
+
- 010-auth-refactor: stage=40-implement | approval=Pending | next=/50-Verify 010 | warnings: manual review open
|
|
81
|
+
- 011-billing-phase-1: stage=20-spec | approval=Approved | next=/30-Plan 011
|
|
82
|
+
- 012-admin-console: stage=50-verify | approval=Approved | next=/60-Report 012 | warnings: not ready for release
|
|
83
|
+
|
|
84
|
+
Recommended Next Action:
|
|
85
|
+
- 010 -> /50-Verify 010
|
|
86
|
+
- 011 -> /20-Spec 011
|
|
87
|
+
- 012 -> /40-Implement 012
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### Phase C: Manual Review Soft Gate
|
|
91
|
+
|
|
92
|
+
Help should not hard-block stage progression.
|
|
93
|
+
Help should warn when a stage artifact still shows:
|
|
94
|
+
|
|
95
|
+
- `Approval Status: Pending`
|
|
96
|
+
- `Approval Status: Needs Revision`
|
|
97
|
+
- missing `Next Allowed Command`
|
|
98
|
+
|
|
99
|
+
When one of those conditions exists, Help should:
|
|
100
|
+
|
|
101
|
+
1. say that manual review still appears open
|
|
102
|
+
2. recommend the reviewer inspect the current stage artifact first
|
|
103
|
+
3. suggest the next command only as a soft recommendation, not as an automatic jump
|
|
104
|
+
4. prefer checklist approval gates and stage `Next Allowed Command` when both exist, and call out disagreements explicitly
|
|
105
|
+
|
|
106
|
+
Typical warning shape:
|
|
107
|
+
|
|
108
|
+
```text
|
|
109
|
+
Manual Review Warning:
|
|
110
|
+
- 014 -> 20-spec.md still shows Approval Status: Pending
|
|
111
|
+
- Recommended action: review 20-spec.md and confirm the next allowed command before moving to /30-Plan 014
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
## DevFlow 2.0 Mainline
|
|
115
|
+
|
|
116
|
+
```text
|
|
117
|
+
/00-Discover -> /10-Define -> /20-Spec -> /30-Plan -> /40-Implement -> /50-Verify -> /60-Report -> /70-Release
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
## Public Companion Commands
|
|
121
|
+
|
|
122
|
+
These are not numbered stages and may be called directly by users:
|
|
123
|
+
|
|
124
|
+
- `Goal`
|
|
125
|
+
- `Brainstorm`
|
|
126
|
+
- `Research`
|
|
127
|
+
- `Debug`
|
|
128
|
+
- `PRD`
|
|
129
|
+
- `Issue-Triage`
|
|
130
|
+
- `Security-Review`
|
|
131
|
+
- `Wiki`
|
|
132
|
+
- `Check-For-Updates`
|
|
133
|
+
- `Help`
|
|
134
|
+
|
|
135
|
+
## Internal Companion Surfaces
|
|
136
|
+
|
|
137
|
+
These files still exist because their prompt bodies contain useful behavior, but they are not the preferred public entry points:
|
|
138
|
+
|
|
139
|
+
- `Preview`
|
|
140
|
+
- `Simplify`
|
|
141
|
+
- `Spec-Research`
|
|
142
|
+
- `Competitor`
|
|
143
|
+
- `Roadmap`
|
|
144
|
+
- `Spec-Orchestrate`
|
|
145
|
+
- `Test`
|
|
146
|
+
- `QA-Orchestrate`
|
|
147
|
+
- `Followup`
|
|
148
|
+
- `Human-Approve`
|
|
149
|
+
- `Human-Feedback`
|
|
150
|
+
- `Human-ReCheck`
|
|
151
|
+
- `Human-Reject`
|
|
152
|
+
- `Commit`
|
|
153
|
+
- `PR`
|
|
154
|
+
- `PR-Review`
|
|
155
|
+
- `PR-Followup`
|
|
156
|
+
- `Merge`
|
|
157
|
+
- `Deploy`
|
|
158
|
+
- `Changelog`
|
|
159
|
+
- `Insight`
|
|
160
|
+
- `Agent`
|
|
161
|
+
|
|
162
|
+
## Routing Rules
|
|
163
|
+
|
|
164
|
+
### 1. If the user is just starting
|
|
165
|
+
|
|
166
|
+
Recommend `/00-Discover`. Discover selects `Brainstorm`, `PRD`, `Research`, `Debug`, or direct decision and owns the return synthesis.
|
|
167
|
+
If the request is large, high-risk, multi-phase, or requirement-heavy, explain that the run should use the manual review flow with explicit human approval at each stage.
|
|
168
|
+
|
|
169
|
+
### 2. If an approved discovery needs delivery boundaries
|
|
170
|
+
|
|
171
|
+
Recommend `/10-Define {discovery_id}` so Define can create one or more Running IDs.
|
|
172
|
+
|
|
173
|
+
If the go/no-go decision is not approved, return to `/00-Discover {discovery_id}` instead.
|
|
174
|
+
|
|
175
|
+
### 3. If the task is already defined and needs requirements
|
|
176
|
+
|
|
177
|
+
Recommend `/20-Spec`.
|
|
178
|
+
|
|
179
|
+
### 4. If requirements already exist and implementation planning is next
|
|
180
|
+
|
|
181
|
+
Recommend `/30-Plan`.
|
|
182
|
+
|
|
183
|
+
### 5. If planning is done and work should begin
|
|
184
|
+
|
|
185
|
+
Recommend `/40-Implement`.
|
|
186
|
+
|
|
187
|
+
### 6. If implementation exists and needs checking
|
|
188
|
+
|
|
189
|
+
Recommend `/50-Verify`.
|
|
190
|
+
|
|
191
|
+
### 7. If work is done and needs a final human-friendly summary before release
|
|
192
|
+
|
|
193
|
+
Recommend `/60-Report`.
|
|
194
|
+
|
|
195
|
+
### 8. If the work needs packaging or release handling after the report is aligned
|
|
196
|
+
|
|
197
|
+
Recommend `/70-Release`.
|
|
198
|
+
|
|
199
|
+
## General Q And A Role
|
|
200
|
+
|
|
201
|
+
Help should:
|
|
202
|
+
|
|
203
|
+
- answer questions about the project, framework, commands, agents, and prompts
|
|
204
|
+
- recommend which public workflow, public companion command, or agent should be used next
|
|
205
|
+
- clarify the current 2.0 stage model and companion-command model
|
|
206
|
+
- explain when the manual review flow is the safer choice
|
|
207
|
+
- provide example prompts for other workflows or agents
|
|
208
|
+
|
|
209
|
+
When the user lacks context or the problem is unclear, Help may recommend `Research`, `Brainstorm`, or `Debug` instead of pretending the route is obvious.
|
|
210
|
+
|
|
211
|
+
## Legacy Transition Notes
|
|
212
|
+
|
|
213
|
+
The following are legacy concepts in DevFlow 2.0:
|
|
214
|
+
|
|
215
|
+
- dashboard-first task flow
|
|
216
|
+
- JSON-first task contracts
|
|
217
|
+
- numbered utility workflows that are not true stage states
|
|
218
|
+
|
|
219
|
+
Legacy aliases are no longer part of the active command surface.
|
|
220
|
+
|
|
221
|
+
If a user mentions a removed legacy command, Help should:
|
|
222
|
+
|
|
223
|
+
1. state that the legacy alias has been retired
|
|
224
|
+
2. recommend the current 2.0 stage or companion command
|
|
225
|
+
3. continue the conversation using only the current command name
|
|
226
|
+
|
|
227
|
+
If a user mentions an internal companion surface, Help should:
|
|
228
|
+
|
|
229
|
+
1. explain that it is an internal support surface in DevFlow 2.0
|
|
230
|
+
2. recommend the public command or mainline stage that should normally be used instead
|
|
231
|
+
3. mention the internal surface only when the user is intentionally doing framework-level or advanced workflow work
|
|
232
|
+
|
|
233
|
+
## Relationship To DevFlow 2.0
|
|
234
|
+
|
|
235
|
+
- Classification: Companion command
|
|
236
|
+
- Mainline status: Routing and explanation command, not a numbered stage
|
|
237
|
+
- Typical entry points: whenever the next step is unclear
|
|
238
|
+
- Typical handoff targets: any mainline stage or companion command that best matches the current state
|
|
239
|
+
|
|
240
|
+
## Sources
|
|
241
|
+
|
|
242
|
+
- `AGENTS.md`
|
|
243
|
+
- `docs/workspace-artifacts.md`
|
|
244
|
+
- Related commands: all mainline stages, `Brainstorm`, `Research`, `Debug`, `Wiki`, `Agent`, `Goal`
|
|
245
|
+
|
|
246
|
+
## Next Workflow Recommendation
|
|
247
|
+
|
|
248
|
+
- **Primary**: the workflow or companion command that best matches the user's current state
|
|
249
|
+
- **Why**: `Help` is the routing and coaching entry point for people and agents
|
|
250
|
+
- **Alternatives**:
|
|
251
|
+
- `Goal "{goal}"` for broad goals that need decomposition and routing
|
|
252
|
+
- `Wiki query {framework|project|all} "{question}"` when the user needs accumulated knowledge
|
|
253
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: human-review-decisions
|
|
3
|
+
description: Handle human approval, feedback, rejection, and recheck decisions around verified work. Use when a task needs a human gate after verification and the result must route cleanly back into the DevFlow 2.0 lifecycle.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Human Review Decisions
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
This skill handles the human review loop after implementation and verification. It does not replace mainline stages; it records or advises the human decision and routes the task back to the right stage.
|
|
11
|
+
|
|
12
|
+
## Supported Modes
|
|
13
|
+
|
|
14
|
+
- `approve`
|
|
15
|
+
- `feedback`
|
|
16
|
+
- `reject`
|
|
17
|
+
- `recheck`
|
|
18
|
+
|
|
19
|
+
## When to Use
|
|
20
|
+
|
|
21
|
+
- After `/50-Verify` when a human must decide whether the work is acceptable
|
|
22
|
+
- When verified work needs non-blocking feedback
|
|
23
|
+
- When review fails and the task must be sent back with explicit action items
|
|
24
|
+
- When a read-only re-evaluation is needed before the human chooses a decision
|
|
25
|
+
|
|
26
|
+
## Process
|
|
27
|
+
|
|
28
|
+
### 1. Load The Review Context
|
|
29
|
+
|
|
30
|
+
Prefer these artifacts:
|
|
31
|
+
|
|
32
|
+
- `verify.md`
|
|
33
|
+
- `implement.md`
|
|
34
|
+
- `release.md`
|
|
35
|
+
- `report.md`
|
|
36
|
+
|
|
37
|
+
Read only what is necessary to understand the review question and evidence.
|
|
38
|
+
|
|
39
|
+
### 2. Apply The Requested Decision
|
|
40
|
+
|
|
41
|
+
#### Approve
|
|
42
|
+
|
|
43
|
+
- confirm the task is genuinely review-ready
|
|
44
|
+
- record approval in the current review-facing artifact
|
|
45
|
+
- route to `/60-Report` first, then `/70-Release` when release execution is the remaining step
|
|
46
|
+
|
|
47
|
+
#### Feedback
|
|
48
|
+
|
|
49
|
+
- record requested improvements without treating them as hard rejection
|
|
50
|
+
- preserve the feedback round and source
|
|
51
|
+
- route to `/40-Implement` or `/30-Plan` if the feedback changes scope
|
|
52
|
+
|
|
53
|
+
#### Reject
|
|
54
|
+
|
|
55
|
+
- record rejection reason and concrete action items
|
|
56
|
+
- route to `/40-Implement`, `/30-Plan`, or `Debug` depending on the issue
|
|
57
|
+
|
|
58
|
+
#### Recheck
|
|
59
|
+
|
|
60
|
+
- keep the action read-only unless the user explicitly asks to record it
|
|
61
|
+
- evaluate the evidence and recommend `approve`, `feedback`, `reject`, or `/50-Verify`
|
|
62
|
+
|
|
63
|
+
### 3. Record Reusable Lessons
|
|
64
|
+
|
|
65
|
+
If the review reveals a durable team lesson, add it to `devflow/lessons.md` or route to `Wiki`.
|
|
66
|
+
|
|
67
|
+
## Output
|
|
68
|
+
|
|
69
|
+
Return:
|
|
70
|
+
|
|
71
|
+
- decision taken
|
|
72
|
+
- artifact updated or not updated
|
|
73
|
+
- next recommended stage or companion command
|
|
74
|
+
- any reusable lesson worth capturing
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: i18n-localization
|
|
3
|
+
description: Internationalization and localization patterns. Detecting hardcoded strings, managing translations, locale files, RTL support.
|
|
4
|
+
allowed-tools: Read, Glob, Grep
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# i18n & Localization
|
|
8
|
+
|
|
9
|
+
> Internationalization (i18n) and Localization (L10n) best practices.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## 1. Core Concepts
|
|
14
|
+
|
|
15
|
+
| Term | Meaning |
|
|
16
|
+
|------|---------|
|
|
17
|
+
| **i18n** | Internationalization - making app translatable |
|
|
18
|
+
| **L10n** | Localization - actual translations |
|
|
19
|
+
| **Locale** | Language + Region (en-US, tr-TR) |
|
|
20
|
+
| **RTL** | Right-to-left languages (Arabic, Hebrew) |
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## 2. When to Use i18n
|
|
25
|
+
|
|
26
|
+
| Project Type | i18n Needed? |
|
|
27
|
+
|--------------|--------------|
|
|
28
|
+
| Public web app | ✅ Yes |
|
|
29
|
+
| SaaS product | ✅ Yes |
|
|
30
|
+
| Internal tool | ⚠️ Maybe |
|
|
31
|
+
| Single-region app | ⚠️ Consider future |
|
|
32
|
+
| Personal project | ❌ Optional |
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## 3. Implementation Patterns
|
|
37
|
+
|
|
38
|
+
### React (react-i18next)
|
|
39
|
+
|
|
40
|
+
```tsx
|
|
41
|
+
import { useTranslation } from 'react-i18next';
|
|
42
|
+
|
|
43
|
+
function Welcome() {
|
|
44
|
+
const { t } = useTranslation();
|
|
45
|
+
return <h1>{t('welcome.title')}</h1>;
|
|
46
|
+
}
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### Next.js (next-intl)
|
|
50
|
+
|
|
51
|
+
```tsx
|
|
52
|
+
import { useTranslations } from 'next-intl';
|
|
53
|
+
|
|
54
|
+
export default function Page() {
|
|
55
|
+
const t = useTranslations('Home');
|
|
56
|
+
return <h1>{t('title')}</h1>;
|
|
57
|
+
}
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### Python (gettext)
|
|
61
|
+
|
|
62
|
+
```python
|
|
63
|
+
from gettext import gettext as _
|
|
64
|
+
|
|
65
|
+
print(_("Welcome to our app"))
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
## 4. File Structure
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
locales/
|
|
74
|
+
├── en/
|
|
75
|
+
│ ├── common.json
|
|
76
|
+
│ ├── auth.json
|
|
77
|
+
│ └── errors.json
|
|
78
|
+
├── tr/
|
|
79
|
+
│ ├── common.json
|
|
80
|
+
│ ├── auth.json
|
|
81
|
+
│ └── errors.json
|
|
82
|
+
└── ar/ # RTL
|
|
83
|
+
└── ...
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## 5. Best Practices
|
|
89
|
+
|
|
90
|
+
### DO ✅
|
|
91
|
+
|
|
92
|
+
- Use translation keys, not raw text
|
|
93
|
+
- Namespace translations by feature
|
|
94
|
+
- Support pluralization
|
|
95
|
+
- Handle date/number formats per locale
|
|
96
|
+
- Plan for RTL from the start
|
|
97
|
+
- Use ICU message format for complex strings
|
|
98
|
+
|
|
99
|
+
### DON'T ❌
|
|
100
|
+
|
|
101
|
+
- Hardcode strings in components
|
|
102
|
+
- Concatenate translated strings
|
|
103
|
+
- Assume text length (German is 30% longer)
|
|
104
|
+
- Forget about RTL layout
|
|
105
|
+
- Mix languages in same file
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
## 6. Common Issues
|
|
110
|
+
|
|
111
|
+
| Issue | Solution |
|
|
112
|
+
|-------|----------|
|
|
113
|
+
| Missing translation | Fallback to default language |
|
|
114
|
+
| Hardcoded strings | Use linter/checker script |
|
|
115
|
+
| Date format | Use Intl.DateTimeFormat |
|
|
116
|
+
| Number format | Use Intl.NumberFormat |
|
|
117
|
+
| Pluralization | Use ICU message format |
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
## 7. RTL Support
|
|
122
|
+
|
|
123
|
+
```css
|
|
124
|
+
/* CSS Logical Properties */
|
|
125
|
+
.container {
|
|
126
|
+
margin-inline-start: 1rem; /* Not margin-left */
|
|
127
|
+
padding-inline-end: 1rem; /* Not padding-right */
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
[dir="rtl"] .icon {
|
|
131
|
+
transform: scaleX(-1);
|
|
132
|
+
}
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
## 8. Checklist
|
|
138
|
+
|
|
139
|
+
Before shipping:
|
|
140
|
+
|
|
141
|
+
- [ ] All user-facing strings use translation keys
|
|
142
|
+
- [ ] Locale files exist for all supported languages
|
|
143
|
+
- [ ] Date/number formatting uses Intl API
|
|
144
|
+
- [ ] RTL layout tested (if applicable)
|
|
145
|
+
- [ ] Fallback language configured
|
|
146
|
+
- [ ] No hardcoded strings in components
|
|
147
|
+
|
|
148
|
+
---
|
|
149
|
+
|
|
150
|
+
## Script
|
|
151
|
+
|
|
152
|
+
| Script | Purpose | Command |
|
|
153
|
+
|--------|---------|---------|
|
|
154
|
+
| `scripts/i18n_checker.py` | Detect hardcoded strings & missing translations | `python scripts/i18n_checker.py <project_path>` |
|