@bovinphang/frontend-craft 2.5.0 → 2.7.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 +7 -3
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +77 -1
- package/CHANGELOG.zh-CN.md +77 -1
- package/CONTRIBUTING.md +15 -10
- package/CONTRIBUTING.zh-CN.md +15 -10
- package/README.md +69 -43
- package/README.openclaw.md +11 -9
- package/README.openclaw.zh-CN.md +11 -9
- package/README.zh-CN.md +69 -43
- package/agents/fec-typescript-reviewer.md +1 -1
- package/commands/fec-doc-sync.md +7 -6
- package/dist/bin/frontend-craft.js +30 -27
- package/docs/example-prompts.md +82 -69
- package/docs/ja-JP/README.md +110 -84
- package/docs/ko-KR/README.md +100 -74
- package/docs/project-structure.md +8 -4
- package/docs/runtimes/antigravity.md +1 -1
- package/docs/runtimes/augment.md +1 -1
- package/docs/runtimes/claude.md +16 -10
- package/docs/runtimes/claude.zh-CN.md +16 -10
- package/docs/runtimes/cline.md +1 -1
- package/docs/runtimes/codebuddy.md +1 -1
- package/docs/runtimes/codex.md +1 -1
- package/docs/runtimes/copilot.md +1 -1
- package/docs/runtimes/cursor.md +1 -1
- package/docs/runtimes/gemini.md +1 -1
- package/docs/runtimes/kilo.md +1 -1
- package/docs/runtimes/openclaw.md +1 -1
- package/docs/runtimes/opencode.md +1 -1
- package/docs/runtimes/qoder.md +1 -1
- package/docs/runtimes/trae.md +1 -1
- package/docs/runtimes/windsurf.md +1 -1
- package/docs/zh-CN/example-prompts.md +82 -69
- package/docs/zh-CN/project-structure.md +8 -4
- package/docs/zh-TW/README.md +88 -62
- package/openclaw.plugin.json +1 -1
- package/package.json +3 -3
- package/skills/eval_queries.json +179 -56
- package/skills/fec-accessibility-check/SKILL.md +1 -1
- package/skills/fec-alchemy/SKILL.md +74 -0
- package/skills/fec-alchemy/assets/absorption-plan-template.md +47 -0
- package/skills/fec-alchemy/assets/intake-template.md +55 -0
- package/skills/fec-alchemy/assets/review-checklist.md +31 -0
- package/skills/fec-alchemy/references/methodology.md +94 -0
- package/skills/fec-alchemy/references/originality-and-licensing.md +57 -0
- package/skills/fec-backend-requirements-handoff/SKILL.md +45 -0
- package/skills/fec-browser-storage/SKILL.md +1 -1
- package/skills/fec-canvas-threejs/SKILL.md +1 -1
- package/skills/fec-code-review/SKILL.md +11 -3
- package/skills/fec-data-fetching/SKILL.md +15 -15
- package/skills/fec-data-fetching/references/query-patterns.md +27 -1
- package/skills/fec-debug-framework/SKILL.md +14 -19
- package/skills/fec-debug-framework/references/report-template.md +58 -0
- package/skills/fec-doc-sync/SKILL.md +19 -17
- package/skills/fec-drawio-studio/SKILL.md +69 -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.gz +0 -0
- package/skills/fec-drawio-studio/references/data-residency.md +27 -0
- package/skills/fec-drawio-studio/references/diagram-patterns.md +41 -0
- package/skills/fec-drawio-studio/references/layout-and-export.md +57 -0
- package/skills/fec-drawio-studio/references/troubleshooting.md +29 -0
- package/skills/fec-drawio-studio/references/xml-and-mermaid.md +54 -0
- package/skills/fec-drawio-studio/scripts/brand-symbols.mjs +99 -0
- package/skills/fec-drawio-studio/scripts/diagram-lint.mjs +143 -0
- package/skills/fec-drawio-studio/scripts/diagram-url.mjs +102 -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 +81 -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 +5 -3
- 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-form-handling/SKILL.md +11 -11
- package/skills/fec-form-handling/references/advanced-form-patterns.md +34 -5
- package/skills/fec-image-generation/SKILL.md +56 -0
- package/skills/fec-image-generation/references/artifact-routing.md +80 -0
- package/skills/fec-image-generation/references/diagram-workflows.md +43 -0
- package/skills/fec-image-generation/references/png-qa-autofix.md +30 -0
- package/skills/fec-image-generation/scripts/png-qa.mjs +431 -0
- package/skills/fec-implement-from-design/SKILL.md +9 -2
- package/skills/fec-legacy-to-modern-migration/SKILL.md +29 -163
- package/skills/fec-legacy-to-modern-migration/references/migration-execution-checklist.md +110 -0
- package/skills/fec-legacy-to-modern-migration/references/migration-strategy-and-mapping.md +48 -0
- package/skills/fec-legacy-web-standard/SKILL.md +1 -1
- package/skills/fec-list-virtualization/SKILL.md +3 -3
- package/skills/fec-list-virtualization/references/virtualization-patterns.md +32 -4
- package/skills/fec-motion-interaction/SKILL.md +7 -0
- package/skills/fec-nextjs-project-standard/SKILL.md +7 -1
- package/skills/fec-performance-optimization/SKILL.md +9 -1
- package/skills/fec-performance-optimization/references/framework-performance-patterns.md +38 -0
- package/skills/fec-performance-optimization/references/report-template.md +59 -0
- package/skills/fec-pwa-implementation/SKILL.md +3 -4
- package/skills/fec-react-project-standard/SKILL.md +12 -4
- 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 +4 -1
- package/skills/fec-refactor-clean/references/report-template.md +42 -0
- package/skills/fec-responsive-layout/references/responsive-layout-patterns.md +11 -0
- package/skills/fec-security-review/SKILL.md +3 -3
- package/skills/fec-source-driven-development/SKILL.md +26 -0
- package/skills/fec-state-management/SKILL.md +1 -1
- package/skills/fec-storybook-component-doc/SKILL.md +2 -2
- package/skills/fec-tailwind-design-system/references/tailwind-system-patterns.md +5 -1
- package/skills/fec-typescript-project-standard/SKILL.md +54 -0
- package/skills/{fec-typescript-type-safety → fec-typescript-project-standard}/references/type-safety-patterns.md +1 -1
- package/skills/{fec-typescript-type-safety/SKILL.md → fec-typescript-project-standard/references/type-safety.md} +1 -10
- package/skills/fec-ui-design/SKILL.md +26 -8
- 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 +66 -6
- package/skills/fec-ui-design/references/pre-delivery-checklist.md +6 -0
- package/skills/fec-ui-design/scripts/design-system.mjs +119 -1
- package/skills/fec-validation-fix/SKILL.md +5 -2
- package/skills/fec-validation-fix/references/report-template.md +43 -0
- package/skills/fec-vue3-project-standard/SKILL.md +12 -3
- 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 +3 -4
- package/skills/metadata.json +381 -168
- package/skills/relations.json +136 -25
- package/templates/shared/rules/fec-ci-cd.md +20 -108
- package/templates/shared/rules/fec-design-system.md +47 -223
- package/templates/shared/rules/fec-error-handling.md +35 -179
- package/templates/shared/rules/fec-i18n.md +43 -91
- package/templates/shared/rules/fec-refactoring.md +4 -0
- package/templates/shared/rules/fec-rendering-patterns.md +28 -171
- package/templates/shared/rules/fec-responsive-design.md +34 -211
- package/templates/shared/rules/fec-state-management.md +41 -144
- package/templates/shared/rules/fec-typescript.md +47 -290
- 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/ko-KR/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
[](https://github.com/bovinphang/frontend-craft/stargazers)
|
|
10
10
|
[](https://github.com/bovinphang/frontend-craft/actions/workflows/ci.yml)
|
|
11
|
-
[](https://www.npmjs.com/package/frontend-craft)
|
|
11
|
+
[](https://www.npmjs.com/package/@bovinphang/frontend-craft)
|
|
12
12
|
[](../../LICENSE)
|
|
13
13
|

|
|
14
14
|

|
|
@@ -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개 에이전트**가 등급별 보고서 출력: 코드, 보안, 접근성, 성능, TS, UI 충실도 |
|
|
@@ -53,45 +53,59 @@
|
|
|
53
53
|
|
|
54
54
|
**Node.js 22+**가 필요합니다. **Windows, macOS, Linux**에서 동작합니다(모든 훅과 스크립트는 Node.js로 구현).
|
|
55
55
|
|
|
56
|
-
### 방법 1:
|
|
56
|
+
### 방법 1: fec CLI 전역 설치 (권장)
|
|
57
57
|
|
|
58
58
|
```bash
|
|
59
|
-
|
|
59
|
+
# 1. fec 명령어를 전역으로 설치
|
|
60
|
+
npm install -g @bovinphang/frontend-craft@latest
|
|
61
|
+
|
|
62
|
+
# 2. 프론트엔드 프로젝트로 이동
|
|
60
63
|
cd your-project
|
|
61
|
-
fec init
|
|
62
|
-
fec init codex # 특정 런타임으로 초기화
|
|
63
|
-
fec init claude # Claude Code로 초기화
|
|
64
|
-
```
|
|
65
64
|
|
|
66
|
-
|
|
65
|
+
# 3. 연결할 AI 런타임을 대화형으로 선택
|
|
66
|
+
fec setup
|
|
67
67
|
|
|
68
|
-
|
|
68
|
+
# 4. 현재 프로젝트에 연결
|
|
69
|
+
fec setup codex
|
|
70
|
+
fec setup claude
|
|
71
|
+
fec setup all
|
|
69
72
|
|
|
70
|
-
|
|
71
|
-
|
|
73
|
+
# 5. 전역 연결, 모든 프로젝트에서 사용
|
|
74
|
+
fec setup codex --global
|
|
75
|
+
fec setup claude --global
|
|
76
|
+
fec setup all --global
|
|
77
|
+
|
|
78
|
+
# 6. 미리보기 / 조회
|
|
79
|
+
fec install --all --dry-run --global
|
|
80
|
+
fec list
|
|
72
81
|
```
|
|
73
82
|
|
|
74
|
-
|
|
83
|
+
`npm install -g`는 `fec` 터미널 명령어만 설치합니다. `fec setup`은 frontend-craft를 프로젝트에 연결하는 터미널 CLI 명령어이며, AI 어시스턴트 안의 `/fec-init` 슬래시 명령어와는 다릅니다. 대화형 터미널에서 인자 없는 `fec setup`은 runtime 선택을 먼저 요청합니다. `fec setup <runtime>`과 `fec setup all`은 기본적으로 현재 프로젝트에 연결합니다. `--global`을 전달할 때만 선택한 AI 도구의 전역 설정 디렉터리에 연결되어 모든 프로젝트에서 사용할 수 있습니다.
|
|
75
84
|
|
|
76
|
-
### 방법
|
|
85
|
+
### 방법 2: npx로 임시 실행 (전역 fec 불필요)
|
|
77
86
|
|
|
78
87
|
```bash
|
|
79
|
-
#
|
|
80
|
-
npx frontend-craft@latest
|
|
81
|
-
|
|
82
|
-
#
|
|
83
|
-
npx frontend-craft@latest install --
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
npx frontend-craft@latest
|
|
88
|
+
# 1. 대화형 마법사
|
|
89
|
+
npx @bovinphang/frontend-craft@latest
|
|
90
|
+
|
|
91
|
+
# 2. 현재 프로젝트에 연결
|
|
92
|
+
npx @bovinphang/frontend-craft@latest install --local codex
|
|
93
|
+
npx @bovinphang/frontend-craft@latest install --local claude
|
|
94
|
+
npx @bovinphang/frontend-craft@latest install --all --local
|
|
95
|
+
|
|
96
|
+
# 3. 전역 연결, 모든 프로젝트에서 사용
|
|
97
|
+
npx @bovinphang/frontend-craft@latest install --global codex
|
|
98
|
+
npx @bovinphang/frontend-craft@latest install --global claude
|
|
99
|
+
npx @bovinphang/frontend-craft@latest install --all --global
|
|
100
|
+
|
|
101
|
+
# 4. 미리보기 / 조회
|
|
102
|
+
npx @bovinphang/frontend-craft@latest install --all --dry-run --global
|
|
103
|
+
npx @bovinphang/frontend-craft@latest list
|
|
90
104
|
```
|
|
91
105
|
|
|
92
|
-
|
|
106
|
+
전역 `fec` 명령어를 설치하고 싶지 않을 때는 `npx`를 사용합니다. 인자 없이 실행하면 대화형 마법사가 열립니다. 먼저 하나 이상의 런타임을 선택한 다음, 전역 또는 현재 프로젝트에 연결할지 결정합니다. 모든 runtime을 스크립트로 설치할 때는 `install --all --local` 또는 `install --all --global`을 사용하고, `install all`이라고 쓰지 않습니다. CI / 스크립트 환경에서는 항상 `--global` / `-g` 또는 `--local` / `-l`을 지정하세요. TTY가 아니고 미지정 시, CLI는 `claude --global`을 기본값으로 합니다.
|
|
93
107
|
|
|
94
|
-
### 방법
|
|
108
|
+
### 방법 3: Claude Code Marketplace
|
|
95
109
|
|
|
96
110
|
Claude Code 사용자라면 **Claude Code Marketplace**를 단일 소스 설치 방식으로 권장합니다. CLI를 Claude에 사용하는 것은 교차 런타임 설치, 스크립트/오프라인 파일 복사, 또는 비 Marketplace 환경이 필요한 경우에만 사용하세요.
|
|
97
111
|
|
|
@@ -133,7 +147,7 @@ Marketplace가 이미 설치된 경우, `--force`를 사용해도 CLI는 두 번
|
|
|
133
147
|
```text
|
|
134
148
|
사용자: "병합 전에 최근 변경사항을 리뷰해줘. 아키텍처, 타입 안전성, 렌더링 동작, 스타일, 접근성, 누락된 테스트를 중점적으로 봐줘."
|
|
135
149
|
사용자: "코딩하기 전에 계정 결제 기능을 계획해줘: 라우트 구조, 컴포넌트 경계, 데이터 흐름, 상태 소유권, 검증 흐름, 출시 리스크까지."
|
|
136
|
-
사용자: "
|
|
150
|
+
사용자: "다단계 등록 폼을 만들어줘. 프로젝트 프레임워크에 맞는 폼과 schema 검증 방식을 선택하고, 파일 업로드, 조건부 필드, 비동기 검증, 접근 가능한 오류를 포함해줘."
|
|
137
151
|
사용자: "Figma 노드 123:456을 기준으로 UI를 구현해줘. 기존 design token과 컴포넌트를 재사용하고, 간격과 반응형 상태를 맞추고, 가정도 문서화해줘."
|
|
138
152
|
사용자: "`/fec-refactor-clean` 이 모듈의 데드 코드를 정리해줘."
|
|
139
153
|
```
|
|
@@ -146,49 +160,50 @@ Marketplace가 이미 설치된 경우, `--force`를 사용해도 CLI는 두 번
|
|
|
146
160
|
|
|
147
161
|
슬래시 명령어는 구조화된 워크플로의 주요 진입점입니다. 대부분 `reports/`에 타임스탬프가 찍힌 Markdown 보고서를 출력합니다.
|
|
148
162
|
|
|
149
|
-
| 명령어 | 용도
|
|
150
|
-
| --------------------- |
|
|
151
|
-
| `/fec-init` | 프로젝트 템플릿 초기화 (CLAUDE.md, 규칙, 설정)
|
|
152
|
-
| `/fec-review` | 지정되거나 최근 변경된 파일의 구조화된 리뷰
|
|
153
|
-
| `/fec-scaffold` | 규칙에 따라 page / feature / component 보일러플레이트 생성
|
|
154
|
-
| `/fec-plan` | 통합 계획: 구현 아키텍처 또는 테스트 전략
|
|
155
|
-
| `/fec-tdd` | 빨강 → 초록 → 리팩토링 프론트엔드 TDD 루프
|
|
156
|
-
| `/fec-debug` | 프론트엔드 문제 진단 및 수정: 빌드, 런타임, UI, API 장애
|
|
157
|
-
| `/fec-refactor-clean` | 데드 코드, 미사용 export, 스타일, 의존성을 분류하고 안전하게 제거
|
|
158
|
-
| `/fec-doc-sync` | README,
|
|
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
|
+
| `/fec-doc-sync` | README, docs, 환경 변수, 스크립트, API/라우트 설명, 배포 문서 동기화 | — |
|
|
159
173
|
|
|
160
174
|
### 스킬 (자동 활성화)
|
|
161
175
|
|
|
162
176
|
스킬은 파일 패턴, 프레임워크, 또는 작업 컨텍스트에 기반하여 **자동으로 활성화**되는 워크플로 정의입니다. 리뷰 관점, 출력 규칙, 보고서 형식을 인코딩합니다.
|
|
163
177
|
|
|
164
|
-
아래 스킬은 사용 사례별로 묶여 있어 프로젝트 표준, 구현, 테스트, 리뷰, 디자인, 마이그레이션, 문서 유지보수 워크플로를 빠르게 찾을 수 있습니다.
|
|
178
|
+
아래 스킬은 사용 사례별로 묶여 있어 프로젝트 표준, 구현, 테스트, 리뷰, 디자인, 마이그레이션, 프로젝트 진화, 문서 유지보수 워크플로를 빠르게 찾을 수 있습니다.
|
|
165
179
|
|
|
166
180
|
**프로젝트 표준** — 해당 프레임워크가 감지되면 자동 적용:
|
|
167
181
|
|
|
168
|
-
| 스킬
|
|
169
|
-
|
|
|
170
|
-
| `fec-react-project-standard`
|
|
171
|
-
| `fec-vue3-project-standard`
|
|
172
|
-
| `fec-nextjs-project-standard`
|
|
173
|
-
| `fec-nuxt-project-standard`
|
|
174
|
-
| `fec-vite-project-standard`
|
|
175
|
-
| `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, 제네릭 |
|
|
176
191
|
|
|
177
192
|
**구현 기능** — 특정 프론트엔드 기능을 구축할 때 활성화:
|
|
178
193
|
|
|
179
194
|
| 스킬 | 범위 |
|
|
180
195
|
| ------------------------- | ------------------------------------------------------------- |
|
|
181
|
-
| `fec-data-fetching` |
|
|
196
|
+
| `fec-data-fetching` | 서버 상태 페칭, 캐시, 무효화, SSR, 무한 로딩 |
|
|
182
197
|
| `fec-api-integration` | Typed API client, 인증 refresh, 업로드, 실시간 통합 |
|
|
183
198
|
| `fec-state-management` | 상태 소유권, 스토어 선택, URL 상태, 서버/폼/로컬 상태 경계 |
|
|
184
|
-
| `fec-form-handling` |
|
|
199
|
+
| `fec-form-handling` | 프레임워크별 폼 선택, schema 검증, 동적 필드, 업로드 |
|
|
185
200
|
| `fec-browser-storage` | localStorage / sessionStorage / IndexedDB / Cookies 선택 |
|
|
186
201
|
| `fec-route-protection` | React Router, Next.js, Vue Router, Nuxt의 인증 및 권한 라우팅 |
|
|
187
202
|
| `fec-pwa-implementation` | 매니페스트, 서비스 워커, 오프라인 캐시, 설치 프롬프트 |
|
|
188
203
|
| `fec-web-workers` | Web Worker, Transferable, Comlink, 워커 풀 |
|
|
189
204
|
| `fec-canvas-threejs` | Canvas 2D, Three.js, React Three Fiber, WebGL |
|
|
190
205
|
| `fec-svg-animation` | CSS / Framer Motion / GSAP SVG 애니메이션과 reduced-motion |
|
|
191
|
-
| `fec-list-virtualization` |
|
|
206
|
+
| `fec-list-virtualization` | 프레임워크별 대규모 리스트 가상화, 측정, 그리드, 무한 스크롤 |
|
|
192
207
|
|
|
193
208
|
**테스트** — 프론트엔드 테스트 범위를 계획하거나 작성할 때 활성화:
|
|
194
209
|
|
|
@@ -204,7 +219,7 @@ Marketplace가 이미 설치된 경우, `--force`를 사용해도 CLI는 두 번
|
|
|
204
219
|
| 스킬 | 범위 |
|
|
205
220
|
| ------------------------------ | --------------------------------------------------------------- |
|
|
206
221
|
| `fec-code-review` | 아키텍처, 타입, 렌더링, 스타일, 접근성 리뷰 |
|
|
207
|
-
| `fec-
|
|
222
|
+
| `fec-debug-framework` | 빌드, 런타임, UI, API/데이터 장애의 체계적 진단 |
|
|
208
223
|
| `fec-security-review` | XSS, CSRF, 민감 데이터 유출, 입력 검증 |
|
|
209
224
|
| `fec-accessibility-check` | WCAG 2.2, 키보드, 포커스, 터치, 스크린 리더 동작 |
|
|
210
225
|
| `fec-dependency-upgrade` | 의존성 업그레이드, lockfile 리뷰, CVE 수정, 마이그레이션 검증 |
|
|
@@ -214,28 +229,38 @@ Marketplace가 이미 설치된 경우, `--force`를 사용해도 CLI는 두 번
|
|
|
214
229
|
|
|
215
230
|
**디자인 UI** — 디자인 구현, 디자인 시스템, 시각적 마무리에서 활성화:
|
|
216
231
|
|
|
217
|
-
| 스킬 | 범위
|
|
218
|
-
| ----------------------------- |
|
|
219
|
-
| `fec-ui-design` | UI 방향,
|
|
220
|
-
| `fec-
|
|
221
|
-
| `fec-
|
|
222
|
-
| `fec-
|
|
223
|
-
| `fec-
|
|
224
|
-
| `fec-
|
|
232
|
+
| 스킬 | 범위 |
|
|
233
|
+
| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
|
|
234
|
+
| `fec-ui-design` | 제품 맥락 UI 방향, 반템플릿 디자인 다이얼, 미디어 전략, 상태, visual QA |
|
|
235
|
+
| `fec-image-generation` | 다이어그램, 이미지 생성/편집, 비주얼 에셋, 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 웹 프레젠테이션으로 변환 |
|
|
238
|
+
| `fec-tailwind-design-system` | Tailwind token, 테마 확장, variants, class 관리, dark mode |
|
|
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 컴포넌트 문서, 디자인 시스템 표시, 격리 상태 미리보기 |
|
|
225
243
|
|
|
226
244
|
**레거시 마이그레이션** — 현대화 작업에서 활성화:
|
|
227
245
|
|
|
228
|
-
| 스킬 | 범위
|
|
229
|
-
| -------------------------------- |
|
|
230
|
-
| `fec-legacy-web-standard` | JS + jQuery + HTML 레거시 프로젝트 개발 및 유지보수 기준
|
|
231
|
-
| `fec-legacy-to-modern-migration` |
|
|
246
|
+
| 스킬 | 범위 |
|
|
247
|
+
| -------------------------------- | --------------------------------------------------------- |
|
|
248
|
+
| `fec-legacy-web-standard` | JS + jQuery + HTML 레거시 프로젝트 개발 및 유지보수 기준 |
|
|
249
|
+
| `fec-legacy-to-modern-migration` | 레거시 프론트엔드 현대화, 대상 스택 선택, 단계별 워크플로 |
|
|
250
|
+
|
|
251
|
+
**프로젝트 진화** — 참조 시스템을 프로젝트 네이티브 개선으로 흡수할 때 활성화:
|
|
252
|
+
|
|
253
|
+
| 스킬 | 범위 |
|
|
254
|
+
| ------------- | --------------------------------------------------------- |
|
|
255
|
+
| `fec-alchemy` | 참조 시스템 역량을 독창적인 프로젝트 네이티브 설계로 흡수 |
|
|
232
256
|
|
|
233
257
|
**문서 유지보수** — 문서 작업에서 활성화:
|
|
234
258
|
|
|
235
|
-
| 스킬
|
|
236
|
-
|
|
|
237
|
-
| `fec-
|
|
238
|
-
| `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` | 프로젝트 사실과 공식 소스로 버전 의존 결정을 검증 |
|
|
239
264
|
|
|
240
265
|
### 에이전트
|
|
241
266
|
|
|
@@ -365,11 +390,12 @@ $env:MODAO_TOKEN = "your-modao-token"
|
|
|
365
390
|
모든 리뷰, 분석, 평가는 `reports/`에 타임스탬프가 찍힌 Markdown 보고서로 작성됩니다. 이는 감사 추적 및 PR 산출물로 기능합니다.
|
|
366
391
|
|
|
367
392
|
<details>
|
|
368
|
-
<summary>전체
|
|
393
|
+
<summary>전체 16개 보고서 유형 보기</summary>
|
|
369
394
|
|
|
370
395
|
| 보고서 유형 | 파일명 패턴 | 생성 출처 |
|
|
371
396
|
| -------------------- | -------------------------------------------- | ------------------------------------------------------------------- |
|
|
372
397
|
| 코드 리뷰 | `code-review-YYYY-MM-DD-HHmmss.md` | `/fec-review`, `fec-code-review`, `fec-code-reviewer` |
|
|
398
|
+
| 디버그 진단 | `debug-YYYY-MM-DD-HHmmss.md` | `/fec-debug`, `fec-debug-framework`, `fec-debugger` |
|
|
373
399
|
| TypeScript / JS 리뷰 | `typescript-review-YYYY-MM-DD-HHmmss.md` | `fec-typescript-reviewer` |
|
|
374
400
|
| 보안 리뷰 | `security-review-YYYY-MM-DD-HHmmss.md` | `fec-security-review`, `fec-security-reviewer` |
|
|
375
401
|
| 접근성 | `accessibility-review-YYYY-MM-DD-HHmmss.md` | `fec-accessibility-check` |
|
|
@@ -393,7 +419,7 @@ $env:MODAO_TOKEN = "your-modao-token"
|
|
|
393
419
|
|
|
394
420
|
## 업데이트와 제거
|
|
395
421
|
|
|
396
|
-
`fec`는 `frontend-craft`의 짧은 명령어입니다. 전역 `fec` 명령어를 설치하지 않았다면 같은 인자를 `npx frontend-craft@latest` 뒤에 붙여 사용하세요. 예: `npx frontend-craft@latest update`.
|
|
422
|
+
`fec`는 `frontend-craft`의 짧은 명령어입니다. 전역 `fec` 명령어를 설치하지 않았다면 같은 인자를 `npx @bovinphang/frontend-craft@latest` 뒤에 붙여 사용하세요. 예: `npx @bovinphang/frontend-craft@latest update`.
|
|
397
423
|
|
|
398
424
|
### 업데이트
|
|
399
425
|
|
|
@@ -435,10 +461,10 @@ npx skills update # 최신 버전으로 업데이트
|
|
|
435
461
|
npx skills check # 사용 가능한 업데이트 미리보기
|
|
436
462
|
```
|
|
437
463
|
|
|
438
|
-
| CLI
|
|
439
|
-
|
|
|
440
|
-
| `npx frontend-craft` | 스킬 + 런타임 전용 에이전트, 명령어, 훅, 규칙, 템플릿 |
|
|
441
|
-
| `npx skills`
|
|
464
|
+
| CLI | 설치 내용 |
|
|
465
|
+
| -------------------------------- | ----------------------------------------------------- |
|
|
466
|
+
| `npx @bovinphang/frontend-craft` | 스킬 + 런타임 전용 에이전트, 명령어, 훅, 규칙, 템플릿 |
|
|
467
|
+
| `npx skills` | 스킬만 (기존 Skills CLI 워크플로용) |
|
|
442
468
|
|
|
443
469
|
텔레메트리 비활성화: `DISABLE_TELEMETRY=1`. 자세한 내용은 [skills.sh CLI 문서](https://skills.sh/docs/cli) 참조.
|
|
444
470
|
|
|
@@ -31,11 +31,11 @@ frontend-craft/
|
|
|
31
31
|
| |-- fec-accessibility-check/ # WCAG 2.2 accessibility, keyboard, focus, screen readers
|
|
32
32
|
| |-- fec-react-project-standard/ # React + TypeScript project standards
|
|
33
33
|
| |-- fec-vue3-project-standard/ # Vue 3 + TypeScript project standards
|
|
34
|
-
| |-- fec-implement-from-design/ # Implement UI from design
|
|
34
|
+
| |-- fec-implement-from-design/ # Implement UI from design tools, screenshots, and visual references
|
|
35
35
|
| |-- fec-validation-fix/ # lint, type-check, test, build and fix
|
|
36
36
|
| |-- fec-performance-optimization/ # Core Web Vitals, bundle, rendering, network, memory
|
|
37
37
|
| |-- fec-source-driven-development/ # Official sources, project facts, version-sensitive decisions
|
|
38
|
-
| |-- fec-typescript-
|
|
38
|
+
| |-- fec-typescript-project-standard/ # TypeScript config, public API types, declarations, DTOs, generics
|
|
39
39
|
| |-- fec-state-management/ # State ownership, store selection, URL/server/form/local boundaries
|
|
40
40
|
| |-- fec-tailwind-design-system/ # Tailwind tokens, variants, dark mode, class governance
|
|
41
41
|
| |-- fec-responsive-layout/ # Mobile-first layouts, container queries, touch-safe responsive UI
|
|
@@ -52,6 +52,7 @@ frontend-craft/
|
|
|
52
52
|
| |-- fec-monorepo-project-standard/ # pnpm workspace, Turborepo, Nx standards
|
|
53
53
|
| |-- fec-data-fetching/ # TanStack Query and server-state workflows
|
|
54
54
|
| |-- fec-api-integration/ # Typed API clients, auth refresh, uploads, realtime integration
|
|
55
|
+
| |-- fec-backend-requirements-handoff/ # Frontend-to-backend UI data and state needs
|
|
55
56
|
| |-- fec-form-handling/ # React Hook Form + Zod form workflows
|
|
56
57
|
| |-- fec-route-protection/ # Authenticated and permissioned routes
|
|
57
58
|
| |-- fec-component-testing/ # RTL / Vue Test Utils component tests
|
|
@@ -62,8 +63,11 @@ frontend-craft/
|
|
|
62
63
|
| |-- fec-browser-storage/ # localStorage/sessionStorage/IndexedDB/Cookies selection and safe client persistence
|
|
63
64
|
| |-- fec-list-virtualization/ # Large-list windowing with react-window / TanStack Virtual and measurement strategies
|
|
64
65
|
| |-- fec-storybook-component-doc/ # Storybook component docs, addons, MDX, interaction and visual test integration
|
|
65
|
-
| |-- fec-ui-design/ # UI direction,
|
|
66
|
-
| |-- fec-
|
|
66
|
+
| |-- fec-ui-design/ # Product-context UI direction, design dials, media strategy, visual QA
|
|
67
|
+
| |-- fec-image-generation/ # Diagram/image generation, editing workflows, PNG QA and repair loops
|
|
68
|
+
| |-- fec-drawio-studio/ # Editable draw.io diagrams, shape lookup, auto-layout, code structure maps
|
|
69
|
+
| |-- fec-web-video-presentation/ # Recordable 16:9 step-driven web video presentations
|
|
70
|
+
| |-- fec-motion-interaction/ # Context-aware motion intensity, transitions, scroll animation, reduced motion
|
|
67
71
|
| |-- fec-vite-project-standard/ # Vite config, env safety, HMR, proxy, build and library mode
|
|
68
72
|
|
|
|
69
73
|
|-- commands/ # Slash commands for quick execution
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
See root README **Universal Install** and run:
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
|
-
npx frontend-craft install antigravity
|
|
6
|
+
npx @bovinphang/frontend-craft install antigravity
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
> **Non-interactive:** append `--local` or `--global` to skip install-location prompts. See the repository README **Universal Install** for interactive vs. scripted behavior.
|
package/docs/runtimes/augment.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
See root README **Universal Install** and run:
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
|
-
npx frontend-craft install augment
|
|
6
|
+
npx @bovinphang/frontend-craft install augment
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
> **Non-interactive:** append `--local` or `--global` to skip install-location prompts. See the repository README **Universal Install** for interactive vs. scripted behavior.
|
package/docs/runtimes/claude.md
CHANGED
|
@@ -5,9 +5,9 @@ Recommended path for most Claude Code users: install through **Claude Code Marke
|
|
|
5
5
|
Use the CLI only when you need cross-runtime installation, offline/scripted file copies, or a non-Marketplace environment:
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npx frontend-craft@latest install --local claude
|
|
8
|
+
npx @bovinphang/frontend-craft@latest install --local claude
|
|
9
9
|
# or
|
|
10
|
-
npx frontend-craft@latest install --global claude
|
|
10
|
+
npx @bovinphang/frontend-craft@latest install --global claude
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
> **Non-interactive:** append `--local` or `--global` to skip install-location prompts. See the repository README **Universal Install** for interactive vs. scripted behavior.
|
|
@@ -22,6 +22,8 @@ The CLI enforces this for Marketplace installs: if Claude Code Marketplace alrea
|
|
|
22
22
|
|
|
23
23
|
You can install `frontend-craft` as a Claude Code marketplace plugin. This loads the plugin natively inside Claude Code.
|
|
24
24
|
|
|
25
|
+
The Marketplace entry resolves the plugin from the published npm package, which includes the compiled `dist/hooks/*.js` runtime files used by Claude hooks. If a Marketplace install reports a missing `dist/hooks/fec-*.js` file, update or reinstall the Marketplace plugin so Claude refreshes its plugin cache instead of copying files into the cache manually.
|
|
26
|
+
|
|
25
27
|
---
|
|
26
28
|
|
|
27
29
|
## Quick start after Marketplace install
|
|
@@ -35,7 +37,7 @@ Get started in a few minutes:
|
|
|
35
37
|
/plugin marketplace add bovinphang/frontend-craft
|
|
36
38
|
|
|
37
39
|
# Install plugin
|
|
38
|
-
/plugin install frontend-craft@
|
|
40
|
+
/plugin install frontend-craft@frontend-craft
|
|
39
41
|
|
|
40
42
|
# Activate
|
|
41
43
|
/reload-plugins
|
|
@@ -69,7 +71,7 @@ After initialization, customize for your project:
|
|
|
69
71
|
/fec-scaffold component DataTable
|
|
70
72
|
|
|
71
73
|
# List available commands
|
|
72
|
-
/plugin list frontend-craft@
|
|
74
|
+
/plugin list frontend-craft@frontend-craft
|
|
73
75
|
```
|
|
74
76
|
|
|
75
77
|
You now have access to the bundled agents, skills, and commands (see the root README **Feature overview** for the current list).
|
|
@@ -107,10 +109,14 @@ Clone the repo and load via `--plugin-dir` (no install, suitable for development
|
|
|
107
109
|
|
|
108
110
|
```bash
|
|
109
111
|
git clone https://github.com/bovinphang/frontend-craft.git
|
|
112
|
+
cd frontend-craft
|
|
113
|
+
npm install
|
|
114
|
+
npm run build
|
|
115
|
+
cd ..
|
|
110
116
|
claude --plugin-dir ./frontend-craft
|
|
111
117
|
```
|
|
112
118
|
|
|
113
|
-
When using `--plugin-dir` for development,
|
|
119
|
+
When using `--plugin-dir` for development, run `npm run build` after changing hook or CLI sources because Claude executes the compiled files under `dist/`. Disable or avoid a Marketplace install of the same plugin in that session so you know which copy is running.
|
|
114
120
|
|
|
115
121
|
### Option 4: Git Submodule (project-level sharing)
|
|
116
122
|
|
|
@@ -141,14 +147,14 @@ claude --plugin-dir .claude/plugins/frontend-craft
|
|
|
141
147
|
For Marketplace installs, run in Claude Code:
|
|
142
148
|
|
|
143
149
|
```text
|
|
144
|
-
/plugin marketplace update
|
|
150
|
+
/plugin marketplace update frontend-craft
|
|
145
151
|
```
|
|
146
152
|
|
|
147
153
|
Or enable auto-update so Claude Code pulls the latest on each start:
|
|
148
154
|
|
|
149
155
|
1. Run `/plugin` in Claude Code to open the plugin manager
|
|
150
156
|
2. Switch to the **Marketplaces** tab
|
|
151
|
-
3. Select `
|
|
157
|
+
3. Select `frontend-craft`
|
|
152
158
|
4. Choose **Enable auto-update**
|
|
153
159
|
|
|
154
160
|
> Third-party Marketplaces do not enable auto-update by default. After enabling, Claude Code will refresh Marketplace data and update installed plugins on each start.
|
|
@@ -159,11 +165,11 @@ For Git submodule installs:
|
|
|
159
165
|
git submodule update --remote .claude/plugins/frontend-craft
|
|
160
166
|
```
|
|
161
167
|
|
|
162
|
-
**CLI installs:** re-run `npx frontend-craft@latest update claude --local` or `... --global` for the same scope, and read [CHANGELOG.md](../../CHANGELOG.md) for release notes. If Claude Code Marketplace is already installed, the CLI refuses Claude install/update and prints the Marketplace update path. If the opposite CLI scope is already installed, interactive terminals ask whether to keep that source updated or uninstall it before switching; non-interactive terminals print the exact commands to run.
|
|
168
|
+
**CLI installs:** re-run `npx @bovinphang/frontend-craft@latest update claude --local` or `... --global` for the same scope, and read [CHANGELOG.md](../../CHANGELOG.md) for release notes. If Claude Code Marketplace is already installed, the CLI refuses Claude install/update and prints the Marketplace update path. If the opposite CLI scope is already installed, interactive terminals ask whether to keep that source updated or uninstall it before switching; non-interactive terminals print the exact commands to run.
|
|
163
169
|
|
|
164
170
|
```bash
|
|
165
|
-
npx frontend-craft@latest update claude --global
|
|
166
|
-
npx frontend-craft@latest update claude --local
|
|
171
|
+
npx @bovinphang/frontend-craft@latest update claude --global
|
|
172
|
+
npx @bovinphang/frontend-craft@latest update claude --local
|
|
167
173
|
```
|
|
168
174
|
|
|
169
175
|
---
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
仅当你需要跨运行时安装、离线/脚本化复制文件,或处在非 Marketplace 环境时,再使用 CLI:
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npx frontend-craft@latest install --local claude
|
|
8
|
+
npx @bovinphang/frontend-craft@latest install --local claude
|
|
9
9
|
# 或
|
|
10
|
-
npx frontend-craft@latest install --global claude
|
|
10
|
+
npx @bovinphang/frontend-craft@latest install --global claude
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
> **非交互场景:** 请加上 `--local` 或 `--global`,避免询问安装位置。交互与脚本行为说明见根目录 README **通用安装**。
|
|
@@ -22,6 +22,8 @@ CLI 会对 Marketplace 安装执行单一来源保护:如果已经由 Claude C
|
|
|
22
22
|
|
|
23
23
|
仍可将 `frontend-craft` 作为 Claude Code 的 Marketplace 插件安装,由 Claude Code 原生加载插件。
|
|
24
24
|
|
|
25
|
+
Marketplace 条目会从已发布的 npm 包解析插件;npm 包中包含 Claude hooks 使用的已编译 `dist/hooks/*.js` 运行时文件。如果 Marketplace 安装后提示缺少 `dist/hooks/fec-*.js`,请通过 Marketplace 更新或重新安装插件,让 Claude 刷新插件缓存,不建议手动复制文件到缓存目录。
|
|
26
|
+
|
|
25
27
|
---
|
|
26
28
|
|
|
27
29
|
## Marketplace 安装后的快速开始
|
|
@@ -33,7 +35,7 @@ CLI 会对 Marketplace 安装执行单一来源保护:如果已经由 Claude C
|
|
|
33
35
|
/plugin marketplace add bovinphang/frontend-craft
|
|
34
36
|
|
|
35
37
|
# 安装插件
|
|
36
|
-
/plugin install frontend-craft@
|
|
38
|
+
/plugin install frontend-craft@frontend-craft
|
|
37
39
|
|
|
38
40
|
# 激活
|
|
39
41
|
/reload-plugins
|
|
@@ -67,7 +69,7 @@ CLI 会对 Marketplace 安装执行单一来源保护:如果已经由 Claude C
|
|
|
67
69
|
/fec-scaffold component DataTable
|
|
68
70
|
|
|
69
71
|
# 查看可用命令
|
|
70
|
-
/plugin list frontend-craft@
|
|
72
|
+
/plugin list frontend-craft@frontend-craft
|
|
71
73
|
```
|
|
72
74
|
|
|
73
75
|
具体 agents、skills、commands 清单见根目录 README **功能概览**。
|
|
@@ -105,10 +107,14 @@ CLI 会对 Marketplace 安装执行单一来源保护:如果已经由 Claude C
|
|
|
105
107
|
|
|
106
108
|
```bash
|
|
107
109
|
git clone https://github.com/bovinphang/frontend-craft.git
|
|
110
|
+
cd frontend-craft
|
|
111
|
+
npm install
|
|
112
|
+
npm run build
|
|
113
|
+
cd ..
|
|
108
114
|
claude --plugin-dir ./frontend-craft
|
|
109
115
|
```
|
|
110
116
|
|
|
111
|
-
使用 `--plugin-dir`
|
|
117
|
+
使用 `--plugin-dir` 做开发调试时,修改 hooks 或 CLI 源码后需要重新执行 `npm run build`,因为 Claude 会运行 `dist/` 下的已编译文件。请避免在同一会话里同时启用 Marketplace 版本,这样才能确定当前运行的是哪一份代码。
|
|
112
118
|
|
|
113
119
|
### 选项 4:Git Submodule(项目内共享)
|
|
114
120
|
|
|
@@ -139,14 +145,14 @@ claude --plugin-dir .claude/plugins/frontend-craft
|
|
|
139
145
|
通过 Marketplace 安装的插件,在 Claude Code 中执行:
|
|
140
146
|
|
|
141
147
|
```text
|
|
142
|
-
/plugin marketplace update
|
|
148
|
+
/plugin marketplace update frontend-craft
|
|
143
149
|
```
|
|
144
150
|
|
|
145
151
|
或开启自动更新,每次启动 Claude Code 时拉取最新版本:
|
|
146
152
|
|
|
147
153
|
1. 在 Claude Code 中执行 `/plugin` 打开插件管理器
|
|
148
154
|
2. 切换到 **Marketplaces** 标签页
|
|
149
|
-
3. 选中 `
|
|
155
|
+
3. 选中 `frontend-craft`
|
|
150
156
|
4. 选择 **Enable auto-update**
|
|
151
157
|
|
|
152
158
|
> 第三方 Marketplace 默认不开启自动更新。启用后,Claude Code 每次启动时会刷新 Marketplace 数据并更新已安装插件。
|
|
@@ -157,11 +163,11 @@ claude --plugin-dir .claude/plugins/frontend-craft
|
|
|
157
163
|
git submodule update --remote .claude/plugins/frontend-craft
|
|
158
164
|
```
|
|
159
165
|
|
|
160
|
-
**CLI 安装:** 对同一作用域执行 `npx frontend-craft@latest update claude --local` 或 `... --global`,版本说明见 [CHANGELOG.zh-CN.md](../../CHANGELOG.zh-CN.md) 或 [CHANGELOG.md](../../CHANGELOG.md)。如果已经检测到 Claude Code Marketplace 安装,CLI 会拒绝 Claude install/update,并提示通过 Marketplace 更新。如果另一个 CLI 作用域已安装,交互式终端会询问是保持该来源并更新,还是卸载后切换;非交互终端会打印可执行命令。
|
|
166
|
+
**CLI 安装:** 对同一作用域执行 `npx @bovinphang/frontend-craft@latest update claude --local` 或 `... --global`,版本说明见 [CHANGELOG.zh-CN.md](../../CHANGELOG.zh-CN.md) 或 [CHANGELOG.md](../../CHANGELOG.md)。如果已经检测到 Claude Code Marketplace 安装,CLI 会拒绝 Claude install/update,并提示通过 Marketplace 更新。如果另一个 CLI 作用域已安装,交互式终端会询问是保持该来源并更新,还是卸载后切换;非交互终端会打印可执行命令。
|
|
161
167
|
|
|
162
168
|
```bash
|
|
163
|
-
npx frontend-craft@latest update claude --global
|
|
164
|
-
npx frontend-craft@latest update claude --local
|
|
169
|
+
npx @bovinphang/frontend-craft@latest update claude --global
|
|
170
|
+
npx @bovinphang/frontend-craft@latest update claude --local
|
|
165
171
|
```
|
|
166
172
|
|
|
167
173
|
---
|
package/docs/runtimes/cline.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
See root README **Universal Install** and run:
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
|
-
npx frontend-craft install cline
|
|
6
|
+
npx @bovinphang/frontend-craft install cline
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
> **Non-interactive:** append `--local` or `--global` to skip install-location prompts. See the repository README **Universal Install** for interactive vs. scripted behavior.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
See root README **Universal Install** and run:
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
|
-
npx frontend-craft install codebuddy
|
|
6
|
+
npx @bovinphang/frontend-craft install codebuddy
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
> **Non-interactive:** append `--local` or `--global` to skip install-location prompts. See the repository README **Universal Install** for interactive vs. scripted behavior.
|
package/docs/runtimes/codex.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
See root README **Universal Install** and run:
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
|
-
npx frontend-craft install codex
|
|
6
|
+
npx @bovinphang/frontend-craft install codex
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
> **Non-interactive:** append `--local` or `--global` to skip install-location prompts. See the repository README **Universal Install** for interactive vs. scripted behavior.
|
package/docs/runtimes/copilot.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
See root README **Universal Install** and run:
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
|
-
npx frontend-craft install copilot
|
|
6
|
+
npx @bovinphang/frontend-craft install copilot
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
> **Non-interactive:** append `--local` or `--global` to skip install-location prompts. See the repository README **Universal Install** for interactive vs. scripted behavior.
|
package/docs/runtimes/cursor.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
See root README **Universal Install** and run:
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
|
-
npx frontend-craft install cursor
|
|
6
|
+
npx @bovinphang/frontend-craft install cursor
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
> **Non-interactive:** append `--local` or `--global` to skip install-location prompts. See the repository README **Universal Install** for interactive vs. scripted behavior.
|
package/docs/runtimes/gemini.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
See root README **Universal Install** and run:
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
|
-
npx frontend-craft install gemini
|
|
6
|
+
npx @bovinphang/frontend-craft install gemini
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
> **Non-interactive:** append `--local` or `--global` to skip install-location prompts. See the repository README **Universal Install** for interactive vs. scripted behavior.
|
package/docs/runtimes/kilo.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
See root README **Universal Install** and run:
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
|
-
npx frontend-craft install kilo
|
|
6
|
+
npx @bovinphang/frontend-craft install kilo
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
> **Non-interactive:** append `--local` or `--global` to skip install-location prompts. See the repository README **Universal Install** for interactive vs. scripted behavior.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
See root README **Universal Install** and run:
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
|
-
npx frontend-craft install openclaw
|
|
6
|
+
npx @bovinphang/frontend-craft install openclaw
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
> **Non-interactive:** append `--local` or `--global` to skip install-location prompts. See the repository README **Universal Install** for interactive vs. scripted behavior.
|