harnessed 4.49.1 → 4.49.2
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/bin/harnessed-check-docs.mjs +4 -0
- package/dist/cli.mjs +915 -221
- package/dist/cli.mjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/manifests/skill-packs/gsd.yaml +39 -5
- package/manifests/skill-packs/gstack.yaml +9 -7
- package/manifests/skill-packs/planning-with-files.yaml +9 -1
- package/manifests/skill-packs/ui-ux-pro-max.yaml +15 -1
- package/manifests/tools/playwright-cli.yaml +66 -0
- package/manifests/tools/playwright-test.yaml +7 -5
- package/manifests/tools/webapp-testing.yaml +86 -0
- package/messages/en.json +2 -0
- package/messages/zh-Hans.json +2 -0
- package/package.json +1 -1
- package/workflows/capabilities.yaml +23 -5
- package/workflows/host-primitives.yaml +10 -1
- package/workflows/host-primitives.zh-Hans.yaml +10 -1
- package/workflows/role-prompts.yaml +3 -3
- package/workflows/role-prompts.zh-Hans.yaml +3 -3
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,QAwGb,CAAA;;;ACrGO,IAAM,UAAU,eAAA,CAAI","file":"index.mjs","sourcesContent":["{\n \"name\": \"harnessed\",\n \"version\": \"4.49.
|
|
1
|
+
{"version":3,"sources":["../package.json","../src/index.ts"],"names":[],"mappings":";AAAA,IAAA,eAAA,GAAA;AAAA,EAEE,OAAA,EAAW,QAwGb,CAAA;;;ACrGO,IAAM,UAAU,eAAA,CAAI","file":"index.mjs","sourcesContent":["{\n \"name\": \"harnessed\",\n \"version\": \"4.49.2\",\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 \"README-en.md\",\n \"LICENSE\",\n \"NOTICE\",\n \"THIRD-PARTY-NOTICES.md\"\n ],\n \"scripts\": {\n \"dev\": \"tsup --watch\",\n \"build\": \"tsc --noEmit && tsup && node ./scripts/build-hooks.mjs\",\n \"build:hooks\": \"node ./scripts/build-hooks.mjs\",\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 \"test:codex-live\": \"node ./scripts/codex-live/run.mjs\",\n \"bench\": \"vitest bench --run\",\n \"lint\": \"biome check .\",\n \"lint:fix\": \"biome check --write .\",\n \"format\": \"biome format --write .\",\n \"build:binary\": \"bun scripts/build-binary.mjs\"\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 \"undici\": \"^8.12.1\",\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 \"esbuild\": \"0.27.7\",\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"]}
|
|
@@ -26,23 +26,57 @@ spec:
|
|
|
26
26
|
# purpose so the post-install diff still reports any future unprefixed name.
|
|
27
27
|
installs_skills: []
|
|
28
28
|
verify:
|
|
29
|
-
|
|
29
|
+
# Filesystem floor; verifySkillRuntime also checks readable, nonempty resources.
|
|
30
|
+
# Only core phase roles are required, not the optional GSD role catalog.
|
|
31
|
+
cmd: >-
|
|
32
|
+
test -f ~/.claude/skills/gsd-plan-phase/SKILL.md
|
|
33
|
+
&& test -f ~/.claude/gsd-core/workflows/discuss-phase.md
|
|
34
|
+
&& test -f ~/.claude/gsd-core/workflows/plan-phase.md
|
|
35
|
+
&& test -f ~/.claude/gsd-core/workflows/execute-phase.md
|
|
36
|
+
&& test -f ~/.claude/gsd-core/workflows/verify-work.md
|
|
37
|
+
&& test -f ~/.claude/gsd-core/workflows/progress.md
|
|
38
|
+
&& test -f ~/.claude/gsd-core/bin/gsd-tools.cjs
|
|
39
|
+
&& test -f ~/.claude/gsd-core/references/ui-brand.md
|
|
40
|
+
&& test -f ~/.claude/agents/gsd-phase-researcher.md
|
|
41
|
+
&& test -f ~/.claude/agents/gsd-planner.md
|
|
42
|
+
&& test -f ~/.claude/agents/gsd-plan-checker.md
|
|
43
|
+
&& test -f ~/.claude/agents/gsd-executor.md
|
|
44
|
+
&& test -f ~/.claude/agents/gsd-verifier.md
|
|
30
45
|
timeout_ms: 10000
|
|
31
46
|
uninstall:
|
|
32
47
|
cmd: "npx --yes @opengsd/gsd-core@latest --uninstall --claude"
|
|
33
48
|
cleanup_paths:
|
|
34
49
|
- ~/.claude/skills/gsd-plan-phase
|
|
35
|
-
#
|
|
36
|
-
#
|
|
50
|
+
# GSD 1.18.0 on Codex installs skills under ~/.agents/skills; retain the legacy
|
|
51
|
+
# ~/.codex/skills path for existing installs. Probe files, not empty directories.
|
|
37
52
|
harness_overrides:
|
|
38
53
|
codex:
|
|
39
54
|
install:
|
|
40
55
|
method: npm-cli
|
|
41
56
|
cmd: "npx --yes @opengsd/gsd-core@latest --codex --global"
|
|
42
57
|
npm_version: ^1.7.0
|
|
43
|
-
idempotent_check: "test -
|
|
58
|
+
idempotent_check: "test -f ~/.agents/skills/gsd-plan-phase/SKILL.md || test -f ~/.codex/skills/gsd-plan-phase/SKILL.md"
|
|
44
59
|
verify:
|
|
45
|
-
|
|
60
|
+
# Match the install target without dynamic substitution; custom homes never
|
|
61
|
+
# fall back to resources under ~/.codex. Shared or native legacy skills work.
|
|
62
|
+
cmd: >-
|
|
63
|
+
if test -n "$CODEX_HOME"; then GSD_VERIFY_ROOT="$CODEX_HOME"; else GSD_VERIFY_ROOT="$HOME/.codex"; fi;
|
|
64
|
+
if test -f "$HOME/.agents/skills/gsd-plan-phase/SKILL.md"; then GSD_VERIFY_SKILL="$HOME/.agents/skills/gsd-plan-phase/SKILL.md"; else GSD_VERIFY_SKILL="$GSD_VERIFY_ROOT/skills/gsd-plan-phase/SKILL.md"; fi;
|
|
65
|
+
test -f "$GSD_VERIFY_SKILL" && test -r "$GSD_VERIFY_SKILL" && test -s "$GSD_VERIFY_SKILL" || exit 1;
|
|
66
|
+
for GSD_VERIFY_RESOURCE in
|
|
67
|
+
gsd-core/workflows/discuss-phase.md
|
|
68
|
+
gsd-core/workflows/plan-phase.md
|
|
69
|
+
gsd-core/workflows/execute-phase.md
|
|
70
|
+
gsd-core/workflows/verify-work.md
|
|
71
|
+
gsd-core/workflows/progress.md
|
|
72
|
+
gsd-core/bin/gsd-tools.cjs
|
|
73
|
+
gsd-core/references/ui-brand.md
|
|
74
|
+
agents/gsd-phase-researcher.toml
|
|
75
|
+
agents/gsd-planner.toml
|
|
76
|
+
agents/gsd-plan-checker.toml
|
|
77
|
+
agents/gsd-executor.toml
|
|
78
|
+
agents/gsd-verifier.toml;
|
|
79
|
+
do test -f "$GSD_VERIFY_ROOT/$GSD_VERIFY_RESOURCE" && test -r "$GSD_VERIFY_ROOT/$GSD_VERIFY_RESOURCE" && test -s "$GSD_VERIFY_ROOT/$GSD_VERIFY_RESOURCE" || exit 1; done
|
|
46
80
|
timeout_ms: 10000
|
|
47
81
|
upstream_health:
|
|
48
82
|
stability: stable
|
|
@@ -88,12 +88,14 @@ spec:
|
|
|
88
88
|
codex:
|
|
89
89
|
install:
|
|
90
90
|
method: git-clone-with-setup
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
91
|
+
# Pin only a fresh clone; preserve an existing checkout and its local edits.
|
|
92
|
+
cmd: "if test ! -e ~/gstack && test ! -L ~/gstack; then git clone https://github.com/garrytan/gstack.git ~/gstack && git -C ~/gstack checkout --detach 514fbfdc9799376edfd2536f60659501a48ead64 ; fi && cd ~/gstack && test -d .git && bash ./setup --host codex"
|
|
93
|
+
git_ref: 514fbfdc9799376edfd2536f60659501a48ead64
|
|
94
|
+
idempotent_check: 'if test -n "$CODEX_HOME"; then GSTACK_VERIFY_ROOT="$CODEX_HOME/skills"; else GSTACK_VERIFY_ROOT="$HOME/.codex/skills"; fi; for GSTACK_VERIFY_SKILL in gstack gstack-office-hours gstack-plan-ceo-review gstack-plan-eng-review gstack-review gstack-qa gstack-browse; do test -f "$GSTACK_VERIFY_ROOT/$GSTACK_VERIFY_SKILL/SKILL.md" && test -r "$GSTACK_VERIFY_ROOT/$GSTACK_VERIFY_SKILL/SKILL.md" || exit 1; done; bash "$GSTACK_VERIFY_ROOT/gstack/bin/gstack-browser-ensure" --check'
|
|
94
95
|
verify:
|
|
95
|
-
|
|
96
|
-
|
|
96
|
+
# --check launches the installed runtime browser without downloading anything.
|
|
97
|
+
cmd: 'if test -n "$CODEX_HOME"; then GSTACK_VERIFY_ROOT="$CODEX_HOME/skills"; else GSTACK_VERIFY_ROOT="$HOME/.codex/skills"; fi; for GSTACK_VERIFY_SKILL in gstack gstack-office-hours gstack-plan-ceo-review gstack-plan-eng-review gstack-review gstack-qa gstack-browse; do test -f "$GSTACK_VERIFY_ROOT/$GSTACK_VERIFY_SKILL/SKILL.md" && test -r "$GSTACK_VERIFY_ROOT/$GSTACK_VERIFY_SKILL/SKILL.md" || exit 1; done; bash "$GSTACK_VERIFY_ROOT/gstack/bin/gstack-browser-ensure" --check'
|
|
98
|
+
timeout_ms: 60000
|
|
97
99
|
verify:
|
|
98
100
|
cmd: "test -f ~/.claude/skills/gstack/office-hours/SKILL.md"
|
|
99
101
|
timeout_ms: 5000
|
|
@@ -103,8 +105,8 @@ spec:
|
|
|
103
105
|
- ~/.claude/skills/gstack
|
|
104
106
|
upstream_health:
|
|
105
107
|
stability: stable
|
|
106
|
-
last_check: "2026-
|
|
107
|
-
last_known_good_version: "1.
|
|
108
|
+
last_check: "2026-10-23"
|
|
109
|
+
last_known_good_version: "1.91.176.0"
|
|
108
110
|
fallback_action: warn
|
|
109
111
|
signed_by: easyinplay
|
|
110
112
|
platforms:
|
|
@@ -34,6 +34,7 @@ spec:
|
|
|
34
34
|
source: github
|
|
35
35
|
repo: OthmanAdi/planning-with-files
|
|
36
36
|
verify:
|
|
37
|
+
# Claude plugin payload verification remains a separate installer-channel follow-up.
|
|
37
38
|
cmd: "/plugin list | grep -q planning-with-files"
|
|
38
39
|
timeout_ms: 5000
|
|
39
40
|
uninstall:
|
|
@@ -48,7 +49,14 @@ spec:
|
|
|
48
49
|
npm_version: ^1.5.7
|
|
49
50
|
idempotent_check: "test -d ~/.agents/skills/planning-with-files || test -d ~/.claude/skills/planning-with-files"
|
|
50
51
|
verify:
|
|
51
|
-
|
|
52
|
+
# A Claude skill cannot supply Codex helpers. verifySkillRuntime additionally
|
|
53
|
+
# checks Python syntax without executing catchup or reading session histories.
|
|
54
|
+
cmd: >-
|
|
55
|
+
test -f ~/.agents/skills/planning-with-files/SKILL.md
|
|
56
|
+
&& test -f ~/.agents/skills/planning-with-files/scripts/session-catchup.py
|
|
57
|
+
&& test -f ~/.agents/skills/planning-with-files/templates/task_plan.md
|
|
58
|
+
&& test -f ~/.agents/skills/planning-with-files/templates/progress.md
|
|
59
|
+
&& test -f ~/.agents/skills/planning-with-files/templates/findings.md
|
|
52
60
|
timeout_ms: 5000
|
|
53
61
|
upstream_health:
|
|
54
62
|
stability: stable
|
|
@@ -53,6 +53,7 @@ spec:
|
|
|
53
53
|
source: github
|
|
54
54
|
repo: nextlevelbuilder/ui-ux-pro-max-skill
|
|
55
55
|
verify:
|
|
56
|
+
# Claude plugin payload verification remains a separate installer-channel follow-up.
|
|
56
57
|
cmd: "claude plugin list 2>&1 | grep -qw ui-ux-pro-max"
|
|
57
58
|
timeout_ms: 10000
|
|
58
59
|
uninstall:
|
|
@@ -69,7 +70,20 @@ spec:
|
|
|
69
70
|
git_ref: e89d70e4bcd0ae04709a773db549cf61fcf813ac
|
|
70
71
|
idempotent_check: "test -f ~/.agents/skills/ui-ux-pro-max/SKILL.md"
|
|
71
72
|
verify:
|
|
72
|
-
|
|
73
|
+
# verifySkillRuntime adds Python, CSV content and real domain/stack queries.
|
|
74
|
+
cmd: >-
|
|
75
|
+
test -f ~/.agents/skills/ui-ux-pro-max/SKILL.md
|
|
76
|
+
&& test -f ~/.agents/skills/ui-ux-pro-max/scripts/search.py
|
|
77
|
+
&& test -f ~/.agents/skills/ui-ux-pro-max/scripts/core.py
|
|
78
|
+
&& test -f ~/.agents/skills/ui-ux-pro-max/data/styles.csv
|
|
79
|
+
&& test -f ~/.agents/skills/ui-ux-pro-max/data/prompts.csv
|
|
80
|
+
&& test -f ~/.agents/skills/ui-ux-pro-max/data/colors.csv
|
|
81
|
+
&& test -f ~/.agents/skills/ui-ux-pro-max/data/charts.csv
|
|
82
|
+
&& test -f ~/.agents/skills/ui-ux-pro-max/data/landing.csv
|
|
83
|
+
&& test -f ~/.agents/skills/ui-ux-pro-max/data/products.csv
|
|
84
|
+
&& test -f ~/.agents/skills/ui-ux-pro-max/data/ux-guidelines.csv
|
|
85
|
+
&& test -f ~/.agents/skills/ui-ux-pro-max/data/typography.csv
|
|
86
|
+
&& test -f ~/.agents/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv
|
|
73
87
|
timeout_ms: 5000
|
|
74
88
|
upstream_health:
|
|
75
89
|
stability: stable
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# yaml-language-server: $schema=../../schemas/manifest.v1.schema.json
|
|
2
|
+
apiVersion: harnessed/v1
|
|
3
|
+
kind: Manifest
|
|
4
|
+
metadata:
|
|
5
|
+
name: playwright-cli
|
|
6
|
+
display_name: Playwright CLI Runtime
|
|
7
|
+
description: Global browser automation CLI and Chromium runtime; not the project-level @playwright/test runner.
|
|
8
|
+
upstream:
|
|
9
|
+
source: "@playwright/cli"
|
|
10
|
+
homepage: https://github.com/microsoft/playwright-cli
|
|
11
|
+
repository: https://github.com/microsoft/playwright-cli.git
|
|
12
|
+
license: Apache-2.0
|
|
13
|
+
notice: Microsoft Playwright CLI runtime, separate from the playwright-test browser automation skill and project-level test dependencies.
|
|
14
|
+
spec:
|
|
15
|
+
type: cli-npm
|
|
16
|
+
component_type: cli-binary
|
|
17
|
+
category: testing
|
|
18
|
+
install_type: npm
|
|
19
|
+
install:
|
|
20
|
+
method: npm-cli
|
|
21
|
+
cmd: "npm install -g @playwright/cli@0.1.22 && playwright-cli install-browser chromium"
|
|
22
|
+
npm_version: "0.1.22"
|
|
23
|
+
idempotent_check: "playwright-cli --version | grep -Fx '0.1.22'"
|
|
24
|
+
verify:
|
|
25
|
+
# npm-cli runs this in neutralCwd, outside the user's project.
|
|
26
|
+
# Avoid command substitution: manifest security rejects $() and backticks.
|
|
27
|
+
cmd: |
|
|
28
|
+
set -eu
|
|
29
|
+
playwright-cli --version | grep -Fx '0.1.22'
|
|
30
|
+
session="harnessed-playwright-verify-$$"
|
|
31
|
+
mkdir "$session"
|
|
32
|
+
cleanup() {
|
|
33
|
+
status=$?
|
|
34
|
+
set +e
|
|
35
|
+
trap - 0 HUP INT TERM
|
|
36
|
+
playwright-cli -s="$session" close >"$session/close.log" 2>&1
|
|
37
|
+
close_status=$?
|
|
38
|
+
cat "$session/close.log"
|
|
39
|
+
if grep -q '^### Error' "$session/close.log"; then close_status=1; fi
|
|
40
|
+
rm -f "$session/render.log" "$session/close.log"
|
|
41
|
+
rmdir "$session"
|
|
42
|
+
if [ "$status" -eq 0 ]; then status=$close_status; fi
|
|
43
|
+
exit "$status"
|
|
44
|
+
}
|
|
45
|
+
trap cleanup 0
|
|
46
|
+
trap 'exit 129' HUP
|
|
47
|
+
trap 'exit 130' INT
|
|
48
|
+
trap 'exit 143' TERM
|
|
49
|
+
playwright-cli -s="$session" open --browser chromium
|
|
50
|
+
playwright-cli -s="$session" --raw run-code 'async page => { await page.setContent("<title>harnessed-playwright-runtime</title><h1>Runtime ready</h1>"); return await page.title(); }' >"$session/render.log"
|
|
51
|
+
cat "$session/render.log"
|
|
52
|
+
grep -Fxq '"harnessed-playwright-runtime"' "$session/render.log"
|
|
53
|
+
timeout_ms: 60000
|
|
54
|
+
expected_exit_code: 0
|
|
55
|
+
uninstall:
|
|
56
|
+
cmd: "npm uninstall -g @playwright/cli"
|
|
57
|
+
upstream_health:
|
|
58
|
+
stability: unstable
|
|
59
|
+
last_check: "2026-10-23"
|
|
60
|
+
last_known_good_version: "0.1.22"
|
|
61
|
+
fallback_action: warn
|
|
62
|
+
signed_by: easyinplay
|
|
63
|
+
platforms:
|
|
64
|
+
- linux
|
|
65
|
+
- darwin
|
|
66
|
+
- win32
|
|
@@ -3,17 +3,19 @@ apiVersion: harnessed/v1
|
|
|
3
3
|
kind: Manifest
|
|
4
4
|
metadata:
|
|
5
5
|
name: playwright-test
|
|
6
|
-
display_name: Playwright
|
|
7
|
-
description:
|
|
6
|
+
display_name: Playwright CLI Browser Automation Skill
|
|
7
|
+
description: Microsoft browser automation skill for playwright-cli, not the @playwright/test test runner.
|
|
8
8
|
upstream:
|
|
9
9
|
source: github.com/microsoft/playwright-cli
|
|
10
10
|
homepage: https://github.com/microsoft/playwright-cli
|
|
11
11
|
repository: https://github.com/microsoft/playwright-cli.git
|
|
12
12
|
license: Apache-2.0
|
|
13
13
|
notice: |
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
microsoft/playwright-cli browser automation skill (Microsoft, Apache-2.0).
|
|
15
|
+
Existing name retained for compatibility; L2 installs skill content only.
|
|
16
|
+
Separate playwright-cli L4 manifest installs @playwright/cli and Chromium without system dependencies.
|
|
17
|
+
@playwright/test is a project-level dependency: global CLI does not provide project imports or modify package.json.
|
|
18
|
+
Performance, a11y and memory diagnostics use chrome-devtools-mcp.
|
|
17
19
|
spec:
|
|
18
20
|
type: cc-skill-pack
|
|
19
21
|
component_type: command
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# yaml-language-server: $schema=../../schemas/manifest.v1.schema.json
|
|
2
|
+
apiVersion: harnessed/v1
|
|
3
|
+
kind: Manifest
|
|
4
|
+
metadata:
|
|
5
|
+
name: webapp-testing
|
|
6
|
+
display_name: Anthropic Webapp Testing Skill
|
|
7
|
+
description: Anthropic browser testing skill and server helper; Python Playwright remains a project-level dependency.
|
|
8
|
+
upstream:
|
|
9
|
+
source: github.com/anthropics/skills
|
|
10
|
+
homepage: https://github.com/anthropics/skills/tree/main/skills/webapp-testing
|
|
11
|
+
repository: https://github.com/anthropics/skills.git
|
|
12
|
+
license: anthropics-official
|
|
13
|
+
license_source: anthropics-official
|
|
14
|
+
notice: |
|
|
15
|
+
Official anthropics/skills webapp-testing skill; license provenance uses the schema anthropics-official carve-out, not a guessed SPDX identifier.
|
|
16
|
+
L2 installs only the skill and scripts/with_server.py, independently of gstack.
|
|
17
|
+
Python Playwright is a project-level dependency, like @playwright/test. No automatic pip install, browser download or project package changes.
|
|
18
|
+
Verification only checks readable resources and isolated Python helper --help.
|
|
19
|
+
spec:
|
|
20
|
+
type: cc-skill-pack
|
|
21
|
+
component_type: command
|
|
22
|
+
category: testing
|
|
23
|
+
install_type: skill
|
|
24
|
+
install:
|
|
25
|
+
method: npx-skill-installer
|
|
26
|
+
cmd: "npx --yes skills@latest add anthropics/skills --skill webapp-testing --copy --global -y"
|
|
27
|
+
npm_version: ^1.7.4
|
|
28
|
+
idempotent_check: "test -r ~/.agents/skills/webapp-testing/SKILL.md || test -r ~/.codex/skills/webapp-testing/SKILL.md || test -r ~/.claude/skills/webapp-testing/SKILL.md"
|
|
29
|
+
installs_skills:
|
|
30
|
+
- webapp-testing
|
|
31
|
+
verify:
|
|
32
|
+
cmd: |
|
|
33
|
+
node -e '
|
|
34
|
+
const fs = require("node:fs");
|
|
35
|
+
const path = require("node:path");
|
|
36
|
+
const home = require("node:os").homedir();
|
|
37
|
+
const spawnSync = require("node:child_process").spawnSync;
|
|
38
|
+
const platform = process.env.HARNESSED_PLATFORM;
|
|
39
|
+
const codex = platform ? platform === "codex" : Boolean(process.env.CODEX_HOME || process.env.CODEX_SESSION_ID);
|
|
40
|
+
const codexHome = path.resolve(process.env.CODEX_HOME || path.join(home, ".codex"));
|
|
41
|
+
const roots = codex
|
|
42
|
+
? [path.join(home, ".agents", "skills", "webapp-testing"), path.join(codexHome, "skills", "webapp-testing")]
|
|
43
|
+
: [".agents", ".codex", ".claude"].map(dir => path.join(home, dir, "skills", "webapp-testing"));
|
|
44
|
+
const root = roots.find(dir => fs.existsSync(path.join(dir, "SKILL.md")));
|
|
45
|
+
if (!root) throw new Error("webapp-testing SKILL.md is missing");
|
|
46
|
+
for (const resource of ["SKILL.md", "scripts/with_server.py"]) {
|
|
47
|
+
const file = path.join(root, resource);
|
|
48
|
+
fs.accessSync(file, fs.constants.R_OK);
|
|
49
|
+
const info = fs.statSync(file);
|
|
50
|
+
if (!info.isFile() || info.size === 0) throw new Error("Required resource is empty or not a file: " + file);
|
|
51
|
+
}
|
|
52
|
+
const env = Object.fromEntries(["PATH", "SystemRoot", "WINDIR", "TEMP", "TMP"].map(key => [key, process.env[key]]).filter(pair => pair[1] !== undefined));
|
|
53
|
+
const options = { cwd: root, env, encoding: "utf8", windowsHide: true, shell: false, stdio: ["ignore", "pipe", "pipe"], timeout: 5000, maxBuffer: 262144 };
|
|
54
|
+
const flags = ["-I", "-B", "-S"];
|
|
55
|
+
let python;
|
|
56
|
+
for (const [binary, prefix] of [["python", []], ["python3", []], ["py", ["-3"]]]) {
|
|
57
|
+
const probe = spawnSync(binary, [...prefix, ...flags, "-c", "import sys; assert sys.version_info >= (3, 8); print(\"HARNESSED_PYTHON_OK\")"], options);
|
|
58
|
+
if (!probe.error && probe.status === 0 && probe.stdout.trim() === "HARNESSED_PYTHON_OK") {
|
|
59
|
+
python = [binary, prefix];
|
|
60
|
+
break;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
if (!python) throw new Error("Python 3.8+ is required for helper --help; install an interpreter explicitly, not project dependencies");
|
|
64
|
+
const result = spawnSync(python[0], [...python[1], ...flags, path.join(root, "scripts", "with_server.py"), "--help"], options);
|
|
65
|
+
if (result.error) throw result.error;
|
|
66
|
+
process.stdout.write(result.stdout);
|
|
67
|
+
process.stderr.write(result.stderr);
|
|
68
|
+
if (result.status !== 0) process.exit(result.status || 1);
|
|
69
|
+
if (!["usage:", "--server", "--port", "--timeout"].every(text => result.stdout.includes(text))) throw new Error("with_server.py did not return the expected help output");
|
|
70
|
+
'
|
|
71
|
+
timeout_ms: 30000
|
|
72
|
+
expected_exit_code: 0
|
|
73
|
+
uninstall:
|
|
74
|
+
cmd: "rm -rf ~/.claude/skills/webapp-testing"
|
|
75
|
+
cleanup_paths:
|
|
76
|
+
- ~/.claude/skills/webapp-testing
|
|
77
|
+
upstream_health:
|
|
78
|
+
stability: stable
|
|
79
|
+
last_check: "2026-10-23"
|
|
80
|
+
last_known_good_version: "1.7.4"
|
|
81
|
+
fallback_action: warn
|
|
82
|
+
signed_by: easyinplay
|
|
83
|
+
platforms:
|
|
84
|
+
- linux
|
|
85
|
+
- darwin
|
|
86
|
+
- win32
|
package/messages/en.json
CHANGED
|
@@ -20,7 +20,9 @@
|
|
|
20
20
|
"setup.mcp_hint": "Run /mcp in Claude Code to verify MCP server connections.",
|
|
21
21
|
"setup.mcp_hint_codex": "Run codex mcp list to verify MCP server connections.",
|
|
22
22
|
"setup.search_key_hint.header": "\n⚠ Search MCP API keys missing — the server(s) below are installed but will fail at query time until the key is configured:",
|
|
23
|
+
"setup.search_key_hint.header_codex": "\n⚠ Search MCP API keys not visible to this check: Codex checks only process env. Verify the tools first; if authentication fails, set the key in your shell environment.",
|
|
23
24
|
"setup.search_key_hint.line": " {{server}}: set {{envVar}} — add it to the ~/.claude/settings.json \"env\" block (e.g. {\"env\": {\"{{envVar}}\": \"<your-key>\"}}) or export {{envVar}} in your shell",
|
|
25
|
+
"setup.search_key_hint.line_codex": " {{server}}: set {{envVar}} in your shell environment (export {{envVar}}=\"<your-key>\")",
|
|
24
26
|
"setup.optional_offer.ecc_note": " ecc (bonus tier): installing it unlocks finer-grained scenario orchestration (per-language review/build expert routing etc.); the trade-off is ~20k+ tokens/session of static listing overhead — inherent to ECC's own scale (281 skills / 94 commands / 67 agents), not introduced by harnessed.",
|
|
25
27
|
"setup.bundled_summary": "\nharnessed workflows bundled at <packageRoot>/workflows/ (share-only, read-only)",
|
|
26
28
|
"setup.bundled_location": "",
|
package/messages/zh-Hans.json
CHANGED
|
@@ -20,7 +20,9 @@
|
|
|
20
20
|
"setup.mcp_hint": "Run /mcp in Claude Code to verify MCP server connections.",
|
|
21
21
|
"setup.mcp_hint_codex": "Run codex mcp list to verify MCP server connections.",
|
|
22
22
|
"setup.search_key_hint.header": "\n⚠ 搜索类 MCP 缺少 API key — 下列 server 已安装,但未配置 key 前查询会失败:",
|
|
23
|
+
"setup.search_key_hint.header_codex": "\n⚠ 本次检查未观察到搜索类 MCP API key: Codex 仅检查 process env。请先验证工具;若出现认证失败,再在 shell 环境中设置 key。",
|
|
23
24
|
"setup.search_key_hint.line": " {{server}}: 需配置 {{envVar}} — 写入 ~/.claude/settings.json 的 \"env\" 块(如 {\"env\": {\"{{envVar}}\": \"<your-key>\"}})或在 shell 中 export {{envVar}}",
|
|
25
|
+
"setup.search_key_hint.line_codex": " {{server}}: 请在 shell 环境中设置 {{envVar}} (export {{envVar}}=\"<your-key>\")",
|
|
24
26
|
"setup.optional_offer.ecc_note": " ecc(bonus tier): 安装后点亮更细化的场景编排(语言级 review/build 专家路由等);代价是每 session 约 2 万余 tokens 的静态列表开销 — 由 ECC 自身规模(281 skills/94 commands/67 agents 清单加载)决定,非 harnessed 引入。",
|
|
25
27
|
"setup.bundled_summary": "\nharnessed workflows 已 bundle 于 <packageRoot>/workflows/(只读共享)",
|
|
26
28
|
"setup.bundled_location": "",
|
package/package.json
CHANGED
|
@@ -200,6 +200,12 @@ capabilities:
|
|
|
200
200
|
install_type: plugin
|
|
201
201
|
plugin_id: ui-ux-pro-max
|
|
202
202
|
cmd: /ui-ux-pro-max
|
|
203
|
+
by_host:
|
|
204
|
+
codex:
|
|
205
|
+
impl: user-skill
|
|
206
|
+
cmd: $ui-ux-pro-max
|
|
207
|
+
install_type: user-skill
|
|
208
|
+
skill_dir: ui-ux-pro-max
|
|
203
209
|
since: v2.0
|
|
204
210
|
category: tool-slash-cmd
|
|
205
211
|
description: UI/UX 默认主方案 数据驱动
|
|
@@ -222,7 +228,7 @@ capabilities:
|
|
|
222
228
|
|
|
223
229
|
playwright-cli:
|
|
224
230
|
impl: npm-cli
|
|
225
|
-
cmd: playwright
|
|
231
|
+
cmd: playwright-cli
|
|
226
232
|
since: v2.0
|
|
227
233
|
category: tool-bundled-skill
|
|
228
234
|
description: "AI 实时操作浏览器 一行 Bash (手层 — 探查 / 调试 / 一次性交互)"
|
|
@@ -234,18 +240,24 @@ capabilities:
|
|
|
234
240
|
cmd: "@playwright/test"
|
|
235
241
|
since: v2.0
|
|
236
242
|
category: tool-plugin
|
|
237
|
-
description: "E2E test framework TypeScript (
|
|
243
|
+
description: "E2E test framework TypeScript (project-level dependency; install @playwright/test in the project; global playwright-cli does not provide project imports)"
|
|
238
244
|
routing_note:
|
|
239
245
|
- subtask.type == 'e2e_test' AND subtask.language == 'typescript'
|
|
240
246
|
|
|
241
247
|
webapp-testing:
|
|
242
|
-
impl:
|
|
248
|
+
impl: user-skill
|
|
243
249
|
install_type: user-skill
|
|
244
|
-
skill_dir:
|
|
250
|
+
skill_dir: webapp-testing
|
|
245
251
|
cmd: /webapp-testing
|
|
252
|
+
by_host:
|
|
253
|
+
codex:
|
|
254
|
+
impl: user-skill
|
|
255
|
+
cmd: $webapp-testing
|
|
256
|
+
install_type: user-skill
|
|
257
|
+
skill_dir: webapp-testing
|
|
246
258
|
since: v2.0
|
|
247
259
|
category: tool-bundled-skill
|
|
248
|
-
description: "
|
|
260
|
+
description: "Anthropic webapp-testing skill + with_server.py; Python Playwright is a project-level dependency, never installed automatically"
|
|
249
261
|
routing_note:
|
|
250
262
|
- subtask.type == 'e2e_test' AND subtask.language == 'python'
|
|
251
263
|
|
|
@@ -515,6 +527,12 @@ capabilities:
|
|
|
515
527
|
install_type: plugin
|
|
516
528
|
plugin_id: planning-with-files
|
|
517
529
|
cmd: /plan
|
|
530
|
+
by_host:
|
|
531
|
+
codex:
|
|
532
|
+
impl: user-skill
|
|
533
|
+
cmd: $planning-with-files
|
|
534
|
+
install_type: user-skill
|
|
535
|
+
skill_dir: planning-with-files
|
|
518
536
|
since: v2.0
|
|
519
537
|
category: tool-plugin
|
|
520
538
|
description: Manus-style persistent markdown planning (Claude Code plugin slash cmd)
|
|
@@ -84,6 +84,12 @@ primitives:
|
|
|
84
84
|
claude: "SendMessage"
|
|
85
85
|
codex: "send_input"
|
|
86
86
|
|
|
87
|
+
# Planning plugin command on Claude, manifest-installed user-skill on Codex.
|
|
88
|
+
planning_command:
|
|
89
|
+
default:
|
|
90
|
+
claude: "/plan"
|
|
91
|
+
codex: "$planning-with-files"
|
|
92
|
+
|
|
87
93
|
# The formation noun. codex v1 has no branded team concept — per F4 the
|
|
88
94
|
# formation IS repeated spawn_agent, so the codex cell is descriptive prose
|
|
89
95
|
# rather than a tool name. If a call site reads badly after substitution,
|
|
@@ -343,6 +349,9 @@ primitives:
|
|
|
343
349
|
# ─────────────────────────────────────────────────────────────────────────────
|
|
344
350
|
host_map_notes:
|
|
345
351
|
codex:
|
|
352
|
+
- "Codex planning helper paths take precedence over upstream legacy examples: expand `~/.agents/skills/planning-with-files/scripts/session-catchup.py` to an absolute path before invoking it with a working Python 3 interpreter and `-B`. Resolve native `init-session.ps1` and `check-complete.ps1` under that same scripts directory on Windows; use their `.sh` siblings on Linux/macOS. Templates live at `~/.agents/skills/planning-with-files/templates/`. These installed paths override `$CLAUDE_PLUGIN_ROOT` and `~/.claude/skills/planning-with-files` examples; do not create legacy Claude directories or rewrite upstream skills. This path mapping does not register Claude plugin hooks on Codex."
|
|
353
|
+
- "Codex UI helper paths take precedence over upstream legacy examples: expand `~/.agents/skills/ui-ux-pro-max/scripts/search.py` to an absolute path and invoke it with a working Python 3 interpreter and `-B`. Its `data/` belongs to the same installed skill root. Do not resolve `.shared/ui-ux-pro-max/scripts/search.py` against the project cwd or create that legacy project directory. Prefer the resolved installed absolute path regardless of the current working directory."
|
|
346
354
|
- "`request_user_input` — TODO(未验证): the tool exists upstream (`codex-rs/core/src/tools/handlers/request_user_input{,_spec}.rs`), but whether it is enabled on this install was not measured. The `default_mode_request_user_input` entry in `codex features list` is a mode flag, not the tool's own switch. If a clarification round-trip is unavailable, do not guess — stop and report `STATUS: NEEDS_CLARIFICATION` with the questions."
|
|
347
|
-
- "
|
|
355
|
+
- "Codex user-skill mappings — load `planning-with-files` from `~/.agents/skills/planning-with-files/SKILL.md` and invoke `$planning-with-files`; load `ui-ux-pro-max` from `~/.agents/skills/ui-ux-pro-max/SKILL.md` and invoke `$ui-ux-pro-max`. Keep the same planning outputs: `task_plan.md`, `progress.md`, and `findings.md`. On this host, interpret legacy planning-with-files `/plan` references and Claude Code plugin requirements for these two components through their Codex user-skill mappings; never invoke harnessed's `/plan` master for planning-with-files, which would recurse."
|
|
356
|
+
- "Unsupported Claude Code plugin components — `code-review` and `code-simplifier` have no declared Codex install mapping and remain unavailable on this host. Record the skip rather than substituting an equivalent."
|
|
348
357
|
- "codex agent lifecycle — session scope, automatic reclamation on session exit, and whether an agent may spawn another are ALL unmeasured. Nothing in this artifact asserts them. Close every agent you spawn with `close_agent` explicitly rather than relying on any cleanup you have not observed."
|
|
@@ -72,6 +72,12 @@ primitives:
|
|
|
72
72
|
claude: "SendMessage"
|
|
73
73
|
codex: "send_input"
|
|
74
74
|
|
|
75
|
+
# Planning plugin command on Claude, manifest-installed user-skill on Codex.
|
|
76
|
+
planning_command:
|
|
77
|
+
default:
|
|
78
|
+
claude: "/plan"
|
|
79
|
+
codex: "$planning-with-files"
|
|
80
|
+
|
|
75
81
|
# 编队名词。codex v1 无品牌化编队概念 —— 按 F4,编队方式就是多次 spawn_agent,
|
|
76
82
|
# 所以 codex cell 是描述性短语而非工具名。若某句替换后读起来别扭,那句应改判
|
|
77
83
|
# 为 C 类整段变体,而不是硬套本 token。
|
|
@@ -314,6 +320,9 @@ primitives:
|
|
|
314
320
|
# ─────────────────────────────────────────────────────────────────────────────
|
|
315
321
|
host_map_notes:
|
|
316
322
|
codex:
|
|
323
|
+
- "Codex planning helper 路径优先于上游 legacy 示例:先把 `~/.agents/skills/planning-with-files/scripts/session-catchup.py` 展开为绝对路径,再用可运行的 Python 3 interpreter 和 `-B` 调用。Windows 的 native `init-session.ps1`、`check-complete.ps1` 从同一 scripts 目录解析;Linux/macOS 使用对应 `.sh` 文件。模板位于 `~/.agents/skills/planning-with-files/templates/`。这些安装路径覆盖 `$CLAUDE_PLUGIN_ROOT` 和 `~/.claude/skills/planning-with-files` 示例;不要创建 legacy Claude 目录或改写上游 skill。路径映射不会在 Codex 注册 Claude plugin hooks。"
|
|
324
|
+
- "Codex UI helper 路径优先于上游 legacy 示例:把 `~/.agents/skills/ui-ux-pro-max/scripts/search.py` 展开为绝对路径,用可运行的 Python 3 interpreter 和 `-B` 调用。其 `data/` 属于同一个已安装 skill 根目录。不要相对项目 cwd 解析 `.shared/ui-ux-pro-max/scripts/search.py`,也不要创建该 legacy 项目目录。无论当前工作目录在哪,都优先使用已解析的安装绝对路径。"
|
|
317
325
|
- "`request_user_input` —— TODO(未验证):该工具在上游确实存在(`codex-rs/core/src/tools/handlers/request_user_input{,_spec}.rs`),但**本机是否默认启用未实测**。`codex features list` 里的 `default_mode_request_user_input` 是某个模式的 flag,不是该工具自身的开关。若澄清 round-trip 不可用,**不要猜** —— 停下并输出 `STATUS: NEEDS_CLARIFICATION` + 问题列表。"
|
|
318
|
-
- "
|
|
326
|
+
- "Codex user-skill 映射:从 `~/.agents/skills/planning-with-files/SKILL.md` 读取 `planning-with-files`,调用 `$planning-with-files`;从 `~/.agents/skills/ui-ux-pro-max/SKILL.md` 读取 `ui-ux-pro-max`,调用 `$ui-ux-pro-max`。规划产物保持相同:`task_plan.md`、`progress.md`、`findings.md`。本宿主上,旧正文中 planning-with-files `/plan` 的引用和这两项组件的 Claude Code plugin 要求均按其 Codex user-skill 映射解释;绝不能为 planning-with-files 调用 harnessed 的 `/plan` master,否则会递归。"
|
|
327
|
+
- "仍 unsupported 的 Claude Code plugin 组件:`code-review` 和 `code-simplifier` 没有声明 Codex 安装映射,在本宿主上仍不可用。请记录 skip,不要自行找等价物替代。"
|
|
319
328
|
- "codex agent 生命周期 —— 是否 session-scoped、session 退出是否自动回收、能否嵌套 spawn,**三者全部未实测**。本产物不对它们作任何断言。请对每个 spawn 出来的 agent **显式**调 `close_agent`,不要依赖任何你没有亲自观察过的清理行为。"
|
|
@@ -263,7 +263,7 @@ prompts:
|
|
|
263
263
|
- "Dependencies are explicit (task N requires task M output)"
|
|
264
264
|
- "Tasks are ≤1 day each; split if larger"
|
|
265
265
|
- "Identify the verification step (test / lint / typecheck) for each task"
|
|
266
|
-
- "Persist as `task_plan.md` + `progress.md` under `.planning/phases/<NN>-<slug>/` via planning-with-files
|
|
266
|
+
- "Persist as `task_plan.md` + `progress.md` under `.planning/phases/<NN>-<slug>/` via planning-with-files `{{ host.planning_command }}`"
|
|
267
267
|
- "Final pass: a fresh agent should be able to execute from these files alone"
|
|
268
268
|
severity: "ready-to-execute / needs-revision / blocked"
|
|
269
269
|
description: "Break a phase into ordered tasks with file paths + acceptance criteria; persist via planning-with-files."
|
|
@@ -313,7 +313,7 @@ prompts:
|
|
|
313
313
|
≤200 LOC per file. Conditionally invoke `/improve-codebase-architecture`
|
|
314
314
|
for periodic health audits, `/diagnosing-bugs` for unknown bug root
|
|
315
315
|
causes. Update `progress.md` via
|
|
316
|
-
planning-with-files
|
|
316
|
+
planning-with-files `{{ host.planning_command }}` when done.
|
|
317
317
|
checklist:
|
|
318
318
|
- "Before any edit: read the file you intend to change end-to-end"
|
|
319
319
|
# v4.17.0 — CodeGraph light wiring (opt-in; sister capabilities.yaml `codegraph` entry)
|
|
@@ -323,7 +323,7 @@ prompts:
|
|
|
323
323
|
- "Trust internal code: don't re-validate already-checked inputs at every layer"
|
|
324
324
|
- "No speculative abstractions (no 'just in case' generics)"
|
|
325
325
|
- "Edit with surgical precision: full path, exact selectors, no broad rewrites"
|
|
326
|
-
- "Update progress.md before declaring done (planning-with-files
|
|
326
|
+
- "Update progress.md before declaring done (planning-with-files `{{ host.planning_command }}`)"
|
|
327
327
|
# improve-codebase-architecture methodology paraphrased from mattpocock/skills (MIT, b8be62f)
|
|
328
328
|
# Source: skills/engineering/improve-codebase-architecture/SKILL.md
|
|
329
329
|
- "improve-arch: hunt deepening opportunities — modules whose interface is nearly as complex as their implementation are shallow; deep modules hide a lot of behaviour behind a small interface"
|
|
@@ -246,7 +246,7 @@ prompts:
|
|
|
246
246
|
- "依赖显式化(任务 N 需要任务 M 的产出)"
|
|
247
247
|
- "每个任务 ≤1 天;更大就拆"
|
|
248
248
|
- "为每个任务指明验证步骤(test / lint / typecheck)"
|
|
249
|
-
- "经 planning-with-files
|
|
249
|
+
- "经 planning-with-files `{{ host.planning_command }}` 持久化为 `task_plan.md` + `progress.md`,目录为 `.planning/phases/<NN>-<slug>/`"
|
|
250
250
|
- "最后过一遍:一个全新 agent 仅凭这些文件就能执行"
|
|
251
251
|
severity: "ready-to-execute / needs-revision / blocked"
|
|
252
252
|
description: "把 phase 拆成带文件路径 + 验收标准的有序任务;经 planning-with-files 持久化。"
|
|
@@ -292,7 +292,7 @@ prompts:
|
|
|
292
292
|
在 karpathy 4 心法(Think Before Coding / Simplicity First /
|
|
293
293
|
Surgical Changes / Goal-Driven Execution)约束下实现单个子任务,
|
|
294
294
|
每个文件 ≤200 LOC。视情况调用 `/improve-codebase-architecture`
|
|
295
|
-
(周期性健康审计)、`/diagnosing-bugs`(未知 bug 根因)。完成时经 planning-with-files
|
|
295
|
+
(周期性健康审计)、`/diagnosing-bugs`(未知 bug 根因)。完成时经 planning-with-files `{{ host.planning_command }}`
|
|
296
296
|
更新 `progress.md`。
|
|
297
297
|
checklist:
|
|
298
298
|
- "任何编辑前:把你打算改的文件从头到尾读一遍"
|
|
@@ -303,7 +303,7 @@ prompts:
|
|
|
303
303
|
- "信任内部代码:别在每一层重复校验已检查过的输入"
|
|
304
304
|
- "不做投机性抽象(不写『以防万一』的泛型)"
|
|
305
305
|
- "外科手术式编辑:完整路径、精确选择器,不做大范围重写"
|
|
306
|
-
- "宣告完成前更新 progress.md(planning-with-files
|
|
306
|
+
- "宣告完成前更新 progress.md(planning-with-files `{{ host.planning_command }}`)"
|
|
307
307
|
# improve-codebase-architecture methodology paraphrased from mattpocock/skills (MIT, b8be62f)
|
|
308
308
|
# Source: skills/engineering/improve-codebase-architecture/SKILL.md
|
|
309
309
|
- "improve-arch:猎取加深机会 —— 接口几乎和实现一样复杂的模块是浅模块;深模块在小接口背后藏了大量行为"
|