@nick848/fet 1.1.6 → 1.1.7
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/README.md +4 -0
- package/README_en.md +4 -0
- package/dist/cli/index.js +372 -88
- package/dist/cli/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,6 +13,7 @@ FET 是一个围绕 OpenSpec 构建的前端开发工作流编排 CLI。它不
|
|
|
13
13
|
- 统一语言:默认使用中文输出交互信息和生成产物,可通过 `--lang <language>` 切换。
|
|
14
14
|
- 保护关键阶段:在 `sync` / `archive` 前检查 FET verify 状态,降低未验证变更被合入或归档的风险。
|
|
15
15
|
- 可选代码图:可接入 GitNexus,在大范围扫描前优先提供结构化代码上下文。
|
|
16
|
+
- Figma 守卫:当 change 产物含 Figma 链接时,自动写入停止协议并让 IDE 在理解失败时先问用户,不猜测样式(无需额外命令)。
|
|
16
17
|
|
|
17
18
|
## 基本原理
|
|
18
19
|
|
|
@@ -176,9 +177,12 @@ FET 可能创建或更新:
|
|
|
176
177
|
- `CLAUDE.md`
|
|
177
178
|
- `.cursor/skills/fet-*/SKILL.md`
|
|
178
179
|
- `.cursor/rules/fet-context.mdc`
|
|
180
|
+
- `.cursor/rules/fet-figma-stop.mdc`
|
|
179
181
|
- `.cursor/rules/karpathy-guidelines.mdc`
|
|
180
182
|
- `.codex/fet/context.md`
|
|
183
|
+
- `.codex/fet/figma-stop.md`
|
|
181
184
|
- `.codex/fet/karpathy-guidelines.md`
|
|
185
|
+
- `openspec/changes/<change-id>/.fet/figma-stop.md`(change 含 Figma 链接时自动写入)
|
|
182
186
|
- `.codex/fet/commands/*.md`
|
|
183
187
|
- `$CODEX_HOME/prompts/fet-*.md`
|
|
184
188
|
|
package/README_en.md
CHANGED
|
@@ -13,6 +13,7 @@ FET is a frontend development workflow orchestration CLI built around OpenSpec.
|
|
|
13
13
|
- Unifies language: Chinese is the default for interaction messages and generated artifacts; use `--lang <language>` to switch.
|
|
14
14
|
- Guards critical stages: checks FET verification state before `sync` / `archive`.
|
|
15
15
|
- Supports optional code graphs: integrates with GitNexus so AI tools can prefer structured code context before broad repository scans.
|
|
16
|
+
- Figma guard: when a change references Figma, FET writes a stop protocol so the IDE asks the user instead of guessing styles when design input is unclear (no extra commands).
|
|
16
17
|
|
|
17
18
|
## How It Works
|
|
18
19
|
|
|
@@ -178,9 +179,12 @@ FET may create or update:
|
|
|
178
179
|
- `CLAUDE.md`
|
|
179
180
|
- `.cursor/skills/fet-*/SKILL.md`
|
|
180
181
|
- `.cursor/rules/fet-context.mdc`
|
|
182
|
+
- `.cursor/rules/fet-figma-stop.mdc`
|
|
181
183
|
- `.cursor/rules/karpathy-guidelines.mdc`
|
|
182
184
|
- `.codex/fet/context.md`
|
|
185
|
+
- `.codex/fet/figma-stop.md`
|
|
183
186
|
- `.codex/fet/karpathy-guidelines.md`
|
|
187
|
+
- `openspec/changes/<change-id>/.fet/figma-stop.md` (written when the change references Figma)
|
|
184
188
|
- `.codex/fet/commands/*.md`
|
|
185
189
|
- `$CODEX_HOME/prompts/fet-*.md`
|
|
186
190
|
|