@bovinphang/frontend-craft 2.7.0 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +34 -0
- package/CHANGELOG.zh-CN.md +34 -0
- package/README.md +1 -1
- package/README.openclaw.md +99 -43
- package/README.openclaw.zh-CN.md +99 -43
- package/README.zh-CN.md +1 -1
- package/agents/fec-architect.md +70 -70
- package/agents/fec-code-reviewer.md +82 -82
- package/agents/fec-debugger.md +20 -20
- package/agents/fec-design-token-mapper.md +36 -36
- package/agents/fec-doc-updater.md +13 -13
- package/agents/fec-e2e-runner.md +45 -45
- package/agents/fec-figma-implementer.md +59 -59
- package/agents/fec-performance-optimizer.md +128 -128
- package/agents/fec-refactor-cleaner.md +14 -14
- package/agents/fec-security-reviewer.md +66 -67
- package/agents/fec-test-planner.md +27 -27
- package/agents/fec-typescript-reviewer.md +87 -87
- package/agents/fec-ui-checker.md +74 -74
- package/commands/fec-debug.md +19 -19
- package/commands/fec-doc-sync.md +11 -11
- package/commands/fec-init.md +37 -38
- package/commands/fec-plan.md +58 -58
- package/commands/fec-refactor-clean.md +11 -11
- package/commands/fec-review.md +41 -41
- package/commands/fec-scaffold.md +41 -41
- package/commands/fec-tdd.md +13 -13
- package/dist/bin/frontend-craft.js +29 -27
- package/docs/example-prompts.md +3 -0
- package/docs/ja-JP/README.md +1 -1
- package/docs/ko-KR/README.md +1 -1
- package/docs/project-structure.md +13 -5
- package/docs/zh-CN/example-prompts.md +3 -0
- package/docs/zh-CN/project-structure.md +6 -1
- package/docs/zh-TW/README.md +1 -1
- package/localized/zh-CN/agents/fec-architect.md +125 -0
- package/localized/zh-CN/agents/fec-code-reviewer.md +152 -0
- package/localized/zh-CN/agents/fec-debugger.md +44 -0
- package/localized/zh-CN/agents/fec-design-token-mapper.md +75 -0
- package/localized/zh-CN/agents/fec-doc-updater.md +30 -0
- package/localized/zh-CN/agents/fec-e2e-runner.md +107 -0
- package/localized/zh-CN/agents/fec-figma-implementer.md +104 -0
- package/localized/zh-CN/agents/fec-performance-optimizer.md +293 -0
- package/localized/zh-CN/agents/fec-refactor-cleaner.md +32 -0
- package/localized/zh-CN/agents/fec-security-reviewer.md +116 -0
- package/localized/zh-CN/agents/fec-test-planner.md +50 -0
- package/localized/zh-CN/agents/fec-typescript-reviewer.md +142 -0
- package/localized/zh-CN/agents/fec-ui-checker.md +120 -0
- package/localized/zh-CN/commands/fec-debug.md +30 -0
- package/localized/zh-CN/commands/fec-doc-sync.md +19 -0
- package/localized/zh-CN/commands/fec-init.md +70 -0
- package/localized/zh-CN/commands/fec-plan.md +94 -0
- package/localized/zh-CN/commands/fec-refactor-clean.md +19 -0
- package/localized/zh-CN/commands/fec-review.md +66 -0
- package/localized/zh-CN/commands/fec-scaffold.md +205 -0
- package/localized/zh-CN/commands/fec-tdd.md +21 -0
- package/localized/zh-CN/skills/TEMPLATE.md +155 -0
- package/localized/zh-CN/skills/eval_queries.json +1013 -0
- package/localized/zh-CN/skills/fec-accessibility-check/SKILL.md +39 -0
- package/localized/zh-CN/skills/fec-accessibility-check/references/report-template.md +23 -0
- package/localized/zh-CN/skills/fec-accessibility-check/references/screen-reader-testing.md +33 -0
- package/localized/zh-CN/skills/fec-alchemy/SKILL.md +74 -0
- package/localized/zh-CN/skills/fec-alchemy/assets/absorption-plan-template.md +47 -0
- package/localized/zh-CN/skills/fec-alchemy/assets/intake-template.md +55 -0
- package/localized/zh-CN/skills/fec-alchemy/assets/review-checklist.md +31 -0
- package/localized/zh-CN/skills/fec-alchemy/references/methodology.md +94 -0
- package/localized/zh-CN/skills/fec-alchemy/references/originality-and-licensing.md +57 -0
- package/localized/zh-CN/skills/fec-api-integration/SKILL.md +78 -0
- package/localized/zh-CN/skills/fec-api-integration/references/integration-patterns.md +80 -0
- package/localized/zh-CN/skills/fec-backend-requirements-handoff/SKILL.md +45 -0
- package/localized/zh-CN/skills/fec-browser-storage/SKILL.md +34 -0
- package/localized/zh-CN/skills/fec-browser-storage/references/storage-patterns.md +65 -0
- package/localized/zh-CN/skills/fec-canvas-threejs/SKILL.md +66 -0
- package/localized/zh-CN/skills/fec-canvas-threejs/references/rendering-patterns.md +67 -0
- package/localized/zh-CN/skills/fec-canvas-threejs/references/shader-webgl-patterns.md +67 -0
- package/localized/zh-CN/skills/fec-code-review/SKILL.md +143 -0
- package/localized/zh-CN/skills/fec-code-review/references/report-template.md +29 -0
- package/localized/zh-CN/skills/fec-component-testing/SKILL.md +119 -0
- package/localized/zh-CN/skills/fec-data-fetching/SKILL.md +62 -0
- package/localized/zh-CN/skills/fec-data-fetching/references/query-patterns.md +103 -0
- package/localized/zh-CN/skills/fec-debug-framework/SKILL.md +157 -0
- package/localized/zh-CN/skills/fec-debug-framework/references/report-template.md +58 -0
- package/localized/zh-CN/skills/fec-dependency-upgrade/SKILL.md +34 -0
- package/localized/zh-CN/skills/fec-dependency-upgrade/references/dependency-upgrade-workflow.md +56 -0
- package/localized/zh-CN/skills/fec-doc-sync/SKILL.md +39 -0
- package/localized/zh-CN/skills/fec-drawio-studio/SKILL.md +73 -0
- package/localized/zh-CN/skills/fec-drawio-studio/data/THIRD_PARTY_NOTICES.md +10 -0
- package/localized/zh-CN/skills/fec-drawio-studio/data/brand-icons.json +878 -0
- package/localized/zh-CN/skills/fec-drawio-studio/data/shape-index.json +83570 -0
- package/localized/zh-CN/skills/fec-drawio-studio/references/data-residency.md +27 -0
- package/localized/zh-CN/skills/fec-drawio-studio/references/diagram-patterns.md +60 -0
- package/localized/zh-CN/skills/fec-drawio-studio/references/flowchart-quality.md +49 -0
- package/localized/zh-CN/skills/fec-drawio-studio/references/layout-and-export.md +72 -0
- package/localized/zh-CN/skills/fec-drawio-studio/references/troubleshooting.md +29 -0
- package/localized/zh-CN/skills/fec-drawio-studio/references/xml-and-mermaid.md +58 -0
- package/localized/zh-CN/skills/fec-drawio-studio/scripts/brand-symbols.mjs +99 -0
- package/localized/zh-CN/skills/fec-drawio-studio/scripts/diagram-lint.mjs +205 -0
- package/localized/zh-CN/skills/fec-drawio-studio/scripts/diagram-url.mjs +102 -0
- package/localized/zh-CN/skills/fec-drawio-studio/scripts/drawio-export.mjs +134 -0
- package/localized/zh-CN/skills/fec-drawio-studio/scripts/layout-graph.mjs +107 -0
- package/localized/zh-CN/skills/fec-drawio-studio/scripts/png-embed-fix.mjs +26 -0
- package/localized/zh-CN/skills/fec-drawio-studio/scripts/scan-go-packages.mjs +36 -0
- package/localized/zh-CN/skills/fec-drawio-studio/scripts/scan-js-modules.mjs +52 -0
- package/localized/zh-CN/skills/fec-drawio-studio/scripts/scan-python-classes.mjs +30 -0
- package/localized/zh-CN/skills/fec-drawio-studio/scripts/scan-python-modules.mjs +55 -0
- package/localized/zh-CN/skills/fec-drawio-studio/scripts/scan-rust-modules.mjs +35 -0
- package/localized/zh-CN/skills/fec-drawio-studio/scripts/scan-ts-modules.mjs +7 -0
- package/localized/zh-CN/skills/fec-drawio-studio/scripts/shape-query.mjs +121 -0
- package/localized/zh-CN/skills/fec-drawio-studio/scripts/studio-core.mjs +139 -0
- package/localized/zh-CN/skills/fec-drawio-studio/styles/built-in/corporate.json +49 -0
- package/localized/zh-CN/skills/fec-drawio-studio/styles/built-in/default.json +49 -0
- package/localized/zh-CN/skills/fec-drawio-studio/styles/built-in/handdrawn.json +49 -0
- package/localized/zh-CN/skills/fec-drawio-studio/styles/schema.json +112 -0
- package/localized/zh-CN/skills/fec-e2e-testing/SKILL.md +42 -0
- package/localized/zh-CN/skills/fec-e2e-testing/references/e2e-ci-reporting.md +62 -0
- package/localized/zh-CN/skills/fec-e2e-testing/references/e2e-special-scenarios.md +52 -0
- package/localized/zh-CN/skills/fec-e2e-testing/references/e2e-visual-regression.md +60 -0
- package/localized/zh-CN/skills/fec-e2e-testing/references/playwright-patterns.md +95 -0
- package/localized/zh-CN/skills/fec-form-handling/SKILL.md +76 -0
- package/localized/zh-CN/skills/fec-form-handling/references/advanced-form-patterns.md +101 -0
- package/localized/zh-CN/skills/fec-image-generation/SKILL.md +80 -0
- package/localized/zh-CN/skills/fec-image-generation/assets/interactive-diagram.html +371 -0
- package/localized/zh-CN/skills/fec-image-generation/references/artifact-routing.md +80 -0
- package/localized/zh-CN/skills/fec-image-generation/references/diagram-workflows.md +74 -0
- package/localized/zh-CN/skills/fec-image-generation/references/html-technical-diagrams.md +236 -0
- package/localized/zh-CN/skills/fec-image-generation/references/png-qa-autofix.md +30 -0
- package/localized/zh-CN/skills/fec-image-generation/scripts/export-diagram.mjs +364 -0
- package/localized/zh-CN/skills/fec-image-generation/scripts/interactive-diagram-server.mjs +654 -0
- package/localized/zh-CN/skills/fec-image-generation/scripts/png-qa.mjs +431 -0
- package/localized/zh-CN/skills/fec-image-generation/scripts/tech-diagram-render.mjs +1397 -0
- package/localized/zh-CN/skills/fec-implement-from-design/SKILL.md +129 -0
- package/localized/zh-CN/skills/fec-implement-from-design/references/design-plan-template.md +36 -0
- package/localized/zh-CN/skills/fec-legacy-to-modern-migration/SKILL.md +46 -0
- package/localized/zh-CN/skills/fec-legacy-to-modern-migration/references/migration-execution-checklist.md +110 -0
- package/localized/zh-CN/skills/fec-legacy-to-modern-migration/references/migration-report-template.md +41 -0
- package/localized/zh-CN/skills/fec-legacy-to-modern-migration/references/migration-strategy-and-mapping.md +48 -0
- package/localized/zh-CN/skills/fec-legacy-web-standard/SKILL.md +35 -0
- package/localized/zh-CN/skills/fec-legacy-web-standard/references/legacy-patterns.md +85 -0
- package/localized/zh-CN/skills/fec-list-virtualization/SKILL.md +34 -0
- package/localized/zh-CN/skills/fec-list-virtualization/references/virtualization-patterns.md +80 -0
- package/localized/zh-CN/skills/fec-monorepo-project-standard/SKILL.md +142 -0
- package/localized/zh-CN/skills/fec-motion-interaction/SKILL.md +73 -0
- package/localized/zh-CN/skills/fec-motion-interaction/references/motion-patterns.md +112 -0
- package/localized/zh-CN/skills/fec-nextjs-project-standard/SKILL.md +123 -0
- package/localized/zh-CN/skills/fec-nuxt-project-standard/SKILL.md +122 -0
- package/localized/zh-CN/skills/fec-performance-optimization/SKILL.md +80 -0
- package/localized/zh-CN/skills/fec-performance-optimization/references/framework-performance-patterns.md +38 -0
- package/localized/zh-CN/skills/fec-performance-optimization/references/report-template.md +59 -0
- package/localized/zh-CN/skills/fec-pwa-implementation/SKILL.md +35 -0
- package/localized/zh-CN/skills/fec-pwa-implementation/references/manifest-and-icons.md +53 -0
- package/localized/zh-CN/skills/fec-pwa-implementation/references/service-worker-workbox.md +68 -0
- package/localized/zh-CN/skills/fec-react-project-standard/SKILL.md +91 -0
- package/localized/zh-CN/skills/fec-react-project-standard/references/react-performance-patterns.md +35 -0
- package/localized/zh-CN/skills/fec-react-project-standard/references/react-project-structure.md +197 -0
- package/localized/zh-CN/skills/fec-react-project-standard/references/react-quality-patterns.md +131 -0
- package/localized/zh-CN/skills/fec-react-project-standard/references/react-runtime-patterns.md +293 -0
- package/localized/zh-CN/skills/fec-refactor-clean/SKILL.md +51 -0
- package/localized/zh-CN/skills/fec-refactor-clean/references/report-template.md +42 -0
- package/localized/zh-CN/skills/fec-responsive-layout/SKILL.md +34 -0
- package/localized/zh-CN/skills/fec-responsive-layout/references/responsive-layout-patterns.md +70 -0
- package/localized/zh-CN/skills/fec-route-protection/SKILL.md +135 -0
- package/localized/zh-CN/skills/fec-security-review/SKILL.md +38 -0
- package/localized/zh-CN/skills/fec-security-review/references/report-template.md +27 -0
- package/localized/zh-CN/skills/fec-security-review/references/security-checklist.md +64 -0
- package/localized/zh-CN/skills/fec-source-driven-development/SKILL.md +87 -0
- package/localized/zh-CN/skills/fec-state-management/SKILL.md +140 -0
- package/localized/zh-CN/skills/fec-state-management/references/state-patterns.md +109 -0
- package/localized/zh-CN/skills/fec-storybook-component-doc/SKILL.md +37 -0
- package/localized/zh-CN/skills/fec-storybook-component-doc/references/story-patterns.md +118 -0
- package/localized/zh-CN/skills/fec-svg-animation/SKILL.md +148 -0
- package/localized/zh-CN/skills/fec-tailwind-design-system/SKILL.md +34 -0
- package/localized/zh-CN/skills/fec-tailwind-design-system/references/tailwind-system-patterns.md +59 -0
- package/localized/zh-CN/skills/fec-tdd-workflow/SKILL.md +52 -0
- package/localized/zh-CN/skills/fec-testing-strategy/SKILL.md +45 -0
- package/localized/zh-CN/skills/fec-typescript-project-standard/SKILL.md +54 -0
- package/localized/zh-CN/skills/fec-typescript-project-standard/references/type-safety-patterns.md +102 -0
- package/localized/zh-CN/skills/fec-typescript-project-standard/references/type-safety.md +148 -0
- package/localized/zh-CN/skills/fec-ui-design/SKILL.md +108 -0
- package/localized/zh-CN/skills/fec-ui-design/data/product-rules.json +231 -0
- package/localized/zh-CN/skills/fec-ui-design/data/stack-ui-rules.json +146 -0
- package/localized/zh-CN/skills/fec-ui-design/data/style-archetypes.json +373 -0
- package/localized/zh-CN/skills/fec-ui-design/data/ux-quality-rules.json +203 -0
- package/localized/zh-CN/skills/fec-ui-design/references/design-intelligence.md +97 -0
- package/localized/zh-CN/skills/fec-ui-design/references/master-page-overrides.md +30 -0
- package/localized/zh-CN/skills/fec-ui-design/references/pre-delivery-checklist.md +39 -0
- package/localized/zh-CN/skills/fec-ui-design/scripts/design-system.mjs +648 -0
- package/localized/zh-CN/skills/fec-validation-fix/SKILL.md +51 -0
- package/localized/zh-CN/skills/fec-validation-fix/references/report-template.md +43 -0
- package/localized/zh-CN/skills/fec-vite-project-standard/SKILL.md +83 -0
- package/localized/zh-CN/skills/fec-vue3-project-standard/SKILL.md +58 -0
- package/localized/zh-CN/skills/fec-vue3-project-standard/references/vue3-composables-routing.md +162 -0
- package/localized/zh-CN/skills/fec-vue3-project-standard/references/vue3-performance-patterns.md +13 -0
- package/localized/zh-CN/skills/fec-vue3-project-standard/references/vue3-project-structure.md +176 -0
- package/localized/zh-CN/skills/fec-vue3-project-standard/references/vue3-state-api-quality.md +216 -0
- package/localized/zh-CN/skills/fec-web-video-presentation/SKILL.md +61 -0
- package/localized/zh-CN/skills/fec-web-video-presentation/data/starter-themes.json +59 -0
- package/localized/zh-CN/skills/fec-web-video-presentation/references/chapter-craft.md +37 -0
- package/localized/zh-CN/skills/fec-web-video-presentation/references/content-plan.md +38 -0
- package/localized/zh-CN/skills/fec-web-video-presentation/references/recording-and-audio.md +33 -0
- package/localized/zh-CN/skills/fec-web-video-presentation/references/theme-system.md +36 -0
- package/localized/zh-CN/skills/fec-web-video-presentation/scripts/create-video-presentation.mjs +430 -0
- package/localized/zh-CN/skills/fec-web-workers/SKILL.md +35 -0
- package/localized/zh-CN/skills/fec-web-workers/references/advanced-workers.md +54 -0
- package/localized/zh-CN/skills/fec-web-workers/references/basic-worker.md +67 -0
- package/localized/zh-CN/skills/metadata.json +1646 -0
- package/localized/zh-CN/skills/relations.json +755 -0
- package/localized/zh-CN/templates/claude/CLAUDE.md +106 -0
- package/localized/zh-CN/templates/claude/settings.json +62 -0
- package/localized/zh-CN/templates/codex/AGENTS.md +105 -0
- package/localized/zh-CN/templates/codex/config.toml +32 -0
- package/localized/zh-CN/templates/openclaw/AGENTS.md +101 -0
- package/localized/zh-CN/templates/openclaw/OPENCLAW-CONFIG.md +12 -0
- package/localized/zh-CN/templates/shared/rules/fec-agent-workflow.md +54 -0
- package/localized/zh-CN/templates/shared/rules/fec-api-layer.md +99 -0
- package/localized/zh-CN/templates/shared/rules/fec-ci-cd.md +40 -0
- package/localized/zh-CN/templates/shared/rules/fec-code-comments.md +33 -0
- package/localized/zh-CN/templates/shared/rules/fec-design-system.md +72 -0
- package/localized/zh-CN/templates/shared/rules/fec-error-handling.md +56 -0
- package/localized/zh-CN/templates/shared/rules/fec-git-conventions.md +73 -0
- package/localized/zh-CN/templates/shared/rules/fec-i18n.md +64 -0
- package/localized/zh-CN/templates/shared/rules/fec-naming-conventions.md +120 -0
- package/localized/zh-CN/templates/shared/rules/fec-performance.md +101 -0
- package/localized/zh-CN/templates/shared/rules/fec-react.md +82 -0
- package/localized/zh-CN/templates/shared/rules/fec-refactoring.md +47 -0
- package/localized/zh-CN/templates/shared/rules/fec-rendering-patterns.md +40 -0
- package/localized/zh-CN/templates/shared/rules/fec-responsive-design.md +50 -0
- package/localized/zh-CN/templates/shared/rules/fec-source-driven-development.md +31 -0
- package/localized/zh-CN/templates/shared/rules/fec-state-management.md +60 -0
- package/localized/zh-CN/templates/shared/rules/fec-testing.md +98 -0
- package/localized/zh-CN/templates/shared/rules/fec-typescript.md +112 -0
- package/localized/zh-CN/templates/shared/rules/fec-vue.md +64 -0
- package/localized/zh-CN/templates/shared/rules/fec-working-modes.md +50 -0
- package/openclaw.plugin.json +1 -1
- package/package.json +3 -2
- package/skills/TEMPLATE.md +74 -74
- package/skills/eval_queries.json +678 -678
- package/skills/fec-accessibility-check/SKILL.md +21 -21
- package/skills/fec-accessibility-check/references/report-template.md +12 -12
- package/skills/fec-accessibility-check/references/screen-reader-testing.md +24 -24
- package/skills/fec-alchemy/SKILL.md +50 -50
- package/skills/fec-alchemy/assets/absorption-plan-template.md +32 -32
- package/skills/fec-alchemy/assets/intake-template.md +55 -55
- package/skills/fec-alchemy/assets/review-checklist.md +23 -23
- package/skills/fec-alchemy/references/methodology.md +66 -66
- package/skills/fec-alchemy/references/originality-and-licensing.md +42 -42
- package/skills/fec-api-integration/SKILL.md +61 -61
- package/skills/fec-api-integration/references/integration-patterns.md +30 -30
- package/skills/fec-backend-requirements-handoff/SKILL.md +25 -25
- package/skills/fec-browser-storage/SKILL.md +16 -16
- package/skills/fec-browser-storage/references/storage-patterns.md +16 -16
- package/skills/fec-canvas-threejs/SKILL.md +21 -21
- package/skills/fec-canvas-threejs/references/rendering-patterns.md +10 -10
- package/skills/fec-canvas-threejs/references/shader-webgl-patterns.md +37 -37
- package/skills/fec-code-review/SKILL.md +94 -94
- package/skills/fec-code-review/references/report-template.md +13 -13
- package/skills/fec-component-testing/SKILL.md +39 -39
- package/skills/fec-data-fetching/SKILL.md +16 -16
- package/skills/fec-data-fetching/references/query-patterns.md +27 -27
- package/skills/fec-debug-framework/SKILL.md +95 -95
- package/skills/fec-debug-framework/references/report-template.md +34 -34
- package/skills/fec-dependency-upgrade/SKILL.md +17 -17
- package/skills/fec-dependency-upgrade/references/dependency-upgrade-workflow.md +31 -31
- package/skills/fec-doc-sync/SKILL.md +23 -23
- package/skills/fec-drawio-studio/SKILL.md +42 -38
- package/skills/fec-drawio-studio/data/THIRD_PARTY_NOTICES.md +1 -1
- package/skills/fec-drawio-studio/data/shape-index.json +83570 -0
- package/skills/fec-drawio-studio/references/diagram-patterns.md +19 -0
- package/skills/fec-drawio-studio/references/flowchart-quality.md +49 -0
- package/skills/fec-drawio-studio/references/layout-and-export.md +18 -3
- package/skills/fec-drawio-studio/references/xml-and-mermaid.md +5 -1
- package/skills/fec-drawio-studio/scripts/diagram-lint.mjs +62 -0
- package/skills/fec-drawio-studio/scripts/drawio-export.mjs +134 -0
- package/skills/fec-drawio-studio/scripts/shape-query.mjs +55 -15
- package/skills/fec-e2e-testing/SKILL.md +24 -24
- package/skills/fec-e2e-testing/references/e2e-ci-reporting.md +20 -20
- package/skills/fec-e2e-testing/references/e2e-special-scenarios.md +10 -10
- package/skills/fec-e2e-testing/references/e2e-visual-regression.md +17 -17
- package/skills/fec-e2e-testing/references/playwright-patterns.md +6 -6
- package/skills/fec-form-handling/SKILL.md +21 -21
- package/skills/fec-form-handling/references/advanced-form-patterns.md +41 -41
- package/skills/fec-image-generation/SKILL.md +54 -29
- package/skills/fec-image-generation/assets/interactive-diagram.html +371 -0
- package/skills/fec-image-generation/references/diagram-workflows.md +33 -2
- package/skills/fec-image-generation/references/html-technical-diagrams.md +236 -0
- package/skills/fec-image-generation/scripts/export-diagram.mjs +364 -0
- package/skills/fec-image-generation/scripts/interactive-diagram-server.mjs +654 -0
- package/skills/fec-image-generation/scripts/tech-diagram-render.mjs +1397 -0
- package/skills/fec-implement-from-design/SKILL.md +81 -81
- package/skills/fec-implement-from-design/references/design-plan-template.md +16 -16
- package/skills/fec-legacy-to-modern-migration/SKILL.md +29 -29
- package/skills/fec-legacy-to-modern-migration/references/migration-execution-checklist.md +81 -81
- package/skills/fec-legacy-to-modern-migration/references/migration-report-template.md +37 -37
- package/skills/fec-legacy-to-modern-migration/references/migration-strategy-and-mapping.md +31 -31
- package/skills/fec-legacy-web-standard/SKILL.md +17 -17
- package/skills/fec-legacy-web-standard/references/legacy-patterns.md +16 -16
- package/skills/fec-list-virtualization/SKILL.md +16 -16
- package/skills/fec-list-virtualization/references/virtualization-patterns.md +31 -31
- package/skills/fec-monorepo-project-standard/SKILL.md +52 -52
- package/skills/fec-motion-interaction/SKILL.md +51 -51
- package/skills/fec-motion-interaction/references/motion-patterns.md +11 -11
- package/skills/fec-nextjs-project-standard/SKILL.md +64 -64
- package/skills/fec-nuxt-project-standard/SKILL.md +57 -57
- package/skills/fec-performance-optimization/SKILL.md +54 -54
- package/skills/fec-performance-optimization/references/framework-performance-patterns.md +23 -23
- package/skills/fec-performance-optimization/references/report-template.md +31 -31
- package/skills/fec-pwa-implementation/SKILL.md +17 -17
- package/skills/fec-pwa-implementation/references/manifest-and-icons.md +12 -12
- package/skills/fec-pwa-implementation/references/service-worker-workbox.md +13 -13
- package/skills/fec-react-project-standard/SKILL.md +72 -72
- package/skills/fec-react-project-standard/references/react-performance-patterns.md +28 -28
- package/skills/fec-react-project-standard/references/react-project-structure.md +112 -112
- package/skills/fec-react-project-standard/references/react-quality-patterns.md +72 -72
- package/skills/fec-react-project-standard/references/react-runtime-patterns.md +94 -94
- package/skills/fec-refactor-clean/SKILL.md +30 -30
- package/skills/fec-refactor-clean/references/report-template.md +23 -23
- package/skills/fec-responsive-layout/SKILL.md +17 -17
- package/skills/fec-responsive-layout/references/responsive-layout-patterns.md +37 -37
- package/skills/fec-route-protection/SKILL.md +26 -26
- package/skills/fec-security-review/SKILL.md +20 -20
- package/skills/fec-security-review/references/report-template.md +12 -12
- package/skills/fec-security-review/references/security-checklist.md +27 -27
- package/skills/fec-source-driven-development/SKILL.md +59 -59
- package/skills/fec-state-management/SKILL.md +34 -34
- package/skills/fec-state-management/references/state-patterns.md +19 -19
- package/skills/fec-storybook-component-doc/SKILL.md +19 -19
- package/skills/fec-storybook-component-doc/references/story-patterns.md +12 -12
- package/skills/fec-svg-animation/SKILL.md +32 -32
- package/skills/fec-tailwind-design-system/SKILL.md +17 -17
- package/skills/fec-tailwind-design-system/references/tailwind-system-patterns.md +36 -36
- package/skills/fec-tdd-workflow/SKILL.md +28 -28
- package/skills/fec-testing-strategy/SKILL.md +29 -29
- package/skills/fec-typescript-project-standard/SKILL.md +38 -38
- package/skills/fec-typescript-project-standard/references/type-safety-patterns.md +20 -20
- package/skills/fec-typescript-project-standard/references/type-safety.md +18 -18
- package/skills/fec-ui-design/SKILL.md +90 -90
- package/skills/fec-ui-design/references/design-intelligence.md +61 -61
- package/skills/fec-ui-design/references/master-page-overrides.md +15 -15
- package/skills/fec-ui-design/references/pre-delivery-checklist.md +38 -38
- package/skills/fec-validation-fix/SKILL.md +26 -26
- package/skills/fec-validation-fix/references/report-template.md +25 -25
- package/skills/fec-vite-project-standard/SKILL.md +39 -39
- package/skills/fec-vue3-project-standard/SKILL.md +38 -38
- package/skills/fec-vue3-project-standard/references/vue3-composables-routing.md +36 -36
- package/skills/fec-vue3-project-standard/references/vue3-performance-patterns.md +8 -8
- package/skills/fec-vue3-project-standard/references/vue3-project-structure.md +112 -112
- package/skills/fec-vue3-project-standard/references/vue3-state-api-quality.md +74 -74
- package/skills/fec-web-video-presentation/SKILL.md +33 -33
- package/skills/fec-web-workers/SKILL.md +16 -16
- package/skills/fec-web-workers/references/advanced-workers.md +13 -13
- package/skills/fec-web-workers/references/basic-worker.md +8 -8
- package/skills/metadata.json +121 -115
- package/skills/relations.json +4 -0
- package/templates/claude/CLAUDE.md +60 -60
- package/templates/codex/AGENTS.md +76 -76
- package/templates/codex/config.toml +4 -4
- package/templates/openclaw/AGENTS.md +68 -68
- package/templates/openclaw/OPENCLAW-CONFIG.md +8 -8
- package/templates/shared/rules/fec-agent-workflow.md +40 -40
- package/templates/shared/rules/fec-api-layer.md +52 -52
- package/templates/shared/rules/fec-ci-cd.md +29 -29
- package/templates/shared/rules/fec-code-comments.md +22 -22
- package/templates/shared/rules/fec-design-system.md +53 -53
- package/templates/shared/rules/fec-error-handling.md +40 -40
- package/templates/shared/rules/fec-git-conventions.md +42 -42
- package/templates/shared/rules/fec-i18n.md +48 -48
- package/templates/shared/rules/fec-naming-conventions.md +91 -91
- package/templates/shared/rules/fec-performance.md +78 -78
- package/templates/shared/rules/fec-react.md +58 -58
- package/templates/shared/rules/fec-refactoring.md +34 -34
- package/templates/shared/rules/fec-rendering-patterns.md +36 -36
- package/templates/shared/rules/fec-responsive-design.md +37 -37
- package/templates/shared/rules/fec-source-driven-development.md +22 -22
- package/templates/shared/rules/fec-state-management.md +56 -56
- package/templates/shared/rules/fec-testing.md +64 -64
- package/templates/shared/rules/fec-typescript.md +75 -75
- package/templates/shared/rules/fec-vue.md +42 -42
- package/templates/shared/rules/fec-working-modes.md +34 -34
- package/skills/fec-drawio-studio/data/shape-index.json.gz +0 -0
|
@@ -0,0 +1,1013 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fec-accessibility-check": {
|
|
3
|
+
"should_trigger": [
|
|
4
|
+
"检查这个弹窗的键盘焦点和 aria 是否正确",
|
|
5
|
+
"给这个表单做 WCAG 2.2 AA 无障碍审查",
|
|
6
|
+
"这个菜单能不能只用键盘操作",
|
|
7
|
+
"审查页面标题层级和 landmark",
|
|
8
|
+
"按钮只有图标,帮我补可访问名称",
|
|
9
|
+
"检查 table 语义和屏幕阅读器体验",
|
|
10
|
+
"抽屉关闭后焦点应该回到哪里",
|
|
11
|
+
"给这个 React 组件做 a11y 审查"
|
|
12
|
+
],
|
|
13
|
+
"should_not_trigger": [
|
|
14
|
+
"给这个 PR 做整体代码评审",
|
|
15
|
+
"修复 TypeScript 编译错误",
|
|
16
|
+
"写一个 Playwright 登录流程",
|
|
17
|
+
"实现 React 项目目录结构",
|
|
18
|
+
"检查 XSS 和 token 存储风险",
|
|
19
|
+
"优化虚拟列表滚动性能",
|
|
20
|
+
"用 Storybook 写组件文档",
|
|
21
|
+
"把 jQuery 项目迁移到 Vue"
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"fec-alchemy": {
|
|
25
|
+
"should_trigger": [
|
|
26
|
+
"分析这个参考仓库,把有价值的能力原创化吸收到当前项目",
|
|
27
|
+
"对比这个插件和我们的项目,提炼可以融合的架构思路",
|
|
28
|
+
"不要复制代码,帮我借鉴另一个项目的 commands 和 hooks",
|
|
29
|
+
"把这个开源项目的工作流改造成适合 frontend-craft 的 skill",
|
|
30
|
+
"研究相似产品的实现方式,并给当前仓库制定吸收计划",
|
|
31
|
+
"将参考项目里的优秀工程实践迁移成我们自己的方案",
|
|
32
|
+
"做一次项目吸收分析,区分可借鉴能力和不该引入的部分",
|
|
33
|
+
"把参考仓库的想法原创化吸收到这个项目",
|
|
34
|
+
"参考后端项目的鉴权和可观测性设计,提炼适合当前服务的吸收方案",
|
|
35
|
+
"把另一个 CLI 工具的配置和错误输出体验原创化改造成我们的方案",
|
|
36
|
+
"对比这个库项目的公开 API 和版本策略,判断哪些能力适合吸收"
|
|
37
|
+
],
|
|
38
|
+
"should_not_trigger": [
|
|
39
|
+
"修复这个组件的 TypeScript 类型错误",
|
|
40
|
+
"给 Button 写 React Testing Library 单测",
|
|
41
|
+
"只同步 README 里的 skill 数量",
|
|
42
|
+
"审查 dangerouslySetInnerHTML 的 XSS 风险",
|
|
43
|
+
"把 Vite 从 5 升级到 6",
|
|
44
|
+
"优化虚拟列表滚动卡顿",
|
|
45
|
+
"按 Figma 设计稿实现页面",
|
|
46
|
+
"配置 PWA manifest 和 Service Worker"
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
"fec-api-integration": {
|
|
50
|
+
"should_trigger": [
|
|
51
|
+
"设计前端 typed API client",
|
|
52
|
+
"统一处理接口 401 refresh token",
|
|
53
|
+
"前后端联调时错误状态怎么映射",
|
|
54
|
+
"文件上传用 multipart 还是预签名 URL",
|
|
55
|
+
"SSE 和 WebSocket 应该选哪个",
|
|
56
|
+
"组件里到处 fetch 想收敛成 API 层",
|
|
57
|
+
"API 422 字段错误怎么展示到表单",
|
|
58
|
+
"带认证刷新的前端 API 集成"
|
|
59
|
+
],
|
|
60
|
+
"should_not_trigger": [
|
|
61
|
+
"TanStack Query queryKey 怎么设计",
|
|
62
|
+
"后端服务分层和数据库 repository",
|
|
63
|
+
"React 项目目录怎么划分",
|
|
64
|
+
"只检查 token 是否能放 localStorage",
|
|
65
|
+
"写 Playwright 登录 E2E",
|
|
66
|
+
"配置 Vite proxy",
|
|
67
|
+
"普通按钮 loading 样式",
|
|
68
|
+
"PWA Service Worker 缓存接口"
|
|
69
|
+
]
|
|
70
|
+
},
|
|
71
|
+
"fec-backend-requirements-handoff": {
|
|
72
|
+
"should_trigger": [
|
|
73
|
+
"帮我把这个页面的数据需求整理给后端",
|
|
74
|
+
"写一份前端视角的后端需求交接文档",
|
|
75
|
+
"这个 dashboard 需要哪些后端数据,帮我列给 API 团队",
|
|
76
|
+
"不要设计接口,只描述 UI 需要展示什么和能做什么",
|
|
77
|
+
"前后端联调前先梳理用户动作、空态和错误态",
|
|
78
|
+
"把订单详情页的权限和业务规则问题整理成后端问题清单",
|
|
79
|
+
"为这个功能做前后端需求交接",
|
|
80
|
+
"整理结账 UI 的后端数据需求",
|
|
81
|
+
"我需要向后端说明这个列表页的筛选、分页和状态需求"
|
|
82
|
+
],
|
|
83
|
+
"should_not_trigger": [
|
|
84
|
+
"实现 typed API client 和错误映射",
|
|
85
|
+
"给接口封装 refresh token 队列",
|
|
86
|
+
"设计数据库表结构和索引",
|
|
87
|
+
"写后端 controller 和 service",
|
|
88
|
+
"修复 React 组件里的 loading 状态",
|
|
89
|
+
"做一次完整代码审查",
|
|
90
|
+
"同步 README 里的脚本说明",
|
|
91
|
+
"配置 Vite dev server proxy"
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
"fec-browser-storage": {
|
|
95
|
+
"should_trigger": [
|
|
96
|
+
"localStorage 里该怎么存用户偏好",
|
|
97
|
+
"IndexedDB 适合缓存这个离线数据吗",
|
|
98
|
+
"设计浏览器端缓存清理策略",
|
|
99
|
+
"Cookie、sessionStorage、localStorage 选哪个",
|
|
100
|
+
"封装带命名空间的客户端持久化",
|
|
101
|
+
"审查 token 是否不该放 localStorage",
|
|
102
|
+
"大数据量本地缓存用什么方案",
|
|
103
|
+
"为 Web 应用制定客户端持久化策略"
|
|
104
|
+
],
|
|
105
|
+
"should_not_trigger": [
|
|
106
|
+
"配置 Service Worker 离线 fallback",
|
|
107
|
+
"React Query queryKey 怎么设计",
|
|
108
|
+
"修复表单校验错误",
|
|
109
|
+
"写路由 RBAC 守卫",
|
|
110
|
+
"迁移 jQuery 页面",
|
|
111
|
+
"审查 CSP 和 XSS",
|
|
112
|
+
"优化 Canvas 渲染",
|
|
113
|
+
"配置 Next.js metadata"
|
|
114
|
+
]
|
|
115
|
+
},
|
|
116
|
+
"fec-canvas-threejs": {
|
|
117
|
+
"should_trigger": [
|
|
118
|
+
"实现一个 Three.js 产品 3D 预览",
|
|
119
|
+
"Canvas 粒子动画卡顿怎么优化",
|
|
120
|
+
"React Three Fiber 场景如何清理资源",
|
|
121
|
+
"WebGL texture 太大导致掉帧",
|
|
122
|
+
"签名板 Canvas 适配高清屏",
|
|
123
|
+
"游戏渲染循环怎么写",
|
|
124
|
+
"3D 场景 dispose 有哪些必须做",
|
|
125
|
+
"构建 Canvas 数据可视化"
|
|
126
|
+
],
|
|
127
|
+
"should_not_trigger": [
|
|
128
|
+
"普通 DOM 表单怎么实现",
|
|
129
|
+
"SVG 图标路径描边动画",
|
|
130
|
+
"Web Worker 解析大 JSON",
|
|
131
|
+
"React 项目模块边界设计",
|
|
132
|
+
"优化大列表 DOM 节点数量",
|
|
133
|
+
"Playwright 截图测试",
|
|
134
|
+
"PWA manifest 配置",
|
|
135
|
+
"检查按钮 aria-label"
|
|
136
|
+
]
|
|
137
|
+
},
|
|
138
|
+
"fec-code-review": {
|
|
139
|
+
"should_trigger": [
|
|
140
|
+
"帮我 review 这个前端 PR",
|
|
141
|
+
"做一次合并前代码评审",
|
|
142
|
+
"检查 React 组件架构和可维护性",
|
|
143
|
+
"看看这批改动有没有类型和状态风险",
|
|
144
|
+
"输出 frontend code review 报告",
|
|
145
|
+
"审查样式一致性和测试缺口",
|
|
146
|
+
"评估这个 UI 实现能不能合并",
|
|
147
|
+
"做一次通用前端 PR 评审"
|
|
148
|
+
],
|
|
149
|
+
"should_not_trigger": [
|
|
150
|
+
"只检查 XSS 和 CSP",
|
|
151
|
+
"只做 WCAG 无障碍审查",
|
|
152
|
+
"只运行 test 并修复失败",
|
|
153
|
+
"写 Playwright E2E",
|
|
154
|
+
"设计 Next.js 路由结构",
|
|
155
|
+
"迁移 jQuery 到 React",
|
|
156
|
+
"优化 WebGL 帧率",
|
|
157
|
+
"编写 Storybook 文档"
|
|
158
|
+
]
|
|
159
|
+
},
|
|
160
|
+
"fec-component-testing": {
|
|
161
|
+
"should_trigger": [
|
|
162
|
+
"给这个 React 组件补 RTL 单测",
|
|
163
|
+
"Vue Test Utils 测试 emits",
|
|
164
|
+
"给这个 composable 写单元测试",
|
|
165
|
+
"用 user-event 测试弹窗交互",
|
|
166
|
+
"组件 loading empty error 状态怎么测",
|
|
167
|
+
"避免 snapshot 测试脆弱断言",
|
|
168
|
+
"mock API 后测试组件渲染",
|
|
169
|
+
"表单组件加 Router Provider 的轻量集成测试",
|
|
170
|
+
"为这个 bug 补组件回归测试"
|
|
171
|
+
],
|
|
172
|
+
"should_not_trigger": [
|
|
173
|
+
"规划这个功能的测试分层",
|
|
174
|
+
"写完整登录到支付的 E2E",
|
|
175
|
+
"配置 Storybook 文档站",
|
|
176
|
+
"跑 lint 并修复失败",
|
|
177
|
+
"审查 XSS 风险",
|
|
178
|
+
"设计 React 项目结构",
|
|
179
|
+
"检查 WCAG 键盘焦点",
|
|
180
|
+
"搭建 Playwright CI artifacts",
|
|
181
|
+
"迁移 jQuery 项目"
|
|
182
|
+
]
|
|
183
|
+
},
|
|
184
|
+
"fec-data-fetching": {
|
|
185
|
+
"should_trigger": [
|
|
186
|
+
"TanStack Query queryKey 怎么设计",
|
|
187
|
+
"React Query mutation 成功后如何失效缓存",
|
|
188
|
+
"实现乐观更新失败回滚",
|
|
189
|
+
"无限滚动数据用 useInfiniteQuery",
|
|
190
|
+
"处理 React Query 的 SSR hydration",
|
|
191
|
+
"封装 typed API hooks",
|
|
192
|
+
"替换 useEffect loading state 获取数据",
|
|
193
|
+
"制定服务端状态缓存策略"
|
|
194
|
+
],
|
|
195
|
+
"should_not_trigger": [
|
|
196
|
+
"Service Worker 缓存静态资源",
|
|
197
|
+
"localStorage 存用户偏好",
|
|
198
|
+
"表单字段联动校验",
|
|
199
|
+
"Pinia 本地 UI 状态设计",
|
|
200
|
+
"Next.js 服务端组件 fetch 缓存",
|
|
201
|
+
"Web Worker 后台解析 CSV",
|
|
202
|
+
"虚拟列表滚动渲染",
|
|
203
|
+
"审查 token 存储安全"
|
|
204
|
+
]
|
|
205
|
+
},
|
|
206
|
+
"fec-debug-framework": {
|
|
207
|
+
"should_trigger": [
|
|
208
|
+
"Vite 构建报错 Module not found,帮我排查",
|
|
209
|
+
"页面白屏了,控制台有 TypeError",
|
|
210
|
+
"这个组件渲染结果和预期不一致,帮我 debug",
|
|
211
|
+
"接口返回 500 但前端没展示错误信息",
|
|
212
|
+
"打包后样式丢失,开发环境正常",
|
|
213
|
+
"React 组件 hydration mismatch 怎么定位",
|
|
214
|
+
"HMR 更新后页面状态丢失",
|
|
215
|
+
"排查生产环境偶发性 JS 异常"
|
|
216
|
+
],
|
|
217
|
+
"should_not_trigger": [
|
|
218
|
+
"给这个模块写单元测试",
|
|
219
|
+
"设计一个新的 React 组件",
|
|
220
|
+
"优化首屏加载性能",
|
|
221
|
+
"做前端安全审查",
|
|
222
|
+
"升级 TypeScript 到最新版本",
|
|
223
|
+
"重构这个 hooks 的逻辑",
|
|
224
|
+
"写一个 Playwright E2E 测试",
|
|
225
|
+
"给这个 API 设计类型定义"
|
|
226
|
+
]
|
|
227
|
+
},
|
|
228
|
+
"fec-dependency-upgrade": {
|
|
229
|
+
"should_trigger": [
|
|
230
|
+
"把 Vite 从 5 升级到 6,需要评估破坏性变更",
|
|
231
|
+
"package-lock 改了很多,帮我 review 依赖升级风险",
|
|
232
|
+
"修复 npm audit 里的前端高危 CVE",
|
|
233
|
+
"React 大版本升级前需要迁移计划",
|
|
234
|
+
"peer dependency 冲突怎么处理",
|
|
235
|
+
"这个包从 CJS 切到 ESM 会影响构建吗",
|
|
236
|
+
"制定前端依赖升级验证计划",
|
|
237
|
+
"升级 Storybook 后 CI build 失败需要分析"
|
|
238
|
+
],
|
|
239
|
+
"should_not_trigger": [
|
|
240
|
+
"只运行 npm test 并修复失败",
|
|
241
|
+
"清理已证明未使用的组件",
|
|
242
|
+
"写 React 组件架构规范",
|
|
243
|
+
"设计 Tailwind token",
|
|
244
|
+
"审查 XSS 和 CSP",
|
|
245
|
+
"配置 Playwright 登录流程",
|
|
246
|
+
"做 UI 视觉打磨",
|
|
247
|
+
"实现 API client 错误映射"
|
|
248
|
+
]
|
|
249
|
+
},
|
|
250
|
+
"fec-drawio-studio": {
|
|
251
|
+
"should_trigger": [
|
|
252
|
+
"生成一个可编辑的 draw.io 架构图并导出 PNG",
|
|
253
|
+
"把这个微服务系统画成 .drawio 文件",
|
|
254
|
+
"用 diagrams.net 做 ER 图,要求后续能编辑",
|
|
255
|
+
"查一下 AWS Lambda 在 draw.io 里的官方 shape style",
|
|
256
|
+
"给这个 TypeScript 项目生成模块依赖图并自动布局",
|
|
257
|
+
"生成 UML 类图并用 draw.io CLI 导出 SVG",
|
|
258
|
+
"draw.io 自动布局一个超过 20 个节点的服务拓扑",
|
|
259
|
+
"用 Graphviz 布局后生成 diagrams.net 编辑链接",
|
|
260
|
+
"制作可编辑序列图并检查 .drawio 是否有断边",
|
|
261
|
+
"用官方云形状创建可编辑 draw.io 架构图"
|
|
262
|
+
],
|
|
263
|
+
"should_not_trigger": [
|
|
264
|
+
"生成一张产品宣传海报图片",
|
|
265
|
+
"编辑这张照片并替换背景",
|
|
266
|
+
"实现 Three.js 交互式 3D 拓扑图",
|
|
267
|
+
"给 SVG logo 加路径描边动画",
|
|
268
|
+
"只写 Mermaid 到 README 中",
|
|
269
|
+
"按 Figma 设计稿实现页面",
|
|
270
|
+
"检查 dashboard 的按钮 hover 状态",
|
|
271
|
+
"用 Playwright 截图做视觉回归",
|
|
272
|
+
"优化 Canvas 粒子动画性能",
|
|
273
|
+
"生成漫画头像和品牌板"
|
|
274
|
+
]
|
|
275
|
+
},
|
|
276
|
+
"fec-doc-sync": {
|
|
277
|
+
"should_trigger": [
|
|
278
|
+
"同步 README 中的 skill 和 agent 数量",
|
|
279
|
+
"新增命令后更新多语言文档",
|
|
280
|
+
"根据 package.json 生成命令清单",
|
|
281
|
+
"同步 runtime 文档",
|
|
282
|
+
"更新 marketplace 描述里的能力数量",
|
|
283
|
+
"检查 README 和 skills metadata 是否一致",
|
|
284
|
+
"把报告输出表同步到文档",
|
|
285
|
+
"更新项目结构文档中的 commands 列表"
|
|
286
|
+
],
|
|
287
|
+
"should_not_trigger": [
|
|
288
|
+
"给组件写 Storybook stories",
|
|
289
|
+
"修复 TypeScript 构建失败",
|
|
290
|
+
"写登录 E2E 测试",
|
|
291
|
+
"审查 XSS 风险",
|
|
292
|
+
"规划 React 组件边界",
|
|
293
|
+
"清理未使用导出",
|
|
294
|
+
"实现 PWA manifest",
|
|
295
|
+
"优化虚拟列表滚动"
|
|
296
|
+
]
|
|
297
|
+
},
|
|
298
|
+
"fec-e2e-testing": {
|
|
299
|
+
"should_trigger": [
|
|
300
|
+
"用 Playwright 写登录购买完整流程",
|
|
301
|
+
"治理 flaky E2E 用例",
|
|
302
|
+
"配置 Cypress 关键路径测试",
|
|
303
|
+
"上传 trace screenshot video 到 CI",
|
|
304
|
+
"Page Object 怎么组织",
|
|
305
|
+
"写移动端和桌面端 E2E",
|
|
306
|
+
"视觉回归测试怎么接入",
|
|
307
|
+
"调试失败的 Playwright 测试"
|
|
308
|
+
],
|
|
309
|
+
"should_not_trigger": [
|
|
310
|
+
"给 Button 写组件单测",
|
|
311
|
+
"Storybook 写组件示例",
|
|
312
|
+
"React 项目结构设计",
|
|
313
|
+
"修复 TypeScript 类型错误",
|
|
314
|
+
"审查 XSS 风险",
|
|
315
|
+
"配置 PWA manifest",
|
|
316
|
+
"选择 localStorage 还是 IndexedDB",
|
|
317
|
+
"写 Zod 表单校验"
|
|
318
|
+
]
|
|
319
|
+
},
|
|
320
|
+
"fec-form-handling": {
|
|
321
|
+
"should_trigger": [
|
|
322
|
+
"用 React Hook Form 和 Zod 做复杂表单",
|
|
323
|
+
"动态字段 useFieldArray 怎么写",
|
|
324
|
+
"第三方 Select 如何接入 Controller",
|
|
325
|
+
"文件上传表单怎么校验大小和类型",
|
|
326
|
+
"多步表单 schema 怎么拆",
|
|
327
|
+
"表单输入很卡怎么优化",
|
|
328
|
+
"密码确认联动校验",
|
|
329
|
+
"构建类型化校验表单"
|
|
330
|
+
],
|
|
331
|
+
"should_not_trigger": [
|
|
332
|
+
"React 项目目录怎么规划",
|
|
333
|
+
"mutation 成功后 invalidation",
|
|
334
|
+
"写表单组件单测",
|
|
335
|
+
"检查 label 和 aria 错误提示",
|
|
336
|
+
"路由未登录重定向",
|
|
337
|
+
"审查文件上传安全风险",
|
|
338
|
+
"普通两个字段搜索框",
|
|
339
|
+
"Vue 组件架构设计"
|
|
340
|
+
]
|
|
341
|
+
},
|
|
342
|
+
"fec-image-generation": {
|
|
343
|
+
"should_trigger": [
|
|
344
|
+
"帮我生成一张技术架构图并导出 PNG,还要检查标签有没有重叠",
|
|
345
|
+
"生成 ER 图、UML 类图和序列图的可编辑源与图片",
|
|
346
|
+
"给这个产品做一组海报和品牌板视觉探索",
|
|
347
|
+
"请生成一个 UI 样机图并自检导出的 PNG 是否裁切",
|
|
348
|
+
"把这张图片做编辑工作流,保留主体但替换背景",
|
|
349
|
+
"制作 ML 模型结构图,标清 tensor shape 并避免连线堆叠",
|
|
350
|
+
"生成信息图和学术图,导出后自动修复标签截断",
|
|
351
|
+
"为这个故事生成漫画分镜和头像资产",
|
|
352
|
+
"对生成的架构图运行 PNG 质检",
|
|
353
|
+
"为海报、产品图和样机制定图像生成工作流"
|
|
354
|
+
],
|
|
355
|
+
"should_not_trigger": [
|
|
356
|
+
"只打磨现有 dashboard 的间距和 hover 状态",
|
|
357
|
+
"按 Figma 像素还原页面",
|
|
358
|
+
"实现 Three.js 交互式 3D 场景",
|
|
359
|
+
"给 SVG 图标加 reduced-motion 动画",
|
|
360
|
+
"检查按钮 aria-label 和键盘焦点",
|
|
361
|
+
"修复 React Query 缓存失效",
|
|
362
|
+
"写 Playwright 登录 E2E",
|
|
363
|
+
"配置 Tailwind token 和 dark mode",
|
|
364
|
+
"优化虚拟列表滚动性能"
|
|
365
|
+
]
|
|
366
|
+
},
|
|
367
|
+
"fec-implement-from-design": {
|
|
368
|
+
"should_trigger": [
|
|
369
|
+
"按 Figma 设计稿实现这个页面",
|
|
370
|
+
"从截图还原一个 React 组件",
|
|
371
|
+
"把 MasterGo 选区转成前端代码",
|
|
372
|
+
"设计 token 应该怎么映射到 CSS 变量",
|
|
373
|
+
"实现设计稿里的弹窗和表格",
|
|
374
|
+
"检查设计稿和实现的视觉差异",
|
|
375
|
+
"用现有组件库还原 Pixso 页面",
|
|
376
|
+
"设计稿转代码实现"
|
|
377
|
+
],
|
|
378
|
+
"should_not_trigger": [
|
|
379
|
+
"创建 PWA Service Worker",
|
|
380
|
+
"写组件单元测试",
|
|
381
|
+
"做通用 PR review",
|
|
382
|
+
"配置 React Query",
|
|
383
|
+
"维护 jQuery 遗留页面",
|
|
384
|
+
"检查 XSS 风险",
|
|
385
|
+
"设计 monorepo package 边界",
|
|
386
|
+
"写 Web Worker"
|
|
387
|
+
]
|
|
388
|
+
},
|
|
389
|
+
"fec-legacy-to-modern-migration": {
|
|
390
|
+
"should_trigger": [
|
|
391
|
+
"把 jQuery MPA 迁移到 React TypeScript",
|
|
392
|
+
"规划遗留 JSP 页面现代化",
|
|
393
|
+
"从服务端模板迁移到 Vue 3 SPA",
|
|
394
|
+
"做 legacy frontend migration plan",
|
|
395
|
+
"盘点旧系统页面和插件依赖",
|
|
396
|
+
"制定渐进式 Strangler Fig 迁移",
|
|
397
|
+
"迁移 $.ajax 到 typed request layer",
|
|
398
|
+
"jQuery 项目技术栈升级方案"
|
|
399
|
+
],
|
|
400
|
+
"should_not_trigger": [
|
|
401
|
+
"在 jQuery 项目里修一个点击 bug",
|
|
402
|
+
"维护现有原生 JS 页面不迁移",
|
|
403
|
+
"审查 React PR",
|
|
404
|
+
"写 Playwright E2E",
|
|
405
|
+
"配置 Nuxt 路由",
|
|
406
|
+
"检查 Canvas 内存泄漏",
|
|
407
|
+
"设计浏览器存储策略",
|
|
408
|
+
"写 Storybook 文档"
|
|
409
|
+
]
|
|
410
|
+
},
|
|
411
|
+
"fec-legacy-web-standard": {
|
|
412
|
+
"should_trigger": [
|
|
413
|
+
"维护一个 jQuery 多页面项目",
|
|
414
|
+
"修复原生 JS 事件委托问题",
|
|
415
|
+
"传统服务端模板页面怎么安全改",
|
|
416
|
+
"审查 .html() 插入用户输入",
|
|
417
|
+
"整理 legacy CSS 和 jQuery 插件初始化",
|
|
418
|
+
"MPA 页面 Ajax loading 怎么处理",
|
|
419
|
+
"不引入框架地改旧页面",
|
|
420
|
+
"维护原生 JS 遗留代码"
|
|
421
|
+
],
|
|
422
|
+
"should_not_trigger": [
|
|
423
|
+
"把 jQuery 迁移到 React",
|
|
424
|
+
"制定 Vue 3 重构计划",
|
|
425
|
+
"设计 React 项目结构",
|
|
426
|
+
"写组件单元测试",
|
|
427
|
+
"配置 PWA 离线缓存",
|
|
428
|
+
"实现 Three.js 场景",
|
|
429
|
+
"做 Next.js App Router 页面",
|
|
430
|
+
"配置 TanStack Query"
|
|
431
|
+
]
|
|
432
|
+
},
|
|
433
|
+
"fec-list-virtualization": {
|
|
434
|
+
"should_trigger": [
|
|
435
|
+
"十万行列表滚动卡顿怎么优化",
|
|
436
|
+
"react-window 固定高度列表",
|
|
437
|
+
"TanStack Virtual 动态高度",
|
|
438
|
+
"虚拟滚动和无限加载结合",
|
|
439
|
+
"表格行太多导致 DOM 爆炸",
|
|
440
|
+
"网格 virtualization 怎么做",
|
|
441
|
+
"测量可变行高",
|
|
442
|
+
"优化大列表 windowing 性能"
|
|
443
|
+
],
|
|
444
|
+
"should_not_trigger": [
|
|
445
|
+
"React Query 无限分页数据源",
|
|
446
|
+
"Web Worker 计算布局",
|
|
447
|
+
"Canvas 绘制图表",
|
|
448
|
+
"普通短列表组件",
|
|
449
|
+
"写 E2E 滚动测试",
|
|
450
|
+
"检查 aria 表格语义",
|
|
451
|
+
"PWA 缓存图片",
|
|
452
|
+
"设计 Vue 项目结构"
|
|
453
|
+
]
|
|
454
|
+
},
|
|
455
|
+
"fec-monorepo-project-standard": {
|
|
456
|
+
"should_trigger": [
|
|
457
|
+
"设计 pnpm workspace 前端 monorepo",
|
|
458
|
+
"Turborepo task pipeline 怎么配置",
|
|
459
|
+
"Nx 多包边界怎么划分",
|
|
460
|
+
"内部包用 workspace:*",
|
|
461
|
+
"检查 monorepo 循环依赖",
|
|
462
|
+
"多 package 发布规范",
|
|
463
|
+
"共享 UI 包和 app 边界",
|
|
464
|
+
"重构前端 monorepo"
|
|
465
|
+
],
|
|
466
|
+
"should_not_trigger": [
|
|
467
|
+
"单个 React 组件架构",
|
|
468
|
+
"Next.js App Router 页面",
|
|
469
|
+
"写表单校验",
|
|
470
|
+
"配置 Playwright E2E",
|
|
471
|
+
"审查 XSS 风险",
|
|
472
|
+
"优化虚拟列表",
|
|
473
|
+
"配置 PWA manifest",
|
|
474
|
+
"维护 jQuery 页面"
|
|
475
|
+
]
|
|
476
|
+
},
|
|
477
|
+
"fec-motion-interaction": {
|
|
478
|
+
"should_trigger": [
|
|
479
|
+
"给这个产品页设计页面转场动效",
|
|
480
|
+
"Framer Motion 和 GSAP 这里该选哪个",
|
|
481
|
+
"滚动叙事动画怎么做且不掉帧",
|
|
482
|
+
"这个 dashboard 的交互动效太重了帮我降级",
|
|
483
|
+
"Lottie 图标动画怎么按需加载",
|
|
484
|
+
"设计 reduced-motion 下的动画兜底",
|
|
485
|
+
"页面入场 stagger 和布局过渡怎么规划",
|
|
486
|
+
"制定前端交互动效策略"
|
|
487
|
+
],
|
|
488
|
+
"should_not_trigger": [
|
|
489
|
+
"SVG 路径描边动画怎么写",
|
|
490
|
+
"Three.js 粒子系统怎么优化",
|
|
491
|
+
"普通 CSS hover 颜色变化",
|
|
492
|
+
"React 项目目录结构设计",
|
|
493
|
+
"检查按钮 aria-label",
|
|
494
|
+
"写 Playwright 动画截图测试",
|
|
495
|
+
"配置 PWA manifest",
|
|
496
|
+
"API 错误状态怎么映射"
|
|
497
|
+
]
|
|
498
|
+
},
|
|
499
|
+
"fec-nextjs-project-standard": {
|
|
500
|
+
"should_trigger": [
|
|
501
|
+
"Next.js App Router 项目结构",
|
|
502
|
+
"server component 和 client component 边界",
|
|
503
|
+
"配置 SSR SSG ISR",
|
|
504
|
+
"generateMetadata 怎么写",
|
|
505
|
+
"middleware 里做重定向",
|
|
506
|
+
"loading.tsx error.tsx 怎么组织",
|
|
507
|
+
"Next.js fetch cache 策略",
|
|
508
|
+
"设计 Next 14 路由 layout"
|
|
509
|
+
],
|
|
510
|
+
"should_not_trigger": [
|
|
511
|
+
"普通 React 组件拆分",
|
|
512
|
+
"React Hook Form 表单",
|
|
513
|
+
"TanStack Query 客户端缓存",
|
|
514
|
+
"Vue 3 composable 设计",
|
|
515
|
+
"Nuxt 页面路由",
|
|
516
|
+
"编写 Playwright E2E",
|
|
517
|
+
"配置 PWA Service Worker",
|
|
518
|
+
"jQuery 迁移"
|
|
519
|
+
]
|
|
520
|
+
},
|
|
521
|
+
"fec-nuxt-project-standard": {
|
|
522
|
+
"should_trigger": [
|
|
523
|
+
"Nuxt 3 项目结构怎么组织",
|
|
524
|
+
"useFetch 和 useAsyncData 选择",
|
|
525
|
+
"配置 Nuxt SSR SSG SPA",
|
|
526
|
+
"Nuxt route middleware 鉴权",
|
|
527
|
+
"plugins .client .server 怎么写",
|
|
528
|
+
"server/api 路由设计",
|
|
529
|
+
"Nuxt layouts 和 pages",
|
|
530
|
+
"设置 Nuxt module"
|
|
531
|
+
],
|
|
532
|
+
"should_not_trigger": [
|
|
533
|
+
"普通 Vue 3 组件边界",
|
|
534
|
+
"处理 Next.js App Router",
|
|
535
|
+
"React Query 缓存",
|
|
536
|
+
"写组件单测",
|
|
537
|
+
"配置 PWA manifest",
|
|
538
|
+
"jQuery 维护",
|
|
539
|
+
"Canvas 渲染",
|
|
540
|
+
"Web Worker 性能"
|
|
541
|
+
]
|
|
542
|
+
},
|
|
543
|
+
"fec-performance-optimization": {
|
|
544
|
+
"should_trigger": [
|
|
545
|
+
"页面首屏 LCP 很慢怎么定位",
|
|
546
|
+
"优化这个 React 页面重复渲染和长任务",
|
|
547
|
+
"bundle size 突然变大帮我分析",
|
|
548
|
+
"Core Web Vitals 不达标需要性能预算",
|
|
549
|
+
"Lighthouse performance 分数下降",
|
|
550
|
+
"滚动卡顿和主线程阻塞排查",
|
|
551
|
+
"检查内存泄漏和未清理事件监听",
|
|
552
|
+
"基于 Web Vitals 做前端性能优化"
|
|
553
|
+
],
|
|
554
|
+
"should_not_trigger": [
|
|
555
|
+
"给 Button 写组件单元测试",
|
|
556
|
+
"规划 React 项目目录结构",
|
|
557
|
+
"检查 XSS 和 CSP 风险",
|
|
558
|
+
"同步 README skill 数量",
|
|
559
|
+
"按 Figma 实现页面",
|
|
560
|
+
"配置路由权限守卫",
|
|
561
|
+
"修复 TypeScript 类型错误",
|
|
562
|
+
"迁移 jQuery 到 Vue"
|
|
563
|
+
]
|
|
564
|
+
},
|
|
565
|
+
"fec-pwa-implementation": {
|
|
566
|
+
"should_trigger": [
|
|
567
|
+
"给应用加 PWA manifest",
|
|
568
|
+
"配置 Service Worker 离线 fallback",
|
|
569
|
+
"Workbox 缓存策略怎么选",
|
|
570
|
+
"实现 beforeinstallprompt 安装提示",
|
|
571
|
+
"PWA 更新提示和 skipWaiting",
|
|
572
|
+
"maskable icon 怎么配置",
|
|
573
|
+
"iOS PWA 有哪些兼容问题",
|
|
574
|
+
"让这个 Web 应用可安装"
|
|
575
|
+
],
|
|
576
|
+
"should_not_trigger": [
|
|
577
|
+
"React Query API 缓存",
|
|
578
|
+
"localStorage 持久化偏好",
|
|
579
|
+
"普通页面性能优化",
|
|
580
|
+
"配置 Next.js metadata",
|
|
581
|
+
"写 Playwright E2E",
|
|
582
|
+
"Web Worker 后台计算",
|
|
583
|
+
"审查 XSS 风险",
|
|
584
|
+
"Vue 项目结构"
|
|
585
|
+
]
|
|
586
|
+
},
|
|
587
|
+
"fec-react-project-standard": {
|
|
588
|
+
"should_trigger": [
|
|
589
|
+
"设计 React TypeScript 项目结构",
|
|
590
|
+
"React feature 模块边界怎么划分",
|
|
591
|
+
"组件、hooks、services 目录怎么放",
|
|
592
|
+
"Context 和局部状态怎么归属",
|
|
593
|
+
"React 页面重构成 features",
|
|
594
|
+
"设计复合组件 API",
|
|
595
|
+
"梳理 React 错误边界和状态层",
|
|
596
|
+
"审查 React 组件架构"
|
|
597
|
+
],
|
|
598
|
+
"should_not_trigger": [
|
|
599
|
+
"写 React Hook Form 动态表单",
|
|
600
|
+
"TanStack Query mutation 回滚",
|
|
601
|
+
"RTL 组件单测",
|
|
602
|
+
"只检查 a11y 焦点",
|
|
603
|
+
"处理 Next.js App Router fetch cache",
|
|
604
|
+
"虚拟列表滚动性能",
|
|
605
|
+
"配置 PWA Service Worker",
|
|
606
|
+
"XSS 安全审查"
|
|
607
|
+
]
|
|
608
|
+
},
|
|
609
|
+
"fec-refactor-clean": {
|
|
610
|
+
"should_trigger": [
|
|
611
|
+
"清理未使用的 React 组件",
|
|
612
|
+
"用 knip 检查死代码并安全删除",
|
|
613
|
+
"删除没有引用的工具函数",
|
|
614
|
+
"检查未使用的 npm 依赖",
|
|
615
|
+
"重构清理未使用导出",
|
|
616
|
+
"清理过期路由前先做风险分类",
|
|
617
|
+
"找出无用 CSS 文件但不要误删动态 class",
|
|
618
|
+
"生成 dead code cleanup 报告"
|
|
619
|
+
],
|
|
620
|
+
"should_not_trigger": [
|
|
621
|
+
"实现新功能页面",
|
|
622
|
+
"写 TDD 失败测试",
|
|
623
|
+
"同步 README 命令表",
|
|
624
|
+
"修复 lint 失败",
|
|
625
|
+
"做安全审查",
|
|
626
|
+
"设计 Next.js 路由结构",
|
|
627
|
+
"写 Playwright 测试",
|
|
628
|
+
"迁移 jQuery 到 React"
|
|
629
|
+
]
|
|
630
|
+
},
|
|
631
|
+
"fec-responsive-layout": {
|
|
632
|
+
"should_trigger": [
|
|
633
|
+
"这个页面 375px 下横向溢出,帮我做响应式布局",
|
|
634
|
+
"用 container query 改这个组件的布局",
|
|
635
|
+
"移动端表格应该怎么改成可读视图",
|
|
636
|
+
"dashboard 在平板和桌面断点之间跳变",
|
|
637
|
+
"检查触摸目标和安全区域适配",
|
|
638
|
+
"横竖屏切换后底部操作栏挡住内容",
|
|
639
|
+
"审查这个 Web 应用的响应式布局",
|
|
640
|
+
"设计移动优先的多列筛选页面"
|
|
641
|
+
],
|
|
642
|
+
"should_not_trigger": [
|
|
643
|
+
"为产品页定义视觉风格",
|
|
644
|
+
"设计 Tailwind 组件变体",
|
|
645
|
+
"只检查 aria 和键盘焦点",
|
|
646
|
+
"优化 bundle size",
|
|
647
|
+
"写 Playwright E2E",
|
|
648
|
+
"实现 React 项目目录结构",
|
|
649
|
+
"审查 XSS 风险",
|
|
650
|
+
"升级依赖版本"
|
|
651
|
+
]
|
|
652
|
+
},
|
|
653
|
+
"fec-route-protection": {
|
|
654
|
+
"should_trigger": [
|
|
655
|
+
"实现未登录跳转登录页",
|
|
656
|
+
"RBAC 权限路由怎么设计",
|
|
657
|
+
"React Router 私有路由守卫",
|
|
658
|
+
"Next middleware 鉴权和 redirect",
|
|
659
|
+
"Vue Router beforeEach 权限判断",
|
|
660
|
+
"Nuxt route middleware 登录态",
|
|
661
|
+
"防止 open redirect",
|
|
662
|
+
"实现带角色的路由守卫"
|
|
663
|
+
],
|
|
664
|
+
"should_not_trigger": [
|
|
665
|
+
"审查 token 是否安全存储",
|
|
666
|
+
"设计 React 项目结构",
|
|
667
|
+
"配置 TanStack Query",
|
|
668
|
+
"写 E2E 登录流程",
|
|
669
|
+
"表单校验",
|
|
670
|
+
"PWA 离线缓存",
|
|
671
|
+
"普通菜单键盘可访问性",
|
|
672
|
+
"jQuery 迁移"
|
|
673
|
+
]
|
|
674
|
+
},
|
|
675
|
+
"fec-security-review": {
|
|
676
|
+
"should_trigger": [
|
|
677
|
+
"检查 dangerouslySetInnerHTML 是否安全",
|
|
678
|
+
"审查 v-html XSS 风险",
|
|
679
|
+
"token 存储和刷新流程安全检查",
|
|
680
|
+
"文件上传前端安全风险",
|
|
681
|
+
"第三方脚本和 CSP 审查",
|
|
682
|
+
"检查 CSRF 防护",
|
|
683
|
+
"开放重定向风险",
|
|
684
|
+
"前端安全审查"
|
|
685
|
+
],
|
|
686
|
+
"should_not_trigger": [
|
|
687
|
+
"普通前端 PR 综合评审",
|
|
688
|
+
"WCAG 键盘焦点审查",
|
|
689
|
+
"React 组件架构设计",
|
|
690
|
+
"编写 Playwright E2E",
|
|
691
|
+
"修复 TypeScript 错误",
|
|
692
|
+
"实现 PWA 安装提示",
|
|
693
|
+
"Storybook 组件文档",
|
|
694
|
+
"虚拟列表性能"
|
|
695
|
+
]
|
|
696
|
+
},
|
|
697
|
+
"fec-source-driven-development": {
|
|
698
|
+
"should_trigger": [
|
|
699
|
+
"这个 Next.js 新版本 API 先查官方文档再决定",
|
|
700
|
+
"帮我确认 Vite 配置项当前版本是否还推荐",
|
|
701
|
+
"这个浏览器 API 兼容性要以规范和 MDN 为准",
|
|
702
|
+
"为前端库迁移做事实源驱动决策",
|
|
703
|
+
"React Router 版本差异需要查文档",
|
|
704
|
+
"这个包的 ESM/CJS 行为不要凭记忆判断",
|
|
705
|
+
"按项目源码和官方 docs 设计公共接口",
|
|
706
|
+
"验证 Nuxt useFetch 最新推荐用法"
|
|
707
|
+
],
|
|
708
|
+
"should_not_trigger": [
|
|
709
|
+
"给表单写 Zod 校验",
|
|
710
|
+
"优化大列表虚拟滚动",
|
|
711
|
+
"运行 npm test 并修复失败",
|
|
712
|
+
"检查按钮 aria-label",
|
|
713
|
+
"写 Playwright 登录流程",
|
|
714
|
+
"清理未使用依赖",
|
|
715
|
+
"设计 UI 视觉方向",
|
|
716
|
+
"审查 token 存储安全"
|
|
717
|
+
]
|
|
718
|
+
},
|
|
719
|
+
"fec-state-management": {
|
|
720
|
+
"should_trigger": [
|
|
721
|
+
"审计这个 dashboard 的状态归属",
|
|
722
|
+
"哪些状态应该放 URL,哪些放 store",
|
|
723
|
+
"React 全局状态 Zustand 和 Context 怎么选",
|
|
724
|
+
"Pinia store 和本地 ref 应该怎么分工",
|
|
725
|
+
"把重复的派生 state 清理掉",
|
|
726
|
+
"服务端状态和客户端 store 边界怎么划分",
|
|
727
|
+
"设计筛选条件、分页和排序的状态归属",
|
|
728
|
+
"确定前端状态归属和 store 选型"
|
|
729
|
+
],
|
|
730
|
+
"should_not_trigger": [
|
|
731
|
+
"TanStack Query queryKey 细节怎么设计",
|
|
732
|
+
"localStorage 安全持久化怎么封装",
|
|
733
|
+
"React Hook Form 字段校验怎么写",
|
|
734
|
+
"只检查 XSS 和 token 泄露",
|
|
735
|
+
"设计 React 项目目录结构",
|
|
736
|
+
"写 Playwright 登录 E2E",
|
|
737
|
+
"配置 PWA Service Worker",
|
|
738
|
+
"优化虚拟列表滚动性能"
|
|
739
|
+
]
|
|
740
|
+
},
|
|
741
|
+
"fec-storybook-component-doc": {
|
|
742
|
+
"should_trigger": [
|
|
743
|
+
"给组件写 Storybook stories",
|
|
744
|
+
"配置 Storybook addon-a11y",
|
|
745
|
+
"为设计系统写 MDX 文档",
|
|
746
|
+
"Storybook decorators 怎么处理 Provider",
|
|
747
|
+
"组件状态枚举文档",
|
|
748
|
+
"Chromatic 视觉回归接入",
|
|
749
|
+
"编写 Storybook 交互测试",
|
|
750
|
+
"在 Storybook 中编写组件文档"
|
|
751
|
+
],
|
|
752
|
+
"should_not_trigger": [
|
|
753
|
+
"RTL 组件单元测试",
|
|
754
|
+
"Playwright 跨页 E2E",
|
|
755
|
+
"React 项目结构设计",
|
|
756
|
+
"按 Figma 直接实现页面",
|
|
757
|
+
"安全审查",
|
|
758
|
+
"PWA 配置",
|
|
759
|
+
"使用 Web Worker",
|
|
760
|
+
"jQuery 迁移"
|
|
761
|
+
]
|
|
762
|
+
},
|
|
763
|
+
"fec-svg-animation": {
|
|
764
|
+
"should_trigger": [
|
|
765
|
+
"SVG 路径描边动画",
|
|
766
|
+
"logo SVG 动效怎么做",
|
|
767
|
+
"Framer Motion 驱动 SVG",
|
|
768
|
+
"GSAP 控制 icon motion",
|
|
769
|
+
"微交互 SVG 动画",
|
|
770
|
+
"prefers-reduced-motion 兜底",
|
|
771
|
+
"SMIL 和 CSS animation 选择",
|
|
772
|
+
"为 SVG 插画添加动画"
|
|
773
|
+
],
|
|
774
|
+
"should_not_trigger": [
|
|
775
|
+
"Three.js 3D 场景",
|
|
776
|
+
"Canvas 粒子系统",
|
|
777
|
+
"普通 CSS hover",
|
|
778
|
+
"PWA 图标配置",
|
|
779
|
+
"React 项目结构",
|
|
780
|
+
"写 E2E 测试",
|
|
781
|
+
"检查 XSS",
|
|
782
|
+
"虚拟列表性能"
|
|
783
|
+
]
|
|
784
|
+
},
|
|
785
|
+
"fec-tailwind-design-system": {
|
|
786
|
+
"should_trigger": [
|
|
787
|
+
"设计 Tailwind token 和 theme.extend",
|
|
788
|
+
"这个组件库的 class 太散,想整理成 variants",
|
|
789
|
+
"Tailwind 暗色模式怎么和 CSS 变量对齐",
|
|
790
|
+
"检查动态 class 是否会被 purge 掉",
|
|
791
|
+
"用 CVA 设计 Button 的 size 和 tone",
|
|
792
|
+
"Tailwind safelist 应该怎么治理",
|
|
793
|
+
"为这个应用构建 Tailwind 设计系统",
|
|
794
|
+
"把硬编码颜色迁移到 Tailwind 语义 token"
|
|
795
|
+
],
|
|
796
|
+
"should_not_trigger": [
|
|
797
|
+
"纯 CSS Grid 响应式布局溢出",
|
|
798
|
+
"按 Figma 像素还原页面",
|
|
799
|
+
"写组件 RTL 单测",
|
|
800
|
+
"审查接口 401 错误映射",
|
|
801
|
+
"修复 TypeScript 类型错误",
|
|
802
|
+
"配置路由权限守卫",
|
|
803
|
+
"升级 npm 依赖",
|
|
804
|
+
"做通用前端 PR review"
|
|
805
|
+
]
|
|
806
|
+
},
|
|
807
|
+
"fec-tdd-workflow": {
|
|
808
|
+
"should_trigger": [
|
|
809
|
+
"用 TDD 实现这个 hook",
|
|
810
|
+
"先写失败测试再修这个 bug",
|
|
811
|
+
"为新组件走红绿重构流程",
|
|
812
|
+
"补一个回归测试再改逻辑",
|
|
813
|
+
"用测试驱动开发这个前端功能",
|
|
814
|
+
"这个工具函数先写单测再实现",
|
|
815
|
+
"修复表单校验 bug 前先复现测试",
|
|
816
|
+
"用测试驱动方式重构状态逻辑"
|
|
817
|
+
],
|
|
818
|
+
"should_not_trigger": [
|
|
819
|
+
"只运行现有测试并修复失败",
|
|
820
|
+
"制定测试分层策略",
|
|
821
|
+
"写完整 Playwright E2E 流程",
|
|
822
|
+
"同步文档能力表",
|
|
823
|
+
"清理未使用依赖",
|
|
824
|
+
"做 XSS 安全审查",
|
|
825
|
+
"设计 Vue 项目结构",
|
|
826
|
+
"配置 PWA 离线缓存"
|
|
827
|
+
]
|
|
828
|
+
},
|
|
829
|
+
"fec-testing-strategy": {
|
|
830
|
+
"should_trigger": [
|
|
831
|
+
"为这个前端功能制定测试策略",
|
|
832
|
+
"这次 PR 应该补哪些层级的测试",
|
|
833
|
+
"按风险给登录重构做测试覆盖矩阵",
|
|
834
|
+
"单元测试、组件测试、E2E 怎么分工",
|
|
835
|
+
"规划静态检查、组件测试和 E2E 的质量门禁",
|
|
836
|
+
"评估这个里程碑的测试债治理优先级",
|
|
837
|
+
"测试分层怎么设计",
|
|
838
|
+
"为这个功能创建前端测试策略"
|
|
839
|
+
],
|
|
840
|
+
"should_not_trigger": [
|
|
841
|
+
"给 Button 写 RTL 单测",
|
|
842
|
+
"写 Playwright 登录 E2E",
|
|
843
|
+
"运行 npm test 并修复失败",
|
|
844
|
+
"配置 Storybook stories",
|
|
845
|
+
"只检查 XSS 和 CSP",
|
|
846
|
+
"只做 WCAG 键盘焦点审查",
|
|
847
|
+
"实现 React 项目目录结构",
|
|
848
|
+
"优化虚拟列表滚动性能"
|
|
849
|
+
]
|
|
850
|
+
},
|
|
851
|
+
"fec-typescript-project-standard": {
|
|
852
|
+
"should_trigger": [
|
|
853
|
+
"TypeScript 项目 tsconfig strict 怎么配置",
|
|
854
|
+
"审查这些 DTO 和 view model 类型边界",
|
|
855
|
+
"这个泛型组件类型怎么设计更安全",
|
|
856
|
+
"用 type guard 收窄 unknown 输入",
|
|
857
|
+
"设计判别联合表达异步状态",
|
|
858
|
+
"TypeScript 类型建模和泛型约束 review",
|
|
859
|
+
"TS SDK 的 package exports 和 d.ts 怎么发布",
|
|
860
|
+
"monorepo package 的 project references 怎么配置",
|
|
861
|
+
"public API 类型和声明文件一致性怎么检查",
|
|
862
|
+
"Node CLI 的 moduleResolution 和类型声明怎么设"
|
|
863
|
+
],
|
|
864
|
+
"should_not_trigger": [
|
|
865
|
+
"React 项目组件目录怎么分层",
|
|
866
|
+
"Vue composable 和 Pinia store 怎么组织",
|
|
867
|
+
"Vite dev server proxy 怎么配置",
|
|
868
|
+
"TanStack Query queryKey 怎么设计",
|
|
869
|
+
"表单校验错误怎么展示",
|
|
870
|
+
"检查弹窗键盘焦点和 aria",
|
|
871
|
+
"写 Playwright 登录流程",
|
|
872
|
+
"优化虚拟列表滚动性能"
|
|
873
|
+
]
|
|
874
|
+
},
|
|
875
|
+
"fec-ui-design": {
|
|
876
|
+
"should_trigger": [
|
|
877
|
+
"这个后台页面应该走什么 UI 设计方向",
|
|
878
|
+
"帮我把这个工具界面做得更产品化",
|
|
879
|
+
"让这个页面不要那么模板化和泛泛",
|
|
880
|
+
"把这个页面做得更有辨识度和高级感",
|
|
881
|
+
"这个界面看起来有点粗糙,帮我打磨间距和状态",
|
|
882
|
+
"检查按钮 hover active focus disabled 是否完整",
|
|
883
|
+
"这个页面局部有模板感,帮我打磨得更精致",
|
|
884
|
+
"做一次 UI polish pass",
|
|
885
|
+
"为这个美业预约产品生成设计系统建议",
|
|
886
|
+
"根据行业和产品类型给 dashboard 做 UI 方向",
|
|
887
|
+
"写一个 design-system Master 和 dashboard page override",
|
|
888
|
+
"检查这个图表页面的 chart UX 和视觉 QA",
|
|
889
|
+
"做产品专属的差异化 UI 设计与视觉 QA"
|
|
890
|
+
],
|
|
891
|
+
"should_not_trigger": [
|
|
892
|
+
"按 Figma 像素还原组件",
|
|
893
|
+
"检查键盘焦点和 aria",
|
|
894
|
+
"审查 XSS 和 CSP",
|
|
895
|
+
"写 Playwright E2E",
|
|
896
|
+
"写 React Hook Form 表单",
|
|
897
|
+
"设计浏览器存储策略",
|
|
898
|
+
"配置 Vite 环境变量",
|
|
899
|
+
"给 React 项目做目录规划",
|
|
900
|
+
"实现 Web Worker"
|
|
901
|
+
]
|
|
902
|
+
},
|
|
903
|
+
"fec-validation-fix": {
|
|
904
|
+
"should_trigger": [
|
|
905
|
+
"运行项目测试并修复失败",
|
|
906
|
+
"npm run build 报错帮我修",
|
|
907
|
+
"typecheck 失败怎么处理",
|
|
908
|
+
"修复变更后的 lint 失败",
|
|
909
|
+
"跑验证命令并分析失败日志",
|
|
910
|
+
"修复单元测试失败",
|
|
911
|
+
"修复本地 CI 构建失败",
|
|
912
|
+
"测试并修复这个前端仓库"
|
|
913
|
+
],
|
|
914
|
+
"should_not_trigger": [
|
|
915
|
+
"给 Button 写组件单元测试",
|
|
916
|
+
"为登录流程编写 Playwright E2E",
|
|
917
|
+
"写新的 Playwright 测试计划",
|
|
918
|
+
"做代码 review 报告",
|
|
919
|
+
"设计 React 架构",
|
|
920
|
+
"配置 PWA manifest",
|
|
921
|
+
"Web Worker 实现",
|
|
922
|
+
"迁移 jQuery"
|
|
923
|
+
]
|
|
924
|
+
},
|
|
925
|
+
"fec-vite-project-standard": {
|
|
926
|
+
"should_trigger": [
|
|
927
|
+
"配置 vite.config.ts 的 proxy 和 alias",
|
|
928
|
+
"Vite 项目 build 通过但 typecheck 没跑怎么办",
|
|
929
|
+
"VITE_ 环境变量会不会泄露密钥",
|
|
930
|
+
"优化 Vite dev server 启动速度",
|
|
931
|
+
"Vite library mode 怎么 external peer deps",
|
|
932
|
+
"vite-plugin-checker 该怎么接入",
|
|
933
|
+
"配置 optimizeDeps 解决 CJS 依赖问题",
|
|
934
|
+
"审查 Vite 生产构建配置"
|
|
935
|
+
],
|
|
936
|
+
"should_not_trigger": [
|
|
937
|
+
"React 组件边界怎么拆",
|
|
938
|
+
"Vue Router 页面组织",
|
|
939
|
+
"处理 Next.js App Router metadata",
|
|
940
|
+
"处理 Nuxt useFetch SSR",
|
|
941
|
+
"写 Playwright E2E",
|
|
942
|
+
"PWA Service Worker 离线缓存",
|
|
943
|
+
"按钮视觉 polish",
|
|
944
|
+
"审查 XSS DOM 注入"
|
|
945
|
+
]
|
|
946
|
+
},
|
|
947
|
+
"fec-vue3-project-standard": {
|
|
948
|
+
"should_trigger": [
|
|
949
|
+
"设计 Vue 3 TypeScript 项目结构",
|
|
950
|
+
"Vue SFC 组件边界怎么拆",
|
|
951
|
+
"Composables 和 Pinia 怎么分工",
|
|
952
|
+
"Vue Router 页面组织",
|
|
953
|
+
"Provide Inject 适合这个场景吗",
|
|
954
|
+
"Vue 3 API 层和错误处理约定",
|
|
955
|
+
"Vue 组件架构 review",
|
|
956
|
+
"制定 Composition API 项目约定"
|
|
957
|
+
],
|
|
958
|
+
"should_not_trigger": [
|
|
959
|
+
"Nuxt useFetch 和 SSR",
|
|
960
|
+
"React 组件架构",
|
|
961
|
+
"写 Vue Test Utils 单测",
|
|
962
|
+
"只做 WCAG 审查",
|
|
963
|
+
"TanStack Query 乐观更新",
|
|
964
|
+
"配置 PWA Service Worker",
|
|
965
|
+
"jQuery 迁移",
|
|
966
|
+
"XSS 安全审查"
|
|
967
|
+
]
|
|
968
|
+
},
|
|
969
|
+
"fec-web-video-presentation": {
|
|
970
|
+
"should_trigger": [
|
|
971
|
+
"把这篇文章做成可以录屏的 16:9 网页视频演示",
|
|
972
|
+
"我有一段口播稿,帮我规划成点击推进的动态网页 presentation",
|
|
973
|
+
"为这个产品 demo 做一个 step-driven browser recording deck",
|
|
974
|
+
"把课程大纲转成像视频一样播放的 React 演示页面",
|
|
975
|
+
"生成网页视频脚手架,支持主题 token 和录屏",
|
|
976
|
+
"把技术分享拆成 script、outline 和可录制章节",
|
|
977
|
+
"做一个每次按空格推进一个口播节拍的 16:9 演示",
|
|
978
|
+
"把这份演讲稿做成可录屏的网页视频演示"
|
|
979
|
+
],
|
|
980
|
+
"should_not_trigger": [
|
|
981
|
+
"普通 landing page 视觉打磨",
|
|
982
|
+
"从 Figma 节点实现一个按钮组件",
|
|
983
|
+
"生成一张系统架构图 PNG",
|
|
984
|
+
"修复 Vite 构建错误",
|
|
985
|
+
"给 React 表单写组件测试",
|
|
986
|
+
"检查 dashboard 的 WCAG 对比度",
|
|
987
|
+
"把 jQuery 页面迁移到 Vue",
|
|
988
|
+
"规划 API 鉴权刷新流程"
|
|
989
|
+
]
|
|
990
|
+
},
|
|
991
|
+
"fec-web-workers": {
|
|
992
|
+
"should_trigger": [
|
|
993
|
+
"大 JSON 解析阻塞主线程",
|
|
994
|
+
"用 Web Worker 处理图片滤镜",
|
|
995
|
+
"Comlink 怎么封装 worker API",
|
|
996
|
+
"Transferable Objects 零拷贝",
|
|
997
|
+
"Worker pool 处理大量任务",
|
|
998
|
+
"SharedWorker 跨 Tab 通信",
|
|
999
|
+
"Vite worker import 怎么写",
|
|
1000
|
+
"把繁重浏览器计算移出主线程"
|
|
1001
|
+
],
|
|
1002
|
+
"should_not_trigger": [
|
|
1003
|
+
"虚拟列表减少 DOM 节点",
|
|
1004
|
+
"Canvas 渲染循环",
|
|
1005
|
+
"Service Worker 离线缓存",
|
|
1006
|
+
"localStorage 存储",
|
|
1007
|
+
"React 项目结构",
|
|
1008
|
+
"普通 5ms 计算",
|
|
1009
|
+
"操作 DOM 更新 UI",
|
|
1010
|
+
"写组件测试"
|
|
1011
|
+
]
|
|
1012
|
+
}
|
|
1013
|
+
}
|