@bovinphang/frontend-craft 2.7.0 → 2.9.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/.claude-plugin/marketplace.json +3 -3
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +378 -305
- package/CHANGELOG.zh-CN.md +377 -304
- package/CONTRIBUTING.md +371 -361
- package/CONTRIBUTING.zh-CN.md +371 -361
- package/README.md +545 -493
- package/README.openclaw.md +359 -264
- package/README.openclaw.zh-CN.md +359 -264
- package/README.zh-CN.md +545 -493
- package/agents/fec-architect.md +70 -70
- package/agents/fec-code-reviewer.md +103 -82
- package/agents/fec-debugger.md +20 -20
- package/agents/fec-design-token-mapper.md +36 -36
- package/agents/fec-doc-updater.md +13 -13
- package/agents/fec-e2e-runner.md +45 -45
- package/agents/fec-figma-implementer.md +59 -59
- package/agents/fec-performance-optimizer.md +128 -128
- package/agents/fec-refactor-cleaner.md +17 -14
- package/agents/fec-refactoring-expert.md +81 -0
- package/agents/fec-security-reviewer.md +82 -67
- package/agents/fec-test-planner.md +27 -27
- package/agents/fec-typescript-reviewer.md +103 -87
- package/agents/fec-ui-checker.md +64 -64
- package/commands/fec-debug.md +19 -19
- package/commands/fec-doc-sync.md +11 -11
- package/commands/fec-init.md +37 -38
- package/commands/fec-plan.md +58 -58
- package/commands/fec-refactor-clean.md +11 -11
- package/commands/fec-refactor-plan.md +17 -0
- package/commands/fec-refactor.md +18 -0
- package/commands/fec-review.md +71 -41
- package/commands/fec-scaffold.md +41 -41
- package/commands/fec-smell.md +17 -0
- package/commands/fec-tdd.md +17 -13
- package/dist/bin/frontend-craft.js +190 -36
- package/dist/hooks/fec-run-tests.js +5 -1
- package/dist/hooks/fec-session-start.js +1 -1
- package/docs/example-prompts.md +157 -137
- package/docs/ja-JP/README.md +534 -493
- package/docs/ko-KR/README.md +534 -493
- package/docs/project-structure.md +151 -123
- package/docs/refactoring/README.md +50 -0
- package/docs/refactoring/catalog.md +105 -0
- package/docs/refactoring/smell-refactoring-matrix.md +41 -0
- package/docs/review-and-diagram-workflows.md +39 -0
- package/docs/runtimes/antigravity.md +18 -10
- package/docs/runtimes/augment.md +18 -10
- package/docs/runtimes/claude.md +191 -177
- package/docs/runtimes/claude.zh-CN.md +189 -175
- package/docs/runtimes/cline.md +18 -10
- package/docs/runtimes/codebuddy.md +18 -10
- package/docs/runtimes/codex.md +18 -10
- package/docs/runtimes/compatibility.md +27 -0
- package/docs/runtimes/copilot.md +18 -10
- package/docs/runtimes/cursor.md +18 -10
- package/docs/runtimes/gemini.md +18 -10
- package/docs/runtimes/kilo.md +18 -10
- package/docs/runtimes/openclaw.md +18 -10
- package/docs/runtimes/opencode.md +18 -10
- package/docs/runtimes/qoder.md +18 -19
- package/docs/runtimes/trae.md +18 -10
- package/docs/runtimes/windsurf.md +18 -10
- package/docs/superpowers/plans/2026-09-26-content-integrity.md +145 -0
- package/docs/superpowers/plans/2026-09-26-diagram-quality.md +170 -0
- package/docs/superpowers/specs/2026-09-26-diagram-quality-design.md +77 -0
- package/docs/superpowers/specs/2026-09-26-project-optimization-design.md +95 -0
- package/docs/zh-CN/example-prompts.md +157 -137
- package/docs/zh-CN/project-structure.md +148 -123
- package/docs/zh-CN/review-and-diagram-workflows.md +39 -0
- package/docs/zh-TW/README.md +534 -493
- package/localized/zh-CN/agents/fec-architect.md +125 -0
- package/localized/zh-CN/agents/fec-code-reviewer.md +171 -0
- package/localized/zh-CN/agents/fec-debugger.md +44 -0
- package/localized/zh-CN/agents/fec-design-token-mapper.md +75 -0
- package/localized/zh-CN/agents/fec-doc-updater.md +30 -0
- package/localized/zh-CN/agents/fec-e2e-runner.md +107 -0
- package/localized/zh-CN/agents/fec-figma-implementer.md +104 -0
- package/localized/zh-CN/agents/fec-performance-optimizer.md +293 -0
- package/localized/zh-CN/agents/fec-refactor-cleaner.md +35 -0
- package/localized/zh-CN/agents/fec-refactoring-expert.md +53 -0
- package/localized/zh-CN/agents/fec-security-reviewer.md +132 -0
- package/localized/zh-CN/agents/fec-test-planner.md +50 -0
- package/localized/zh-CN/agents/fec-typescript-reviewer.md +158 -0
- package/localized/zh-CN/agents/fec-ui-checker.md +120 -0
- package/localized/zh-CN/commands/fec-debug.md +30 -0
- package/localized/zh-CN/commands/fec-doc-sync.md +19 -0
- package/localized/zh-CN/commands/fec-init.md +70 -0
- package/localized/zh-CN/commands/fec-plan.md +94 -0
- package/localized/zh-CN/commands/fec-refactor-clean.md +19 -0
- package/localized/zh-CN/commands/fec-refactor-plan.md +15 -0
- package/localized/zh-CN/commands/fec-refactor.md +14 -0
- package/localized/zh-CN/commands/fec-review.md +97 -0
- package/localized/zh-CN/commands/fec-scaffold.md +205 -0
- package/localized/zh-CN/commands/fec-smell.md +13 -0
- package/localized/zh-CN/commands/fec-tdd.md +25 -0
- package/localized/zh-CN/skills/TEMPLATE.md +155 -0
- package/localized/zh-CN/skills/eval_queries.json +1257 -0
- package/localized/zh-CN/skills/fec-accessibility-check/SKILL.md +39 -0
- package/localized/zh-CN/skills/fec-accessibility-check/references/report-template.md +23 -0
- package/localized/zh-CN/skills/fec-accessibility-check/references/screen-reader-testing.md +33 -0
- package/localized/zh-CN/skills/fec-alchemy/SKILL.md +74 -0
- package/localized/zh-CN/skills/fec-alchemy/assets/absorption-plan-template.md +47 -0
- package/localized/zh-CN/skills/fec-alchemy/assets/intake-template.md +55 -0
- package/localized/zh-CN/skills/fec-alchemy/assets/review-checklist.md +31 -0
- package/localized/zh-CN/skills/fec-alchemy/references/methodology.md +94 -0
- package/localized/zh-CN/skills/fec-alchemy/references/originality-and-licensing.md +57 -0
- package/localized/zh-CN/skills/fec-api-integration/SKILL.md +78 -0
- package/localized/zh-CN/skills/fec-api-integration/references/integration-patterns.md +80 -0
- package/localized/zh-CN/skills/fec-backend-requirements-handoff/SKILL.md +45 -0
- package/localized/zh-CN/skills/fec-browser-storage/SKILL.md +34 -0
- package/localized/zh-CN/skills/fec-browser-storage/references/storage-patterns.md +65 -0
- package/localized/zh-CN/skills/fec-canvas-threejs/SKILL.md +66 -0
- package/localized/zh-CN/skills/fec-canvas-threejs/references/rendering-patterns.md +67 -0
- package/localized/zh-CN/skills/fec-canvas-threejs/references/shader-webgl-patterns.md +67 -0
- package/localized/zh-CN/skills/fec-code-review/SKILL.md +162 -0
- package/localized/zh-CN/skills/fec-code-review/references/report-template.md +39 -0
- package/localized/zh-CN/skills/fec-code-smells/SKILL.md +33 -0
- package/localized/zh-CN/skills/fec-code-smells/references/detection-guide.md +25 -0
- package/localized/zh-CN/skills/fec-code-smells/references/smell-catalog.md +817 -0
- package/localized/zh-CN/skills/fec-code-smells/references/smell-to-refactoring-map.md +265 -0
- package/localized/zh-CN/skills/fec-component-testing/SKILL.md +119 -0
- package/localized/zh-CN/skills/fec-data-fetching/SKILL.md +62 -0
- package/localized/zh-CN/skills/fec-data-fetching/references/query-patterns.md +103 -0
- package/localized/zh-CN/skills/fec-debug-framework/SKILL.md +157 -0
- package/localized/zh-CN/skills/fec-debug-framework/references/report-template.md +58 -0
- package/localized/zh-CN/skills/fec-dependency-upgrade/SKILL.md +34 -0
- package/localized/zh-CN/skills/fec-dependency-upgrade/references/dependency-upgrade-workflow.md +56 -0
- package/localized/zh-CN/skills/fec-doc-sync/SKILL.md +39 -0
- package/localized/zh-CN/skills/fec-drawio-studio/SKILL.md +73 -0
- package/localized/zh-CN/skills/fec-drawio-studio/data/THIRD_PARTY_NOTICES.md +10 -0
- package/localized/zh-CN/skills/fec-drawio-studio/data/brand-icons.json +878 -0
- package/localized/zh-CN/skills/fec-drawio-studio/data/shape-index.json +83570 -0
- package/localized/zh-CN/skills/fec-drawio-studio/references/data-residency.md +27 -0
- package/localized/zh-CN/skills/fec-drawio-studio/references/diagram-patterns.md +60 -0
- package/localized/zh-CN/skills/fec-drawio-studio/references/flowchart-quality.md +49 -0
- package/localized/zh-CN/skills/fec-drawio-studio/references/layout-and-export.md +72 -0
- package/localized/zh-CN/skills/fec-drawio-studio/references/troubleshooting.md +29 -0
- package/localized/zh-CN/skills/fec-drawio-studio/references/xml-and-mermaid.md +58 -0
- package/localized/zh-CN/skills/fec-drawio-studio/scripts/brand-symbols.mjs +99 -0
- package/localized/zh-CN/skills/fec-drawio-studio/scripts/diagram-lint.mjs +205 -0
- package/localized/zh-CN/skills/fec-drawio-studio/scripts/diagram-url.mjs +102 -0
- package/localized/zh-CN/skills/fec-drawio-studio/scripts/drawio-export.mjs +134 -0
- package/localized/zh-CN/skills/fec-drawio-studio/scripts/layout-graph.mjs +107 -0
- package/localized/zh-CN/skills/fec-drawio-studio/scripts/png-embed-fix.mjs +26 -0
- package/localized/zh-CN/skills/fec-drawio-studio/scripts/scan-go-packages.mjs +36 -0
- package/localized/zh-CN/skills/fec-drawio-studio/scripts/scan-js-modules.mjs +52 -0
- package/localized/zh-CN/skills/fec-drawio-studio/scripts/scan-python-classes.mjs +30 -0
- package/localized/zh-CN/skills/fec-drawio-studio/scripts/scan-python-modules.mjs +55 -0
- package/localized/zh-CN/skills/fec-drawio-studio/scripts/scan-rust-modules.mjs +35 -0
- package/localized/zh-CN/skills/fec-drawio-studio/scripts/scan-ts-modules.mjs +7 -0
- package/localized/zh-CN/skills/fec-drawio-studio/scripts/shape-query.mjs +121 -0
- package/localized/zh-CN/skills/fec-drawio-studio/scripts/studio-core.mjs +139 -0
- package/localized/zh-CN/skills/fec-drawio-studio/styles/built-in/corporate.json +49 -0
- package/localized/zh-CN/skills/fec-drawio-studio/styles/built-in/default.json +49 -0
- package/localized/zh-CN/skills/fec-drawio-studio/styles/built-in/handdrawn.json +49 -0
- package/localized/zh-CN/skills/fec-drawio-studio/styles/schema.json +112 -0
- package/localized/zh-CN/skills/fec-e2e-testing/SKILL.md +42 -0
- package/localized/zh-CN/skills/fec-e2e-testing/references/e2e-ci-reporting.md +62 -0
- package/localized/zh-CN/skills/fec-e2e-testing/references/e2e-special-scenarios.md +52 -0
- package/localized/zh-CN/skills/fec-e2e-testing/references/e2e-visual-regression.md +60 -0
- package/localized/zh-CN/skills/fec-e2e-testing/references/playwright-patterns.md +95 -0
- package/localized/zh-CN/skills/fec-form-handling/SKILL.md +76 -0
- package/localized/zh-CN/skills/fec-form-handling/references/advanced-form-patterns.md +101 -0
- package/localized/zh-CN/skills/fec-image-generation/SKILL.md +110 -0
- package/localized/zh-CN/skills/fec-image-generation/assets/interactive-diagram.html +371 -0
- package/localized/zh-CN/skills/fec-image-generation/assets/quality-examples/README.md +14 -0
- package/localized/zh-CN/skills/fec-image-generation/assets/quality-examples/architecture.json +121 -0
- package/localized/zh-CN/skills/fec-image-generation/assets/quality-examples/invalid-explicit.json +41 -0
- package/localized/zh-CN/skills/fec-image-generation/assets/quality-examples/sequence.json +53 -0
- package/localized/zh-CN/skills/fec-image-generation/assets/quality-examples/sequence.mmd +21 -0
- package/localized/zh-CN/skills/fec-image-generation/assets/quality-examples/workflow.json +98 -0
- package/localized/zh-CN/skills/fec-image-generation/assets/quality-examples/workflow.mmd +7 -0
- package/localized/zh-CN/skills/fec-image-generation/references/artifact-routing.md +80 -0
- package/localized/zh-CN/skills/fec-image-generation/references/diagram-workflows.md +81 -0
- package/localized/zh-CN/skills/fec-image-generation/references/html-technical-diagrams.md +243 -0
- package/localized/zh-CN/skills/fec-image-generation/references/png-qa-autofix.md +37 -0
- package/localized/zh-CN/skills/fec-image-generation/scripts/diagram-browser.mjs +90 -0
- package/localized/zh-CN/skills/fec-image-generation/scripts/diagram-layout.mjs +176 -0
- package/localized/zh-CN/skills/fec-image-generation/scripts/export-diagram.mjs +332 -0
- package/localized/zh-CN/skills/fec-image-generation/scripts/interactive-diagram-server.mjs +654 -0
- package/localized/zh-CN/skills/fec-image-generation/scripts/mermaid-render.mjs +64 -0
- package/localized/zh-CN/skills/fec-image-generation/scripts/png-qa.mjs +462 -0
- package/localized/zh-CN/skills/fec-image-generation/scripts/tech-diagram-render.mjs +1537 -0
- package/localized/zh-CN/skills/fec-implement-from-design/SKILL.md +129 -0
- package/localized/zh-CN/skills/fec-implement-from-design/references/design-plan-template.md +36 -0
- package/localized/zh-CN/skills/fec-legacy-to-modern-migration/SKILL.md +46 -0
- package/localized/zh-CN/skills/fec-legacy-to-modern-migration/references/migration-execution-checklist.md +110 -0
- package/localized/zh-CN/skills/fec-legacy-to-modern-migration/references/migration-report-template.md +41 -0
- package/localized/zh-CN/skills/fec-legacy-to-modern-migration/references/migration-strategy-and-mapping.md +48 -0
- package/localized/zh-CN/skills/fec-legacy-web-standard/SKILL.md +35 -0
- package/localized/zh-CN/skills/fec-legacy-web-standard/references/legacy-patterns.md +85 -0
- package/localized/zh-CN/skills/fec-list-virtualization/SKILL.md +34 -0
- package/localized/zh-CN/skills/fec-list-virtualization/references/virtualization-patterns.md +80 -0
- package/localized/zh-CN/skills/fec-monorepo-project-standard/SKILL.md +142 -0
- package/localized/zh-CN/skills/fec-motion-interaction/SKILL.md +73 -0
- package/localized/zh-CN/skills/fec-motion-interaction/references/motion-patterns.md +112 -0
- package/localized/zh-CN/skills/fec-nextjs-project-standard/SKILL.md +123 -0
- package/localized/zh-CN/skills/fec-nuxt-project-standard/SKILL.md +122 -0
- package/localized/zh-CN/skills/fec-performance-optimization/SKILL.md +80 -0
- package/localized/zh-CN/skills/fec-performance-optimization/references/framework-performance-patterns.md +38 -0
- package/localized/zh-CN/skills/fec-performance-optimization/references/report-template.md +59 -0
- package/localized/zh-CN/skills/fec-pwa-implementation/SKILL.md +35 -0
- package/localized/zh-CN/skills/fec-pwa-implementation/references/manifest-and-icons.md +53 -0
- package/localized/zh-CN/skills/fec-pwa-implementation/references/service-worker-workbox.md +68 -0
- package/localized/zh-CN/skills/fec-react-project-standard/SKILL.md +91 -0
- package/localized/zh-CN/skills/fec-react-project-standard/references/react-performance-patterns.md +35 -0
- package/localized/zh-CN/skills/fec-react-project-standard/references/react-project-structure.md +197 -0
- package/localized/zh-CN/skills/fec-react-project-standard/references/react-quality-patterns.md +131 -0
- package/localized/zh-CN/skills/fec-react-project-standard/references/react-runtime-patterns.md +293 -0
- package/localized/zh-CN/skills/fec-refactor-clean/SKILL.md +54 -0
- package/localized/zh-CN/skills/fec-refactor-clean/references/report-template.md +42 -0
- package/localized/zh-CN/skills/fec-refactoring/SKILL.md +83 -0
- package/localized/zh-CN/skills/fec-refactoring/references/principles.md +43 -0
- package/localized/zh-CN/skills/fec-refactoring/references/refactoring-vs-feature-change.md +25 -0
- package/localized/zh-CN/skills/fec-refactoring/references/when-to-refactor.md +17 -0
- package/localized/zh-CN/skills/fec-refactoring/references/workflow.md +59 -0
- package/localized/zh-CN/skills/fec-refactoring-api/SKILL.md +25 -0
- package/localized/zh-CN/skills/fec-refactoring-api/references/api-refactorings.md +496 -0
- package/localized/zh-CN/skills/fec-refactoring-catalog/SKILL.md +21 -0
- package/localized/zh-CN/skills/fec-refactoring-catalog/references/catalog-index.md +99 -0
- package/localized/zh-CN/skills/fec-refactoring-catalog/references/composition-guide.md +49 -0
- package/localized/zh-CN/skills/fec-refactoring-catalog/references/selection-guide.md +41 -0
- package/localized/zh-CN/skills/fec-refactoring-control/SKILL.md +25 -0
- package/localized/zh-CN/skills/fec-refactoring-control/references/conditional-refactorings.md +299 -0
- package/localized/zh-CN/skills/fec-refactoring-data/SKILL.md +25 -0
- package/localized/zh-CN/skills/fec-refactoring-data/references/data-refactorings.md +248 -0
- package/localized/zh-CN/skills/fec-refactoring-encapsulation/SKILL.md +25 -0
- package/localized/zh-CN/skills/fec-refactoring-encapsulation/references/encapsulation-refactorings.md +452 -0
- package/localized/zh-CN/skills/fec-refactoring-functions/SKILL.md +25 -0
- package/localized/zh-CN/skills/fec-refactoring-functions/references/function-refactorings.md +567 -0
- package/localized/zh-CN/skills/fec-refactoring-inheritance/SKILL.md +25 -0
- package/localized/zh-CN/skills/fec-refactoring-inheritance/references/inheritance-refactorings.md +550 -0
- package/localized/zh-CN/skills/fec-refactoring-move-features/SKILL.md +25 -0
- package/localized/zh-CN/skills/fec-refactoring-move-features/references/moving-refactorings.md +453 -0
- package/localized/zh-CN/skills/fec-refactoring-validation/SKILL.md +52 -0
- package/localized/zh-CN/skills/fec-refactoring-validation/references/behavior-preservation.md +15 -0
- package/localized/zh-CN/skills/fec-refactoring-validation/references/refactoring-test-checklist.md +25 -0
- package/localized/zh-CN/skills/fec-responsive-layout/SKILL.md +34 -0
- package/localized/zh-CN/skills/fec-responsive-layout/references/responsive-layout-patterns.md +70 -0
- package/localized/zh-CN/skills/fec-route-protection/SKILL.md +135 -0
- package/localized/zh-CN/skills/fec-security-review/SKILL.md +54 -0
- package/localized/zh-CN/skills/fec-security-review/references/report-template.md +37 -0
- package/localized/zh-CN/skills/fec-security-review/references/security-checklist.md +64 -0
- package/localized/zh-CN/skills/fec-source-driven-development/SKILL.md +87 -0
- package/localized/zh-CN/skills/fec-state-management/SKILL.md +140 -0
- package/localized/zh-CN/skills/fec-state-management/references/state-patterns.md +109 -0
- package/localized/zh-CN/skills/fec-storybook-component-doc/SKILL.md +37 -0
- package/localized/zh-CN/skills/fec-storybook-component-doc/references/story-patterns.md +118 -0
- package/localized/zh-CN/skills/fec-svg-animation/SKILL.md +148 -0
- package/localized/zh-CN/skills/fec-tailwind-design-system/SKILL.md +34 -0
- package/localized/zh-CN/skills/fec-tailwind-design-system/references/tailwind-system-patterns.md +59 -0
- package/localized/zh-CN/skills/fec-tdd-workflow/SKILL.md +55 -0
- package/localized/zh-CN/skills/fec-testing-strategy/SKILL.md +45 -0
- package/localized/zh-CN/skills/fec-typescript-project-standard/SKILL.md +54 -0
- package/localized/zh-CN/skills/fec-typescript-project-standard/references/type-safety-patterns.md +102 -0
- package/localized/zh-CN/skills/fec-typescript-project-standard/references/type-safety.md +148 -0
- package/localized/zh-CN/skills/fec-ui-design/SKILL.md +108 -0
- package/localized/zh-CN/skills/fec-ui-design/data/product-rules.json +231 -0
- package/localized/zh-CN/skills/fec-ui-design/data/stack-ui-rules.json +146 -0
- package/localized/zh-CN/skills/fec-ui-design/data/style-archetypes.json +373 -0
- package/localized/zh-CN/skills/fec-ui-design/data/ux-quality-rules.json +203 -0
- package/localized/zh-CN/skills/fec-ui-design/references/design-intelligence.md +97 -0
- package/localized/zh-CN/skills/fec-ui-design/references/master-page-overrides.md +30 -0
- package/localized/zh-CN/skills/fec-ui-design/references/pre-delivery-checklist.md +39 -0
- package/localized/zh-CN/skills/fec-ui-design/scripts/design-system.mjs +648 -0
- package/localized/zh-CN/skills/fec-validation-fix/SKILL.md +51 -0
- package/localized/zh-CN/skills/fec-validation-fix/references/report-template.md +43 -0
- package/localized/zh-CN/skills/fec-vite-project-standard/SKILL.md +83 -0
- package/localized/zh-CN/skills/fec-vue3-project-standard/SKILL.md +58 -0
- package/localized/zh-CN/skills/fec-vue3-project-standard/references/vue3-composables-routing.md +162 -0
- package/localized/zh-CN/skills/fec-vue3-project-standard/references/vue3-performance-patterns.md +13 -0
- package/localized/zh-CN/skills/fec-vue3-project-standard/references/vue3-project-structure.md +176 -0
- package/localized/zh-CN/skills/fec-vue3-project-standard/references/vue3-state-api-quality.md +216 -0
- package/localized/zh-CN/skills/fec-web-video-presentation/SKILL.md +61 -0
- package/localized/zh-CN/skills/fec-web-video-presentation/data/starter-themes.json +59 -0
- package/localized/zh-CN/skills/fec-web-video-presentation/references/chapter-craft.md +37 -0
- package/localized/zh-CN/skills/fec-web-video-presentation/references/content-plan.md +38 -0
- package/localized/zh-CN/skills/fec-web-video-presentation/references/recording-and-audio.md +33 -0
- package/localized/zh-CN/skills/fec-web-video-presentation/references/theme-system.md +36 -0
- package/localized/zh-CN/skills/fec-web-video-presentation/scripts/create-video-presentation.mjs +430 -0
- package/localized/zh-CN/skills/fec-web-workers/SKILL.md +35 -0
- package/localized/zh-CN/skills/fec-web-workers/references/advanced-workers.md +54 -0
- package/localized/zh-CN/skills/fec-web-workers/references/basic-worker.md +67 -0
- package/localized/zh-CN/skills/metadata.json +2004 -0
- package/localized/zh-CN/skills/relations.json +1023 -0
- package/localized/zh-CN/templates/claude/CLAUDE.md +106 -0
- package/localized/zh-CN/templates/claude/settings.json +62 -0
- package/localized/zh-CN/templates/codex/AGENTS.md +105 -0
- package/localized/zh-CN/templates/codex/config.toml +32 -0
- package/localized/zh-CN/templates/openclaw/AGENTS.md +101 -0
- package/localized/zh-CN/templates/openclaw/OPENCLAW-CONFIG.md +12 -0
- package/localized/zh-CN/templates/shared/rules/fec-agent-workflow.md +55 -0
- package/localized/zh-CN/templates/shared/rules/fec-api-layer.md +99 -0
- package/localized/zh-CN/templates/shared/rules/fec-ci-cd.md +40 -0
- package/localized/zh-CN/templates/shared/rules/fec-code-comments.md +33 -0
- package/localized/zh-CN/templates/shared/rules/fec-design-system.md +72 -0
- package/localized/zh-CN/templates/shared/rules/fec-error-handling.md +56 -0
- package/localized/zh-CN/templates/shared/rules/fec-git-conventions.md +73 -0
- package/localized/zh-CN/templates/shared/rules/fec-i18n.md +64 -0
- package/localized/zh-CN/templates/shared/rules/fec-naming-conventions.md +120 -0
- package/localized/zh-CN/templates/shared/rules/fec-performance.md +101 -0
- package/localized/zh-CN/templates/shared/rules/fec-react.md +82 -0
- package/localized/zh-CN/templates/shared/rules/fec-refactoring.md +47 -0
- package/localized/zh-CN/templates/shared/rules/fec-rendering-patterns.md +40 -0
- package/localized/zh-CN/templates/shared/rules/fec-responsive-design.md +50 -0
- package/localized/zh-CN/templates/shared/rules/fec-source-driven-development.md +31 -0
- package/localized/zh-CN/templates/shared/rules/fec-state-management.md +60 -0
- package/localized/zh-CN/templates/shared/rules/fec-testing.md +98 -0
- package/localized/zh-CN/templates/shared/rules/fec-typescript.md +112 -0
- package/localized/zh-CN/templates/shared/rules/fec-vue.md +64 -0
- package/localized/zh-CN/templates/shared/rules/fec-working-modes.md +50 -0
- package/openclaw.plugin.json +2 -3
- package/package.json +28 -17
- package/skills/TEMPLATE.md +74 -74
- package/skills/eval_queries.json +922 -678
- package/skills/fec-accessibility-check/SKILL.md +21 -21
- package/skills/fec-accessibility-check/references/report-template.md +12 -12
- package/skills/fec-accessibility-check/references/screen-reader-testing.md +24 -24
- package/skills/fec-alchemy/SKILL.md +50 -50
- package/skills/fec-alchemy/assets/absorption-plan-template.md +32 -32
- package/skills/fec-alchemy/assets/intake-template.md +55 -55
- package/skills/fec-alchemy/assets/review-checklist.md +23 -23
- package/skills/fec-alchemy/references/methodology.md +66 -66
- package/skills/fec-alchemy/references/originality-and-licensing.md +42 -42
- package/skills/fec-api-integration/SKILL.md +61 -61
- package/skills/fec-api-integration/references/integration-patterns.md +30 -30
- package/skills/fec-backend-requirements-handoff/SKILL.md +25 -25
- package/skills/fec-browser-storage/SKILL.md +16 -16
- package/skills/fec-browser-storage/references/storage-patterns.md +16 -16
- package/skills/fec-canvas-threejs/SKILL.md +21 -21
- package/skills/fec-canvas-threejs/references/rendering-patterns.md +10 -10
- package/skills/fec-canvas-threejs/references/shader-webgl-patterns.md +37 -37
- package/skills/fec-code-review/SKILL.md +113 -94
- package/skills/fec-code-review/references/report-template.md +23 -13
- package/skills/fec-code-smells/SKILL.md +33 -0
- package/skills/fec-code-smells/references/detection-guide.md +25 -0
- package/skills/fec-code-smells/references/smell-catalog.md +861 -0
- package/skills/fec-code-smells/references/smell-to-refactoring-map.md +265 -0
- package/skills/fec-component-testing/SKILL.md +39 -39
- package/skills/fec-data-fetching/SKILL.md +16 -16
- package/skills/fec-data-fetching/references/query-patterns.md +27 -27
- package/skills/fec-debug-framework/SKILL.md +95 -95
- package/skills/fec-debug-framework/references/report-template.md +34 -34
- package/skills/fec-dependency-upgrade/SKILL.md +17 -17
- package/skills/fec-dependency-upgrade/references/dependency-upgrade-workflow.md +31 -31
- package/skills/fec-doc-sync/SKILL.md +23 -23
- package/skills/fec-drawio-studio/SKILL.md +42 -38
- package/skills/fec-drawio-studio/data/THIRD_PARTY_NOTICES.md +1 -1
- package/skills/fec-drawio-studio/data/shape-index.json +83570 -0
- package/skills/fec-drawio-studio/references/diagram-patterns.md +19 -0
- package/skills/fec-drawio-studio/references/flowchart-quality.md +49 -0
- package/skills/fec-drawio-studio/references/layout-and-export.md +18 -3
- package/skills/fec-drawio-studio/references/xml-and-mermaid.md +5 -1
- package/skills/fec-drawio-studio/scripts/diagram-lint.mjs +62 -0
- package/skills/fec-drawio-studio/scripts/drawio-export.mjs +134 -0
- package/skills/fec-drawio-studio/scripts/shape-query.mjs +55 -15
- package/skills/fec-e2e-testing/SKILL.md +24 -24
- package/skills/fec-e2e-testing/references/e2e-ci-reporting.md +20 -20
- package/skills/fec-e2e-testing/references/e2e-special-scenarios.md +10 -10
- package/skills/fec-e2e-testing/references/e2e-visual-regression.md +17 -17
- package/skills/fec-e2e-testing/references/playwright-patterns.md +6 -6
- package/skills/fec-form-handling/SKILL.md +21 -21
- package/skills/fec-form-handling/references/advanced-form-patterns.md +41 -41
- package/skills/fec-image-generation/SKILL.md +84 -29
- package/skills/fec-image-generation/assets/interactive-diagram.html +371 -0
- package/skills/fec-image-generation/assets/quality-examples/README.md +14 -0
- package/skills/fec-image-generation/assets/quality-examples/architecture.json +121 -0
- package/skills/fec-image-generation/assets/quality-examples/invalid-explicit.json +41 -0
- package/skills/fec-image-generation/assets/quality-examples/sequence.json +53 -0
- package/skills/fec-image-generation/assets/quality-examples/sequence.mmd +21 -0
- package/skills/fec-image-generation/assets/quality-examples/workflow.json +98 -0
- package/skills/fec-image-generation/assets/quality-examples/workflow.mmd +7 -0
- package/skills/fec-image-generation/references/diagram-workflows.md +41 -3
- package/skills/fec-image-generation/references/html-technical-diagrams.md +243 -0
- package/skills/fec-image-generation/references/png-qa-autofix.md +9 -2
- package/skills/fec-image-generation/scripts/diagram-browser.mjs +90 -0
- package/skills/fec-image-generation/scripts/diagram-layout.mjs +176 -0
- package/skills/fec-image-generation/scripts/export-diagram.mjs +332 -0
- package/skills/fec-image-generation/scripts/interactive-diagram-server.mjs +654 -0
- package/skills/fec-image-generation/scripts/mermaid-render.mjs +64 -0
- package/skills/fec-image-generation/scripts/png-qa.mjs +35 -4
- package/skills/fec-image-generation/scripts/tech-diagram-render.mjs +1537 -0
- package/skills/fec-implement-from-design/SKILL.md +81 -81
- package/skills/fec-implement-from-design/references/design-plan-template.md +16 -16
- package/skills/fec-legacy-to-modern-migration/SKILL.md +29 -29
- package/skills/fec-legacy-to-modern-migration/references/migration-execution-checklist.md +81 -81
- package/skills/fec-legacy-to-modern-migration/references/migration-report-template.md +37 -37
- package/skills/fec-legacy-to-modern-migration/references/migration-strategy-and-mapping.md +31 -31
- package/skills/fec-legacy-web-standard/SKILL.md +17 -17
- package/skills/fec-legacy-web-standard/references/legacy-patterns.md +16 -16
- package/skills/fec-list-virtualization/SKILL.md +16 -16
- package/skills/fec-list-virtualization/references/virtualization-patterns.md +31 -31
- package/skills/fec-monorepo-project-standard/SKILL.md +52 -52
- package/skills/fec-motion-interaction/SKILL.md +51 -51
- package/skills/fec-motion-interaction/references/motion-patterns.md +11 -11
- package/skills/fec-nextjs-project-standard/SKILL.md +64 -64
- package/skills/fec-nuxt-project-standard/SKILL.md +57 -57
- package/skills/fec-performance-optimization/SKILL.md +54 -54
- package/skills/fec-performance-optimization/references/framework-performance-patterns.md +23 -23
- package/skills/fec-performance-optimization/references/report-template.md +31 -31
- package/skills/fec-pwa-implementation/SKILL.md +17 -17
- package/skills/fec-pwa-implementation/references/manifest-and-icons.md +12 -12
- package/skills/fec-pwa-implementation/references/service-worker-workbox.md +13 -13
- package/skills/fec-react-project-standard/SKILL.md +72 -72
- package/skills/fec-react-project-standard/references/react-performance-patterns.md +28 -28
- package/skills/fec-react-project-standard/references/react-project-structure.md +112 -112
- package/skills/fec-react-project-standard/references/react-quality-patterns.md +72 -72
- package/skills/fec-react-project-standard/references/react-runtime-patterns.md +94 -94
- package/skills/fec-refactor-clean/SKILL.md +33 -30
- package/skills/fec-refactor-clean/references/report-template.md +23 -23
- package/skills/fec-refactoring/SKILL.md +83 -0
- package/skills/fec-refactoring/references/principles.md +60 -0
- package/skills/fec-refactoring/references/refactoring-vs-feature-change.md +27 -0
- package/skills/fec-refactoring/references/when-to-refactor.md +31 -0
- package/skills/fec-refactoring/references/workflow.md +90 -0
- package/skills/fec-refactoring-api/SKILL.md +25 -0
- package/skills/fec-refactoring-api/references/api-refactorings.md +496 -0
- package/skills/fec-refactoring-catalog/SKILL.md +28 -0
- package/skills/fec-refactoring-catalog/references/catalog-index.md +99 -0
- package/skills/fec-refactoring-catalog/references/composition-guide.md +49 -0
- package/skills/fec-refactoring-catalog/references/selection-guide.md +47 -0
- package/skills/fec-refactoring-control/SKILL.md +25 -0
- package/skills/fec-refactoring-control/references/conditional-refactorings.md +299 -0
- package/skills/fec-refactoring-data/SKILL.md +25 -0
- package/skills/fec-refactoring-data/references/data-refactorings.md +248 -0
- package/skills/fec-refactoring-encapsulation/SKILL.md +25 -0
- package/skills/fec-refactoring-encapsulation/references/encapsulation-refactorings.md +452 -0
- package/skills/fec-refactoring-functions/SKILL.md +25 -0
- package/skills/fec-refactoring-functions/references/function-refactorings.md +567 -0
- package/skills/fec-refactoring-inheritance/SKILL.md +25 -0
- package/skills/fec-refactoring-inheritance/references/inheritance-refactorings.md +550 -0
- package/skills/fec-refactoring-move-features/SKILL.md +25 -0
- package/skills/fec-refactoring-move-features/references/moving-refactorings.md +453 -0
- package/skills/fec-refactoring-validation/SKILL.md +59 -0
- package/skills/fec-refactoring-validation/references/behavior-preservation.md +53 -0
- package/skills/fec-refactoring-validation/references/refactoring-test-checklist.md +42 -0
- package/skills/fec-responsive-layout/SKILL.md +17 -17
- package/skills/fec-responsive-layout/references/responsive-layout-patterns.md +37 -37
- package/skills/fec-route-protection/SKILL.md +26 -26
- package/skills/fec-security-review/SKILL.md +36 -20
- package/skills/fec-security-review/references/report-template.md +22 -12
- package/skills/fec-security-review/references/security-checklist.md +27 -27
- package/skills/fec-source-driven-development/SKILL.md +59 -59
- package/skills/fec-state-management/SKILL.md +34 -34
- package/skills/fec-state-management/references/state-patterns.md +19 -19
- package/skills/fec-storybook-component-doc/SKILL.md +19 -19
- package/skills/fec-storybook-component-doc/references/story-patterns.md +12 -12
- package/skills/fec-svg-animation/SKILL.md +32 -32
- package/skills/fec-tailwind-design-system/SKILL.md +17 -17
- package/skills/fec-tailwind-design-system/references/tailwind-system-patterns.md +36 -36
- package/skills/fec-tdd-workflow/SKILL.md +32 -28
- package/skills/fec-testing-strategy/SKILL.md +29 -29
- package/skills/fec-typescript-project-standard/SKILL.md +38 -38
- package/skills/fec-typescript-project-standard/references/type-safety-patterns.md +20 -20
- package/skills/fec-typescript-project-standard/references/type-safety.md +18 -18
- package/skills/fec-ui-design/SKILL.md +90 -90
- package/skills/fec-ui-design/references/design-intelligence.md +61 -61
- package/skills/fec-ui-design/references/master-page-overrides.md +15 -15
- package/skills/fec-ui-design/references/pre-delivery-checklist.md +38 -38
- package/skills/fec-validation-fix/SKILL.md +26 -26
- package/skills/fec-validation-fix/references/report-template.md +25 -25
- package/skills/fec-vite-project-standard/SKILL.md +39 -39
- package/skills/fec-vue3-project-standard/SKILL.md +38 -38
- package/skills/fec-vue3-project-standard/references/vue3-composables-routing.md +36 -36
- package/skills/fec-vue3-project-standard/references/vue3-performance-patterns.md +8 -8
- package/skills/fec-vue3-project-standard/references/vue3-project-structure.md +112 -112
- package/skills/fec-vue3-project-standard/references/vue3-state-api-quality.md +74 -74
- package/skills/fec-web-video-presentation/SKILL.md +33 -33
- package/skills/fec-web-workers/SKILL.md +16 -16
- package/skills/fec-web-workers/references/advanced-workers.md +13 -13
- package/skills/fec-web-workers/references/basic-worker.md +8 -8
- package/skills/metadata.json +485 -116
- package/skills/relations.json +268 -0
- package/templates/claude/CLAUDE.md +60 -60
- package/templates/codex/AGENTS.md +76 -76
- package/templates/codex/config.toml +4 -4
- package/templates/openclaw/AGENTS.md +68 -68
- package/templates/openclaw/OPENCLAW-CONFIG.md +8 -8
- package/templates/shared/rules/fec-agent-workflow.md +41 -40
- package/templates/shared/rules/fec-api-layer.md +52 -52
- package/templates/shared/rules/fec-ci-cd.md +29 -29
- package/templates/shared/rules/fec-code-comments.md +22 -22
- package/templates/shared/rules/fec-design-system.md +53 -53
- package/templates/shared/rules/fec-error-handling.md +40 -40
- package/templates/shared/rules/fec-git-conventions.md +42 -42
- package/templates/shared/rules/fec-i18n.md +48 -48
- package/templates/shared/rules/fec-naming-conventions.md +91 -91
- package/templates/shared/rules/fec-performance.md +78 -78
- package/templates/shared/rules/fec-react.md +58 -58
- package/templates/shared/rules/fec-refactoring.md +34 -34
- package/templates/shared/rules/fec-rendering-patterns.md +36 -36
- package/templates/shared/rules/fec-responsive-design.md +37 -37
- package/templates/shared/rules/fec-source-driven-development.md +22 -22
- package/templates/shared/rules/fec-state-management.md +56 -56
- package/templates/shared/rules/fec-testing.md +64 -64
- package/templates/shared/rules/fec-typescript.md +75 -75
- package/templates/shared/rules/fec-vue.md +42 -42
- package/templates/shared/rules/fec-working-modes.md +34 -34
- package/docs/superpowers/plans/2026-05-29-fec-debug.md +0 -491
- package/docs/superpowers/specs/2026-05-29-fec-debug-design.md +0 -340
- package/skills/fec-drawio-studio/data/shape-index.json.gz +0 -0
package/skills/relations.json
CHANGED
|
@@ -204,6 +204,7 @@
|
|
|
204
204
|
],
|
|
205
205
|
"boundaryWorkflows": [
|
|
206
206
|
"Use image generation for raster-first posters, visual concepts, product images, and PNG QA beyond editable technical diagrams.",
|
|
207
|
+
"Use image generation's HTML technical diagram route when the priority is a browser-ready themed single-file workflow, sequence, data-flow, or lifecycle diagram.",
|
|
207
208
|
"Use Canvas/Three.js when the diagram becomes an interactive runtime visualization, simulation, game scene, shader, or 3D renderer.",
|
|
208
209
|
"Use SVG animation for motion-specific vector micro-interactions; use drawio studio for static or editable technical SVG exports."
|
|
209
210
|
],
|
|
@@ -264,12 +265,15 @@
|
|
|
264
265
|
"boundaryWorkflows": [
|
|
265
266
|
"Use UI design for product-specific visual direction, brand tone, hierarchy, and visual QA of generated assets.",
|
|
266
267
|
"Use implementation-from-design when a Figma, Sketch, MasterGo, Pixso, screenshot, or other external design source is authoritative.",
|
|
268
|
+
"Use the HTML technical diagram route for browser-ready themed workflow, sequence, data-flow, lifecycle, runbook, PII/data-lineage, and state-machine diagrams.",
|
|
269
|
+
"Use draw.io studio instead when the priority is editable .drawio source, official shape lookup, or manual diagrams.net editing.",
|
|
267
270
|
"Use Canvas/Three.js or SVG animation workflows when the generated visual becomes an interactive renderer, shader, or motion asset rather than a static image."
|
|
268
271
|
],
|
|
269
272
|
"capabilityTags": [
|
|
270
273
|
"image-generation",
|
|
271
274
|
"image-editing",
|
|
272
275
|
"diagram-generation",
|
|
276
|
+
"html-diagram",
|
|
273
277
|
"png-qa",
|
|
274
278
|
"visual-assets",
|
|
275
279
|
"autofix"
|
|
@@ -751,5 +755,269 @@
|
|
|
751
755
|
"performance",
|
|
752
756
|
"main-thread"
|
|
753
757
|
]
|
|
758
|
+
},
|
|
759
|
+
"fec-refactoring": {
|
|
760
|
+
"relatedSkills": [
|
|
761
|
+
"fec-code-smells",
|
|
762
|
+
"fec-refactoring-catalog",
|
|
763
|
+
"fec-refactoring-validation",
|
|
764
|
+
"fec-refactor-clean",
|
|
765
|
+
"fec-code-review",
|
|
766
|
+
"fec-tdd-workflow",
|
|
767
|
+
"fec-debug-framework",
|
|
768
|
+
"fec-validation-fix",
|
|
769
|
+
"fec-testing-strategy"
|
|
770
|
+
],
|
|
771
|
+
"boundaryWorkflows": [
|
|
772
|
+
"Use dead-code cleanup for proven unused code, exports, styles, routes, fixtures, or dependencies.",
|
|
773
|
+
"Use TDD when adding new observable behavior or fixing a behavior-changing defect.",
|
|
774
|
+
"Use debugging first when the failure cause is unknown.",
|
|
775
|
+
"Use validation repair for understood lint, typecheck, test, or build failures that predate the refactoring step.",
|
|
776
|
+
"Use code review for merge-readiness review rather than structure-changing execution.",
|
|
777
|
+
"Use migration or architecture planning for dependency, framework, router, state-library, or platform replacements."
|
|
778
|
+
],
|
|
779
|
+
"capabilityTags": [
|
|
780
|
+
"refactoring",
|
|
781
|
+
"behavior-preservation",
|
|
782
|
+
"workflow",
|
|
783
|
+
"validation"
|
|
784
|
+
]
|
|
785
|
+
},
|
|
786
|
+
"fec-code-smells": {
|
|
787
|
+
"relatedSkills": [
|
|
788
|
+
"fec-refactoring",
|
|
789
|
+
"fec-refactoring-catalog",
|
|
790
|
+
"fec-code-review"
|
|
791
|
+
],
|
|
792
|
+
"boundaryWorkflows": [
|
|
793
|
+
"Use dead-code cleanup for proven unused code, exports, styles, routes, fixtures, or dependencies.",
|
|
794
|
+
"Use TDD when adding new observable behavior or fixing a behavior-changing defect.",
|
|
795
|
+
"Use debugging first when the failure cause is unknown.",
|
|
796
|
+
"Use validation repair for understood lint, typecheck, test, or build failures that predate the refactoring step.",
|
|
797
|
+
"Use code review for merge-readiness review rather than structure-changing execution.",
|
|
798
|
+
"Use migration or architecture planning for dependency, framework, router, state-library, or platform replacements."
|
|
799
|
+
],
|
|
800
|
+
"capabilityTags": [
|
|
801
|
+
"code-smells",
|
|
802
|
+
"diagnosis",
|
|
803
|
+
"maintainability",
|
|
804
|
+
"evidence"
|
|
805
|
+
]
|
|
806
|
+
},
|
|
807
|
+
"fec-refactoring-catalog": {
|
|
808
|
+
"relatedSkills": [
|
|
809
|
+
"fec-refactoring",
|
|
810
|
+
"fec-code-smells",
|
|
811
|
+
"fec-refactoring-functions",
|
|
812
|
+
"fec-refactoring-encapsulation",
|
|
813
|
+
"fec-refactoring-move-features",
|
|
814
|
+
"fec-refactoring-data",
|
|
815
|
+
"fec-refactoring-control",
|
|
816
|
+
"fec-refactoring-api",
|
|
817
|
+
"fec-refactoring-inheritance",
|
|
818
|
+
"fec-refactoring-validation"
|
|
819
|
+
],
|
|
820
|
+
"boundaryWorkflows": [
|
|
821
|
+
"Use dead-code cleanup for proven unused code, exports, styles, routes, fixtures, or dependencies.",
|
|
822
|
+
"Use TDD when adding new observable behavior or fixing a behavior-changing defect.",
|
|
823
|
+
"Use debugging first when the failure cause is unknown.",
|
|
824
|
+
"Use validation repair for understood lint, typecheck, test, or build failures that predate the refactoring step.",
|
|
825
|
+
"Use code review for merge-readiness review rather than structure-changing execution.",
|
|
826
|
+
"Use migration or architecture planning for dependency, framework, router, state-library, or platform replacements."
|
|
827
|
+
],
|
|
828
|
+
"capabilityTags": [
|
|
829
|
+
"refactoring",
|
|
830
|
+
"catalog",
|
|
831
|
+
"selection",
|
|
832
|
+
"composition"
|
|
833
|
+
]
|
|
834
|
+
},
|
|
835
|
+
"fec-refactoring-functions": {
|
|
836
|
+
"relatedSkills": [
|
|
837
|
+
"fec-refactoring",
|
|
838
|
+
"fec-code-smells",
|
|
839
|
+
"fec-refactoring-catalog",
|
|
840
|
+
"fec-refactoring-validation",
|
|
841
|
+
"fec-typescript-project-standard"
|
|
842
|
+
],
|
|
843
|
+
"boundaryWorkflows": [
|
|
844
|
+
"Use dead-code cleanup for proven unused code, exports, styles, routes, fixtures, or dependencies.",
|
|
845
|
+
"Use TDD when adding new observable behavior or fixing a behavior-changing defect.",
|
|
846
|
+
"Use debugging first when the failure cause is unknown.",
|
|
847
|
+
"Use validation repair for understood lint, typecheck, test, or build failures that predate the refactoring step.",
|
|
848
|
+
"Use code review for merge-readiness review rather than structure-changing execution.",
|
|
849
|
+
"Use migration or architecture planning for dependency, framework, router, state-library, or platform replacements."
|
|
850
|
+
],
|
|
851
|
+
"capabilityTags": [
|
|
852
|
+
"refactoring",
|
|
853
|
+
"functions",
|
|
854
|
+
"parameters",
|
|
855
|
+
"decomposition"
|
|
856
|
+
]
|
|
857
|
+
},
|
|
858
|
+
"fec-refactoring-encapsulation": {
|
|
859
|
+
"relatedSkills": [
|
|
860
|
+
"fec-refactoring",
|
|
861
|
+
"fec-code-smells",
|
|
862
|
+
"fec-refactoring-catalog",
|
|
863
|
+
"fec-refactoring-validation",
|
|
864
|
+
"fec-state-management"
|
|
865
|
+
],
|
|
866
|
+
"boundaryWorkflows": [
|
|
867
|
+
"Use dead-code cleanup for proven unused code, exports, styles, routes, fixtures, or dependencies.",
|
|
868
|
+
"Use TDD when adding new observable behavior or fixing a behavior-changing defect.",
|
|
869
|
+
"Use debugging first when the failure cause is unknown.",
|
|
870
|
+
"Use validation repair for understood lint, typecheck, test, or build failures that predate the refactoring step.",
|
|
871
|
+
"Use code review for merge-readiness review rather than structure-changing execution.",
|
|
872
|
+
"Use migration or architecture planning for dependency, framework, router, state-library, or platform replacements."
|
|
873
|
+
],
|
|
874
|
+
"capabilityTags": [
|
|
875
|
+
"refactoring",
|
|
876
|
+
"encapsulation",
|
|
877
|
+
"delegation",
|
|
878
|
+
"value-object"
|
|
879
|
+
]
|
|
880
|
+
},
|
|
881
|
+
"fec-refactoring-move-features": {
|
|
882
|
+
"relatedSkills": [
|
|
883
|
+
"fec-refactoring",
|
|
884
|
+
"fec-code-smells",
|
|
885
|
+
"fec-refactoring-catalog",
|
|
886
|
+
"fec-refactoring-validation",
|
|
887
|
+
"fec-refactor-clean"
|
|
888
|
+
],
|
|
889
|
+
"boundaryWorkflows": [
|
|
890
|
+
"Use dead-code cleanup for proven unused code, exports, styles, routes, fixtures, or dependencies.",
|
|
891
|
+
"Use TDD when adding new observable behavior or fixing a behavior-changing defect.",
|
|
892
|
+
"Use debugging first when the failure cause is unknown.",
|
|
893
|
+
"Use validation repair for understood lint, typecheck, test, or build failures that predate the refactoring step.",
|
|
894
|
+
"Use code review for merge-readiness review rather than structure-changing execution.",
|
|
895
|
+
"Use migration or architecture planning for dependency, framework, router, state-library, or platform replacements."
|
|
896
|
+
],
|
|
897
|
+
"capabilityTags": [
|
|
898
|
+
"refactoring",
|
|
899
|
+
"move-function",
|
|
900
|
+
"ownership",
|
|
901
|
+
"loops"
|
|
902
|
+
]
|
|
903
|
+
},
|
|
904
|
+
"fec-refactoring-data": {
|
|
905
|
+
"relatedSkills": [
|
|
906
|
+
"fec-refactoring",
|
|
907
|
+
"fec-code-smells",
|
|
908
|
+
"fec-refactoring-catalog",
|
|
909
|
+
"fec-refactoring-validation",
|
|
910
|
+
"fec-state-management",
|
|
911
|
+
"fec-typescript-project-standard"
|
|
912
|
+
],
|
|
913
|
+
"boundaryWorkflows": [
|
|
914
|
+
"Use dead-code cleanup for proven unused code, exports, styles, routes, fixtures, or dependencies.",
|
|
915
|
+
"Use TDD when adding new observable behavior or fixing a behavior-changing defect.",
|
|
916
|
+
"Use debugging first when the failure cause is unknown.",
|
|
917
|
+
"Use validation repair for understood lint, typecheck, test, or build failures that predate the refactoring step.",
|
|
918
|
+
"Use code review for merge-readiness review rather than structure-changing execution.",
|
|
919
|
+
"Use migration or architecture planning for dependency, framework, router, state-library, or platform replacements."
|
|
920
|
+
],
|
|
921
|
+
"capabilityTags": [
|
|
922
|
+
"refactoring",
|
|
923
|
+
"data",
|
|
924
|
+
"derived-state",
|
|
925
|
+
"identity"
|
|
926
|
+
]
|
|
927
|
+
},
|
|
928
|
+
"fec-refactoring-control": {
|
|
929
|
+
"relatedSkills": [
|
|
930
|
+
"fec-refactoring",
|
|
931
|
+
"fec-code-smells",
|
|
932
|
+
"fec-refactoring-catalog",
|
|
933
|
+
"fec-refactoring-validation",
|
|
934
|
+
"fec-typescript-project-standard"
|
|
935
|
+
],
|
|
936
|
+
"boundaryWorkflows": [
|
|
937
|
+
"Use dead-code cleanup for proven unused code, exports, styles, routes, fixtures, or dependencies.",
|
|
938
|
+
"Use TDD when adding new observable behavior or fixing a behavior-changing defect.",
|
|
939
|
+
"Use debugging first when the failure cause is unknown.",
|
|
940
|
+
"Use validation repair for understood lint, typecheck, test, or build failures that predate the refactoring step.",
|
|
941
|
+
"Use code review for merge-readiness review rather than structure-changing execution.",
|
|
942
|
+
"Use migration or architecture planning for dependency, framework, router, state-library, or platform replacements."
|
|
943
|
+
],
|
|
944
|
+
"capabilityTags": [
|
|
945
|
+
"refactoring",
|
|
946
|
+
"conditionals",
|
|
947
|
+
"guard-clauses",
|
|
948
|
+
"polymorphism"
|
|
949
|
+
]
|
|
950
|
+
},
|
|
951
|
+
"fec-refactoring-api": {
|
|
952
|
+
"relatedSkills": [
|
|
953
|
+
"fec-refactoring",
|
|
954
|
+
"fec-code-smells",
|
|
955
|
+
"fec-refactoring-catalog",
|
|
956
|
+
"fec-refactoring-validation",
|
|
957
|
+
"fec-api-integration",
|
|
958
|
+
"fec-typescript-project-standard"
|
|
959
|
+
],
|
|
960
|
+
"boundaryWorkflows": [
|
|
961
|
+
"Use dead-code cleanup for proven unused code, exports, styles, routes, fixtures, or dependencies.",
|
|
962
|
+
"Use TDD when adding new observable behavior or fixing a behavior-changing defect.",
|
|
963
|
+
"Use debugging first when the failure cause is unknown.",
|
|
964
|
+
"Use validation repair for understood lint, typecheck, test, or build failures that predate the refactoring step.",
|
|
965
|
+
"Use code review for merge-readiness review rather than structure-changing execution.",
|
|
966
|
+
"Use migration or architecture planning for dependency, framework, router, state-library, or platform replacements."
|
|
967
|
+
],
|
|
968
|
+
"capabilityTags": [
|
|
969
|
+
"refactoring",
|
|
970
|
+
"api",
|
|
971
|
+
"parameters",
|
|
972
|
+
"dependencies"
|
|
973
|
+
]
|
|
974
|
+
},
|
|
975
|
+
"fec-refactoring-inheritance": {
|
|
976
|
+
"relatedSkills": [
|
|
977
|
+
"fec-refactoring",
|
|
978
|
+
"fec-code-smells",
|
|
979
|
+
"fec-refactoring-catalog",
|
|
980
|
+
"fec-refactoring-validation",
|
|
981
|
+
"fec-typescript-project-standard",
|
|
982
|
+
"fec-legacy-to-modern-migration"
|
|
983
|
+
],
|
|
984
|
+
"boundaryWorkflows": [
|
|
985
|
+
"Use dead-code cleanup for proven unused code, exports, styles, routes, fixtures, or dependencies.",
|
|
986
|
+
"Use TDD when adding new observable behavior or fixing a behavior-changing defect.",
|
|
987
|
+
"Use debugging first when the failure cause is unknown.",
|
|
988
|
+
"Use validation repair for understood lint, typecheck, test, or build failures that predate the refactoring step.",
|
|
989
|
+
"Use code review for merge-readiness review rather than structure-changing execution.",
|
|
990
|
+
"Use migration or architecture planning for dependency, framework, router, state-library, or platform replacements."
|
|
991
|
+
],
|
|
992
|
+
"capabilityTags": [
|
|
993
|
+
"refactoring",
|
|
994
|
+
"inheritance",
|
|
995
|
+
"delegation",
|
|
996
|
+
"composition"
|
|
997
|
+
]
|
|
998
|
+
},
|
|
999
|
+
"fec-refactoring-validation": {
|
|
1000
|
+
"relatedSkills": [
|
|
1001
|
+
"fec-refactoring",
|
|
1002
|
+
"fec-testing-strategy",
|
|
1003
|
+
"fec-tdd-workflow",
|
|
1004
|
+
"fec-validation-fix",
|
|
1005
|
+
"fec-debug-framework",
|
|
1006
|
+
"fec-code-review"
|
|
1007
|
+
],
|
|
1008
|
+
"boundaryWorkflows": [
|
|
1009
|
+
"Use dead-code cleanup for proven unused code, exports, styles, routes, fixtures, or dependencies.",
|
|
1010
|
+
"Use TDD when adding new observable behavior or fixing a behavior-changing defect.",
|
|
1011
|
+
"Use debugging first when the failure cause is unknown.",
|
|
1012
|
+
"Use validation repair for understood lint, typecheck, test, or build failures that predate the refactoring step.",
|
|
1013
|
+
"Use code review for merge-readiness review rather than structure-changing execution.",
|
|
1014
|
+
"Use migration or architecture planning for dependency, framework, router, state-library, or platform replacements."
|
|
1015
|
+
],
|
|
1016
|
+
"capabilityTags": [
|
|
1017
|
+
"refactoring",
|
|
1018
|
+
"validation",
|
|
1019
|
+
"behavior-preservation",
|
|
1020
|
+
"rollback"
|
|
1021
|
+
]
|
|
754
1022
|
}
|
|
755
1023
|
}
|
|
@@ -1,91 +1,91 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Project description
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
This repository is maintained by the front-end team.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Core requirements:
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
7
|
+
- Understand the existing code before adjusting the architecture
|
|
8
|
+
- Prioritize reuse rather than reinventing the wheel
|
|
9
|
+
- Keep changes small, clear, and easy to review
|
|
10
|
+
- Follow project standards first, then consider common patterns
|
|
11
11
|
|
|
12
|
-
##
|
|
12
|
+
##Basic project information
|
|
13
13
|
|
|
14
|
-
<!--
|
|
14
|
+
<!-- Please modify the following configuration according to the actual situation of the project -->
|
|
15
15
|
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
- UI
|
|
21
|
-
-
|
|
16
|
+
- Language: TypeScript
|
|
17
|
+
- Package manager: pnpm
|
|
18
|
+
- Build tool: Vite
|
|
19
|
+
- Testing tools: Vitest + Testing Library
|
|
20
|
+
- UI system: Prioritize reusing existing component libraries and design tokens
|
|
21
|
+
- Design implementation process: If possible, give priority to using the design tool MCP (Figma / MasterGo / Pixso / Mo Knife / Sketch) context
|
|
22
22
|
|
|
23
|
-
##
|
|
23
|
+
## Common commands
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
Prioritize using existing commands in the warehouse instead of inventing replacement commands.
|
|
26
26
|
|
|
27
|
-
<!--
|
|
27
|
+
<!-- Please modify according to the actual situation of the project -->
|
|
28
28
|
|
|
29
|
-
-
|
|
30
|
-
-
|
|
29
|
+
- Installation: `pnpm install`
|
|
30
|
+
- Development: `pnpm dev`
|
|
31
31
|
- Lint:`pnpm lint`
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
-
|
|
32
|
+
- Type check: `pnpm type-check`
|
|
33
|
+
- Test: `pnpm test`
|
|
34
|
+
- Build: `pnpm build`
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
If the command is missing, check `package.json` first.
|
|
37
37
|
|
|
38
|
-
##
|
|
38
|
+
## General working principles
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
Before changing the code:
|
|
41
41
|
|
|
42
|
-
1.
|
|
43
|
-
2.
|
|
44
|
-
3.
|
|
45
|
-
4.
|
|
42
|
+
1. Read the target module and its surrounding modules
|
|
43
|
+
2. Search for existing reusable components or tool functions
|
|
44
|
+
3. Understand the current style and Token convention
|
|
45
|
+
4. If there is already a set of patterns in the warehouse, do not introduce a second set
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
When implemented:
|
|
48
48
|
|
|
49
|
-
-
|
|
50
|
-
-
|
|
51
|
-
-
|
|
52
|
-
-
|
|
53
|
-
-
|
|
49
|
+
- Keep component responsibilities focused
|
|
50
|
+
- Extract duplicate logic to hooks/composables/utils
|
|
51
|
+
- Prefer explicit types
|
|
52
|
+
- Prioritize the use of deducible state to avoid repeated maintenance of state
|
|
53
|
+
- Maintain backwards compatibility unless the mission explicitly requires breaking changes
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
After completion:
|
|
56
56
|
|
|
57
|
-
-
|
|
58
|
-
-
|
|
59
|
-
-
|
|
60
|
-
-
|
|
57
|
+
- execute lint
|
|
58
|
+
- If there is a type check, execute type check
|
|
59
|
+
- If there is a test, execute the test
|
|
60
|
+
- Summarize change documents, key decisions and remaining risks
|
|
61
61
|
|
|
62
|
-
## Git
|
|
62
|
+
## Git specification
|
|
63
63
|
|
|
64
|
-
-
|
|
65
|
-
-
|
|
66
|
-
-
|
|
67
|
-
- Commit
|
|
64
|
+
- Must pass lint and type checking before submission
|
|
65
|
+
- Don’t commit directly without my confirmation
|
|
66
|
+
- Branch naming: feature/xxx, fix/xxx, refactor/xxx
|
|
67
|
+
- Commit format: Follow Conventional Commits (see rules/fec-git-conventions.md for details)
|
|
68
68
|
|
|
69
|
-
##
|
|
69
|
+
## Design draft implementation workflow
|
|
70
70
|
|
|
71
|
-
|
|
71
|
+
When a design context exists:
|
|
72
72
|
|
|
73
|
-
1.
|
|
74
|
-
2.
|
|
75
|
-
3.
|
|
76
|
-
4.
|
|
77
|
-
5.
|
|
78
|
-
6.
|
|
73
|
+
1. First read the design context through MCP (Figma / MasterGo / Pixso / Ink Knife / Sketch, Mock uses screenshots / annotations)
|
|
74
|
+
2. Check the existing component system of the project
|
|
75
|
+
3. First produce a short implementation plan
|
|
76
|
+
4. Implement in steps
|
|
77
|
+
5. Execute the verification command
|
|
78
|
+
6. Summarize biases and risks
|
|
79
79
|
|
|
80
|
-
##
|
|
80
|
+
## Security requirements
|
|
81
81
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
82
|
+
Do not actively expose or print any keys.
|
|
83
|
+
Do not read or modify sensitive files unless explicitly required by the task and permitted by permissions.
|
|
84
|
+
Do not execute destructive shell commands unless explicitly requested and approved.
|
|
85
85
|
|
|
86
|
-
##
|
|
86
|
+
## Rule import
|
|
87
87
|
|
|
88
|
-
<!--
|
|
88
|
+
<!-- Selectively import by project technology stack and delete unnecessary lines -->
|
|
89
89
|
|
|
90
90
|
@./rules/fec-vue.md
|
|
91
91
|
@./rules/fec-react.md
|
|
@@ -1,105 +1,105 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Project description
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
This repository is maintained by the front-end team.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Core requirements:
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
7
|
+
- Understand the existing code before adjusting the architecture
|
|
8
|
+
- Prioritize reuse rather than reinventing the wheel
|
|
9
|
+
- Keep changes small, clear, and easy to review
|
|
10
|
+
- Follow project standards first, then consider common patterns
|
|
11
11
|
|
|
12
|
-
##
|
|
12
|
+
##Basic project information
|
|
13
13
|
|
|
14
|
-
<!--
|
|
14
|
+
<!-- Please modify the following configuration according to the actual situation of the project -->
|
|
15
15
|
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
- UI
|
|
21
|
-
-
|
|
16
|
+
- Language: TypeScript
|
|
17
|
+
- Package manager: pnpm
|
|
18
|
+
- Build tool: Vite
|
|
19
|
+
- Testing tools: Vitest + Testing Library
|
|
20
|
+
- UI system: Prioritize reusing existing component libraries and design tokens
|
|
21
|
+
- Design implementation process: If possible, give priority to using the design tool MCP (Figma / MasterGo / Pixso / Mo Knife / Sketch) context
|
|
22
22
|
|
|
23
|
-
##
|
|
23
|
+
## Common commands
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
Prioritize using existing commands in the warehouse instead of inventing replacement commands.
|
|
26
26
|
|
|
27
|
-
<!--
|
|
27
|
+
<!-- Please modify according to the actual situation of the project -->
|
|
28
28
|
|
|
29
|
-
-
|
|
30
|
-
-
|
|
29
|
+
- Installation: `pnpm install`
|
|
30
|
+
- Development: `pnpm dev`
|
|
31
31
|
- Lint:`pnpm lint`
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
-
|
|
32
|
+
- Type check: `pnpm type-check`
|
|
33
|
+
- Test: `pnpm test`
|
|
34
|
+
- Build: `pnpm build`
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
If the command is missing, check `package.json` first.
|
|
37
37
|
|
|
38
|
-
##
|
|
38
|
+
## General working principles
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
Before changing the code:
|
|
41
41
|
|
|
42
|
-
1.
|
|
43
|
-
2.
|
|
44
|
-
3.
|
|
45
|
-
4.
|
|
42
|
+
1. Read the target module and its surrounding modules
|
|
43
|
+
2. Search for existing reusable components or tool functions
|
|
44
|
+
3. Understand the current style and Token convention
|
|
45
|
+
4. If there is already a set of patterns in the warehouse, do not introduce a second set
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
When implemented:
|
|
48
48
|
|
|
49
|
-
-
|
|
50
|
-
-
|
|
51
|
-
-
|
|
52
|
-
-
|
|
53
|
-
-
|
|
49
|
+
- Keep component responsibilities focused
|
|
50
|
+
- Extract duplicate logic to hooks/composables/utils
|
|
51
|
+
- Prefer explicit types
|
|
52
|
+
- Prioritize the use of deducible state to avoid repeated maintenance of state
|
|
53
|
+
- Maintain backwards compatibility unless the mission explicitly requires breaking changes
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
After completion:
|
|
56
56
|
|
|
57
|
-
-
|
|
58
|
-
-
|
|
59
|
-
-
|
|
60
|
-
-
|
|
57
|
+
- execute lint
|
|
58
|
+
- If there is a type check, execute type check
|
|
59
|
+
- If there is a test, execute the test
|
|
60
|
+
- Summarize change documents, key decisions and remaining risks
|
|
61
61
|
|
|
62
|
-
## Git
|
|
62
|
+
## Git specification
|
|
63
63
|
|
|
64
|
-
-
|
|
65
|
-
-
|
|
66
|
-
-
|
|
67
|
-
- Commit
|
|
64
|
+
- Must pass lint and type checking before submission
|
|
65
|
+
- Don’t commit directly without my confirmation
|
|
66
|
+
- Branch naming: feature/xxx, fix/xxx, refactor/xxx
|
|
67
|
+
- Commit format: Follow Conventional Commits (see .codex/rules/fec-git-conventions.md for details)
|
|
68
68
|
|
|
69
|
-
##
|
|
69
|
+
## Design draft implementation workflow
|
|
70
70
|
|
|
71
|
-
|
|
71
|
+
When a design context exists:
|
|
72
72
|
|
|
73
|
-
1.
|
|
74
|
-
2.
|
|
75
|
-
3.
|
|
76
|
-
4.
|
|
77
|
-
5.
|
|
78
|
-
6.
|
|
73
|
+
1. First read the design context through MCP (Figma / MasterGo / Pixso / Ink Knife / Sketch, Mock uses screenshots / annotations)
|
|
74
|
+
2. Check the existing component system of the project
|
|
75
|
+
3. First produce a short implementation plan
|
|
76
|
+
4. Implement in steps
|
|
77
|
+
5. Execute the verification command
|
|
78
|
+
6. Summarize biases and risks
|
|
79
79
|
|
|
80
|
-
##
|
|
80
|
+
## Security requirements
|
|
81
81
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
82
|
+
Do not actively expose or print any keys.
|
|
83
|
+
Do not read or modify sensitive files unless explicitly required by the task and permitted by permissions.
|
|
84
|
+
Do not execute destructive shell commands unless explicitly requested and approved.
|
|
85
85
|
|
|
86
|
-
##
|
|
86
|
+
## Detailed rules
|
|
87
87
|
|
|
88
|
-
|
|
88
|
+
The detailed rules of the project are located in the `.codex/rules/` directory, selective reference by technology stack:
|
|
89
89
|
|
|
90
|
-
- fec-vue.md
|
|
91
|
-
- fec-typescript.md - TypeScript/JavaScript
|
|
92
|
-
- fec-design-system.md -
|
|
93
|
-
- fec-testing.md -
|
|
94
|
-
- fec-git-conventions.md - Git
|
|
95
|
-
- fec-i18n.md -
|
|
96
|
-
- fec-performance.md -
|
|
97
|
-
- fec-api-layer.md - API
|
|
98
|
-
- fec-state-management.md -
|
|
99
|
-
- fec-error-handling.md -
|
|
100
|
-
- fec-naming-conventions.md -
|
|
101
|
-
- fec-code-comments.md -
|
|
102
|
-
- fec-ci-cd.md - CI/CD
|
|
103
|
-
- fec-refactoring.md -
|
|
104
|
-
- fec-agent-workflow.md -
|
|
105
|
-
- fec-working-modes.md -
|
|
90
|
+
- fec-vue.md/fec-react.md - Framework component specification
|
|
91
|
+
- fec-typescript.md - TypeScript/JavaScript specification (linked with `typescript-reviewer` subagent)
|
|
92
|
+
- fec-design-system.md - Design system and Token
|
|
93
|
+
- fec-testing.md - Test specification
|
|
94
|
+
- fec-git-conventions.md - Git commit conventions
|
|
95
|
+
- fec-i18n.md - Internationalization specification (if needed)
|
|
96
|
+
- fec-performance.md - performance optimization
|
|
97
|
+
- fec-api-layer.md - API layer specification
|
|
98
|
+
- fec-state-management.md - State management
|
|
99
|
+
- fec-error-handling.md - error handling
|
|
100
|
+
- fec-naming-conventions.md - naming conventions
|
|
101
|
+
- fec-code-comments.md - Code comments (when to write, what to write)
|
|
102
|
+
- fec-ci-cd.md - CI/CD specification
|
|
103
|
+
- fec-refactoring.md - Refactoring constraints
|
|
104
|
+
- fec-agent-workflow.md - subagent collaboration boundary
|
|
105
|
+
- fec-working-modes.md - research, planning, development, review, closing mode
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# Frontend Craft - Codex
|
|
2
|
-
#
|
|
1
|
+
# Frontend Craft - Codex project configuration
|
|
2
|
+
# Copy to .codex/config.toml and adjust according to project needs
|
|
3
3
|
|
|
4
|
-
# MCP
|
|
5
|
-
#
|
|
4
|
+
# MCP design tool integration (uncomment and configure environment variables as needed)
|
|
5
|
+
# Required settings: FIGMA_API_KEY, SKETCH_API_KEY, MG_MCP_TOKEN, MODAO_TOKEN
|
|
6
6
|
|
|
7
7
|
# [mcp_servers.figma]
|
|
8
8
|
# command = "npx"
|