@bovinphang/frontend-craft 2.6.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 +3 -3
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +72 -1
- package/CHANGELOG.zh-CN.md +71 -1
- package/README.md +10 -6
- package/README.openclaw.md +100 -42
- package/README.openclaw.zh-CN.md +100 -42
- package/README.zh-CN.md +10 -6
- 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 +88 -88
- 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 +84 -69
- package/docs/ja-JP/README.md +56 -52
- package/docs/ko-KR/README.md +45 -41
- package/docs/project-structure.md +19 -7
- package/docs/superpowers/plans/2026-05-29-fec-debug.md +491 -0
- package/docs/superpowers/specs/2026-05-29-fec-debug-design.md +340 -0
- package/docs/zh-CN/example-prompts.md +84 -69
- package/docs/zh-CN/project-structure.md +14 -5
- package/docs/zh-TW/README.md +33 -29
- 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/{skills/fec-typescript-type-safety → localized/zh-CN/skills/fec-typescript-project-standard}/references/type-safety-patterns.md +1 -1
- package/{skills/fec-typescript-type-safety/SKILL.md → localized/zh-CN/skills/fec-typescript-project-standard/references/type-safety.md} +5 -14
- 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 +4 -3
- package/skills/TEMPLATE.md +74 -74
- package/skills/eval_queries.json +717 -619
- 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 +45 -0
- 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 +73 -0
- package/skills/fec-drawio-studio/data/THIRD_PARTY_NOTICES.md +10 -0
- package/skills/fec-drawio-studio/data/brand-icons.json +878 -0
- package/skills/fec-drawio-studio/data/shape-index.json +83570 -0
- package/skills/fec-drawio-studio/references/data-residency.md +27 -0
- package/skills/fec-drawio-studio/references/diagram-patterns.md +60 -0
- package/skills/fec-drawio-studio/references/flowchart-quality.md +49 -0
- package/skills/fec-drawio-studio/references/layout-and-export.md +72 -0
- package/skills/fec-drawio-studio/references/troubleshooting.md +29 -0
- package/skills/fec-drawio-studio/references/xml-and-mermaid.md +58 -0
- package/skills/fec-drawio-studio/scripts/brand-symbols.mjs +99 -0
- package/skills/fec-drawio-studio/scripts/diagram-lint.mjs +205 -0
- package/skills/fec-drawio-studio/scripts/diagram-url.mjs +102 -0
- package/skills/fec-drawio-studio/scripts/drawio-export.mjs +134 -0
- package/skills/fec-drawio-studio/scripts/layout-graph.mjs +107 -0
- package/skills/fec-drawio-studio/scripts/png-embed-fix.mjs +26 -0
- package/skills/fec-drawio-studio/scripts/scan-go-packages.mjs +36 -0
- package/skills/fec-drawio-studio/scripts/scan-js-modules.mjs +52 -0
- package/skills/fec-drawio-studio/scripts/scan-python-classes.mjs +30 -0
- package/skills/fec-drawio-studio/scripts/scan-python-modules.mjs +55 -0
- package/skills/fec-drawio-studio/scripts/scan-rust-modules.mjs +35 -0
- package/skills/fec-drawio-studio/scripts/scan-ts-modules.mjs +7 -0
- package/skills/fec-drawio-studio/scripts/shape-query.mjs +121 -0
- package/skills/fec-drawio-studio/scripts/studio-core.mjs +139 -0
- package/skills/fec-drawio-studio/styles/built-in/corporate.json +49 -0
- package/skills/fec-drawio-studio/styles/built-in/default.json +49 -0
- package/skills/fec-drawio-studio/styles/built-in/handdrawn.json +49 -0
- package/skills/fec-drawio-studio/styles/schema.json +112 -0
- package/skills/fec-e2e-testing/SKILL.md +24 -22
- package/skills/fec-e2e-testing/references/e2e-ci-reporting.md +62 -0
- package/skills/fec-e2e-testing/references/e2e-special-scenarios.md +52 -0
- package/skills/fec-e2e-testing/references/e2e-visual-regression.md +60 -0
- 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 +81 -0
- package/skills/fec-image-generation/assets/interactive-diagram.html +371 -0
- package/skills/fec-image-generation/references/artifact-routing.md +80 -0
- package/skills/fec-image-generation/references/diagram-workflows.md +74 -0
- package/skills/fec-image-generation/references/html-technical-diagrams.md +236 -0
- package/skills/fec-image-generation/references/png-qa-autofix.md +30 -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/png-qa.mjs +431 -0
- package/skills/fec-image-generation/scripts/tech-diagram-render.mjs +1397 -0
- package/skills/fec-implement-from-design/SKILL.md +81 -74
- package/skills/fec-implement-from-design/references/design-plan-template.md +16 -16
- package/skills/fec-legacy-to-modern-migration/SKILL.md +29 -173
- package/skills/fec-legacy-to-modern-migration/references/migration-execution-checklist.md +110 -0
- 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 +48 -0
- 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 -44
- package/skills/fec-motion-interaction/references/motion-patterns.md +11 -11
- package/skills/fec-nextjs-project-standard/SKILL.md +64 -58
- package/skills/fec-nuxt-project-standard/SKILL.md +57 -57
- package/skills/fec-performance-optimization/SKILL.md +54 -50
- package/skills/fec-performance-optimization/references/framework-performance-patterns.md +38 -0
- package/skills/fec-performance-optimization/references/report-template.md +34 -28
- 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 -64
- package/skills/fec-react-project-standard/references/react-performance-patterns.md +35 -0
- package/skills/fec-react-project-standard/references/react-project-structure.md +197 -0
- package/skills/fec-react-project-standard/references/react-quality-patterns.md +131 -0
- package/skills/fec-react-project-standard/references/react-runtime-patterns.md +293 -0
- 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 +39 -28
- 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 +66 -40
- 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 -32
- 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 +54 -0
- package/skills/fec-typescript-project-standard/references/type-safety-patterns.md +102 -0
- package/skills/fec-typescript-project-standard/references/type-safety.md +148 -0
- package/skills/fec-ui-design/SKILL.md +90 -72
- package/skills/fec-ui-design/data/style-archetypes.json +40 -0
- package/skills/fec-ui-design/data/ux-quality-rules.json +35 -0
- package/skills/fec-ui-design/references/design-intelligence.md +81 -21
- package/skills/fec-ui-design/references/master-page-overrides.md +15 -15
- package/skills/fec-ui-design/references/pre-delivery-checklist.md +38 -32
- package/skills/fec-ui-design/scripts/design-system.mjs +119 -1
- 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 +39 -30
- package/skills/fec-vue3-project-standard/references/vue3-composables-routing.md +163 -0
- package/skills/fec-vue3-project-standard/references/vue3-performance-patterns.md +13 -0
- package/skills/fec-vue3-project-standard/references/vue3-project-structure.md +177 -0
- package/skills/fec-vue3-project-standard/references/vue3-state-api-quality.md +216 -0
- package/skills/fec-web-video-presentation/SKILL.md +61 -0
- package/skills/fec-web-video-presentation/data/starter-themes.json +59 -0
- package/skills/fec-web-video-presentation/references/chapter-craft.md +37 -0
- package/skills/fec-web-video-presentation/references/content-plan.md +38 -0
- package/skills/fec-web-video-presentation/references/recording-and-audio.md +33 -0
- package/skills/fec-web-video-presentation/references/theme-system.md +36 -0
- package/skills/fec-web-video-presentation/scripts/create-video-presentation.mjs +430 -0
- 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 +402 -220
- package/skills/relations.json +120 -25
- 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 -117
- package/templates/shared/rules/fec-code-comments.md +22 -22
- package/templates/shared/rules/fec-design-system.md +65 -241
- package/templates/shared/rules/fec-error-handling.md +41 -185
- package/templates/shared/rules/fec-git-conventions.md +42 -42
- package/templates/shared/rules/fec-i18n.md +48 -96
- 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 -30
- package/templates/shared/rules/fec-rendering-patterns.md +40 -183
- package/templates/shared/rules/fec-responsive-design.md +37 -214
- package/templates/shared/rules/fec-source-driven-development.md +22 -22
- package/templates/shared/rules/fec-state-management.md +45 -148
- package/templates/shared/rules/fec-testing.md +64 -64
- package/templates/shared/rules/fec-typescript.md +98 -341
- package/templates/shared/rules/fec-vue.md +42 -42
- package/templates/shared/rules/fec-working-modes.md +34 -34
- package/skills/fec-e2e-testing/references/e2e-advanced.md +0 -176
- package/skills/fec-react-project-standard/references/react-project-details.md +0 -642
- package/skills/fec-vue3-project-standard/references/vue3-project-details.md +0 -547
|
@@ -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
|
-
"description": "Enterprise frontend team Claude Code plugin — 13 agents,
|
|
21
|
-
"version": "2.
|
|
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.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,77 @@ 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
|
+
|
|
46
|
+
## [2.7.0] - 2026-06-10
|
|
47
|
+
|
|
48
|
+
### Added
|
|
49
|
+
|
|
50
|
+
- **`fec-drawio-studio` skill:** editable draw.io / diagrams.net workflow for technical diagrams, including official shape lookup, brand symbols, Graphviz auto-layout, code structure maps (TS / JS / Go / Python / Rust), validation, export fallback, and an `XML / Mermaid / CSV` URL handoff (`diagram-url --create`) with self-hosted `baseUrl`, lightbox, dark and Windows `.url` shortcut support.
|
|
51
|
+
- **`fec-image-generation` skill:** diagrams, charts, posters, UI mockups, infographics, and image-edit workflows, plus `scripts/png-qa.mjs` for PNG visual QA with bounded self-repair (registered in `typecheck:skill-scripts`).
|
|
52
|
+
- **`fec-backend-requirements-handoff` skill:** frontend-to-backend handoff for UI data needs, user actions, states, permissions, business rules, uncertainties, and backend discussion points — without dictating implementation.
|
|
53
|
+
- **`fec-web-video-presentation` skill:** recordable 16:9 step-driven web presentations from articles, scripts, lessons, and demos, with compact references, starter theme data, and a cross-platform Vite/React scaffold helper.
|
|
54
|
+
- **Modular reference docs:** split several monolithic reference files into focused modules — `fec-e2e-testing` (e2e-ci-reporting / e2e-special-scenarios / e2e-visual-regression), `fec-legacy-to-modern-migration` (migration-execution-checklist / migration-strategy-and-mapping), `fec-performance-optimization` (framework-performance-patterns), `fec-react-project-standard` (react-project-structure / react-runtime-patterns / react-quality-patterns / react-performance-patterns), and `fec-vue3-project-standard` (vue3-project-structure / vue3-composables-routing / vue3-state-api-quality / vue3-performance-patterns). Each `SKILL.md` now points at the new focused references.
|
|
55
|
+
- **Install coverage for the new skills:** `tests/install/image-generation-skill.test.ts`, `tests/install/drawio-studio-skill.test.ts`, expanded `tests/install/ui-design-intelligence.test.ts` (designRead, designDials, page-intent dial behavior) and `tests/install/end-to-end.test.ts` (new skill ids, taxonomy, relations).
|
|
56
|
+
|
|
57
|
+
### Changed
|
|
58
|
+
|
|
59
|
+
- **BREAKING — `fec-typescript-type-safety` renamed to `fec-typescript-project-standard`:** the skill directory, id, and metadata entry are renamed; type-safety content is preserved as `references/type-safety.md` inside the new skill, and a top-level `SKILL.md` covers TypeScript project standards (config, public API types, declarations, DTOs, generics). `agents/fec-typescript-reviewer.md` and all `skills/metadata.json` / `skills/relations.json` references were updated. **Migration:** replace every `fec-typescript-type-safety` reference (in agent / skill frontmatter, `relations.json`, eval queries, custom docs) with `fec-typescript-project-standard`.
|
|
60
|
+
- **Skill taxonomy — new `project-standard` category:** the `project-standard` taxonomy was already declared in 2.6.0 metadata; this release populates it with the renamed TypeScript skill and aligns README skill tables across all 5 locales. `fec-monorepo-project-standard` remains in `project-evolution`/standard mix; the existing 7 categories are unchanged.
|
|
61
|
+
- **Skill count:** 41 → 45 across README locales (en / zh-CN / zh-TW / ja-JP / ko-KR), `skills/metadata.json`, `.claude-plugin/marketplace.json` description, and `skills/eval_queries.json` trigger queries. README wording, project-structure docs, and example-prompts tables were re-tagged to label every capability entry by type (skill / agent / cmd).
|
|
62
|
+
- **`fec-ui-design` enhancements:** added product-context reading, design dials (`visualTension`, `motionIntensity`, `informationDensity`, `mediaAuthenticity`, `contentPersuasion`), anti-generic UI guidance, and a visual-references strategy. `design-system.mjs` script, `style-archetypes.json`, `ux-quality-rules.json`, `design-intelligence.md`, and `pre-delivery-checklist.md` data were extended; multi-locale READMEs and project-structure docs were updated.
|
|
63
|
+
- **`fec-motion-interaction` enhancements:** added context-aware motion-intensity guidance, aligning with `fec-ui-design` design dials.
|
|
64
|
+
- **`fec-implement-from-design` enhancements:** added screenshot / section-level visual references alongside the existing Figma / Sketch / MasterGo / Pixso / 墨刀 / 摹客 sources.
|
|
65
|
+
- **`fec-drawio-studio` lint hardening:** `diagram-lint` now forbids XML comments, unescaped ampersands and angle brackets, self-closing edge cells, missing root / layer cells, and warns when vertex labels contain HTML without the `html=1` style. New install tests cover `diagram-url` and `diagram-lint`.
|
|
66
|
+
- **`fec-legacy-to-modern-migration`, `fec-tailwind-design-system`, `fec-responsive-layout`:** added Playwright-equivalent validation guidance so migration and visual-sensitive tasks build a before/after behavior checklist and pick the validation layer (Playwright / visual diff / typecheck / unit) matched to the change risk.
|
|
67
|
+
- **Shared rules slim-down:** `templates/shared/rules/fec-*.md` were condensed to standing project-resident hard constraints. Productized guidance for UI design, Tailwind design systems, responsive layout, TypeScript modeling, error-handling framework internals, and rendering patterns now lives in their dedicated skills instead of being inlined into rules; `fec-i18n.md`, `fec-responsive-design.md`, `fec-typescript.md`, `fec-state-management.md`, `fec-design-system.md`, `fec-rendering-patterns.md`, `fec-error-handling.md`, `fec-ci-cd.md`, and `fec-refactoring.md` were all trimmed.
|
|
68
|
+
- **Multilingual README sync:** the new "XML/Mermaid/CSV URL handoff" description for `fec-drawio-studio` and the new design-dial framing for `fec-ui-design` are reflected in all 5 locales. Old references to the removed `/fec-build-fix` slash command and `fec-build-fixer` agent were replaced with the real `/fec-debug` command and `fec-debugger` agent. `docs/example-prompts.md` (and its zh-CN mirror) now covers all 45 skills.
|
|
69
|
+
- **Marketplace metadata:** `marketplace.json` description and `package.json` keywords updated to reflect the 45-skill surface; re-indented to the repository's prettier configuration.
|
|
70
|
+
- **`fec-doc-sync` scope:** the doc-sync workflow continues to cover env notes, scripts, API / route notes, and deploy facts in addition to user-facing docs; example prompts, the `/fec-doc-sync` command doc, and `skills/metadata.json` align.
|
|
71
|
+
|
|
72
|
+
### Removed
|
|
73
|
+
|
|
74
|
+
- **`fec-typescript-type-safety` skill directory:** the legacy directory was removed; its content lives in `fec-typescript-project-standard` (`references/type-safety.md`). Update any custom rules, agents, or skills that referenced the old id.
|
|
75
|
+
|
|
76
|
+
### Chore
|
|
77
|
+
|
|
78
|
+
- **JSON metadata reformat:** `marketplace.json` and `skills/metadata.json` indentation / trailing-newline conventions normalized.
|
|
79
|
+
- **Project-structure docs:** `docs/project-structure.md` and its `zh-CN` mirror updated to enumerate the new skills and reorganized reference modules.
|
|
80
|
+
- **Install test coverage:** added `tests/install/image-generation-skill.test.ts` and `tests/install/drawio-studio-skill.test.ts`; existing end-to-end and metadata-consistency tests updated to assert the new skill ids, taxonomy, and relations.
|
|
81
|
+
- **Skill-script typecheck:** `typecheck:skill-scripts` now also covers `skills/fec-image-generation/scripts/png-qa.mjs`.
|
|
82
|
+
|
|
12
83
|
|
|
13
84
|
## [2.6.0] - 2026-06-07
|
|
14
85
|
|
|
@@ -78,7 +149,7 @@ Project-facing release notes are maintained in English from 2.0.0 onward. Histor
|
|
|
78
149
|
### Added
|
|
79
150
|
|
|
80
151
|
- **Debug workflow:** added `fec-debug` slash command with type-based routing, `fec-debugger` agent for complex diagnostic scenarios, and `fec-debug-framework` skill with a 5-step diagnostic methodology.
|
|
81
|
-
- **6 new skills:** `fec-performance-optimization` (Core Web Vitals, memory leaks, performance budgets), `fec-source-driven-development` (evidence-based decisions with official-docs verification), `fec-state-management` (state architecture patterns), `fec-typescript-
|
|
152
|
+
- **6 new skills:** `fec-performance-optimization` (Core Web Vitals, memory leaks, performance budgets), `fec-source-driven-development` (evidence-based decisions with official-docs verification), `fec-state-management` (state architecture patterns), `fec-typescript-project-standard` (TypeScript project standards and type safety), `fec-dependency-upgrade` (upgrade planning), `fec-responsive-layout` (responsive layout strategy), and `fec-tailwind-design-system` (Tailwind-based design system implementation).
|
|
82
153
|
- **2 new integration skills:** `fec-api-integration` and `fec-motion-interaction`.
|
|
83
154
|
- **Example prompts library:** added `docs/example-prompts.md` and `docs/zh-CN/example-prompts.md` with scenario-based prompt catalogs covering skills, agents, commands, design workflows, testing, maintenance, and runtime setup; linked from all README variants.
|
|
84
155
|
- **UI design system generator:** added `design-system.mjs` generator with product rules, style archetypes, UX quality and Stack UI rules data packages; supports `--persist` and `--page` flags to write `MASTER.md` and page overrides.
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -8,6 +8,76 @@
|
|
|
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
|
+
|
|
45
|
+
## [2.7.0] - 2026-06-10
|
|
46
|
+
|
|
47
|
+
### 新增
|
|
48
|
+
|
|
49
|
+
- **`fec-drawio-studio` 技能**:可编辑 draw.io / diagrams.net 技术图工作流,涵盖官方 shape 查询、品牌符号、Graphviz 自动布局、多语言代码结构映射(TS / JS / Go / Python / Rust)、校验、导出兜底,并支持 `XML / Mermaid / CSV` URL 交付(`diagram-url --create`),可使用自托管 `baseUrl`、lightbox、暗色主题与 Windows `.url` 快捷方式。
|
|
50
|
+
- **`fec-image-generation` 技能**:覆盖示意图、图表、海报、UI mockup、信息图与图像编辑流程,并提供 `scripts/png-qa.mjs` 进行有界自修复的 PNG 视觉 QA(已纳入 `typecheck:skill-scripts` 校验范围)。
|
|
51
|
+
- **`fec-backend-requirements-handoff` 技能**:前端→后端需求交接,描述 UI 数据需求、用户操作、状态、权限、业务规则、不确定点和需要后端澄清的问题,不规定实现方式。
|
|
52
|
+
- **`fec-web-video-presentation` 技能**:将文章、口播稿、课程和 demo 转为可录屏的 16:9 步进式网页演示,包含精简参考文档、starter theme 数据和跨平台 Vite/React 脚手架 helper。
|
|
53
|
+
- **参考文档模块化拆分**:将多个技能的单体参考文档拆分为聚焦模块——`fec-e2e-testing`(e2e-ci-reporting / e2e-special-scenarios / e2e-visual-regression)、`fec-legacy-to-modern-migration`(migration-execution-checklist / migration-strategy-and-mapping)、`fec-performance-optimization`(framework-performance-patterns)、`fec-react-project-standard`(react-project-structure / react-runtime-patterns / react-quality-patterns / react-performance-patterns)、`fec-vue3-project-standard`(vue3-project-structure / vue3-composables-routing / vue3-state-api-quality / vue3-performance-patterns);各 `SKILL.md` 同步指向新的聚焦参考。
|
|
54
|
+
- **新技能的安装覆盖**:新增 `tests/install/image-generation-skill.test.ts`、`tests/install/drawio-studio-skill.test.ts`,并扩展 `tests/install/ui-design-intelligence.test.ts`(designRead、designDials、按页面意图拨盘行为)和 `tests/install/end-to-end.test.ts`(新技能 id、taxonomy、relations)。
|
|
55
|
+
|
|
56
|
+
### 变更
|
|
57
|
+
|
|
58
|
+
- **BREAKING — `fec-typescript-type-safety` 重命名为 `fec-typescript-project-standard`**:技能目录、id 与 metadata 条目已统一重命名;原 type-safety 内容作为 `references/type-safety.md` 收纳到新技能下,并新增顶层 `SKILL.md` 覆盖 TypeScript 项目规范(配置、对外 API 类型、声明文件、DTO、泛型)。`agents/fec-typescript-reviewer.md`、`skills/metadata.json`、`skills/relations.json` 中的引用已同步更新。**迁移指引**:将所有 `fec-typescript-type-safety` 引用(agent / skill frontmatter、`relations.json`、评测样例、自定义文档)替换为 `fec-typescript-project-standard`。
|
|
59
|
+
- **Skill 分类 — `project-standard` 类别落地**:2.6.0 已在 metadata 中声明 `project-standard` 分类,本版本正式将重命名后的 TypeScript 技能归入该类,并同步各语言 README 技能表。原有 7 个分类保持不变。
|
|
60
|
+
- **技能数量**:41 → 45,已同步到各语言 README(en / zh-CN / zh-TW / ja-JP / ko-KR)、`skills/metadata.json`、`.claude-plugin/marketplace.json` 描述与 `skills/eval_queries.json` 触发评测样例。README 文案、项目结构文档、示例提示表对每个能力条目按类型(skill / agent / cmd)重新打标。
|
|
61
|
+
- **`fec-ui-design` 增强**:新增产品语境读取、设计拨盘(`visualTension`、`motionIntensity`、`informationDensity`、`mediaAuthenticity`、`contentPersuasion`)、反通用化 UI 引导与视觉参考策略;扩展 `design-system.mjs` 脚本、`style-archetypes.json`、`ux-quality-rules.json`、`design-intelligence.md` 与 `pre-delivery-checklist.md` 数据;同步更新多语言 README 与项目结构文档。
|
|
62
|
+
- **`fec-motion-interaction` 增强**:新增 context-aware motion intensity 引导,与 `fec-ui-design` 设计拨盘对齐。
|
|
63
|
+
- **`fec-implement-from-design` 增强**:在原有 Figma / Sketch / MasterGo / Pixso / 墨刀 / 摹客 基础上,新增 screenshot / section-level 视觉参考输入。
|
|
64
|
+
- **`fec-drawio-studio` lint 强化**:`diagram-lint` 禁止 XML 注释、未转义 `&` 与尖括号、自闭合边单元格、缺失根 / 图层单元格,并对顶点标签内未带 `html=1` 样式的 HTML 内容发出警告。安装测试覆盖 `diagram-url` 与 `diagram-lint`。
|
|
65
|
+
- **`fec-legacy-to-modern-migration`、`fec-tailwind-design-system`、`fec-responsive-layout`**:补充 Playwright 等效的验证指引,要求迁移与视觉敏感类任务构建前后行为清单并按风险选择合适的验证层(Playwright / 视觉 diff / typecheck / 单测)。
|
|
66
|
+
- **Shared rules 精简**:`templates/shared/rules/fec-*.md` 收敛为项目常驻的硬约束;UI 设计、Tailwind 设计系统、响应式布局、TypeScript 建模、错误处理框架内部细节、渲染模式等产品化内容转由对应技能承载;`fec-i18n.md`、`fec-responsive-design.md`、`fec-typescript.md`、`fec-state-management.md`、`fec-design-system.md`、`fec-rendering-patterns.md`、`fec-error-handling.md`、`fec-ci-cd.md`、`fec-refactoring.md` 同步精简。
|
|
67
|
+
- **多语言 README 同步**:在 5 个语言版本中补齐 `fec-drawio-studio` 的「XML/Mermaid/CSV URL 交付」描述与 `fec-ui-design` 的设计拨盘表述;将已移除的 `/fec-build-fix` 斜杠命令与 `fec-build-fixer` agent 引用替换为 `/fec-debug` 与 `fec-debugger`;`docs/example-prompts.md` 及其 zh-CN 镜像已覆盖全部 45 个技能。
|
|
68
|
+
- **Marketplace 元数据**:`marketplace.json` 描述与 `package.json` keywords 同步反映 45 个技能面,并按仓库 prettier 配置重新缩进。
|
|
69
|
+
- **`fec-doc-sync` 范围**:继续保持对 env 说明、脚本、API / 路由说明与部署事实的覆盖;示例提示、`/fec-doc-sync` 命令文档与 `skills/metadata.json` 已对齐。
|
|
70
|
+
|
|
71
|
+
### 移除
|
|
72
|
+
|
|
73
|
+
- **`fec-typescript-type-safety` 技能目录**:原目录已移除;其内容迁移至 `fec-typescript-project-standard` 的 `references/type-safety.md`。如自定义规则、agent、skill 引用了旧 id,请同步更新。
|
|
74
|
+
|
|
75
|
+
### Chore
|
|
76
|
+
|
|
77
|
+
- **JSON 元数据重排**:`marketplace.json` 与 `skills/metadata.json` 缩进与末尾换行风格统一。
|
|
78
|
+
- **项目结构文档**:`docs/project-structure.md` 及其 `zh-CN` 镜像同步列举新技能与重组后的参考模块。
|
|
79
|
+
- **安装测试覆盖**:新增 `tests/install/image-generation-skill.test.ts`、`tests/install/drawio-studio-skill.test.ts`;现有 end-to-end 与 metadata-consistency 测试同步更新以断言新技能 id、taxonomy 与 relations。
|
|
80
|
+
- **技能脚本类型检查**:`typecheck:skill-scripts` 同时覆盖 `skills/fec-image-generation/scripts/png-qa.mjs`。
|
|
11
81
|
|
|
12
82
|
|
|
13
83
|
## [2.6.0] - 2026-06-07
|
|
@@ -78,7 +148,7 @@
|
|
|
78
148
|
### 新增
|
|
79
149
|
|
|
80
150
|
- **调试工作流**:新增 `/fec-debug` 斜杠命令(按类型自动路由)、`fec-debugger` agent(复杂诊断场景)和 `fec-debug-framework` skill(5 步诊断方法论)。
|
|
81
|
-
- **6 个新技能**:`fec-performance-optimization`(Core Web Vitals、内存泄漏、性能预算)、`fec-source-driven-development`(基于官方文档验证的证据驱动决策)、`fec-state-management`(状态架构模式)、`fec-typescript-
|
|
151
|
+
- **6 个新技能**:`fec-performance-optimization`(Core Web Vitals、内存泄漏、性能预算)、`fec-source-driven-development`(基于官方文档验证的证据驱动决策)、`fec-state-management`(状态架构模式)、`fec-typescript-project-standard`(TypeScript 项目规范与类型安全)、`fec-dependency-upgrade`(依赖升级规划)、`fec-responsive-layout`(响应式布局策略)和 `fec-tailwind-design-system`(基于 Tailwind 的设计系统实现)。
|
|
82
152
|
- **2 个新集成技能**:`fec-api-integration` 和 `fec-motion-interaction`。
|
|
83
153
|
- **示例提示库**:新增 `docs/example-prompts.md` 和 `docs/zh-CN/example-prompts.md`,涵盖技能、Agent、命令、设计工作流、测试、维护和运行时配置等场景化提示目录;已在所有 README 变体中添加链接。
|
|
84
154
|
- **UI 设计系统生成器**:新增 `design-system.mjs` 生成器,包含产品规则、风格原型、UX 质量和 Stack UI 规则数据包;支持 `--persist` 和 `--page` 标志生成 `MASTER.md` 和页面覆盖。
|
package/README.md
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
|
|
33
33
|
Per-runtime paths and caveats live in [`docs/runtimes/`](docs/runtimes/).
|
|
34
34
|
|
|
35
|
-
It bundles **13 specialized agents**, **
|
|
35
|
+
It bundles **13 specialized agents**, **45 auto-activated skills**, **8 slash commands**, **5 event-driven hooks**, **MCP integrations** for 6 design-tool endpoints, and a complete **rules library** into a single installable package. Run one command, and every AI session on your team writes React, Vue, Next.js, or Nuxt the same way — typed, accessible, secure, and consistent.
|
|
36
36
|
|
|
37
37
|
---
|
|
38
38
|
|
|
@@ -40,7 +40,7 @@ It bundles **13 specialized agents**, **41 auto-activated skills**, **8 slash co
|
|
|
40
40
|
|
|
41
41
|
| Problem | What frontend-craft does |
|
|
42
42
|
| -------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
|
|
43
|
-
| AI assistants write inconsistent, untyped, or insecure frontend code | **
|
|
43
|
+
| AI assistants write inconsistent, untyped, or insecure frontend code | **45 skills** encode team standards — auto-activated when the assistant touches matching files |
|
|
44
44
|
| Each AI tool has its own plugin format | **One CLI** installs the same rules, agents, and hooks into 15 runtimes |
|
|
45
45
|
| Design-to-code handoff is lossy | **MCP integrations** bring in richer context from Figma, Figma Desktop, Sketch, MasterGo, Pixso, and 墨刀 |
|
|
46
46
|
| Reviews are ad-hoc and shallow | **13 agents** produce graded reports: code, security, a11y, performance, TS, UI fidelity |
|
|
@@ -187,6 +187,7 @@ The skills below are grouped by use case so you can quickly find project standar
|
|
|
187
187
|
| `fec-nuxt-project-standard` | Nuxt 3 SSR/SSG, composables, data fetching, middleware |
|
|
188
188
|
| `fec-vite-project-standard` | Vite config, env safety, HMR, dev proxy, build optimization |
|
|
189
189
|
| `fec-monorepo-project-standard` | pnpm workspace, Turborepo, Nx structure and task orchestration |
|
|
190
|
+
| `fec-typescript-project-standard` | TypeScript config, public API types, declarations, DTOs, generics |
|
|
190
191
|
|
|
191
192
|
**Implementation capabilities** — activated when building specific frontend behavior:
|
|
192
193
|
|
|
@@ -219,7 +220,6 @@ The skills below are grouped by use case so you can quickly find project standar
|
|
|
219
220
|
| ------------------------------ | ----------------------------------------------------------------------------- |
|
|
220
221
|
| `fec-code-review` | Architecture, types, rendering, styles, a11y review |
|
|
221
222
|
| `fec-debug-framework` | Systematic diagnostics for build, runtime, UI, and API/data failures |
|
|
222
|
-
| `fec-typescript-type-safety` | Type contracts, DTO mapping, type guards, generics, type-level checks |
|
|
223
223
|
| `fec-security-review` | XSS, CSRF, sensitive data leakage, input validation |
|
|
224
224
|
| `fec-accessibility-check` | WCAG 2.2, keyboard, focus, touch, and screen-reader behavior |
|
|
225
225
|
| `fec-dependency-upgrade` | Dependency upgrades, lockfile review, CVE remediation, migration verification |
|
|
@@ -231,11 +231,14 @@ The skills below are grouped by use case so you can quickly find project standar
|
|
|
231
231
|
|
|
232
232
|
| Skill | Scope |
|
|
233
233
|
| ----------------------------- | ----------------------------------------------------------------------------- |
|
|
234
|
-
| `fec-ui-design` | UI direction,
|
|
234
|
+
| `fec-ui-design` | Product-context UI direction, anti-generic design dials, media strategy, states, visual QA |
|
|
235
|
+
| `fec-image-generation` | System blueprints, process workflows, interactive live diagrams, HTML/SVG/PNG exports, image generation/editing, visual assets, and PNG QA |
|
|
236
|
+
| `fec-drawio-studio` | Editable draw.io / diagrams.net technical diagrams, XML/Mermaid/CSV URL handoff, shape lookup, auto-layout, code maps |
|
|
237
|
+
| `fec-web-video-presentation` | Recordable 16:9 step-driven web presentations from articles, scripts, lessons, and demos |
|
|
235
238
|
| `fec-tailwind-design-system` | Tailwind tokens, theme extension, variants, class governance, dark mode |
|
|
236
239
|
| `fec-responsive-layout` | Mobile-first layouts, container queries, data-dense responsive UI |
|
|
237
|
-
| `fec-motion-interaction` |
|
|
238
|
-
| `fec-implement-from-design` | Build UI from
|
|
240
|
+
| `fec-motion-interaction` | Context-aware motion intensity, page transitions, scroll animation, reduced motion |
|
|
241
|
+
| `fec-implement-from-design` | Build UI from design tools, screenshots, or section-level visual references |
|
|
239
242
|
| `fec-storybook-component-doc` | Storybook component docs, design-system presentation, isolated state previews |
|
|
240
243
|
|
|
241
244
|
**Legacy migration** — activated during modernization work:
|
|
@@ -255,6 +258,7 @@ The skills below are grouped by use case so you can quickly find project standar
|
|
|
255
258
|
|
|
256
259
|
| Skill | Scope |
|
|
257
260
|
| ------------------------------- | -------------------------------------------------------------------------------------- |
|
|
261
|
+
| `fec-backend-requirements-handoff` | Frontend-to-backend handoff for UI data needs, actions, states, rules, and questions |
|
|
258
262
|
| `fec-doc-sync` | Keep frontend docs in sync with code, config, scripts, routes, APIs, env, and deploy facts |
|
|
259
263
|
| `fec-source-driven-development` | Verify version-sensitive frontend decisions against project facts and official sources |
|
|
260
264
|
|
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,40 +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-
|
|
162
|
-
| `fec-
|
|
163
|
-
| `fec-
|
|
164
|
-
| `fec-
|
|
165
|
-
| `fec-
|
|
166
|
-
| `fec-
|
|
167
|
-
| `fec-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
|
172
|
-
|
|
|
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 |
|
|
173
225
|
|
|
174
226
|
### Using skills (scenarios & examples)
|
|
175
227
|
|
|
@@ -213,17 +265,23 @@ This section is a quick OpenClaw-oriented sample, not the full prompt catalog. F
|
|
|
213
265
|
| Build an interactive 3D scene | `fec-canvas-threejs` | “Add a Three.js product viewer to `src/components/ProductViewer.tsx` with performance and fallback considerations.” |
|
|
214
266
|
| Add SVG motion to a landing page | `fec-svg-animation` | “Animate the hero SVG with Framer Motion, and ensure reduced-motion users get a static fallback.” |
|
|
215
267
|
| Design and polish UI | `fec-ui-design` | “Review `src/components/Dashboard.tsx` for UI direction, visual identity, spacing, states, and motion polish.” |
|
|
268
|
+
| Build a recordable web presentation | `fec-web-video-presentation` | “Turn this product demo script into a 16:9 browser presentation with script beats, chapter steps, theme tokens, and recording guidance.” |
|
|
216
269
|
| Optimize Vite build config | `fec-vite-project-standard` | “Audit our `vite.config.ts` for HMR, dev proxy, env variable safety, and library mode best practices.” |
|
|
217
270
|
|
|
218
271
|
**Slash commands (markdown under `commands/`)**
|
|
219
272
|
|
|
220
|
-
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
|
|
221
|
-
|
|
222
|
-
| Command doc
|
|
223
|
-
|
|
|
224
|
-
| `fec-init.md`
|
|
225
|
-
| `fec-review.md`
|
|
226
|
-
| `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.” |
|
|
227
285
|
|
|
228
286
|
### Hooks
|
|
229
287
|
|