@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
package/docs/example-prompts.md
CHANGED
|
@@ -14,7 +14,7 @@ Each example follows the same shape:
|
|
|
14
14
|
|
|
15
15
|
| Scenario | Prompt | Best for | Expected output | Notes |
|
|
16
16
|
| ------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------- | -------------------------------------------------------------------------------- | ---------------------------------------- |
|
|
17
|
-
| Initialize project rules | "Initialize this repository with the frontend-craft project templates for my current runtime. Ask before overwriting existing files." | `/fec-init` | Runtime config, rules, and project guidance installed or a clear overwrite plan. | Works best from the target project root. |
|
|
17
|
+
| Initialize project rules | "Initialize this repository with the frontend-craft project templates for my current runtime. Ask before overwriting existing files." | cmd: `/fec-init` | Runtime config, rules, and project guidance installed or a clear overwrite plan. | Works best from the target project root. |
|
|
18
18
|
| Pick a runtime install path | "I want to use frontend-craft with Codex and Claude Code on this machine. Explain whether I should install locally or globally, then show the exact commands." | runtime docs | A short recommendation and install commands. | Mention team/shared vs personal use. |
|
|
19
19
|
| Learn how to ask | "Show me five frontend-craft prompts for reviewing, building, testing, debugging, and design-to-code work in this repo." | docs guidance | A short prompt set tailored to the detected project. | Good first prompt after install. |
|
|
20
20
|
| Confirm available capabilities | "Inspect this repo and summarize which frontend-craft commands, skills, agents, hooks, and MCP templates are available." | runtime docs | Capability summary grounded in installed files. | Useful after upgrades. |
|
|
@@ -23,90 +23,105 @@ Each example follows the same shape:
|
|
|
23
23
|
|
|
24
24
|
| Scenario | Prompt | Best for | Expected output | Notes |
|
|
25
25
|
| --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
|
|
26
|
-
| Review recent changes | "Review my recent changes before merge. Focus on architecture, type safety, rendering behavior, styles, accessibility, and missing tests. Put findings first." | `fec-code-review
|
|
27
|
-
| PR readiness review | "Review `src/features/checkout/` as if this is a PR. Call out blockers, risky assumptions, and what must be tested before merge." | `fec-code-reviewer` | Merge readiness assessment and structured report. | Include PR link if the runtime can access it. |
|
|
28
|
-
| TypeScript专项 review | "Audit the changed `.ts` and `.tsx` files for unsafe types, async bugs, over-wide interfaces, stale derived state, and non-idiomatic React/TypeScript." | `fec-typescript-reviewer` | TypeScript-focused findings, usually report-only. | Best when JS/TS changes dominate. |
|
|
29
|
-
| Type contract review | "Review the API DTOs, component props, generic helpers, and type guards in `src/features/billing/` for unsound assertions, over-wide types, and missing runtime narrowing." | `fec-typescript-
|
|
30
|
-
| Security review | "Audit `src/lib/auth.ts`, API clients, and any user HTML rendering for XSS, token leakage, unsafe storage, CSRF assumptions, and dangerous DOM APIs." | `fec-security-review
|
|
31
|
-
| Accessibility review | "Check `src/components/ConfirmDialog.tsx` for focus trapping, keyboard flow, labels, ARIA usage, screen-reader behavior, touch targets, and WCAG 2.2 AA issues." | `fec-accessibility-check` | A11y findings and implementation guidance. | Provide screenshots for visual focus issues. |
|
|
32
|
-
| Performance review | "Analyze dashboard performance with evidence: Core Web Vitals, bundle size, render hotspots, data waterfalls, memory leaks, and a realistic performance budget." | `fec-performance-optimization
|
|
33
|
-
| UI fidelity review | "Compare the implemented settings page against the supplied screenshot/design link and list layout, spacing, typography, state, and responsive mismatches." | `fec-ui-checker` | UI fidelity report with actionable fixes. | Attach screenshot or design source. |
|
|
26
|
+
| Review recent changes | "Review my recent changes before merge. Focus on architecture, type safety, rendering behavior, styles, accessibility, and missing tests. Put findings first." | skill: `fec-code-review` · agent: `fec-code-reviewer` · cmd: `/fec-review` | Severity-ordered review with file references and test gaps. | Add branch or diff range if needed. |
|
|
27
|
+
| PR readiness review | "Review `src/features/checkout/` as if this is a PR. Call out blockers, risky assumptions, and what must be tested before merge." | agent: `fec-code-reviewer` | Merge readiness assessment and structured report. | Include PR link if the runtime can access it. |
|
|
28
|
+
| TypeScript专项 review | "Audit the changed `.ts` and `.tsx` files for unsafe types, async bugs, over-wide interfaces, stale derived state, and non-idiomatic React/TypeScript." | agent: `fec-typescript-reviewer` | TypeScript-focused findings, usually report-only. | Best when JS/TS changes dominate. |
|
|
29
|
+
| Type contract review | "Review the API DTOs, component props, generic helpers, and type guards in `src/features/billing/` for unsound assertions, over-wide types, and missing runtime narrowing." | skill: `fec-typescript-project-standard` · agent: `fec-typescript-reviewer` | Type-boundary findings with safer models and type-test suggestions. | Good for SDK, design-system, or API-heavy changes. |
|
|
30
|
+
| Security review | "Audit `src/lib/auth.ts`, API clients, and any user HTML rendering for XSS, token leakage, unsafe storage, CSRF assumptions, and dangerous DOM APIs." | skill: `fec-security-review` · agent: `fec-security-reviewer` | Security findings ranked by severity with concrete fixes. | Include auth model and storage constraints. |
|
|
31
|
+
| Accessibility review | "Check `src/components/ConfirmDialog.tsx` for focus trapping, keyboard flow, labels, ARIA usage, screen-reader behavior, touch targets, and WCAG 2.2 AA issues." | skill: `fec-accessibility-check` | A11y findings and implementation guidance. | Provide screenshots for visual focus issues. |
|
|
32
|
+
| Performance review | "Analyze dashboard performance with evidence: Core Web Vitals, bundle size, render hotspots, data waterfalls, memory leaks, and a realistic performance budget." | skill: `fec-performance-optimization` · agent: `fec-performance-optimizer` | Performance report with baseline evidence, priorities, verification commands, and targeted fixes. | Include profiles, Lighthouse output, traces, or the slow user flow if available. |
|
|
33
|
+
| UI fidelity review | "Compare the implemented settings page against the supplied screenshot/design link and list layout, spacing, typography, state, and responsive mismatches." | agent: `fec-ui-checker` | UI fidelity report with actionable fixes. | Attach screenshot or design source. |
|
|
34
34
|
|
|
35
35
|
## Planning And Architecture
|
|
36
36
|
|
|
37
37
|
| Scenario | Prompt | Best for | Expected output | Notes |
|
|
38
38
|
| ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------- |
|
|
39
|
-
| Plan a feature | "Before coding, plan the account billing feature: route structure, component boundaries, data flow, state ownership, validation flow, and rollout risks." | `/fec-plan
|
|
40
|
-
| Split a complex page | "Refactor `src/pages/Dashboard.tsx` on paper first. Propose component boundaries, hooks, state ownership, and a safe step-by-step migration." | `fec-architect
|
|
41
|
-
| Test strategy | "For the checkout rewrite, map risks to static checks, unit tests, component tests, E2E, visual checks, accessibility, and security coverage." | `/fec-plan
|
|
42
|
-
| Source-driven decision | "Before changing our Next.js caching approach, verify the current project code and official docs. Summarize the version assumptions, recommended pattern, migration impact, and tests needed." | `fec-source-driven-development` | Source-backed decision summary with project facts, official references, assumptions, and verification steps. | Best for framework/library behavior that may have changed. |
|
|
43
|
-
| Legacy migration | "We have a jQuery multi-page app in `public/js/legacy/`. Create a phased plan to migrate to React + TypeScript without stopping feature work." | `fec-legacy-to-modern-migration` | Migration plan, risks, milestones, compatibility strategy. | Include release cadence and legacy constraints. |
|
|
39
|
+
| Plan a feature | "Before coding, plan the account billing feature: route structure, component boundaries, data flow, state ownership, validation flow, and rollout risks." | cmd: `/fec-plan` · agent: `fec-architect` | Architecture proposal and implementation plan. | Give acceptance criteria and constraints. |
|
|
40
|
+
| Split a complex page | "Refactor `src/pages/Dashboard.tsx` on paper first. Propose component boundaries, hooks, state ownership, and a safe step-by-step migration." | agent: `fec-architect` · skill: `fec-refactor-clean` | Refactor plan with risk controls. | Ask for no code changes if you only want planning. |
|
|
41
|
+
| Test strategy | "For the checkout rewrite, map risks to static checks, unit tests, component tests, E2E, visual checks, accessibility, and security coverage." | cmd: `/fec-plan` · skill: `fec-testing-strategy` · agent: `fec-test-planner` | Testing matrix and priority order. | Useful before a large implementation. |
|
|
42
|
+
| Source-driven decision | "Before changing our Next.js caching approach, verify the current project code and official docs. Summarize the version assumptions, recommended pattern, migration impact, and tests needed." | skill: `fec-source-driven-development` | Source-backed decision summary with project facts, official references, assumptions, and verification steps. | Best for framework/library behavior that may have changed. |
|
|
43
|
+
| Legacy migration | "We have a jQuery multi-page app in `public/js/legacy/`. Create a phased plan to migrate to React + TypeScript without stopping feature work." | skill: `fec-legacy-to-modern-migration` | Migration plan, risks, milestones, compatibility strategy. | Include release cadence and legacy constraints. |
|
|
44
44
|
|
|
45
45
|
## Implementation
|
|
46
46
|
|
|
47
47
|
| Scenario | Prompt | Best for | Expected output | Notes |
|
|
48
48
|
| ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------- |
|
|
49
|
-
| React feature | "Build a React + TypeScript user detail page that follows this repo's component, hook, route, state, and API patterns." | `fec-react-project-standard` | Code aligned with local React conventions. | Include target route and API shape. |
|
|
50
|
-
| Vue 3 feature | "Implement `Settings.vue` using Vue 3 + TypeScript conventions, Composition API, Pinia where appropriate, and existing composables." | `fec-vue3-project-standard` | Vue code matching project patterns. | Mention SSR/client-only constraints if relevant. |
|
|
51
|
-
| Next.js App Router | "Review and improve `app/(dashboard)/reports/page.tsx` for App Router data fetching, metadata, loading/error states, server/client boundaries, and actions." | `fec-nextjs-project-standard` | Next.js-specific findings or code changes. | Include route segment behavior. |
|
|
52
|
-
| Nuxt 3 page | "Build the admin reports page in Nuxt 3 with correct SSR behavior, `useFetch`/composables, middleware, and typed server routes." | `fec-nuxt-project-standard` | Nuxt implementation following conventions. | State whether route is SSR, SSG, or SPA. |
|
|
53
|
-
| Vite config | "Audit `vite.config.ts` for HMR, env variable exposure, dev proxy, build output, dependency pre-bundling, and plugin ordering." | `fec-vite-project-standard` | Vite config findings and safe edits. | Include build or dev-server symptoms. |
|
|
54
|
-
| Official-docs check | "Check whether our Vite dependency pre-bundling workaround is still needed in the installed version. Use project config and official docs before recommending removal." | `fec-source-driven-development
|
|
55
|
-
| Monorepo boundaries | "Check `apps/web` and `packages/ui` for package boundaries, workspace dependencies, build scripts, and Turborepo/Nx task graph issues." | `fec-monorepo-project-standard` | Boundary and task orchestration review. | Include package manager and workspace files. |
|
|
56
|
-
| Dependency upgrade | "Plan the Vite and Storybook upgrade in this repo: read release notes, identify breaking changes, review lockfile and peer dependency risks, and propose the validation matrix." | `fec-dependency-upgrade
|
|
57
|
-
| Server-state data | "Review `src/queries/useReports.ts`: query keys, cache lifetime, invalidation, optimistic updates, error states, and suspense/loading behavior." | `fec-data-fetching` | TanStack Query/server-state guidance or implementation. | Include API volatility and UX expectations. |
|
|
58
|
-
| State ownership | "Audit dashboard state ownership: decide what belongs in URL params, TanStack Query, local component state, browser persistence, or a global store, then propose a safe migration." | `fec-state-management` | State inventory, ownership decisions, store boundaries, and verification steps. | Useful before store refactors or removing duplicated state. |
|
|
59
|
-
|
|
|
60
|
-
|
|
|
61
|
-
|
|
|
62
|
-
|
|
|
63
|
-
|
|
|
64
|
-
|
|
|
65
|
-
|
|
|
66
|
-
|
|
|
67
|
-
|
|
|
49
|
+
| React feature | "Build a React + TypeScript user detail page that follows this repo's component, hook, route, state, and API patterns." | skill: `fec-react-project-standard` | Code aligned with local React conventions. | Include target route and API shape. |
|
|
50
|
+
| Vue 3 feature | "Implement `Settings.vue` using Vue 3 + TypeScript conventions, Composition API, Pinia where appropriate, and existing composables." | skill: `fec-vue3-project-standard` | Vue code matching project patterns. | Mention SSR/client-only constraints if relevant. |
|
|
51
|
+
| Next.js App Router | "Review and improve `app/(dashboard)/reports/page.tsx` for App Router data fetching, metadata, loading/error states, server/client boundaries, and actions." | skill: `fec-nextjs-project-standard` | Next.js-specific findings or code changes. | Include route segment behavior. |
|
|
52
|
+
| Nuxt 3 page | "Build the admin reports page in Nuxt 3 with correct SSR behavior, `useFetch`/composables, middleware, and typed server routes." | skill: `fec-nuxt-project-standard` | Nuxt implementation following conventions. | State whether route is SSR, SSG, or SPA. |
|
|
53
|
+
| Vite config | "Audit `vite.config.ts` for HMR, env variable exposure, dev proxy, build output, dependency pre-bundling, and plugin ordering." | skill: `fec-vite-project-standard` | Vite config findings and safe edits. | Include build or dev-server symptoms. |
|
|
54
|
+
| Official-docs check | "Check whether our Vite dependency pre-bundling workaround is still needed in the installed version. Use project config and official docs before recommending removal." | skill: `fec-source-driven-development` · skill: `fec-vite-project-standard` | Version-aware recommendation with source notes and rollback/verification plan. | Useful before removing compatibility code. |
|
|
55
|
+
| Monorepo boundaries | "Check `apps/web` and `packages/ui` for package boundaries, workspace dependencies, build scripts, and Turborepo/Nx task graph issues." | skill: `fec-monorepo-project-standard` | Boundary and task orchestration review. | Include package manager and workspace files. |
|
|
56
|
+
| Dependency upgrade | "Plan the Vite and Storybook upgrade in this repo: read release notes, identify breaking changes, review lockfile and peer dependency risks, and propose the validation matrix." | skill: `fec-dependency-upgrade` · skill: `fec-source-driven-development` | Upgrade batches, source-backed risks, affected areas, verification commands, and rollback notes. | Keep major upgrades separate from unrelated refactors. |
|
|
57
|
+
| Server-state data | "Review `src/queries/useReports.ts`: query keys, cache lifetime, invalidation, optimistic updates, error states, and suspense/loading behavior." | skill: `fec-data-fetching` | TanStack Query/server-state guidance or implementation. | Include API volatility and UX expectations. |
|
|
58
|
+
| State ownership | "Audit dashboard state ownership: decide what belongs in URL params, TanStack Query, local component state, browser persistence, or a global store, then propose a safe migration." | skill: `fec-state-management` | State inventory, ownership decisions, store boundaries, and verification steps. | Useful before store refactors or removing duplicated state. |
|
|
59
|
+
| Backend handoff | "Write a frontend-to-backend requirements handoff for the order detail page: data to display, user actions, UI states, permission rules, uncertainties, and questions for backend." | skill: `fec-backend-requirements-handoff` | Backend-facing requirements document focused on UI needs and open questions. | Use before API contract design when backend owns implementation. |
|
|
60
|
+
| API integration | "Design a typed API integration layer for checkout: client boundaries, error mapping, auth refresh, upload strategy, and whether order updates should use polling, SSE, or WebSocket." | skill: `fec-api-integration` | API client strategy or implementation with failure states and integration checks. | Include backend ownership, auth model, and endpoint contracts. |
|
|
61
|
+
| Complex form | "Build a multi-step registration form with React Hook Form + Zod, file upload, conditional fields, async validation, and accessible errors." | skill: `fec-form-handling` | Typed form implementation and tests if requested. | Include final payload contract. |
|
|
62
|
+
| Route protection | "Add role-based protection for `/admin`: redirect anonymous users, deny unauthorized roles, preserve return URL, and avoid flashing protected content." | skill: `fec-route-protection` | Auth guard/middleware implementation. | Explain auth source and roles. |
|
|
63
|
+
| Browser storage | "Choose and implement safe client persistence for draft checkout data. Compare localStorage, sessionStorage, IndexedDB, and cookies for this use case." | skill: `fec-browser-storage` | Storage recommendation and implementation. | Mention sensitive fields and retention rules. |
|
|
64
|
+
| Large list | "`ProductList` renders 20,000 rows and scrolls poorly. Add virtualization and keep keyboard navigation and dynamic row heights working." | skill: `fec-list-virtualization` | Virtualized list implementation and performance notes. | Provide UI library constraints. |
|
|
65
|
+
| PWA | "Turn this app into an installable PWA with manifest, icons, service worker, offline fallback, cache strategy, and update prompt." | skill: `fec-pwa-implementation` | PWA implementation and validation steps. | State whether auth/payment routes must be network-only. |
|
|
66
|
+
| Web Worker | "Move image processing off the main thread using a Web Worker and Comlink, with progress updates and cancellation." | skill: `fec-web-workers` | Worker integration and typed messaging. | Mention browser support and file size limits. |
|
|
67
|
+
| Canvas/Three.js | "Add a WebGL shader background or Three.js product viewer with responsive sizing, WebGL2/shader error checks, accessible fallback, performance safeguards, and verification that the canvas renders." | skill: `fec-canvas-threejs` | 3D/canvas/shader implementation and visual verification. | Include assets, shader requirements, and interaction constraints. |
|
|
68
|
+
| SVG animation | "Add reduced-motion-aware SVG micro-interactions to the hero illustration using the animation library already used in the app." | skill: `fec-svg-animation` | SVG animation with fallback behavior. | Include motion constraints and target browsers. |
|
|
69
|
+
| Cross-skill absorption | "Absorb the testing strategy from this reference repository into our project: keep what fits, redesign in our conventions, and write a 1-page plan that names reusable patterns and a migration path." | skill: `fec-alchemy` | Reusable pattern inventory, redesign proposal, and migration path. | Provide the reference repo URL or local path; note stack and project constraints. |
|
|
70
|
+
| Editable tech diagram | "Generate an editable draw.io architecture diagram for the auth flow: emit a `.drawio` source, run the lint, produce a viewer URL, and export a PNG. Use existing shape and brand symbol lookups." | skill: `fec-drawio-studio` | `.drawio` source, lint report, viewer/editor URL, and PNG export. | If the data is data-residency sensitive, use a self-hosted base URL or local CLI export. |
|
|
68
71
|
|
|
69
72
|
## UI And Design
|
|
70
73
|
|
|
71
74
|
| Scenario | Prompt | Best for | Expected output | Notes |
|
|
72
75
|
| -------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------- | ----------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
|
|
73
|
-
| Design-to-code | "Implement the UI from Figma node `123:456`. Use existing design tokens and components, match spacing and responsive states, and document assumptions." | `fec-implement-from-design
|
|
74
|
-
| Screenshot-to-polish | "Polish this dashboard UI so it feels like a production SaaS tool: density, hierarchy, empty/loading/error states, responsive layout, and interaction states." | `fec-ui-design` | UI improvements and visual QA notes. | Provide screenshot or local URL if possible. |
|
|
75
|
-
|
|
|
76
|
-
|
|
|
77
|
-
|
|
|
78
|
-
|
|
|
79
|
-
|
|
|
80
|
-
|
|
|
81
|
-
|
|
|
82
|
-
|
|
|
83
|
-
|
|
|
84
|
-
|
|
|
85
|
-
|
|
|
86
|
-
|
|
|
87
|
-
|
|
|
88
|
-
|
|
|
89
|
-
|
|
|
76
|
+
| Design-to-code | "Implement the UI from Figma node `123:456`. Use existing design tokens and components, match spacing and responsive states, and document assumptions." | skill: `fec-implement-from-design` · agent: `fec-figma-implementer` | UI code plus design implementation notes/report. | Works best with MCP credentials configured. |
|
|
77
|
+
| Screenshot-to-polish | "Polish this dashboard UI so it feels like a production SaaS tool: density, hierarchy, empty/loading/error states, responsive layout, and interaction states." | skill: `fec-ui-design` | UI improvements and visual QA notes. | Provide screenshot or local URL if possible. |
|
|
78
|
+
| Image and diagram generation | "Generate an editable architecture diagram and PNG, then run PNG QA for overlap, clipped labels, and stacked connectors; repair the source for up to two rounds." | skill: `fec-image-generation` · skill: `fec-ui-design` | Editable source, exported PNG, QA report, and repair notes. | Use manifest coordinates when the renderer can expose layout boxes. |
|
|
79
|
+
| System blueprint diagram | "Create a presentation-ready system blueprint for our checkout platform. Keep the JSON and generated HTML as source, then export SVG and PNG delivery artifacts." | skill: `fec-image-generation` | JSON/HTML source, exported SVG/PNG, and source/asset handoff notes. | Best for architecture, deployment topology, agent runtime, memory, and before/after system maps. |
|
|
80
|
+
| Process workflow diagram | "Turn this approval and automation flow into a readable process workflow diagram with lanes, ordered steps, decisions, exception paths, loop-backs, and waypoint-routed edges." | skill: `fec-image-generation` | Workflow JSON/HTML source, exported image, and notes about lanes, nodes, edges, and waypoints. | Use when ownership and branching matter more than exact infrastructure topology. |
|
|
81
|
+
| Interactive live diagram | "Start a local interactive diagram session for the onboarding flow. Add nodes and edges incrementally, let me drag, relabel, remove, zoom, and then export the final deliverables." | skill: `fec-image-generation` | Live browser preview plus saved JSON/SVG/PNG or a handoff to HTML/draw.io source. | Good for collaborative sketching; switch to HTML technical diagrams or draw.io for long-term source ownership. |
|
|
82
|
+
| Web video presentation | "Turn this article into a recordable 16:9 web video presentation: create script and outline, scaffold a Vite/React stage, and define chapter steps for screen recording." | skill: `fec-web-video-presentation` · skill: `fec-ui-design` | Script/outline, step-driven presentation scaffold, theme notes, and recording checklist. | Best for talks, lessons, product demos, and narrated explainers. |
|
|
83
|
+
| Responsive layout | "Fix this admin table for 375px, 768px, and 1440px: decide mobile column priority, container-query behavior, touch targets, safe-area handling, and overflow rules." | skill: `fec-responsive-layout` · agent: `fec-ui-checker` | Responsive strategy, layout changes, viewport checks, and remaining risks. | Include screenshots or a local route when possible. |
|
|
84
|
+
| Tailwind design system | "Refactor these Tailwind components into semantic tokens and variants: theme extension, dark mode, class composition, dynamic class safety, and Storybook state coverage." | skill: `fec-tailwind-design-system` · skill: `fec-ui-design` | Token/variant plan or implementation with class governance and dark-mode checks. | Useful before a shared UI package grows too large. |
|
|
85
|
+
| Product-specific direction | "Create a product-specific design direction for a healthcare analytics dashboard: primary user tasks, visual anchor, information density, chart language, color roles, typography mood, and anti-patterns to avoid." | skill: `fec-ui-design` · agent: `fec-performance-optimizer` | Design direction, dashboard structure, chart UX guidance, and QA focus. | Include audience, data types, and whether data is real-time. |
|
|
86
|
+
| Design system generation | "Generate a design system direction for a premium booking app. Define semantic color roles, type scale, spacing/radius rules, component tone, motion principles, and what should be intentionally avoided." | skill: `fec-ui-design` · agent: `fec-design-token-mapper` | Product-aware design system proposal and token guidance. | Mention product category, brand tone, and target stack. |
|
|
87
|
+
| Master/Page overrides | "Before polishing checkout, read `design-system/Acme/MASTER.md` and check for `design-system/Acme/pages/checkout.md`. Apply page overrides only where they differ from the master system." | skill: `fec-ui-design` | Page-level polish aligned to persistent design-system rules. | Use when a project keeps design decisions in repo docs. |
|
|
88
|
+
| Landing page direction | "Design a landing page direction for a B2B developer tool: first-screen hierarchy, proof points, product evidence, CTA placement, responsive sections, and a distinctive visual anchor that is not a generic gradient hero." | skill: `fec-ui-design` | Landing structure, visual hierarchy, conversion flow, and anti-generic guidance. | Include offer, audience, and conversion goal. |
|
|
89
|
+
| Analytics dashboard UX | "Improve this operations dashboard for scanning under pressure: table/chart balance, real-time status, alert priority, drill-down paths, empty/error states, and responsive density." | skill: `fec-ui-design` · skill: `fec-accessibility-check` | Dashboard UX recommendations or UI changes with state coverage. | Include screenshots, sample data, or the local route. |
|
|
90
|
+
| Mobile commerce UI | "Design a mobile e-commerce product browsing flow with touch-safe controls, bottom navigation, filter/sort ergonomics, product media, loading/empty states, and checkout entry points." | skill: `fec-ui-design` · skill: `fec-accessibility-check` | Mobile UI direction, interaction states, and responsive constraints. | State whether this is mobile web or native-like web UI. |
|
|
91
|
+
| Fintech interface polish | "Polish this banking interface so it feels trustworthy and calm: balance visibility, transaction hierarchy, risk states, contrast, focus behavior, and restrained motion." | skill: `fec-ui-design` · skill: `fec-security-review` | Fintech-appropriate UI polish and risk-state guidance. | Include compliance or masking requirements if any. |
|
|
92
|
+
| Portfolio visual identity | "Create a distinctive portfolio direction for a designer/developer: project storytelling, navigation rhythm, case-study layout, media treatment, typography personality, and reduced-motion fallback." | skill: `fec-ui-design` · skill: `fec-svg-animation` | Portfolio UI direction and interaction guidance. | Provide personal brand tone and example projects. |
|
|
93
|
+
| Interaction motion | "Plan the motion system for this product page: Framer Motion vs GSAP choices, page transitions, scroll animation, reduced-motion fallback, lazy loading, and performance budgets." | skill: `fec-motion-interaction` · skill: `fec-ui-design` | Motion direction, tool choices, accessibility fallback, and verification checklist. | Include brand tone, device constraints, and whether motion is decorative or functional. |
|
|
94
|
+
| Anti-generic UI review | "Review this page for generic AI-app patterns: overused purple gradients, stacked cards, vague hero copy, weak product evidence, one-note color, and missing interaction states." | skill: `fec-ui-design` | Anti-pattern findings and concrete replacement direction. | Works well with a screenshot or local URL. |
|
|
95
|
+
| Pre-delivery UI QA | "Run a pre-delivery UI QA pass across 375px, 768px, and 1440px: text overflow, focus rings, hover/active/disabled states, reduced motion, loading/empty/error states, and visual consistency." | skill: `fec-ui-design` · skill: `fec-accessibility-check` | UI QA checklist, findings, and fix recommendations. | Best near the end of implementation. |
|
|
96
|
+
| Design token mapping | "Map Figma variables for color, type, spacing, radius, and shadow into this repo's design token structure without breaking existing components." | agent: `fec-design-token-mapper` | Token mapping proposal or code changes. | Include token naming rules. |
|
|
97
|
+
| Storybook docs | "Set up Storybook docs for `packages/ui/Button` and `Dialog`: MDX, states, accessibility addon, interaction tests, and visual baselines." | skill: `fec-storybook-component-doc` | Storybook stories/docs and test guidance. | Include current Storybook status. |
|
|
90
98
|
|
|
91
99
|
## Testing
|
|
92
100
|
|
|
93
101
|
| Scenario | Prompt | Best for | Expected output | Notes |
|
|
94
102
|
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------- | ----------------------------------------------- | --------------------------------------------------- |
|
|
95
|
-
| TDD implementation | "Use TDD to add coupon validation to checkout: write failing tests first, implement the minimum code, refactor, and keep the test list visible." | `/fec-tdd
|
|
96
|
-
| Component tests | "Write React Testing Library tests for `UserCard`: rendering, loading/error states, user-event interactions, accessibility assertions, and regression cases." | `fec-component-testing` | Component tests following local conventions. | Vue projects should ask for Vue Test Utils instead. |
|
|
97
|
-
| E2E smoke test | "Add Playwright smoke tests for login and checkout. Use Page Objects, stable selectors, CI-friendly retries, and trace artifacts on failure." | `fec-e2e-testing
|
|
98
|
-
| Flaky E2E diagnosis | "The checkout E2E test is flaky in CI. Analyze likely timing, network, storage, and selector issues, then stabilize it without hiding failures." | `fec-e2e-testing
|
|
103
|
+
| TDD implementation | "Use TDD to add coupon validation to checkout: write failing tests first, implement the minimum code, refactor, and keep the test list visible." | cmd: `/fec-tdd` · skill: `fec-tdd-workflow` | Red-green-refactor loop with tests and code. | Best for contained behavior changes. |
|
|
104
|
+
| Component tests | "Write React Testing Library tests for `UserCard`: rendering, loading/error states, user-event interactions, accessibility assertions, and regression cases." | skill: `fec-component-testing` | Component tests following local conventions. | Vue projects should ask for Vue Test Utils instead. |
|
|
105
|
+
| E2E smoke test | "Add Playwright smoke tests for login and checkout. Use Page Objects, stable selectors, CI-friendly retries, and trace artifacts on failure." | skill: `fec-e2e-testing` · agent: `fec-e2e-runner` | E2E tests, runner guidance, and summary report. | Include test account or mock strategy. |
|
|
106
|
+
| Flaky E2E diagnosis | "The checkout E2E test is flaky in CI. Analyze likely timing, network, storage, and selector issues, then stabilize it without hiding failures." | skill: `fec-e2e-testing` · agent: `fec-e2e-runner` | Root-cause analysis and targeted fix. | Include CI logs or traces. |
|
|
107
|
+
|
|
108
|
+
## Debugging
|
|
109
|
+
|
|
110
|
+
| Scenario | Prompt | Best for | Expected output | Notes |
|
|
111
|
+
| -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------- | ---------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
|
|
112
|
+
| Triage a white screen | "Use the unified frontend debug framework to triage this white screen in `src/app/router.tsx`. Classify the failure type, run the matching diagnostic step, then propose the smallest fix and regression test." | skill: `fec-debug-framework` | Classification, diagnostic output, minimal patch, and regression test. | Paste failing logs, repro path, and recent changes; mention runtime/build/network context. |
|
|
113
|
+
| Triage a build error | "`pnpm test` is failing in CI with module resolution errors. Walk through the debug framework's build-failure branch and propose the smallest fix." | skill: `fec-debug-framework` · cmd: `/fec-debug` | Failure type, diagnostic steps, and minimal patch. | Paste the exact failing command and stack trace. |
|
|
99
114
|
|
|
100
115
|
## Maintenance
|
|
101
116
|
|
|
102
117
|
| Scenario | Prompt | Best for | Expected output | Notes |
|
|
103
118
|
| --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ----------------------------------------------- |
|
|
104
|
-
| Build failure repair | "`pnpm lint`, `pnpm typecheck`, and `pnpm test` are failing. Fix them incrementally without weakening rules or skipping tests." | `/fec-
|
|
105
|
-
| Dead-code cleanup | "Find and safely remove unused exports, dead routes, stale styles, and unused dependencies. Preserve public API and write a report." | `/fec-refactor-clean
|
|
106
|
-
| Documentation sync | "Update the README and docs so setup, scripts, environment variables, API routes, UI routes, and deployment notes match the current frontend code and config." | `/fec-doc-sync
|
|
107
|
-
| Capability docs sync | "This repo publishes skills and commands. Sync the capability tables, metadata, runtime docs, and package files with the installed contents." | `/fec-doc-sync
|
|
108
|
-
| Source-backed upgrade | "Plan a safe upgrade for React Router/TanStack Query/Vite. Check official migration notes, compare current project usage, list breaking changes, and propose verification steps." | `fec-dependency-upgrade
|
|
109
|
-
| Legacy maintenance | "Improve `public/js/legacy/cart.js` while keeping the current jQuery/MPA stack. Reduce risk, improve structure, and do not rewrite it to React yet." | `fec-legacy-web-standard` | Safe legacy maintenance changes or recommendations. | Mention browser support constraints. |
|
|
119
|
+
| Build failure repair | "`pnpm lint`, `pnpm typecheck`, and `pnpm test` are failing. Fix them incrementally without weakening rules or skipping tests." | cmd: `/fec-debug` · skill: `fec-validation-fix` · agent: `fec-debugger` | Minimal fixes and validation report. | Paste exact failing commands. |
|
|
120
|
+
| Dead-code cleanup | "Find and safely remove unused exports, dead routes, stale styles, and unused dependencies. Preserve public API and write a report." | cmd: `/fec-refactor-clean` · skill: `fec-refactor-clean` · agent: `fec-refactor-cleaner` | Cleanup plan/changes and report. | Good before releases. |
|
|
121
|
+
| Documentation sync | "Update the README and docs so setup, scripts, environment variables, API routes, UI routes, and deployment notes match the current frontend code and config." | cmd: `/fec-doc-sync` · skill: `fec-doc-sync` · agent: `fec-doc-updater` | Synchronized docs and verification notes. | Avoid copying temporary reports into docs. |
|
|
122
|
+
| Capability docs sync | "This repo publishes skills and commands. Sync the capability tables, metadata, runtime docs, and package files with the installed contents." | cmd: `/fec-doc-sync` · skill: `fec-doc-sync` · agent: `fec-doc-updater` | Distribution docs grounded in installed files. | Use for skill/agent/command repos. |
|
|
123
|
+
| Source-backed upgrade | "Plan a safe upgrade for React Router/TanStack Query/Vite. Check official migration notes, compare current project usage, list breaking changes, and propose verification steps." | skill: `fec-dependency-upgrade` · skill: `fec-source-driven-development` · cmd: `/fec-doc-sync` | Upgrade decision notes, affected files, migration risks, and validation checklist. | Pair with docs sync if public guidance changes. |
|
|
124
|
+
| Legacy maintenance | "Improve `public/js/legacy/cart.js` while keeping the current jQuery/MPA stack. Reduce risk, improve structure, and do not rewrite it to React yet." | skill: `fec-legacy-web-standard` | Safe legacy maintenance changes or recommendations. | Mention browser support constraints. |
|
|
110
125
|
|
|
111
126
|
## Power-User Prompts
|
|
112
127
|
|
|
@@ -114,12 +129,12 @@ Use these when you know the internal entry point you want.
|
|
|
114
129
|
|
|
115
130
|
| Scenario | Prompt | Best for | Expected output | Notes |
|
|
116
131
|
| ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- | ------------------------------------- | ----------------------------------------------------- |
|
|
117
|
-
| Slash command review | "`/fec-review` Review the last commit and write `reports/code-review-*.md` with severity, evidence, and merge recommendation." | `/fec-review` | Structured code-review report. | Claude-style runtimes expose slash commands directly. |
|
|
118
|
-
| Slash command plan | "`/fec-plan` Plan the dashboard analytics feature before implementation. Include component boundaries, data flow, state ownership, rollout steps, and implementation risks." | `/fec-plan` | Architecture proposal. | Use before complex work. |
|
|
119
|
-
| Slash command scaffold | "`/fec-scaffold page UserDetail` Create the standard page structure for a user detail view following this repo's conventions." | `/fec-scaffold` | Page/feature/component scaffold. | Confirm overwrite behavior if files exist. |
|
|
120
|
-
| Slash command test plan | "`/fec-plan` Build a risk-based test plan for the billing refactor." | `/fec-plan` | Test matrix and priority order. | Can be report-only. |
|
|
121
|
-
| Slash command TDD | "`/fec-tdd` Add password strength validation with failing tests first, then implementation." | `/fec-tdd` | TDD loop and validated change. | Keep scope small. |
|
|
122
|
-
| Slash command build fix | "`/fec-
|
|
123
|
-
| Slash command cleanup | "`/fec-refactor-clean` Safely remove unused exports and dependencies from this package." | `/fec-refactor-clean` | Cleanup report and safe edits. | Run tests after. |
|
|
124
|
-
| Slash command docs | "`/fec-doc-sync` Sync README, docs, env examples, scripts, API/route notes, and deploy docs with the current project." | `/fec-doc-sync` | Docs updates and verification. | Use before releases. |
|
|
125
|
-
| Explicit agent | "Delegate to `fec-code-reviewer` for a PR-style review of `src/features/payments/`, then summarize blockers first." | agent
|
|
132
|
+
| Slash command review | "`/fec-review` Review the last commit and write `reports/code-review-*.md` with severity, evidence, and merge recommendation." | cmd: `/fec-review` | Structured code-review report. | Claude-style runtimes expose slash commands directly. |
|
|
133
|
+
| Slash command plan | "`/fec-plan` Plan the dashboard analytics feature before implementation. Include component boundaries, data flow, state ownership, rollout steps, and implementation risks." | cmd: `/fec-plan` | Architecture proposal. | Use before complex work. |
|
|
134
|
+
| Slash command scaffold | "`/fec-scaffold page UserDetail` Create the standard page structure for a user detail view following this repo's conventions." | cmd: `/fec-scaffold` | Page/feature/component scaffold. | Confirm overwrite behavior if files exist. |
|
|
135
|
+
| Slash command test plan | "`/fec-plan` Build a risk-based test plan for the billing refactor." | cmd: `/fec-plan` | Test matrix and priority order. | Can be report-only. |
|
|
136
|
+
| Slash command TDD | "`/fec-tdd` Add password strength validation with failing tests first, then implementation." | cmd: `/fec-tdd` | TDD loop and validated change. | Keep scope small. |
|
|
137
|
+
| Slash command build fix | "`/fec-debug` Fix the failing validation commands from this log: <paste log>." | cmd: `/fec-debug` | Incremental validation fixes. | Paste exact logs. |
|
|
138
|
+
| Slash command cleanup | "`/fec-refactor-clean` Safely remove unused exports and dependencies from this package." | cmd: `/fec-refactor-clean` | Cleanup report and safe edits. | Run tests after. |
|
|
139
|
+
| Slash command docs | "`/fec-doc-sync` Sync README, docs, env examples, scripts, API/route notes, and deploy docs with the current project." | cmd: `/fec-doc-sync` | Docs updates and verification. | Use before releases. |
|
|
140
|
+
| Explicit agent | "Delegate to `fec-code-reviewer` for a PR-style review of `src/features/payments/`, then summarize blockers first." | agent: `fec-code-reviewer` | Specialized agent report and summary. | Best for focused expert review. |
|
package/docs/ja-JP/README.md
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
|
|
33
33
|
各ランタイムのパスと注意事項は [`docs/runtimes/`](../runtimes/) にあります。
|
|
34
34
|
|
|
35
|
-
**13 の専門エージェント**、**
|
|
35
|
+
**13 の専門エージェント**、**45 の自動起動スキル**、**8 のスラッシュコマンド**、**5 のイベント駆動フック**、6 つのデザインツールエンドポイント向け **MCP 統合**、そして完全な**ルールライブラリ**をひとつのパッケージにまとめています。コマンドひとつ実行するだけで、チームのすべての AI セッションが React、Vue、Next.js、Nuxt を同じように書きます——型安全で、アクセシブルで、セキュアで、一貫性を持って。
|
|
36
36
|
|
|
37
37
|
---
|
|
38
38
|
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
|
|
41
41
|
| 課題 | frontend-craft の解決策 |
|
|
42
42
|
| ----------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
|
|
43
|
-
| AI アシスタントが一貫性のない、型なしの、安全でないフロントエンドコードを書く | **
|
|
43
|
+
| AI アシスタントが一貫性のない、型なしの、安全でないフロントエンドコードを書く | **45 のスキル**がチーム標準をエンコード——該当ファイルに触れると自動起動 |
|
|
44
44
|
| AI ツールごとにプラグイン形式が異なる | **ひとつの CLI** で同じルール、エージェント、フックを 15 のランタイムにインストール |
|
|
45
45
|
| デザインからコードへの受け渡しで情報が失われる | **MCP 統合**が Figma、Figma Desktop、Sketch、MasterGo、Pixso、墨刀からより豊富なデザインコンテキストを取り込み |
|
|
46
46
|
| レビューが場当たり的で浅い | **13 のエージェント**がグレード付きレポートを出力:コード、セキュリティ、a11y、パフォーマンス、TS、UI 忠実度 |
|
|
@@ -160,15 +160,15 @@ Marketplace が既にインストールされている場合、CLI は `--force`
|
|
|
160
160
|
|
|
161
161
|
スラッシュコマンドは構造化ワークフローの主要なエントリーポイントです。ほとんどが `reports/` にタイムスタンプ付き Markdown レポートを出力します。
|
|
162
162
|
|
|
163
|
-
| コマンド | 用途
|
|
164
|
-
| --------------------- |
|
|
165
|
-
| `/fec-init` | プロジェクトテンプレート(CLAUDE.md、ルール、設定)を初期化
|
|
166
|
-
| `/fec-review` | 指定または最近変更したファイルの構造化レビュー
|
|
167
|
-
| `/fec-scaffold` | 規約に従い page / feature / component のボイラープレートを作成
|
|
168
|
-
| `/fec-plan` | 統合計画:実装アーキテクチャまたはテスト戦略
|
|
169
|
-
| `/fec-tdd` | 赤 → 緑 → リファクタリングのフロントエンド TDD ループ
|
|
170
|
-
| `/fec-debug` | フロントエンド問題の診断と修復:ビルド、ランタイム、UI、API 障害
|
|
171
|
-
| `/fec-refactor-clean` | デッドコード、未使用 export、スタイル、依存関係を分類して安全に削除
|
|
163
|
+
| コマンド | 用途 | レポート |
|
|
164
|
+
| --------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------- |
|
|
165
|
+
| `/fec-init` | プロジェクトテンプレート(CLAUDE.md、ルール、設定)を初期化 | — |
|
|
166
|
+
| `/fec-review` | 指定または最近変更したファイルの構造化レビュー | `code-review-*.md` |
|
|
167
|
+
| `/fec-scaffold` | 規約に従い page / feature / component のボイラープレートを作成 | — |
|
|
168
|
+
| `/fec-plan` | 統合計画:実装アーキテクチャまたはテスト戦略 | `architecture-proposal-*.md` または `test-plan-*.md` |
|
|
169
|
+
| `/fec-tdd` | 赤 → 緑 → リファクタリングのフロントエンド TDD ループ | — |
|
|
170
|
+
| `/fec-debug` | フロントエンド問題の診断と修復:ビルド、ランタイム、UI、API 障害 | `debug-*.md` |
|
|
171
|
+
| `/fec-refactor-clean` | デッドコード、未使用 export、スタイル、依存関係を分類して安全に削除 | `refactor-clean-*.md` |
|
|
172
172
|
| `/fec-doc-sync` | README、docs、環境変数、スクリプト、API/ルート説明、デプロイ文書を同期 | — |
|
|
173
173
|
|
|
174
174
|
### スキル(自動起動)
|
|
@@ -179,30 +179,31 @@ Marketplace が既にインストールされている場合、CLI は `--force`
|
|
|
179
179
|
|
|
180
180
|
**プロジェクト標準** — 該当フレームワークが検出されると自動適用:
|
|
181
181
|
|
|
182
|
-
| スキル
|
|
183
|
-
|
|
|
184
|
-
| `fec-react-project-standard`
|
|
185
|
-
| `fec-vue3-project-standard`
|
|
186
|
-
| `fec-nextjs-project-standard`
|
|
187
|
-
| `fec-nuxt-project-standard`
|
|
188
|
-
| `fec-vite-project-standard`
|
|
189
|
-
| `fec-monorepo-project-standard`
|
|
182
|
+
| スキル | 範囲 |
|
|
183
|
+
| --------------------------------- | ----------------------------------------------------------------------- |
|
|
184
|
+
| `fec-react-project-standard` | React + TypeScript(構造、コンポーネント、ルーティング、状態、API 層) |
|
|
185
|
+
| `fec-vue3-project-standard` | Vue 3 + TypeScript(構造、コンポーネント、ルーティング、Pinia、API 層) |
|
|
186
|
+
| `fec-nextjs-project-standard` | Next.js 14+ App Router、SSR/SSG、ストリーミング、メタデータ |
|
|
187
|
+
| `fec-nuxt-project-standard` | Nuxt 3 SSR/SSG、Composition API、データ取得、ミドルウェア |
|
|
188
|
+
| `fec-vite-project-standard` | Vite 設定、環境変数安全性、HMR、開発プロキシ、ビルド最適化 |
|
|
189
|
+
| `fec-monorepo-project-standard` | pnpm workspace、Turborepo、Nx の構造とタスクオーケストレーション |
|
|
190
|
+
| `fec-typescript-project-standard` | TypeScript 設定、公開 API 型、宣言ファイル、DTO、ジェネリクス |
|
|
190
191
|
|
|
191
192
|
**実装機能** — 特定のフロントエンド機能を構築する際に起動:
|
|
192
193
|
|
|
193
|
-
| スキル | 範囲
|
|
194
|
-
| ------------------------- |
|
|
195
|
-
| `fec-data-fetching` | サーバー状態取得、キャッシュ、無効化、SSR、無限読み込み
|
|
196
|
-
| `fec-api-integration` | 型付き API client、認証 refresh、アップロード、リアルタイム統合
|
|
197
|
-
| `fec-state-management` | 状態の所属、ストア選定、URL 状態、サーバー/フォーム/ローカル状態の境界
|
|
194
|
+
| スキル | 範囲 |
|
|
195
|
+
| ------------------------- | --------------------------------------------------------------------------------------- |
|
|
196
|
+
| `fec-data-fetching` | サーバー状態取得、キャッシュ、無効化、SSR、無限読み込み |
|
|
197
|
+
| `fec-api-integration` | 型付き API client、認証 refresh、アップロード、リアルタイム統合 |
|
|
198
|
+
| `fec-state-management` | 状態の所属、ストア選定、URL 状態、サーバー/フォーム/ローカル状態の境界 |
|
|
198
199
|
| `fec-form-handling` | フレームワークに応じたフォーム選定、schema バリデーション、動的フィールド、アップロード |
|
|
199
|
-
| `fec-browser-storage` | localStorage / sessionStorage / IndexedDB / Cookies の選定
|
|
200
|
-
| `fec-route-protection` | React Router、Next.js、Vue Router、Nuxt の認証・権限ルーティング
|
|
201
|
-
| `fec-pwa-implementation` | マニフェスト、サービスワーカー、オフラインキャッシュ、インストールプロンプト
|
|
202
|
-
| `fec-web-workers` | Web Worker、Transferable、Comlink、ワーカープール
|
|
203
|
-
| `fec-canvas-threejs` | Canvas 2D、Three.js、React Three Fiber、WebGL
|
|
204
|
-
| `fec-svg-animation` | CSS / Framer Motion / GSAP SVG アニメーションと reduced-motion
|
|
205
|
-
| `fec-list-virtualization` | フレームワークに応じた大規模リスト仮想化、計測、グリッド、無限スクロール
|
|
200
|
+
| `fec-browser-storage` | localStorage / sessionStorage / IndexedDB / Cookies の選定 |
|
|
201
|
+
| `fec-route-protection` | React Router、Next.js、Vue Router、Nuxt の認証・権限ルーティング |
|
|
202
|
+
| `fec-pwa-implementation` | マニフェスト、サービスワーカー、オフラインキャッシュ、インストールプロンプト |
|
|
203
|
+
| `fec-web-workers` | Web Worker、Transferable、Comlink、ワーカープール |
|
|
204
|
+
| `fec-canvas-threejs` | Canvas 2D、Three.js、React Three Fiber、WebGL |
|
|
205
|
+
| `fec-svg-animation` | CSS / Framer Motion / GSAP SVG アニメーションと reduced-motion |
|
|
206
|
+
| `fec-list-virtualization` | フレームワークに応じた大規模リスト仮想化、計測、グリッド、無限スクロール |
|
|
206
207
|
|
|
207
208
|
**テスト** — フロントエンドテストの計画や作成時に起動:
|
|
208
209
|
|
|
@@ -219,7 +220,6 @@ Marketplace が既にインストールされている場合、CLI は `--force`
|
|
|
219
220
|
| ------------------------------ | ----------------------------------------------------------------------------- |
|
|
220
221
|
| `fec-code-review` | アーキテクチャ、型、レンダリング、スタイル、a11y レビュー |
|
|
221
222
|
| `fec-debug-framework` | ビルド、ランタイム、UI、API/データ障害の体系的な診断 |
|
|
222
|
-
| `fec-typescript-type-safety` | 型契約、DTO マッピング、型ガード、ジェネリクス、型レベルチェック |
|
|
223
223
|
| `fec-security-review` | XSS、CSRF、機密データ漏洩、入力検証 |
|
|
224
224
|
| `fec-accessibility-check` | WCAG 2.2、キーボード、フォーカス、タッチ、スクリーンリーダー動作 |
|
|
225
225
|
| `fec-dependency-upgrade` | 依存関係アップグレード、lockfile レビュー、CVE 修正、移行検証 |
|
|
@@ -229,34 +229,38 @@ Marketplace が既にインストールされている場合、CLI は `--force`
|
|
|
229
229
|
|
|
230
230
|
**デザイン UI** — デザイン実装、デザインシステム、視覚仕上げで起動:
|
|
231
231
|
|
|
232
|
-
| スキル | 範囲
|
|
233
|
-
| ----------------------------- |
|
|
234
|
-
| `fec-ui-design` | UI
|
|
235
|
-
| `fec-
|
|
236
|
-
| `fec-
|
|
237
|
-
| `fec-
|
|
238
|
-
| `fec-
|
|
239
|
-
| `fec-
|
|
232
|
+
| スキル | 範囲 |
|
|
233
|
+
| ----------------------------- | ---------------------------------------------------------------------------------------------------------------- |
|
|
234
|
+
| `fec-ui-design` | プロダクト文脈に沿った UI 方向性、反テンプレート設計ダイヤル、メディア戦略、状態、ビジュアル QA |
|
|
235
|
+
| `fec-image-generation` | システムブループリント、プロセスワークフロー、インタラクティブなライブ図、HTML/SVG/PNG エクスポート、画像生成/編集、ビジュアルアセット、PNG QA |
|
|
236
|
+
| `fec-drawio-studio` | 編集可能な draw.io / diagrams.net 技術図、XML/Mermaid/CSV URL 受け渡し、shape 検索、自動レイアウト、コード構造図 |
|
|
237
|
+
| `fec-web-video-presentation` | 記事、台本、レッスン、demo から録画可能な 16:9 step-driven Web プレゼンを作成 |
|
|
238
|
+
| `fec-tailwind-design-system` | Tailwind token、テーマ拡張、variants、class 管理、ダークモード |
|
|
239
|
+
| `fec-responsive-layout` | モバイルファースト、container queries、データ密集 responsive UI |
|
|
240
|
+
| `fec-motion-interaction` | 文脈に応じた motion 強度、ページ遷移、スクロール animation、reduced-motion |
|
|
241
|
+
| `fec-implement-from-design` | デザインツール、スクリーンショット、または section 単位のビジュアル参照から UI を実装 |
|
|
242
|
+
| `fec-storybook-component-doc` | Storybook コンポーネント文書、デザインシステム表示、隔離状態プレビュー |
|
|
240
243
|
|
|
241
244
|
**レガシー移行** — モダナイゼーション時に起動:
|
|
242
245
|
|
|
243
|
-
| スキル | 範囲
|
|
244
|
-
| -------------------------------- |
|
|
245
|
-
| `fec-legacy-web-standard` | JS + jQuery + HTML のレガシープロジェクト開発・保守基準
|
|
246
|
+
| スキル | 範囲 |
|
|
247
|
+
| -------------------------------- | ------------------------------------------------------------------------------ |
|
|
248
|
+
| `fec-legacy-web-standard` | JS + jQuery + HTML のレガシープロジェクト開発・保守基準 |
|
|
246
249
|
| `fec-legacy-to-modern-migration` | レガシーフロントエンドのモダナイズ、ターゲットスタック選定、段階的ワークフロー |
|
|
247
250
|
|
|
248
251
|
**プロジェクト進化** — 参照システムをプロジェクトネイティブな改善として吸収する時に起動:
|
|
249
252
|
|
|
250
|
-
| スキル | 範囲
|
|
251
|
-
| ------------- |
|
|
253
|
+
| スキル | 範囲 |
|
|
254
|
+
| ------------- | -------------------------------------------------------------- |
|
|
252
255
|
| `fec-alchemy` | 参照システムの能力を独自のプロジェクトネイティブ設計として吸収 |
|
|
253
256
|
|
|
254
257
|
**ドキュメント保守** — ドキュメント作業時に起動:
|
|
255
258
|
|
|
256
|
-
| スキル
|
|
257
|
-
|
|
|
258
|
-
| `fec-
|
|
259
|
-
| `fec-
|
|
259
|
+
| スキル | 範囲 |
|
|
260
|
+
| ---------------------------------- | --------------------------------------------------------------------------------------- |
|
|
261
|
+
| `fec-backend-requirements-handoff` | Frontend-to-backend handoff for UI data needs, actions, states, rules, and questions |
|
|
262
|
+
| `fec-doc-sync` | フロントエンド文書をコード、設定、スクリプト、ルート、API、環境変数、デプロイ事実と同期 |
|
|
263
|
+
| `fec-source-driven-development` | プロジェクト事実と公式ソースでバージョン依存の判断を検証 |
|
|
260
264
|
|
|
261
265
|
### エージェント
|
|
262
266
|
|
|
@@ -457,10 +461,10 @@ npx skills update # 最新版にアップデート
|
|
|
457
461
|
npx skills check # 利用可能なアップデートをプレビュー
|
|
458
462
|
```
|
|
459
463
|
|
|
460
|
-
| CLI
|
|
461
|
-
|
|
|
464
|
+
| CLI | インストール内容 |
|
|
465
|
+
| -------------------------------- | ----------------------------------------------------------------------------- |
|
|
462
466
|
| `npx @bovinphang/frontend-craft` | スキル + ランタイム固有のエージェント、コマンド、フック、ルール、テンプレート |
|
|
463
|
-
| `npx skills`
|
|
467
|
+
| `npx skills` | スキルのみ(既存の Skills CLI ワークフロー向け) |
|
|
464
468
|
|
|
465
469
|
テレメトリを無効化:`DISABLE_TELEMETRY=1`。詳細は [skills.sh CLI ドキュメント](https://skills.sh/docs/cli) を参照。
|
|
466
470
|
|