@bovinphang/frontend-craft 2.7.0 → 2.8.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 +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +34 -0
- package/CHANGELOG.zh-CN.md +34 -0
- package/README.md +1 -1
- package/README.openclaw.md +99 -43
- package/README.openclaw.zh-CN.md +99 -43
- package/README.zh-CN.md +1 -1
- package/agents/fec-architect.md +70 -70
- package/agents/fec-code-reviewer.md +82 -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 +14 -14
- package/agents/fec-security-reviewer.md +66 -67
- package/agents/fec-test-planner.md +27 -27
- package/agents/fec-typescript-reviewer.md +87 -87
- package/agents/fec-ui-checker.md +74 -74
- 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-review.md +41 -41
- package/commands/fec-scaffold.md +41 -41
- package/commands/fec-tdd.md +13 -13
- package/dist/bin/frontend-craft.js +29 -27
- package/docs/example-prompts.md +3 -0
- package/docs/ja-JP/README.md +1 -1
- package/docs/ko-KR/README.md +1 -1
- package/docs/project-structure.md +13 -5
- package/docs/zh-CN/example-prompts.md +3 -0
- package/docs/zh-CN/project-structure.md +6 -1
- package/docs/zh-TW/README.md +1 -1
- package/localized/zh-CN/agents/fec-architect.md +125 -0
- package/localized/zh-CN/agents/fec-code-reviewer.md +152 -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 +32 -0
- package/localized/zh-CN/agents/fec-security-reviewer.md +116 -0
- package/localized/zh-CN/agents/fec-test-planner.md +50 -0
- package/localized/zh-CN/agents/fec-typescript-reviewer.md +142 -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-review.md +66 -0
- package/localized/zh-CN/commands/fec-scaffold.md +205 -0
- package/localized/zh-CN/commands/fec-tdd.md +21 -0
- package/localized/zh-CN/skills/TEMPLATE.md +155 -0
- package/localized/zh-CN/skills/eval_queries.json +1013 -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 +143 -0
- package/localized/zh-CN/skills/fec-code-review/references/report-template.md +29 -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 +80 -0
- package/localized/zh-CN/skills/fec-image-generation/assets/interactive-diagram.html +371 -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 +74 -0
- package/localized/zh-CN/skills/fec-image-generation/references/html-technical-diagrams.md +236 -0
- package/localized/zh-CN/skills/fec-image-generation/references/png-qa-autofix.md +30 -0
- package/localized/zh-CN/skills/fec-image-generation/scripts/export-diagram.mjs +364 -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/png-qa.mjs +431 -0
- package/localized/zh-CN/skills/fec-image-generation/scripts/tech-diagram-render.mjs +1397 -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 +51 -0
- package/localized/zh-CN/skills/fec-refactor-clean/references/report-template.md +42 -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 +38 -0
- package/localized/zh-CN/skills/fec-security-review/references/report-template.md +27 -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 +52 -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 +1646 -0
- package/localized/zh-CN/skills/relations.json +755 -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 +54 -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 +1 -1
- package/package.json +3 -2
- package/skills/TEMPLATE.md +74 -74
- package/skills/eval_queries.json +678 -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 +94 -94
- package/skills/fec-code-review/references/report-template.md +13 -13
- 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 +54 -29
- package/skills/fec-image-generation/assets/interactive-diagram.html +371 -0
- package/skills/fec-image-generation/references/diagram-workflows.md +33 -2
- package/skills/fec-image-generation/references/html-technical-diagrams.md +236 -0
- package/skills/fec-image-generation/scripts/export-diagram.mjs +364 -0
- package/skills/fec-image-generation/scripts/interactive-diagram-server.mjs +654 -0
- package/skills/fec-image-generation/scripts/tech-diagram-render.mjs +1397 -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 +30 -30
- package/skills/fec-refactor-clean/references/report-template.md +23 -23
- 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 +20 -20
- package/skills/fec-security-review/references/report-template.md +12 -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 +28 -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 +121 -115
- package/skills/relations.json +4 -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 +40 -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/skills/fec-drawio-studio/data/shape-index.json.gz +0 -0
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
"source": {
|
|
16
16
|
"source": "npm",
|
|
17
17
|
"package": "@bovinphang/frontend-craft",
|
|
18
|
-
"version": "2.
|
|
18
|
+
"version": "2.8.0"
|
|
19
19
|
},
|
|
20
20
|
"description": "Enterprise frontend team Claude Code plugin — 13 agents, 45 skills, 8 commands, shared rule templates, and production-ready hooks for code review, TypeScript review, type-safety modeling, state management, Tailwind design systems, responsive layout, dependency upgrades, security review, testing strategy, E2E, component testing, route protection, API integration, backend requirements handoff, interaction motion, performance optimization, scaffolding, design-to-code (Figma/Sketch/MasterGo/Pixso/墨刀/摹客), UI design and polish, image generation, editable draw.io drawio studio, web video presentations, Vite standards, legacy-to-modern migration, React/Vue/Next.js/Nuxt/monorepo standards, PWA, Web Workers, Canvas/Three.js, SVG animation, CI/CD, architecture planning, project absorption, and UI debugging with multi-design-tool MCP integration. All reports auto-saved as Markdown files to reports/ directory.",
|
|
21
|
-
"version": "2.
|
|
21
|
+
"version": "2.8.0",
|
|
22
22
|
"author": {
|
|
23
23
|
"name": "Bovin Phang",
|
|
24
24
|
"email": "pengbaowen@msn.com"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "frontend-craft",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.0",
|
|
4
4
|
"description": "Shared Claude Code plugin for frontend teams, including frontend skills, subagents, hooks, and MCP integration for Figma/Sketch/MasterGo/Pixso/墨刀/摹客. All reports auto-saved as Markdown files.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Bovin Phang",
|
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,40 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
9
9
|
|
|
10
10
|
Project-facing release notes are maintained in English from 2.0.0 onward. Historical entries may preserve their original language.
|
|
11
11
|
|
|
12
|
+
## [2.8.0] - 2026-06-25
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
|
|
16
|
+
- **Localized Simplified Chinese content pack:** added `localized/zh-CN` coverage for agents, commands, skills, templates, metadata, relations, evaluation examples, and bundled helper scripts so installs can choose localized AI-facing content without changing the canonical English root content.
|
|
17
|
+
- **Installer language selection:** `fec install` / `fec setup` now accepts `--lang en|zh-CN`; interactive installs can choose the language, unsupported language values fail clearly, install manifests record `language`, and `update` reuses the previous manifest language when `--lang` is omitted.
|
|
18
|
+
- **`fec-image-generation` HTML technical diagrams:** added browser-ready single-file diagram workflows for architecture, process workflows, sequence, data-flow, lifecycle, state-machine, runbook, PII / data-lineage, agent runtime, and memory diagrams, with semantic node types, flow-aware arrows, theme styles, summaries, and PNG QA handoff.
|
|
19
|
+
- **Image-generation diagram scripts:** added `tech-diagram-render.mjs`, `interactive-diagram-server.mjs`, `export-diagram.mjs`, and `assets/interactive-diagram.html` for rendering HTML/SVG technical diagrams, running local live diagram sessions, and exporting SVG/PNG/JPG artifacts from HTML or SVG sources.
|
|
20
|
+
- **Interactive live diagrams:** `fec-image-generation` now includes a local browser sketch route with session-scoped incremental node / edge commands, drag, relabel, remove, zoom, layout updates, and JSON / SVG / draw.io export handoff.
|
|
21
|
+
- **`drawio-export.mjs`:** new cross-platform draw.io desktop export helper with PATH/default-location detection, PNG/SVG/PDF options, dry-run JSON output, and install guidance when draw.io is missing.
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
- **`localized` package contents:** `package.json` now includes `localized` in the published file set so language packs ship with the npm package.
|
|
26
|
+
- **Root content language policy:** root `agents`, `commands`, `skills`, and `templates` are now validated as English-only distributable content; Simplified Chinese AI-facing content lives under the localized pack.
|
|
27
|
+
- **`fec-image-generation` routing:** diagram guidance now distinguishes Mermaid / SVG / HTML, draw.io, raster-first image generation, live sketches, process workflows, and themed semantic system diagrams so users can choose the right source-of-truth format.
|
|
28
|
+
- **`fec-drawio-studio` quality workflow:** strengthened manual draw.io XML guidance for grid alignment, wrapping labels, `
` line breaks, readable font sizes, balanced containers, and named diagram patterns such as flowcharts, architecture, sequence, class, ERD, mindmap, and network topology.
|
|
29
|
+
- **`diagram-lint` draw.io warnings:** now reports literal `\n` labels, missing wrapping/html styles, tiny fonts, off-grid vertices, page overflow, and overlap warnings so final delivery can use `--strict` as a stronger quality gate.
|
|
30
|
+
- **draw.io shape index packaging:** the source shape index is now stored as pretty-printed `shape-index.json` instead of a gzipped JSON file, while standalone skill packages minify data JSON during packaging to keep publish artifacts compact.
|
|
31
|
+
- **OpenClaw package and docs:** OpenClaw README files now list all 45 bundled skills and every command doc by use case, language links point to the OpenClaw-specific README pair, and the packed OpenClaw package is named `frontend-craft`.
|
|
32
|
+
- **`typecheck:skill-scripts`:** now covers the new `fec-image-generation` diagram render, interactive server, and export scripts.
|
|
33
|
+
|
|
34
|
+
### Fixed
|
|
35
|
+
|
|
36
|
+
- **OpenClaw README language links:** fixed OpenClaw documentation links so English and Simplified Chinese variants reference `README.openclaw.md` and `README.openclaw.zh-CN.md` instead of the root README pair.
|
|
37
|
+
- **Localized update behavior:** updates preserve the previously installed content language from `frontend-craft.manifest.json` when the user does not pass a new `--lang` option.
|
|
38
|
+
|
|
39
|
+
### Chore
|
|
40
|
+
|
|
41
|
+
- **Localization regression coverage:** added metadata consistency checks that keep root content English-only, require natural Simplified Chinese localized content, and verify localized metadata / relations / evaluation prompts contain translated prose.
|
|
42
|
+
- **Installer language tests:** expanded CLI and update tests for `--lang`, unsupported language errors, manifest language recording, Simplified Chinese content installation, and update language reuse.
|
|
43
|
+
- **Diagram workflow tests:** expanded image-generation and draw.io install tests for HTML technical diagram rendering, semantic diagram validation, live diagram server commands, export paths, draw.io export dry-runs, stricter lint warnings, and strict-mode overlap failures.
|
|
44
|
+
- **Skill packaging tests:** added coverage that standalone skill packages minify packaged data JSON while preserving source JSON semantics.
|
|
45
|
+
|
|
12
46
|
## [2.7.0] - 2026-06-10
|
|
13
47
|
|
|
14
48
|
### Added
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -8,6 +8,40 @@
|
|
|
8
8
|
|
|
9
9
|
自 **2.0.0** 起,面向发布的说明以英文 `CHANGELOG.md` 为权威来源;历史条目可能保留最初撰写语言。
|
|
10
10
|
|
|
11
|
+
## [2.8.0] - 2026-06-25
|
|
12
|
+
|
|
13
|
+
### 新增
|
|
14
|
+
|
|
15
|
+
- **简体中文本地化内容包**:新增 `localized/zh-CN`,覆盖 agents、commands、skills、templates、metadata、relations、评测示例与随附 helper scripts,使安装时可选择本地化的 AI 面向内容,同时根目录继续保留权威英文内容。
|
|
16
|
+
- **安装器语言选择**:`fec install` / `fec setup` 现在支持 `--lang en|zh-CN`;交互式安装可选择语言,不支持的语言值会清晰报错,安装 manifest 会记录 `language`,并且 `update` 在未传入 `--lang` 时复用上次 manifest 中的语言。
|
|
17
|
+
- **`fec-image-generation` HTML 技术图**:新增浏览器可打开的单文件图表工作流,覆盖 architecture、process workflow、sequence、data-flow、lifecycle、state-machine、runbook、PII / data-lineage、agent runtime 与 memory diagrams,支持语义节点类型、按 flow 区分的箭头、主题样式、摘要卡片与 PNG QA 交付。
|
|
18
|
+
- **图片生成图表脚本**:新增 `tech-diagram-render.mjs`、`interactive-diagram-server.mjs`、`export-diagram.mjs` 与 `assets/interactive-diagram.html`,用于渲染 HTML/SVG 技术图、本地 live diagram session,以及从 HTML 或 SVG 源导出 SVG/PNG/JPG 产物。
|
|
19
|
+
- **交互式 live diagrams**:`fec-image-generation` 新增本地浏览器草图路线,支持按 session 隔离的增量 node / edge 命令、拖拽、重命名、删除、缩放、布局更新,以及 JSON / SVG / draw.io 导出交接。
|
|
20
|
+
- **`drawio-export.mjs`**:新增跨平台 draw.io desktop 导出 helper,支持 PATH / 默认安装位置探测、PNG/SVG/PDF 参数、dry-run JSON 输出,并在缺少 draw.io 时给出安装建议。
|
|
21
|
+
|
|
22
|
+
### 变更
|
|
23
|
+
|
|
24
|
+
- **`localized` 包内容**:`package.json` 现在将 `localized` 纳入发布文件集,使语言包随 npm 包一起发布。
|
|
25
|
+
- **根内容语言策略**:根目录下的 `agents`、`commands`、`skills` 与 `templates` 现在作为英文分发内容进行校验;简体中文 AI 面向内容集中在本地化内容包中。
|
|
26
|
+
- **`fec-image-generation` 路由**:图表指南现在区分 Mermaid / SVG / HTML、draw.io、位图优先图片生成、live sketch、process workflow 与主题化语义系统图,帮助用户按交付需求选择正确的 source-of-truth 格式。
|
|
27
|
+
- **`fec-drawio-studio` 质量工作流**:强化手写 draw.io XML 指南,覆盖网格对齐、标签换行、`
` 换行、可读字号、容器留白平衡,以及 flowchart、architecture、sequence、class、ERD、mindmap、network topology 等图表模式。
|
|
28
|
+
- **`diagram-lint` draw.io warning**:新增 literal `\n` 标签、缺少 wrapping/html 样式、字号过小、顶点未对齐网格、页面越界与重叠 warning,最终交付可用 `--strict` 作为更强质量门。
|
|
29
|
+
- **draw.io shape index 打包**:源 shape index 现在以格式化的 `shape-index.json` 保存,不再使用 gzip JSON;独立技能包在打包时会压缩 data JSON,从而保持发布产物体积紧凑。
|
|
30
|
+
- **OpenClaw 包与文档**:OpenClaw README 现在按使用场景列出全部 45 个 bundled skills 和所有 command docs,语言链接指向 OpenClaw 专用 README 组合,并且 OpenClaw 打包产物命名为 `frontend-craft`。
|
|
31
|
+
- **`typecheck:skill-scripts`**:现在覆盖新增的 `fec-image-generation` 图表渲染、交互服务器与导出脚本。
|
|
32
|
+
|
|
33
|
+
### 修复
|
|
34
|
+
|
|
35
|
+
- **OpenClaw README 语言链接**:修复 OpenClaw 文档链接,使英文与简体中文版本指向 `README.openclaw.md` 与 `README.openclaw.zh-CN.md`,不再跳到根 README。
|
|
36
|
+
- **本地化更新行为**:当用户未传入新的 `--lang` 选项时,更新流程会从 `frontend-craft.manifest.json` 保留此前安装的内容语言。
|
|
37
|
+
|
|
38
|
+
### Chore
|
|
39
|
+
|
|
40
|
+
- **本地化回归覆盖**:新增 metadata consistency 校验,确保根内容保持英文、简体中文本地化内容是自然中文,并验证本地化 metadata / relations / eval prompts 含有翻译后的正文。
|
|
41
|
+
- **安装器语言测试**:扩展 CLI 与 update 测试,覆盖 `--lang`、不支持语言报错、manifest language 记录、简体中文内容安装与 update 语言复用。
|
|
42
|
+
- **图表工作流测试**:扩展 image-generation 与 draw.io 安装测试,覆盖 HTML 技术图渲染、语义图校验、live diagram server 命令、导出路径、draw.io export dry-run、更严格 lint warning,以及 strict mode 下的重叠失败。
|
|
43
|
+
- **技能打包测试**:新增独立技能包 data JSON 压缩测试,确保打包后压缩 JSON,同时保持源 JSON 语义不变。
|
|
44
|
+
|
|
11
45
|
## [2.7.0] - 2026-06-10
|
|
12
46
|
|
|
13
47
|
### 新增
|
package/README.md
CHANGED
|
@@ -232,7 +232,7 @@ The skills below are grouped by use case so you can quickly find project standar
|
|
|
232
232
|
| Skill | Scope |
|
|
233
233
|
| ----------------------------- | ----------------------------------------------------------------------------- |
|
|
234
234
|
| `fec-ui-design` | Product-context UI direction, anti-generic design dials, media strategy, states, visual QA |
|
|
235
|
-
| `fec-image-generation` |
|
|
235
|
+
| `fec-image-generation` | System blueprints, process workflows, interactive live diagrams, HTML/SVG/PNG exports, image generation/editing, visual assets, and PNG QA |
|
|
236
236
|
| `fec-drawio-studio` | Editable draw.io / diagrams.net technical diagrams, XML/Mermaid/CSV URL handoff, shape lookup, auto-layout, code maps |
|
|
237
237
|
| `fec-web-video-presentation` | Recordable 16:9 step-driven web presentations from articles, scripts, lessons, and demos |
|
|
238
238
|
| `fec-tailwind-design-system` | Tailwind tokens, theme extension, variants, class governance, dark mode |
|
package/README.openclaw.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
**Language / 语言**
|
|
14
14
|
|
|
15
|
-
[**English**](README.md) | [简体中文](README.zh-CN.md)
|
|
15
|
+
[**English**](README.openclaw.md) | [简体中文](README.openclaw.zh-CN.md)
|
|
16
16
|
|
|
17
17
|
</div>
|
|
18
18
|
|
|
@@ -136,41 +136,92 @@ frontend-craft/
|
|
|
136
136
|
|
|
137
137
|
### Skills
|
|
138
138
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
|
144
|
-
|
|
|
145
|
-
| `fec-
|
|
146
|
-
| `fec-
|
|
147
|
-
| `fec-
|
|
148
|
-
| `fec-
|
|
149
|
-
| `fec-
|
|
150
|
-
| `fec-
|
|
151
|
-
| `fec-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
|
156
|
-
|
|
|
157
|
-
| `fec-
|
|
158
|
-
| `fec-
|
|
159
|
-
| `fec-
|
|
160
|
-
| `fec-
|
|
161
|
-
| `fec-browser-storage`
|
|
162
|
-
| `fec-route-protection`
|
|
163
|
-
| `fec-
|
|
164
|
-
| `fec-
|
|
165
|
-
| `fec-
|
|
166
|
-
| `fec-
|
|
167
|
-
| `fec-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
|
172
|
-
|
|
|
173
|
-
| `fec-
|
|
139
|
+
The OpenClaw package includes all 45 public workflow skills from `skills/`, grouped here by use case.
|
|
140
|
+
|
|
141
|
+
**Project standards**
|
|
142
|
+
|
|
143
|
+
| Skill | Purpose |
|
|
144
|
+
| -------------------------------- | --------------------------------------------------------------------- |
|
|
145
|
+
| `fec-react-project-standard` | React + TypeScript project standards |
|
|
146
|
+
| `fec-vue3-project-standard` | Vue 3 + TypeScript project standards |
|
|
147
|
+
| `fec-nextjs-project-standard` | Next.js App Router, SSR/SSG, routing, metadata, middleware |
|
|
148
|
+
| `fec-nuxt-project-standard` | Nuxt 3 SSR/SSG, composables, routing, middleware |
|
|
149
|
+
| `fec-vite-project-standard` | Vite config, env safety, HMR, dev proxy, build optimization |
|
|
150
|
+
| `fec-monorepo-project-standard` | pnpm workspace, Turborepo, Nx structure and task orchestration |
|
|
151
|
+
| `fec-typescript-project-standard` | TypeScript config, public API types, declarations, DTOs, and generics |
|
|
152
|
+
|
|
153
|
+
**Implementation capabilities**
|
|
154
|
+
|
|
155
|
+
| Skill | Purpose |
|
|
156
|
+
| ------------------------- | ---------------------------------------------------------------------------------- |
|
|
157
|
+
| `fec-data-fetching` | Server-state fetching, caching, invalidation, SSR, and infinite loading |
|
|
158
|
+
| `fec-api-integration` | Typed API clients, auth refresh, uploads, and realtime integration |
|
|
159
|
+
| `fec-state-management` | State ownership, store selection, URL/server/form/local state boundaries |
|
|
160
|
+
| `fec-form-handling` | Framework-aware forms, schema validation, dynamic fields, uploads, multi-step flows |
|
|
161
|
+
| `fec-browser-storage` | localStorage/sessionStorage/IndexedDB/Cookies selection and safe persistence |
|
|
162
|
+
| `fec-route-protection` | Authenticated and permissioned routes for React Router, Next.js, Vue Router, Nuxt |
|
|
163
|
+
| `fec-pwa-implementation` | Manifest, service worker, offline cache, install prompts, update handling |
|
|
164
|
+
| `fec-web-workers` | Web Worker integration, transferable objects, Comlink, worker pools |
|
|
165
|
+
| `fec-canvas-threejs` | Canvas 2D, Three.js, React Three Fiber, WebGL performance and accessibility |
|
|
166
|
+
| `fec-svg-animation` | SVG animation with CSS, Framer Motion, GSAP, reduced-motion fallbacks |
|
|
167
|
+
| `fec-list-virtualization` | Framework-aware virtualization, item measurement, grids, and infinite scrolling |
|
|
168
|
+
|
|
169
|
+
**Testing**
|
|
170
|
+
|
|
171
|
+
| Skill | Purpose |
|
|
172
|
+
| ----------------------- | -------------------------------------------------------------------------- |
|
|
173
|
+
| `fec-testing-strategy` | Testing layer selection, risk matrix, and coverage planning |
|
|
174
|
+
| `fec-component-testing` | React Testing Library / Vue Test Utils component tests and regression |
|
|
175
|
+
| `fec-e2e-testing` | Playwright / Cypress E2E structure, artifacts, CI, and flaky test handling |
|
|
176
|
+
| `fec-tdd-workflow` | Test-first frontend implementation with red-green-refactor |
|
|
177
|
+
|
|
178
|
+
**Review and quality**
|
|
179
|
+
|
|
180
|
+
| Skill | Purpose |
|
|
181
|
+
| ------------------------------ | ------------------------------------------------------------------------------- |
|
|
182
|
+
| `fec-code-review` | Architecture, type safety, rendering, styles, accessibility, tests, security |
|
|
183
|
+
| `fec-debug-framework` | Systematic diagnostics for build, runtime, UI, and API/data failures |
|
|
184
|
+
| `fec-security-review` | XSS, CSRF, sensitive data leakage, unsafe input handling |
|
|
185
|
+
| `fec-accessibility-check` | WCAG-oriented semantic structure, keyboard support, focus, labels |
|
|
186
|
+
| `fec-dependency-upgrade` | Dependency upgrades, lockfile review, CVE remediation, migration verification |
|
|
187
|
+
| `fec-validation-fix` | Run validation commands, diagnose failures, and fix safely |
|
|
188
|
+
| `fec-performance-optimization` | Core Web Vitals, bundle, rendering, memory, network, and budget reviews |
|
|
189
|
+
| `fec-refactor-clean` | Safe dead-code, unused export, style, route, and dependency cleanup |
|
|
190
|
+
|
|
191
|
+
**Design UI**
|
|
192
|
+
|
|
193
|
+
| Skill | Purpose |
|
|
194
|
+
| ----------------------------- | ------------------------------------------------------------------------------------ |
|
|
195
|
+
| `fec-ui-design` | UI direction, visual identity, polish, states, visual QA |
|
|
196
|
+
| `fec-image-generation` | Diagrams, image generation/editing, visual assets, and PNG QA repair loops |
|
|
197
|
+
| `fec-drawio-studio` | Editable draw.io / diagrams.net technical diagrams, shape lookup, and code maps |
|
|
198
|
+
| `fec-web-video-presentation` | Recordable 16:9 step-driven web presentations from articles, scripts, lessons, demos |
|
|
199
|
+
| `fec-tailwind-design-system` | Tailwind tokens, theme extension, variants, class governance, dark mode |
|
|
200
|
+
| `fec-responsive-layout` | Mobile-first layouts, container queries, data-dense responsive UI |
|
|
201
|
+
| `fec-motion-interaction` | Context-aware motion, page transitions, scroll animation, reduced motion |
|
|
202
|
+
| `fec-implement-from-design` | Implement UI from Figma, Sketch, MasterGo, Pixso, Modao, or screenshots |
|
|
203
|
+
| `fec-storybook-component-doc` | Storybook component docs, design-system presentation, isolated state previews |
|
|
204
|
+
|
|
205
|
+
**Legacy migration**
|
|
206
|
+
|
|
207
|
+
| Skill | Purpose |
|
|
208
|
+
| -------------------------------- | --------------------------------------------------------------------------- |
|
|
209
|
+
| `fec-legacy-web-standard` | JavaScript + jQuery + HTML/CSS legacy frontend standards |
|
|
210
|
+
| `fec-legacy-to-modern-migration` | Legacy frontend modernization, target-stack selection, and phased migration |
|
|
211
|
+
|
|
212
|
+
**Project evolution**
|
|
213
|
+
|
|
214
|
+
| Skill | Purpose |
|
|
215
|
+
| ------------- | ------------------------------------------------------------------------ |
|
|
216
|
+
| `fec-alchemy` | Absorb reference system ideas through original, project-native redesign |
|
|
217
|
+
|
|
218
|
+
**Maintenance docs**
|
|
219
|
+
|
|
220
|
+
| Skill | Purpose |
|
|
221
|
+
| ------------------------------- | ---------------------------------------------------------------------------------- |
|
|
222
|
+
| `fec-backend-requirements-handoff` | Frontend-to-backend handoff for UI data needs, actions, states, rules, questions |
|
|
223
|
+
| `fec-doc-sync` | Keep frontend docs in sync with code, config, scripts, routes, APIs, and env facts |
|
|
224
|
+
| `fec-source-driven-development` | Verify version-sensitive frontend decisions against project facts and sources |
|
|
174
225
|
|
|
175
226
|
### Using skills (scenarios & examples)
|
|
176
227
|
|
|
@@ -219,13 +270,18 @@ This section is a quick OpenClaw-oriented sample, not the full prompt catalog. F
|
|
|
219
270
|
|
|
220
271
|
**Slash commands (markdown under `commands/`)**
|
|
221
272
|
|
|
222
|
-
These are loaded as command specs; use them when you want a **fixed checklist** instead of free-form matching. In chat, describe what you want—the agent can follow the matching command doc without you naming it. The
|
|
223
|
-
|
|
224
|
-
| Command doc
|
|
225
|
-
|
|
|
226
|
-
| `fec-init.md`
|
|
227
|
-
| `fec-review.md`
|
|
228
|
-
| `fec-scaffold.md`
|
|
273
|
+
These are loaded as command specs; use them when you want a **fixed checklist** instead of free-form matching. In chat, describe what you want—the agent can follow the matching command doc without you naming it. The complete command prompt set is in [docs/example-prompts.md](docs/example-prompts.md#power-user-prompts).
|
|
274
|
+
|
|
275
|
+
| Command doc | When to use | Example (plain language) |
|
|
276
|
+
| ------------------------ | ----------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
|
|
277
|
+
| `fec-init.md` | Bootstrap **Claude-style** `.claude/` templates in a **project repo** (paths in the doc target `.claude/`). | “Initialize this repo’s `.claude/` with the frontend-craft templates and rules from the plugin; ask before overwriting.” |
|
|
278
|
+
| `fec-review.md` | Guided review + save `reports/code-review-*.md`. | “Review the files changed in my last commit and write a structured markdown report under `reports/`.” |
|
|
279
|
+
| `fec-scaffold.md` | Page / feature / component folder layout. | “Scaffold a new React page `UserDetail` with the usual `src/pages/...` layout and empty `components/` and `hooks/` folders.” |
|
|
280
|
+
| `fec-plan.md` | Architecture or test planning before implementation. | “Plan the checkout rewrite first: component boundaries, state flow, risks, and test coverage.” |
|
|
281
|
+
| `fec-tdd.md` | Red-green-refactor implementation workflow. | “Use a TDD loop for this filter component: write the failing test first, then implement the minimum behavior.” |
|
|
282
|
+
| `fec-debug.md` | Diagnose build, runtime, UI, or API/data failures. | “The dashboard crashes after login; inspect the error path, isolate the cause, and write a debug report.” |
|
|
283
|
+
| `fec-refactor-clean.md` | Classify and safely remove dead code, unused exports, styles, and dependencies. | “Clean up unused exports and styles in `src/features/billing/`, preserving behavior and reporting what changed.” |
|
|
284
|
+
| `fec-doc-sync.md` | Sync README, docs, env notes, script lists, API/route notes, and deploy facts. | “Check whether the README command list still matches package scripts and update the docs that drifted.” |
|
|
229
285
|
|
|
230
286
|
### Hooks
|
|
231
287
|
|
package/README.openclaw.zh-CN.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
**Language / 语言**
|
|
14
14
|
|
|
15
|
-
[English](README.md) | [**简体中文**](README.zh-CN.md)
|
|
15
|
+
[English](README.openclaw.md) | [**简体中文**](README.openclaw.zh-CN.md)
|
|
16
16
|
|
|
17
17
|
</div>
|
|
18
18
|
|
|
@@ -136,41 +136,92 @@ frontend-craft/
|
|
|
136
136
|
|
|
137
137
|
### 技能
|
|
138
138
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
|
144
|
-
|
|
|
145
|
-
| `fec-
|
|
146
|
-
| `fec-
|
|
147
|
-
| `fec-
|
|
148
|
-
| `fec-
|
|
149
|
-
| `fec-
|
|
150
|
-
| `fec-
|
|
151
|
-
| `fec-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
|
156
|
-
|
|
|
157
|
-
| `fec-
|
|
158
|
-
| `fec-
|
|
159
|
-
| `fec-
|
|
160
|
-
| `fec-
|
|
161
|
-
| `fec-browser-storage`
|
|
162
|
-
| `fec-route-protection`
|
|
163
|
-
| `fec-
|
|
164
|
-
| `fec-
|
|
165
|
-
| `fec-
|
|
166
|
-
| `fec-
|
|
167
|
-
| `fec-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
|
172
|
-
|
|
|
173
|
-
| `fec-
|
|
139
|
+
OpenClaw 包包含 `skills/` 下全部 45 个公开工作流技能,按使用场景分组如下。
|
|
140
|
+
|
|
141
|
+
**项目规范**
|
|
142
|
+
|
|
143
|
+
| 技能 | 用途 |
|
|
144
|
+
| -------------------------------- | --------------------------------------------------- |
|
|
145
|
+
| `fec-react-project-standard` | React + TypeScript 项目规范 |
|
|
146
|
+
| `fec-vue3-project-standard` | Vue 3 + TypeScript 项目规范 |
|
|
147
|
+
| `fec-nextjs-project-standard` | Next.js App Router、SSR/SSG、路由、元数据、中间件 |
|
|
148
|
+
| `fec-nuxt-project-standard` | Nuxt 3 SSR/SSG、组合式函数、路由、中间件 |
|
|
149
|
+
| `fec-vite-project-standard` | Vite 配置、环境变量安全、HMR、开发代理、构建优化 |
|
|
150
|
+
| `fec-monorepo-project-standard` | pnpm workspace、Turborepo、Nx 结构与任务编排 |
|
|
151
|
+
| `fec-typescript-project-standard` | TypeScript 配置、公开类型、声明文件、DTO 和泛型 |
|
|
152
|
+
|
|
153
|
+
**实现能力**
|
|
154
|
+
|
|
155
|
+
| 技能 | 用途 |
|
|
156
|
+
| ------------------------- | -------------------------------------------------------------- |
|
|
157
|
+
| `fec-data-fetching` | 服务端状态获取、缓存、失效、SSR 与无限加载 |
|
|
158
|
+
| `fec-api-integration` | 类型化 API 客户端、鉴权刷新、上传与实时通信 |
|
|
159
|
+
| `fec-state-management` | 状态归属、store 选型、URL/服务端/表单/本地状态边界 |
|
|
160
|
+
| `fec-form-handling` | 跨框架表单选型、schema 校验、动态字段、上传、多步流程 |
|
|
161
|
+
| `fec-browser-storage` | localStorage/sessionStorage/IndexedDB/Cookies 选型与安全持久化 |
|
|
162
|
+
| `fec-route-protection` | React Router、Next.js、Vue Router、Nuxt 的权限路由保护 |
|
|
163
|
+
| `fec-pwa-implementation` | PWA manifest、Service Worker、离线缓存与安装提示 |
|
|
164
|
+
| `fec-web-workers` | Web Worker、Transferable、Comlink、Worker 池 |
|
|
165
|
+
| `fec-canvas-threejs` | Canvas 2D、Three.js、React Three Fiber、WebGL 性能与可访问性 |
|
|
166
|
+
| `fec-svg-animation` | CSS、Framer Motion、GSAP SVG 动画与 reduced-motion 降级 |
|
|
167
|
+
| `fec-list-virtualization` | 按框架选型的大列表虚拟滚动、测量、网格和无限滚动 |
|
|
168
|
+
|
|
169
|
+
**测试**
|
|
170
|
+
|
|
171
|
+
| 技能 | 用途 |
|
|
172
|
+
| ----------------------- | -------------------------------------------------------- |
|
|
173
|
+
| `fec-testing-strategy` | 测试层级选择、风险矩阵与覆盖规划 |
|
|
174
|
+
| `fec-component-testing` | RTL / Vue Test Utils 组件测试与回归用例 |
|
|
175
|
+
| `fec-e2e-testing` | Playwright / Cypress E2E 结构、产物、CI 与不稳定用例治理 |
|
|
176
|
+
| `fec-tdd-workflow` | 测试先行的 red-green-refactor 前端实现流程 |
|
|
177
|
+
|
|
178
|
+
**评审与质量**
|
|
179
|
+
|
|
180
|
+
| 技能 | 用途 |
|
|
181
|
+
| ------------------------------ | -------------------------------------------------------- |
|
|
182
|
+
| `fec-code-review` | 架构、类型安全、渲染、样式、可访问性、测试、安全评审 |
|
|
183
|
+
| `fec-debug-framework` | 构建、运行时、UI 与 API/data 问题的系统化诊断 |
|
|
184
|
+
| `fec-security-review` | XSS、CSRF、敏感数据泄露、不安全输入处理 |
|
|
185
|
+
| `fec-accessibility-check` | 面向 WCAG 的语义结构、键盘支持、焦点、标签检查 |
|
|
186
|
+
| `fec-dependency-upgrade` | 依赖升级、lockfile 评审、CVE 修复和迁移验证 |
|
|
187
|
+
| `fec-validation-fix` | 执行校验命令、分析失败并安全修复 |
|
|
188
|
+
| `fec-performance-optimization` | Core Web Vitals、bundle、渲染、内存、网络和预算评审 |
|
|
189
|
+
| `fec-refactor-clean` | 安全清理死代码、未用导出、样式、路由与依赖 |
|
|
190
|
+
|
|
191
|
+
**设计 UI**
|
|
192
|
+
|
|
193
|
+
| 技能 | 用途 |
|
|
194
|
+
| ----------------------------- | ---------------------------------------------------------- |
|
|
195
|
+
| `fec-ui-design` | UI 方向、视觉识别、界面打磨、状态与视觉 QA |
|
|
196
|
+
| `fec-image-generation` | 图表、图片生成/编辑、视觉资产与 PNG QA 修复循环 |
|
|
197
|
+
| `fec-drawio-studio` | 可编辑 draw.io / diagrams.net 技术图、形状检索与代码结构图 |
|
|
198
|
+
| `fec-web-video-presentation` | 将文章、口播稿、课程和 demo 转成可录屏的 16:9 步进网页演示 |
|
|
199
|
+
| `fec-tailwind-design-system` | Tailwind token、主题扩展、组件变体、class 治理和暗色模式 |
|
|
200
|
+
| `fec-responsive-layout` | 移动优先布局、容器查询、数据密集型响应式界面 |
|
|
201
|
+
| `fec-motion-interaction` | 上下文感知动效、页面转场、滚动动画与 reduced motion |
|
|
202
|
+
| `fec-implement-from-design` | 基于 Figma、Sketch、MasterGo、Pixso、墨刀或截图实现 UI |
|
|
203
|
+
| `fec-storybook-component-doc` | Storybook 组件文档、设计系统展示与隔离状态预览 |
|
|
204
|
+
|
|
205
|
+
**遗留迁移**
|
|
206
|
+
|
|
207
|
+
| 技能 | 用途 |
|
|
208
|
+
| -------------------------------- | ------------------------------------------ |
|
|
209
|
+
| `fec-legacy-web-standard` | JavaScript + jQuery + HTML/CSS 传统前端规范 |
|
|
210
|
+
| `fec-legacy-to-modern-migration` | 遗留前端现代化、目标栈识别与分阶段迁移策略 |
|
|
211
|
+
|
|
212
|
+
**项目演进**
|
|
213
|
+
|
|
214
|
+
| 技能 | 用途 |
|
|
215
|
+
| ------------- | ------------------------------------------------ |
|
|
216
|
+
| `fec-alchemy` | 吸收参考系统想法,并重设计为原创、项目原生改进 |
|
|
217
|
+
|
|
218
|
+
**维护与文档**
|
|
219
|
+
|
|
220
|
+
| 技能 | 用途 |
|
|
221
|
+
| ------------------------------- | -------------------------------------------------------- |
|
|
222
|
+
| `fec-backend-requirements-handoff` | 面向后端交接 UI 数据需求、用户动作、状态、规则和问题 |
|
|
223
|
+
| `fec-doc-sync` | 同步 README、配置、脚本、路由/API、环境变量与部署事实 |
|
|
224
|
+
| `fec-source-driven-development` | 根据项目事实和官方来源校验版本敏感的前端决策 |
|
|
174
225
|
|
|
175
226
|
### 技能使用:场景与示例
|
|
176
227
|
|
|
@@ -219,13 +270,18 @@ frontend-craft/
|
|
|
219
270
|
|
|
220
271
|
**斜杠命令(`commands/` 下的 Markdown)**
|
|
221
272
|
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
| 命令文档
|
|
225
|
-
|
|
|
226
|
-
| `fec-init.md`
|
|
227
|
-
| `fec-review.md`
|
|
228
|
-
| `fec-scaffold.md`
|
|
273
|
+
作为**固定步骤**的命令说明加载。对话里用自然语言描述要做的事即可,代理可按对应命令文档执行,**无需**说出命令文件名。完整命令提示词见 [docs/zh-CN/example-prompts.md](docs/zh-CN/example-prompts.md#高级用户提示词)。
|
|
274
|
+
|
|
275
|
+
| 命令文档 | 适用时机 | 示例(自然语言) |
|
|
276
|
+
| ------------------------ | ---------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
|
|
277
|
+
| `fec-init.md` | 在**业务仓库**里初始化 **Claude 风格** 的 `.claude/` 模板(文档内路径针对 `.claude/`)。 | 「请在本仓库初始化 `.claude/`,按插件提供的模板与规则复制;若已有文件请先问我是否覆盖。」 |
|
|
278
|
+
| `fec-review.md` | 引导式评审并保存 `reports/code-review-*.md`。 | 「请评审我上一次提交里改动的文件,并写一份结构化 Markdown 报告到 `reports/`。」 |
|
|
279
|
+
| `fec-scaffold.md` | 页面 / 功能 / 组件目录脚手架。 | 「请为 React 项目脚手架一个新页面 UserDetail:放在 `src/pages/...`,并带上空的 `components/` 与 `hooks/` 目录。」 |
|
|
280
|
+
| `fec-plan.md` | 实现前做架构方案或测试策略规划。 | 「先规划 checkout 重写:组件边界、状态流、风险和测试覆盖。」 |
|
|
281
|
+
| `fec-tdd.md` | 使用 red-green-refactor 的测试驱动实现流程。 | 「这个筛选组件请按 TDD 做:先写失败测试,再实现最小行为。」 |
|
|
282
|
+
| `fec-debug.md` | 诊断构建、运行时、UI 或 API/data 失败。 | 「登录后 dashboard 崩溃,请检查错误路径、定位根因,并写一份 debug 报告。」 |
|
|
283
|
+
| `fec-refactor-clean.md` | 分类并安全清理死代码、未用导出、样式和依赖。 | 「清理 `src/features/billing/` 里的未用导出和样式,保持行为不变并报告变更。」 |
|
|
284
|
+
| `fec-doc-sync.md` | 同步 README、文档、环境说明、脚本列表、API/路由说明和部署事实。 | 「检查 README 命令列表是否还匹配 package scripts,并更新漂移的文档。」 |
|
|
229
285
|
|
|
230
286
|
### Hooks
|
|
231
287
|
|
package/README.zh-CN.md
CHANGED
|
@@ -232,7 +232,7 @@ npx @bovinphang/frontend-craft@latest list
|
|
|
232
232
|
| 技能 | 范围 |
|
|
233
233
|
| ----------------------------- | -------------------------------------------------------- |
|
|
234
234
|
| `fec-ui-design` | 产品语境 UI 方向、反模板设计拨盘、媒体策略、状态、视觉 QA |
|
|
235
|
-
| `fec-image-generation` |
|
|
235
|
+
| `fec-image-generation` | 系统蓝图、流程工作流、交互式实时图、HTML/SVG/PNG 导出、图片生成/编辑、视觉资产和 PNG 自检 |
|
|
236
236
|
| `fec-drawio-studio` | 可编辑 draw.io / diagrams.net 技术图、XML/Mermaid/CSV URL 交付、形状检索、自动布局和代码结构图 |
|
|
237
237
|
| `fec-web-video-presentation` | 将文章、口播稿、课程和 demo 转成可录屏的 16:9 步进网页演示 |
|
|
238
238
|
| `fec-tailwind-design-system` | Tailwind token、主题扩展、组件变体、class 治理和暗色模式 |
|