harnessed 4.10.1 → 4.11.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/README.md +2 -2
- package/dist/cli.mjs +1 -1
- package/dist/cli.mjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/manifests/skill-packs/design-taste-frontend.yaml +46 -0
- package/package.json +1 -1
- package/routing/README.md +1 -1
- package/routing/SCHEMA.md +7 -7
- package/routing/decision_rules.yaml +6 -6
- package/workflows/capabilities.yaml +11 -10
- package/workflows/judgments/web-design-routing.yaml +13 -13
- package/workflows/verify/design/SKILL.md +8 -8
- package/workflows/verify/design/SKILL.zh-Hans.md +8 -8
- package/workflows/verify/design/workflow.yaml +5 -5
- package/manifests/skill-packs/frontend-design.yaml +0 -63
package/dist/index.mjs
CHANGED
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../package.json","../src/index.ts"],"names":[],"mappings":";AAAA,IAAA,eAAA,GAAA;AAAA,EAEE,OAAA,EAAW,QAkGb,CAAA;;;AC/FO,IAAM,UAAU,eAAA,CAAI","file":"index.mjs","sourcesContent":["{\n \"name\": \"harnessed\",\n \"version\": \"4.
|
|
1
|
+
{"version":3,"sources":["../package.json","../src/index.ts"],"names":[],"mappings":";AAAA,IAAA,eAAA,GAAA;AAAA,EAEE,OAAA,EAAW,QAkGb,CAAA;;;AC/FO,IAAM,UAAU,eAAA,CAAI","file":"index.mjs","sourcesContent":["{\n \"name\": \"harnessed\",\n \"version\": \"4.11.0\",\n \"description\": \"AI coding harness package manager + composition orchestrator\",\n \"type\": \"module\",\n \"license\": \"Apache-2.0\",\n \"author\": \"easyinplay\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/easyinplay/harnessed.git\"\n },\n \"homepage\": \"https://github.com/easyinplay/harnessed#readme\",\n \"bugs\": \"https://github.com/easyinplay/harnessed/issues\",\n \"keywords\": [\n \"claude-code\",\n \"ai-harness\",\n \"package-manager\",\n \"composition\",\n \"skill-pack\",\n \"mcp\",\n \"orchestrator\"\n ],\n \"engines\": {\n \"node\": \">=22.0.0\"\n },\n \"packageManager\": \"pnpm@10.12.0\",\n \"bin\": {\n \"harnessed\": \"./dist/cli.mjs\",\n \"harnessed-inject-state\": \"./bin/harnessed-inject-state.mjs\"\n },\n \"main\": \"./dist/index.mjs\",\n \"types\": \"./dist/index.d.ts\",\n \"exports\": {\n \".\": {\n \"types\": \"./dist/index.d.ts\",\n \"import\": \"./dist/index.mjs\",\n \"default\": \"./dist/index.mjs\"\n },\n \"./schemas\": {\n \"types\": \"./dist/schemas/index.d.ts\",\n \"import\": \"./dist/schemas/index.mjs\"\n },\n \"./package.json\": \"./package.json\"\n },\n \"files\": [\n \"dist\",\n \"bin\",\n \"manifests\",\n \"messages\",\n \"workflows\",\n \"routing\",\n \"config-templates\",\n \"schemas\",\n \"README.md\",\n \"LICENSE\",\n \"NOTICE\",\n \"THIRD-PARTY-NOTICES.md\"\n ],\n \"scripts\": {\n \"dev\": \"tsup --watch\",\n \"build\": \"tsc --noEmit && tsup\",\n \"build:schema\": \"node ./scripts/build-schema.mjs\",\n \"validate:schema\": \"node ./scripts/validate-schema.mjs\",\n \"typecheck\": \"tsc --noEmit\",\n \"test\": \"vitest run --passWithNoTests\",\n \"test:watch\": \"vitest\",\n \"test:coverage\": \"vitest run --coverage --passWithNoTests\",\n \"bench\": \"vitest bench --run\",\n \"lint\": \"biome check .\",\n \"lint:fix\": \"biome check --write .\",\n \"format\": \"biome format --write .\"\n },\n \"dependencies\": {\n \"@anthropic-ai/claude-agent-sdk\": \"0.3.142\",\n \"@clack/prompts\": \"^0.10.1\",\n \"@sinclair/typebox\": \"^0.34.49\",\n \"ajv\": \"^8.20.0\",\n \"ajv-errors\": \"^3.0.0\",\n \"ajv-formats\": \"^3.0.1\",\n \"commander\": \"^13.0.0\",\n \"diff\": \"^9.0.0\",\n \"expr-eval\": \"^2.0.2\",\n \"picocolors\": \"^1.1.1\",\n \"proper-lockfile\": \"^4.1.2\",\n \"yaml\": \"^2.9.0\"\n },\n \"devDependencies\": {\n \"@biomejs/biome\": \"^2.0.0\",\n \"@types/node\": \"^22.10.0\",\n \"@types/proper-lockfile\": \"^4.1.4\",\n \"@vitest/coverage-v8\": \"^4.0.0\",\n \"tsup\": \"^8.3.0\",\n \"typescript\": \"^5.6.0\",\n \"vitest\": \"^4.0.0\"\n },\n \"pnpm\": {\n \"onlyBuiltDependencies\": [\n \"esbuild\"\n ]\n }\n}\n","// Main library entry — re-exports public APIs.\n// phase 1.1 batch 1: skeleton only; schema validator wired in batch 2 (T3+).\n\nimport pkg from '../package.json' with { type: 'json' }\n\nexport const VERSION = pkg.version\n"]}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# yaml-language-server: $schema=../../schemas/manifest.v1.schema.json
|
|
2
|
+
apiVersion: harnessed/v1
|
|
3
|
+
kind: Manifest
|
|
4
|
+
metadata:
|
|
5
|
+
name: design-taste-frontend
|
|
6
|
+
display_name: design-taste-frontend (Leonxlnx/taste-skill)
|
|
7
|
+
description: Cross-agent anti-slop frontend visual-polish skill; Stage-2 overlay atop ui-ux-pro-max structure.
|
|
8
|
+
upstream:
|
|
9
|
+
source: leonxlnx/taste-skill
|
|
10
|
+
homepage: https://tasteskill.dev
|
|
11
|
+
repository: https://github.com/Leonxlnx/taste-skill.git
|
|
12
|
+
license: MIT
|
|
13
|
+
notice: |
|
|
14
|
+
design-taste-frontend (v2 default variant) from Leonxlnx/taste-skill — Anti-Slop Frontend Framework
|
|
15
|
+
(premium 视觉打磨, 防 AI 生成 boring/generic slop). Cross-agent (claude-code + codex),
|
|
16
|
+
遵循 vercel-labs/agent-skills 标准。两段式 Stage 2: 在 ui-ux-pro-max 结构骨架之上叠加细节 + 视觉打磨 → 高级感。
|
|
17
|
+
spec:
|
|
18
|
+
type: cc-skill-pack
|
|
19
|
+
component_type: command
|
|
20
|
+
category: design
|
|
21
|
+
install_type: skill
|
|
22
|
+
install:
|
|
23
|
+
method: npx-skill-installer
|
|
24
|
+
# 对齐 harnessed 的 --copy --global 约定 (Windows symlink-safe + user-scope install);
|
|
25
|
+
# taste-skill README 形 + harnessed global flag。v2 默认变体,单 skill。
|
|
26
|
+
cmd: "npx --yes skills@latest add https://github.com/Leonxlnx/taste-skill --skill design-taste-frontend --copy --global"
|
|
27
|
+
npm_version: ^1.5.7
|
|
28
|
+
idempotent_check: "test -d ~/.claude/skills/design-taste-frontend || test -d ~/.agents/skills/design-taste-frontend"
|
|
29
|
+
verify:
|
|
30
|
+
cmd: "test -f ~/.claude/skills/design-taste-frontend/SKILL.md"
|
|
31
|
+
timeout_ms: 5000
|
|
32
|
+
expected_exit_code: 0
|
|
33
|
+
uninstall:
|
|
34
|
+
cmd: "rm -rf ~/.claude/skills/design-taste-frontend"
|
|
35
|
+
cleanup_paths:
|
|
36
|
+
- ~/.claude/skills/design-taste-frontend
|
|
37
|
+
upstream_health:
|
|
38
|
+
stability: stable
|
|
39
|
+
last_check: "2026-06-30"
|
|
40
|
+
last_known_good_version: v2-default
|
|
41
|
+
fallback_action: warn
|
|
42
|
+
signed_by: easyinplay
|
|
43
|
+
platforms:
|
|
44
|
+
- linux
|
|
45
|
+
- darwin
|
|
46
|
+
- win32
|
package/package.json
CHANGED
package/routing/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
## 结构(v0.1 MVP)
|
|
6
6
|
|
|
7
7
|
- `search.md` — research workflow 路由(ctx7 / tavily / exa / parallel) — v0.1.0
|
|
8
|
-
- `ui.md` — UI/UX
|
|
8
|
+
- `ui.md` — UI/UX 任务路由(两段式 ui-ux-pro-max 结构 + design-taste-frontend 打磨) — v0.3.0
|
|
9
9
|
- `testing.md` — 测试工具路由(playwright / vitest / webapp-testing) — v0.3.0
|
|
10
10
|
- `execute.md` — execute-task 内部路由(mattpocock 招式触发) — v0.2.0
|
|
11
11
|
|
package/routing/SCHEMA.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
| 层 | 读 frontmatter 哪块 | 干什么 |
|
|
14
14
|
|---|---|---|
|
|
15
|
-
| **B 层(skill description)** | `soft_hint.description_template` | 生成 skill 的 1 行描述,让 LLM 在 skill 路由时能读到"标准化、数据驱动的 UI
|
|
15
|
+
| **B 层(skill description)** | `soft_hint.description_template` | 生成 skill 的 1 行描述,让 LLM 在 skill 路由时能读到"标准化、数据驱动的 UI 设计;结构骨架先于 design-taste-frontend 打磨"这种 hint |
|
|
16
16
|
| **C 层(hook script)** | `trigger.keywords` + `trigger.file_globs` + `hard_route.*` | hook 在用户输入触发关键词或匹配文件 glob 时强制路由到 `hard_route.primary` skill;override 条件支持差异化 |
|
|
17
17
|
|
|
18
18
|
**好处**:
|
|
@@ -100,7 +100,7 @@ fallback:
|
|
|
100
100
|
| `description_template` | ✅ | string | 1 行 hint,≤ 500 char;写入 skill 的 description metadata,让 LLM 在 skill 路由时读到 |
|
|
101
101
|
|
|
102
102
|
**好的 description 示例**:
|
|
103
|
-
- `"标准化、数据驱动的 UI
|
|
103
|
+
- `"标准化、数据驱动的 UI 设计;提供结构骨架,先于 design-taste-frontend 视觉打磨"`
|
|
104
104
|
- `"通用 web 搜索(关键词、库文档、新闻);性能、过滤器最丰富;默认选 Tavily"`
|
|
105
105
|
|
|
106
106
|
**不好的示例**:
|
|
@@ -131,14 +131,14 @@ trigger:
|
|
|
131
131
|
|
|
132
132
|
hard_route: # C 层 hook 读这块
|
|
133
133
|
primary: ui-ux-pro-max
|
|
134
|
-
secondary: frontend
|
|
134
|
+
secondary: design-taste-frontend
|
|
135
135
|
override:
|
|
136
136
|
condition: "用户明确说'做出风格'/'要风格'/'独特设计'"
|
|
137
|
-
primary: frontend
|
|
137
|
+
primary: design-taste-frontend
|
|
138
138
|
secondary: ui-ux-pro-max
|
|
139
139
|
|
|
140
140
|
soft_hint: # B 层 skill description 自动生成
|
|
141
|
-
description_template: "标准化、数据驱动的 UI
|
|
141
|
+
description_template: "标准化、数据驱动的 UI 设计;提供结构骨架,先于 design-taste-frontend 视觉打磨"
|
|
142
142
|
|
|
143
143
|
fallback:
|
|
144
144
|
on_hook_fail: degrade_to_soft_hint # hook 失败时降级回 B 层
|
|
@@ -146,8 +146,8 @@ fallback:
|
|
|
146
146
|
---
|
|
147
147
|
|
|
148
148
|
# 路由说明
|
|
149
|
-
ui-ux-pro-max
|
|
150
|
-
|
|
149
|
+
两段式:Stage 1 ui-ux-pro-max 理清结构骨架(数据驱动、可解释),Stage 2 design-taste-frontend 在其上叠加视觉打磨(anti-slop,默认凡 UI 改动都叠加)。
|
|
150
|
+
**用户明确要求"做出风格"时** —— design-taste-frontend 主导打磨维度。
|
|
151
151
|
```
|
|
152
152
|
|
|
153
153
|
---
|
|
@@ -48,10 +48,10 @@ rules:
|
|
|
48
48
|
- creative
|
|
49
49
|
- experimental
|
|
50
50
|
decision:
|
|
51
|
-
primary_expert: frontend
|
|
51
|
+
primary_expert: design-taste-frontend
|
|
52
52
|
secondary_expert: ui-ux-pro-max
|
|
53
53
|
conflict_policy: primary_wins
|
|
54
|
-
rationale: 用户明示 style-driven,
|
|
54
|
+
rationale: 用户明示 style-driven, design-taste-frontend 视觉打磨叠加为主 (Stage 2 anti-slop), ui-ux-pro-max 提供结构骨架
|
|
55
55
|
|
|
56
56
|
- id: ui-task-default
|
|
57
57
|
priority: 50
|
|
@@ -60,17 +60,17 @@ rules:
|
|
|
60
60
|
task_type: ui-design
|
|
61
61
|
decision:
|
|
62
62
|
primary_expert: ui-ux-pro-max
|
|
63
|
-
secondary_expert: frontend
|
|
63
|
+
secondary_expert: design-taste-frontend
|
|
64
64
|
conflict_policy: primary_wins
|
|
65
|
-
rationale:
|
|
65
|
+
rationale: 两段式 Stage 1 — ui-ux-pro-max 结构骨架 (数据驱动 / 标准化), design-taste-frontend 在其上叠加 Stage 2 打磨
|
|
66
66
|
# Phase 2.3 W2 T2.1 — D-04 CD-3 negative-space + redirect (NEW optional fields).
|
|
67
|
-
# 若 task 含 style-led 信号则 reject 本规则,redirect 到
|
|
67
|
+
# 若 task 含 style-led 信号则 reject 本规则,redirect 到 design-taste-frontend 主导打磨.
|
|
68
68
|
do_not_use_when:
|
|
69
69
|
- 做出风格
|
|
70
70
|
- 独创
|
|
71
71
|
- 风格化
|
|
72
72
|
- design-led
|
|
73
|
-
if_rejected_use: frontend
|
|
73
|
+
if_rejected_use: design-taste-frontend
|
|
74
74
|
|
|
75
75
|
# ─── content (1 rule) ───────────────────────────────────────
|
|
76
76
|
- id: chinese-content-deck
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
# grill-me / tdd / to-prd / to-issues /
|
|
14
14
|
# improve-codebase-architecture / code-review /
|
|
15
15
|
# code-simplifier / investigate
|
|
16
|
-
# 2. special-purpose tools 13+ (D-14) — ui-ux-pro-max / frontend
|
|
16
|
+
# 2. special-purpose tools 13+ (D-14) — ui-ux-pro-max / design-taste-frontend / playwright-cli /
|
|
17
17
|
# playwright-test / webapp-testing /
|
|
18
18
|
# chrome-devtools-mcp / ctx7 / tavily-mcp /
|
|
19
19
|
# exa-mcp / gsd-review / gsd-debug /
|
|
@@ -191,17 +191,18 @@ capabilities:
|
|
|
191
191
|
- phase.has_ui_changes == true
|
|
192
192
|
- subtask.type == 'ui_polish'
|
|
193
193
|
|
|
194
|
-
#
|
|
195
|
-
frontend-design
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
194
|
+
# v4.11: design-taste-frontend (Leonxlnx/taste-skill, cross-agent anti-slop) replaces
|
|
195
|
+
# anthropic frontend-design. Stage 2 两段式 — 默认凡 UI 改动都在 ui-ux-pro-max 结构之上叠加打磨。
|
|
196
|
+
design-taste-frontend:
|
|
197
|
+
impl: design-taste-frontend
|
|
198
|
+
install_type: user-skill
|
|
199
|
+
skill_dir: design-taste-frontend
|
|
200
|
+
cmd: /design-taste-frontend
|
|
201
|
+
since: v4.11
|
|
201
202
|
category: tool-slash-cmd
|
|
202
|
-
description:
|
|
203
|
+
description: 视觉打磨 / anti-slop 高级感 (cross-agent, taste-skill)
|
|
203
204
|
fires_when:
|
|
204
|
-
- phase.has_ui_changes == true
|
|
205
|
+
- phase.has_ui_changes == true
|
|
205
206
|
|
|
206
207
|
playwright-cli:
|
|
207
208
|
impl: npm-cli
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
# workflows/judgments/web-design-routing.yaml
|
|
2
|
-
# Bundled routing rule: ui-ux-pro-max
|
|
3
|
-
# Phase v3.0-3.2 Wave A RESEARCH → 3.3 W0.3 ship per D-11
|
|
2
|
+
# Bundled routing rule: 两段式叠加 — Stage 1 ui-ux-pro-max 结构骨架 → Stage 2 design-taste-frontend 视觉打磨
|
|
3
|
+
# Phase v3.0-3.2 Wave A RESEARCH → 3.3 W0.3 ship per D-11; v4.11 XOR→两段式 swap (taste-skill)
|
|
4
4
|
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
#
|
|
5
|
+
# 非仲裁: 不再「二选一」。Stage 1 = ui-ux-pro-max 理清受众/交互逻辑/设计主轴 (数据驱动结构骨架, 始终先跑);
|
|
6
|
+
# Stage 2 = design-taste-frontend 叠加细节 + 视觉打磨 → 高级感 (anti-slop, cross-agent)。
|
|
7
|
+
# 默认凡 UI 改动两段都 fire, 顺序上 polish 在结构之后。
|
|
8
8
|
#
|
|
9
9
|
# expr-eval 2.0.2 case-sensitive: keyword `and` / `or` 全小写
|
|
10
10
|
|
|
11
11
|
schema_version: harnessed.judgment.v1
|
|
12
12
|
|
|
13
13
|
triggers:
|
|
14
|
-
ui-ux-pro-max-
|
|
14
|
+
ui-ux-pro-max-structure:
|
|
15
15
|
description: |
|
|
16
|
-
|
|
16
|
+
Stage 1 — 受众 / 交互逻辑 / 设计主轴, 数据驱动结构骨架 (始终先跑)。
|
|
17
17
|
50+ styles, 161 color palettes, 57 font pairings, 161 product types,
|
|
18
18
|
99 UX guidelines, 10 stacks, 25 chart types。
|
|
19
|
-
fires_when: "phase.has_ui_changes == true
|
|
19
|
+
fires_when: "phase.has_ui_changes == true"
|
|
20
20
|
invokes:
|
|
21
21
|
- capability: ui-ux-pro-max
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
design-taste-polish:
|
|
24
24
|
description: |
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
fires_when: "phase.has_ui_changes == true
|
|
25
|
+
Stage 2 — 叠加细节 + 视觉打磨 → 高级感, anti-slop (cross-agent, taste-skill);
|
|
26
|
+
在 ui-ux-pro-max 结构骨架之上叠加 (顺序在结构之后)。默认凡 UI 改动都叠加。
|
|
27
|
+
fires_when: "phase.has_ui_changes == true"
|
|
28
28
|
invokes:
|
|
29
|
-
- capability: frontend
|
|
29
|
+
- capability: design-taste-frontend
|
|
30
30
|
|
|
31
31
|
design-review-post:
|
|
32
32
|
description: |
|
|
@@ -4,7 +4,7 @@ description: |
|
|
|
4
4
|
Stage ④.f verify sub-workflow — gstack /design-review 设计系统一致性 + AI 审美问题识别
|
|
5
5
|
(has_design_changes 触发, 可选 conditional; bundled verify-stage optional /design-review step).
|
|
6
6
|
schema_version: harnessed.workflow.v3 with disciplines_applied (6 default) + tools_available
|
|
7
|
-
(gstack-design-review + ui-ux-pro-max + frontend
|
|
7
|
+
(gstack-design-review + ui-ux-pro-max + design-taste-frontend) + 1 phase (gate ref has_design_changes
|
|
8
8
|
conditional)。Triggered by harnessed CLI `harnessed verify-design --phase <num>` or slash
|
|
9
9
|
command `/verify-design` after `harnessed setup`.
|
|
10
10
|
trigger_phrases:
|
|
@@ -36,8 +36,8 @@ resolver evaluates `phase.has_design_changes == true` via expr-eval — true 则
|
|
|
36
36
|
Sister `workflows/capabilities.yaml` entries:
|
|
37
37
|
- `gstack-design-review` — Bucket 3 治理关卡 (impl: gstack, cmd: /design-review,
|
|
38
38
|
fires_when: has_design_changes)
|
|
39
|
-
- `ui-ux-pro-max` — Bucket 2 special-purpose (
|
|
40
|
-
- `frontend
|
|
39
|
+
- `ui-ux-pro-max` — Bucket 2 special-purpose (Stage 1 结构骨架, 数据驱动)
|
|
40
|
+
- `design-taste-frontend` — Bucket 2 special-purpose (Stage 2 视觉打磨叠加, anti-slop cross-agent)
|
|
41
41
|
|
|
42
42
|
## Gate ref
|
|
43
43
|
|
|
@@ -46,9 +46,9 @@ Sister `workflows/judgments/stage-routing.yaml`:
|
|
|
46
46
|
|
|
47
47
|
## Routing rules (bundled web-design routing — `workflows/judgments/web-design-routing.yaml`)
|
|
48
48
|
|
|
49
|
-
-
|
|
50
|
-
-
|
|
51
|
-
-
|
|
49
|
+
- 两段式叠加 (非仲裁): Stage 1 `ui-ux-pro-max` 理清受众/交互逻辑/设计主轴 (结构骨架, 始终先跑)
|
|
50
|
+
- Stage 2 `design-taste-frontend` 在结构之上叠加细节 + 视觉打磨 → 高级感 (anti-slop, 默认凡 UI 改动都叠加)
|
|
51
|
+
- 设计完成后可选 gstack `/design-review` 一致性 + AI 审美问题识别
|
|
52
52
|
|
|
53
53
|
## How to invoke
|
|
54
54
|
|
|
@@ -71,7 +71,7 @@ that blocks the session inside Claude Code).
|
|
|
71
71
|
|
|
72
72
|
- D-04 Stage ④ Verify 7 sub 分解
|
|
73
73
|
- D-12 gstack 治理关卡可选
|
|
74
|
-
- workflows/judgments/web-design-routing.yaml — ui-ux-pro-max
|
|
75
|
-
- workflows/capabilities.yaml — gstack-design-review / ui-ux-pro-max / frontend
|
|
74
|
+
- workflows/judgments/web-design-routing.yaml — 两段式 ui-ux-pro-max 结构 → design-taste-frontend 打磨
|
|
75
|
+
- workflows/capabilities.yaml — gstack-design-review / ui-ux-pro-max / design-taste-frontend
|
|
76
76
|
- workflows/judgments/stage-routing.yaml — verify-design-changes trigger
|
|
77
77
|
- workflows/verify-work/workflow.yaml v2 SHIPPED phase 07-design-review-conditional sister verbatim
|
|
@@ -4,7 +4,7 @@ description: |
|
|
|
4
4
|
Stage ④.f verify 子工作流 — gstack /design-review 设计系统一致性 + AI 审美问题识别
|
|
5
5
|
(has_design_changes 触发, 可选 conditional; bundled verify-stage optional /design-review step).
|
|
6
6
|
schema_version: harnessed.workflow.v3 with disciplines_applied (6 default) + tools_available
|
|
7
|
-
(gstack-design-review + ui-ux-pro-max + frontend
|
|
7
|
+
(gstack-design-review + ui-ux-pro-max + design-taste-frontend) + 1 phase (gate ref has_design_changes
|
|
8
8
|
conditional)。Triggered by harnessed CLI `harnessed verify-design --phase <num>` or slash
|
|
9
9
|
command `/verify-design` after `harnessed setup`.
|
|
10
10
|
trigger_phrases:
|
|
@@ -36,8 +36,8 @@ resolver 通过 expr-eval 计算 `phase.has_design_changes == true` — 为 true
|
|
|
36
36
|
Sister `workflows/capabilities.yaml` 条目:
|
|
37
37
|
- `gstack-design-review` — Bucket 3 治理关卡 (impl: gstack, cmd: /design-review,
|
|
38
38
|
fires_when: has_design_changes)
|
|
39
|
-
- `ui-ux-pro-max` — Bucket 2 special-purpose (
|
|
40
|
-
- `frontend
|
|
39
|
+
- `ui-ux-pro-max` — Bucket 2 special-purpose (Stage 1 结构骨架, 数据驱动)
|
|
40
|
+
- `design-taste-frontend` — Bucket 2 special-purpose (Stage 2 视觉打磨叠加, anti-slop cross-agent)
|
|
41
41
|
|
|
42
42
|
## Gate ref
|
|
43
43
|
|
|
@@ -46,9 +46,9 @@ Sister `workflows/judgments/stage-routing.yaml`:
|
|
|
46
46
|
|
|
47
47
|
## 路由规则(bundled web-design routing — `workflows/judgments/web-design-routing.yaml`)
|
|
48
48
|
|
|
49
|
-
-
|
|
50
|
-
-
|
|
51
|
-
-
|
|
49
|
+
- 两段式叠加(非仲裁):Stage 1 `ui-ux-pro-max` 理清受众/交互逻辑/设计主轴(结构骨架,始终先跑)
|
|
50
|
+
- Stage 2 `design-taste-frontend` 在结构之上叠加细节 + 视觉打磨 → 高级感(anti-slop,默认凡 UI 改动都叠加)
|
|
51
|
+
- 设计完成后可选 gstack `/design-review` 一致性 + AI 审美问题识别
|
|
52
52
|
|
|
53
53
|
## 如何调用
|
|
54
54
|
|
|
@@ -70,7 +70,7 @@ Code 内部会阻塞 session)。
|
|
|
70
70
|
|
|
71
71
|
- D-04 Stage ④ Verify 7 sub 分解
|
|
72
72
|
- D-12 gstack 治理关卡可选
|
|
73
|
-
- workflows/judgments/web-design-routing.yaml — ui-ux-pro-max
|
|
74
|
-
- workflows/capabilities.yaml — gstack-design-review / ui-ux-pro-max / frontend
|
|
73
|
+
- workflows/judgments/web-design-routing.yaml — 两段式 ui-ux-pro-max 结构 → design-taste-frontend 打磨
|
|
74
|
+
- workflows/capabilities.yaml — gstack-design-review / ui-ux-pro-max / design-taste-frontend
|
|
75
75
|
- workflows/judgments/stage-routing.yaml — verify-design-changes trigger
|
|
76
76
|
- workflows/verify-work/workflow.yaml v2 SHIPPED phase 07-design-review-conditional sister verbatim
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
# (has_design_changes 触发, 可选 conditional; bundled verify-stage optional /design-review step).
|
|
5
5
|
#
|
|
6
6
|
# Sister refs:
|
|
7
|
-
# - workflows/judgments/web-design-routing.yaml — ui-ux-pro-max
|
|
7
|
+
# - workflows/judgments/web-design-routing.yaml — 两段式 ui-ux-pro-max 结构 → design-taste-frontend 打磨
|
|
8
8
|
# - workflows/judgments/stage-routing.yaml verify-design-changes trigger (has_design_changes)
|
|
9
|
-
# - workflows/capabilities.yaml — gstack-design-review / ui-ux-pro-max / frontend
|
|
9
|
+
# - workflows/capabilities.yaml — gstack-design-review / ui-ux-pro-max / design-taste-frontend
|
|
10
10
|
# - workflows/verify-work/workflow.yaml v2 SHIPPED phase 07-design-review-conditional sister pattern
|
|
11
11
|
# - .planning/phase-v3.0-3.2/RESEARCH-workflows.md § Area 2 verify/design example verbatim
|
|
12
12
|
|
|
@@ -16,11 +16,11 @@ description: |
|
|
|
16
16
|
Stage ④.f gstack /design-review 设计系统一致性 + AI 审美问题识别 (has_design_changes 触发,
|
|
17
17
|
可选 conditional)。Gate: judgments.stage-routing.verify-design-changes.fires
|
|
18
18
|
(phase.has_design_changes == true) — UI module fire only; 后端 / docs PR skip。
|
|
19
|
-
tools_available 含 ui-ux-pro-max (
|
|
20
|
-
web-design routing (workflows/judgments/web-design-routing.yaml).
|
|
19
|
+
tools_available 含 ui-ux-pro-max (Stage 1 结构骨架) + design-taste-frontend (Stage 2 视觉打磨叠加)
|
|
20
|
+
per bundled 两段式 web-design routing (workflows/judgments/web-design-routing.yaml).
|
|
21
21
|
|
|
22
22
|
disciplines_applied: [karpathy, output-style, language, operational, priority, protocols]
|
|
23
|
-
tools_available: [gstack-design-review, ui-ux-pro-max, frontend
|
|
23
|
+
tools_available: [gstack-design-review, ui-ux-pro-max, design-taste-frontend]
|
|
24
24
|
|
|
25
25
|
phases:
|
|
26
26
|
- id: 01-design-review
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
# yaml-language-server: $schema=../../schemas/manifest.v1.schema.json
|
|
2
|
-
apiVersion: harnessed/v1
|
|
3
|
-
kind: Manifest
|
|
4
|
-
metadata:
|
|
5
|
-
name: frontend-design
|
|
6
|
-
display_name: frontend-design (anthropics/skills)
|
|
7
|
-
description: Style-led / distinctive aesthetic skill. D-08 "做出风格" override anchor; complements ui-ux-pro-max.
|
|
8
|
-
upstream:
|
|
9
|
-
source: github.com/anthropics/skills
|
|
10
|
-
homepage: https://github.com/anthropics/skills/tree/main/skills/frontend-design
|
|
11
|
-
repository: https://github.com/anthropics/skills.git
|
|
12
|
-
license: anthropics-official
|
|
13
|
-
notice: |
|
|
14
|
-
frontend-design sub-skill from anthropics/skills (source-available; anthropics-official carve-out per .planning/research/v0.2.0-extensions.md § 1).
|
|
15
|
-
D-08 "做出风格" override anchor — primary expert when user requests style-led / distinctive / bold design.
|
|
16
|
-
Routing complementary to ui-ux-pro-max (data-driven / standards-based). See routing/decision_rules.yaml `ui-task-bold-style-override`.
|
|
17
|
-
spec:
|
|
18
|
-
type: cc-skill-pack
|
|
19
|
-
component_type: command
|
|
20
|
-
category: design
|
|
21
|
-
install_type: git
|
|
22
|
-
install:
|
|
23
|
-
method: git-clone-with-setup
|
|
24
|
-
cmd: "rm -rf ~/.claude/skills/.cache/anthropics-skills-fe && git clone https://github.com/anthropics/skills.git ~/.claude/skills/.cache/anthropics-skills-fe && (cd ~/.claude/skills/.cache/anthropics-skills-fe && git checkout f458cee31a7577a47ba0c9a101976fa599385174) && mkdir -p ~/.claude/skills && rm -rf ~/.claude/skills/frontend-design && cp -R ~/.claude/skills/.cache/anthropics-skills-fe/skills/frontend-design ~/.claude/skills/frontend-design && rm -rf ~/.claude/skills/.cache/anthropics-skills-fe"
|
|
25
|
-
git_ref: f458cee31a7577a47ba0c9a101976fa599385174
|
|
26
|
-
idempotent_check: "test -f ~/.claude/skills/frontend-design/SKILL.md"
|
|
27
|
-
verify:
|
|
28
|
-
cmd: "test -f ~/.claude/skills/frontend-design/SKILL.md"
|
|
29
|
-
timeout_ms: 5000
|
|
30
|
-
expected_exit_code: 0
|
|
31
|
-
uninstall:
|
|
32
|
-
cmd: "rm -rf ~/.claude/skills/frontend-design"
|
|
33
|
-
cleanup_paths:
|
|
34
|
-
- ~/.claude/skills/frontend-design
|
|
35
|
-
upstream_health:
|
|
36
|
-
stability: stable
|
|
37
|
-
last_check: "2026-05-16"
|
|
38
|
-
last_known_good_version: main-2026-05-09
|
|
39
|
-
fallback_action: warn
|
|
40
|
-
signed_by: easyinplay
|
|
41
|
-
platforms:
|
|
42
|
-
- linux
|
|
43
|
-
- darwin
|
|
44
|
-
- win32
|
|
45
|
-
decision_rules:
|
|
46
|
-
trigger: "user 请求 style-led / 独特创意 / 做出风格 / distinctive"
|
|
47
|
-
default_expert: frontend-design
|
|
48
|
-
arbitration_rule: "frontend-design 主导剩余维度 (layout / motion / decoration); ui-ux-pro-max 补标准化主方案"
|
|
49
|
-
override_signals:
|
|
50
|
-
- phrase: "做出风格"
|
|
51
|
-
use: frontend-design
|
|
52
|
-
- phrase: "experimental"
|
|
53
|
-
use: frontend-design
|
|
54
|
-
- phrase: "design-led"
|
|
55
|
-
use: frontend-design
|
|
56
|
-
# Phase 2.3 W2 T2.5 (S3 plan-check fix) — 双向 redirect 一致性。
|
|
57
|
-
# frontend-design 拒绝 → ui-ux-pro-max (sister 镜射 ui-ux-pro-max 拒绝 → frontend-design,见该 manifest)
|
|
58
|
-
do_not_use_when:
|
|
59
|
-
- data-driven
|
|
60
|
-
- 标准化
|
|
61
|
-
- design system 严谨
|
|
62
|
-
- 数据可视化
|
|
63
|
-
if_rejected_use: ui-ux-pro-max
|