create-harness-vibe-coding 0.8.8 → 0.8.10
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-CN.md +8 -2
- package/README.md +22 -3
- package/docs/images/harness-icon.png +0 -0
- package/package.json +3 -1
- package/src/generator.js +36 -0
- package/src/index.js +72 -4
- package/templates/common/.claude/agents/architect.md +31 -31
- package/templates/common/.claude/agents/codebase-explorer.md +45 -0
- package/templates/common/.claude/agents/docs-researcher.md +41 -41
- package/templates/common/.claude/agents/memory-master.md +26 -8
- package/templates/common/.claude/agents/reviewer.md +34 -34
- package/templates/common/.claude/agents/task-scribe.md +70 -0
- package/templates/common/.claude/commands/wf-help.md +9 -5
- package/templates/common/.claude/commands/wf-update.md +24 -0
- package/templates/common/.claude/rules/ecc/common.md +15 -2
- package/templates/common/.claude/settings.json +13 -0
- package/templates/common/.claude/skills/subagent-orchestrator/SKILL.md +10 -6
- package/templates/common/.claude/skills/wf/SKILL.md +15 -8
- package/templates/common/.claude/skills/wf-auto/SKILL.md +3 -2
- package/templates/common/.claude/skills/wf-learn/SKILL.md +9 -2
- package/templates/common/.claude/skills/wf-max/SKILL.md +26 -8
- package/templates/common/.claude/skills/wf-review/SKILL.md +63 -12
- package/templates/common/.claude/skills/wf-update/SKILL.md +15 -2
- package/templates/common/.codex/hooks.json +17 -0
- package/templates/common/.harness-version +93 -48
- package/templates/common/.opencode/agents/architect.md +24 -24
- package/templates/common/.opencode/agents/codebase-explorer.md +45 -0
- package/templates/common/.opencode/agents/docs-researcher.md +34 -34
- package/templates/common/.opencode/agents/memory-master.md +26 -8
- package/templates/common/.opencode/agents/reviewer.md +27 -27
- package/templates/common/.opencode/agents/task-scribe.md +70 -0
- package/templates/common/.opencode/commands/wf-auto-spark.md +15 -0
- package/templates/common/.opencode/commands/wf-auto.md +15 -0
- package/templates/common/.opencode/commands/wf-help.md +9 -5
- package/templates/common/.opencode/commands/wf-learn.md +15 -0
- package/templates/common/.opencode/commands/wf-max.md +15 -0
- package/templates/common/.opencode/commands/wf-readme.md +15 -0
- package/templates/common/.opencode/commands/wf-remove.md +15 -0
- package/templates/common/.opencode/commands/wf-review.md +15 -0
- package/templates/common/.opencode/commands/wf-update.md +24 -0
- package/templates/common/.opencode/commands/wf.md +15 -0
- package/templates/common/.opencode/plugins/harness-wf-status.mjs +126 -0
- package/templates/common/AGENTS.md +2 -29
- package/templates/common/CLAUDE.md +35 -6
- package/templates/common/Harness/ACCEPTANCE_PROTOCOL.md +2 -2
- package/templates/common/{MEMORY.md → Harness/MEMORY.md} +17 -4
- package/templates/common/Harness/MEMORY_PROTOCOL.md +80 -30
- package/templates/common/Harness/README.md +53 -25
- package/templates/common/{SETUP.md → Harness/SETUP.md} +278 -276
- package/templates/common/Harness/TASK_ARCHIVE.md +56 -0
- package/templates/common/Harness/WF-AUTO-ANGLES.md +1 -1
- package/templates/common/Harness/WF-AUTO-SPARK.md +5 -14
- package/templates/common/Harness/WF-AUTO.md +22 -84
- package/templates/common/Harness/WF-KERNEL.md +189 -0
- package/templates/common/Harness/WF-MAX.md +60 -328
- package/templates/common/Harness/WF-STATE.md +83 -0
- package/templates/common/Harness/WF.md +117 -237
- package/templates/common/Harness/agent-workflow.md +2 -2
- package/templates/common/Harness/context-loading.md +3 -3
- package/templates/common/Harness/dispatch.md +43 -35
- package/templates/common/Harness/scripts/archive-tasks.mjs +239 -0
- package/templates/common/{scripts → Harness/scripts}/scan-clean.mjs +29 -1
- package/templates/common/{scripts → Harness/scripts}/validate-harness.mjs +921 -699
- package/templates/common/Harness/scripts/wf-auto-update-prompt.mjs +258 -0
- package/templates/common/{scripts → Harness/scripts}/wf-remove.mjs +1 -0
- package/templates/common/{scripts → Harness/scripts}/wf-update-check.mjs +163 -52
- package/templates/common/Harness/subagents.md +36 -28
- package/templates/common/Harness/tasks/_template/PLAN.md +5 -0
- package/templates/common/Harness/tasks/_template/STATE.json +23 -0
- package/templates/common/README.md +2 -2
- package/templates/common/memory/agent-lessons-patterns.md +9 -8
- package/templates/common/memory/routes.md +43 -0
- package/templates/common/memory/startup-hints.md +32 -0
- package/templates/common/memory/tool-usage-reflections.md +9 -8
- package/templates/common/memory/user-corrections-preferences.md +11 -9
- package/templates/optional/catalog.json +8 -0
- package/templates/optional/skills/browser-e2e/.claude/skills/browser-e2e/SKILL.md +42 -42
- package/templates/optional/skills/browser-e2e/.opencode/commands/wf-browser.md +15 -0
- package/templates/optional/skills/github-pr-review/.claude/skills/github-pr-review/SKILL.md +40 -40
- package/templates/optional/skills/python-backend/.claude/skills/python-backend/SKILL.md +40 -40
- package/templates/optional/skills/ts-react-frontend/.claude/skills/ts-react-frontend/SKILL.md +43 -43
- package/templates/optional/skills/ui-ux-review/.claude/skills/ui-ux-review/SKILL.md +40 -40
|
@@ -37,7 +37,7 @@ The agentic engineering harness lives in `Harness/`.
|
|
|
37
37
|
- Start at `Harness/README.md`.
|
|
38
38
|
- Load memory and resource registrations from `Harness/MEMORY.md`.
|
|
39
39
|
- Track active work in `Harness/PROGRESS.md` and `Harness/tasks/<task-id>/PROGRESS.md`.
|
|
40
|
-
- Use `Harness/WF.md`
|
|
40
|
+
- Use `Harness/WF.md` only when the user explicitly invokes a WF command such as `/wf` or `/wf-max`; complex work may still use direct planning, tests, and subagents without entering WF.
|
|
41
41
|
- Claude Code: invoke the `wf` skill with `/wf`.
|
|
42
42
|
- Codex: invoke the `wf` skill with `$wf` or `/skills`.
|
|
43
43
|
- Use `Harness/subagents.md` when coordinating multiple agents.
|
|
@@ -45,4 +45,4 @@ The agentic engineering harness lives in `Harness/`.
|
|
|
45
45
|
Tool discovery files stay at the repository root:
|
|
46
46
|
|
|
47
47
|
- Claude Code: `.claude/settings.json`, `.claude/agents/`, and `.claude/skills/`.
|
|
48
|
-
- Codex: `.agents/skills/` for repo skills and `.codex/` for config placeholders.
|
|
48
|
+
- Codex: `.agents/skills/` for repo skills and `.codex/` for config placeholders. The bundled update reminder uses a startup-only hook; avoid turn-by-turn runtime hooks unless `/wf-auto` explicitly opts into a bounded tick hook.
|
|
@@ -7,15 +7,16 @@ Write here when:
|
|
|
7
7
|
- A validation failure exposes a missing regression check.
|
|
8
8
|
- A handoff, dispatch, or context-loading pattern should be repeated or avoided.
|
|
9
9
|
|
|
10
|
-
Entry format,
|
|
10
|
+
Entry format (compact, default no date):
|
|
11
11
|
|
|
12
12
|
```markdown
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
- Lesson: the reusable pattern.
|
|
16
|
-
- Source: review finding, debug loop, failed verification, or handoff.
|
|
17
|
-
- Apply when: the task shape or files where this matters.
|
|
18
|
-
- Regression guard: test, validator check, docs update, or manual evidence to keep it from recurring.
|
|
13
|
+
- When <scenario>: <rule>. Avoid <over-application>. Signals: <signals>.
|
|
19
14
|
```
|
|
20
15
|
|
|
21
|
-
|
|
16
|
+
Only use date/timestamp headings when:
|
|
17
|
+
- Entry supersedes prior conflicting guidance
|
|
18
|
+
- Time-sensitive context (version, deprecation)
|
|
19
|
+
- Conflict resolution needed
|
|
20
|
+
|
|
21
|
+
Keep entries lightweight and actionable. Avoid secrets, speculative lessons, task logs, and process summaries.
|
|
22
|
+
- Entry supersedes prior conflicting guidance: add date stamp.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Memory Routes (L3 Route Index)
|
|
2
|
+
|
|
3
|
+
> L3 = 详细 durable memory 路由索引。不是详细 memory,而是命中规则索引。
|
|
4
|
+
> 详细 memory 文件按 scenario 匹配后按需加载。
|
|
5
|
+
|
|
6
|
+
| id | signals | load | avoid |
|
|
7
|
+
| --- | --- | --- | --- |
|
|
8
|
+
| explicit-user-preference | remember, next time, 下次, 记住, 不要再, never, always, I prefer | user-corrections-preferences.md | current-task-only notes, transient mood |
|
|
9
|
+
| hooks-only-wf-auto | hook, runtime hook, .claude/settings.json, .codex/hooks.json, WF-AUTO.md | agent-lessons-patterns.md#only-wf-auto-may-use-runtime-hooks | non-runtime docs, broad hook designs |
|
|
10
|
+
| tool-repeat-failure | same command fails 3x, error signature repeats | tool-usage-reflections.md | one-off command failures |
|
|
11
|
+
| review-debug-lesson | reusable review/debug/validation pattern | agent-lessons-patterns.md | task-specific logs |
|
|
12
|
+
| startup-digest | new session, startup | startup-hints.md | full MEMORY.md index |
|
|
13
|
+
| wf-closeout | /wf-learn, workflow closeout | all memory files via context-master -> memory-master | premature writes before extraction |
|
|
14
|
+
|
|
15
|
+
## Matching Algorithm
|
|
16
|
+
|
|
17
|
+
1. 把当前请求压缩成 **scenario pack**: intent / files / commands / signals / risk
|
|
18
|
+
2. 与上表 Signals 列匹配,计算 score:
|
|
19
|
+
- +4 exact file/path match
|
|
20
|
+
- +3 explicit trigger phrase match
|
|
21
|
+
- +3 command/error signature match
|
|
22
|
+
- +2 workflow/mode match
|
|
23
|
+
- +1 keyword overlap
|
|
24
|
+
- -4 avoid match
|
|
25
|
+
3. 阈值:
|
|
26
|
+
- score >= 5: 加载对应 memory entry/file section
|
|
27
|
+
- score 3-4: 只加载 route 摘要,必要时再读详细文件
|
|
28
|
+
- score < 3: 不加载
|
|
29
|
+
4. Hard trigger 优先:
|
|
30
|
+
- 用户显式记忆语句 -> user-corrections-preferences.md
|
|
31
|
+
- 同命令失败 3 次 -> tool-usage-reflections.md
|
|
32
|
+
- review/debug/validation 可复用 lesson -> agent-lessons-patterns.md
|
|
33
|
+
- 修改 hook 相关文件 -> 加载 only-wf-auto hook lesson
|
|
34
|
+
- /wf-learn -> 完整 learning cycle
|
|
35
|
+
|
|
36
|
+
## Load Logging
|
|
37
|
+
|
|
38
|
+
每次加载 memory hints 需说明原因:
|
|
39
|
+
```
|
|
40
|
+
memory hints loaded: <id> because <signal>
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
不使用 embedding;保持稳定、可解释、省 token。
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Startup Hints (L2 Memory Digest)
|
|
2
|
+
|
|
3
|
+
> L2 = 启动极简 memory digest。每次 Harness 会话启动可读此文件,但不要加载完整 Harness/MEMORY.md 或 Harness/README.md。
|
|
4
|
+
|
|
5
|
+
## Core Principles
|
|
6
|
+
|
|
7
|
+
- Memory 是短场景规则,不是 task log。
|
|
8
|
+
- 时间戳默认不要写;只有 superseded / conflict / time-sensitive 才写。
|
|
9
|
+
- Broad runtime hooks 禁止;只有 `/wf-auto` bounded tick hook 例外。
|
|
10
|
+
- Direct mode 不加载完整 Harness router,但 startup-hints 是允许的轻量启动提示。
|
|
11
|
+
- 详细 memory 仍按 `MEMORY_PROTOCOL.md` 场景命中后再读。
|
|
12
|
+
|
|
13
|
+
## Memory Candidate Detection
|
|
14
|
+
|
|
15
|
+
用户说以下触发词时,识别为 memory candidate:
|
|
16
|
+
|
|
17
|
+
**英文**: remember, next time, don't, do not, never, always, I prefer, I want you to
|
|
18
|
+
**中文**: 记住, 下次, 以后, 不要再, 总是, 永远不要, 我偏好, 我希望你以后
|
|
19
|
+
|
|
20
|
+
## When to Write Memory
|
|
21
|
+
|
|
22
|
+
- **Explicit user preference**: 清晰、安全、场景明确时,可立即写入 L3,不必等 `/wf-learn`。
|
|
23
|
+
- **Repeated implicit correction**: 同一假设/模式被纠正 2+ 次。
|
|
24
|
+
- **Tool/command failure**: 同类工具/命令失败 3+ 次。
|
|
25
|
+
- **Review/debug lesson**: 只有可复用、能防回归时才写。
|
|
26
|
+
|
|
27
|
+
## What NOT to Write
|
|
28
|
+
|
|
29
|
+
- Task log、过程总结、一次性情绪
|
|
30
|
+
- Raw logs、transcripts
|
|
31
|
+
- Secrets, tokens, credentials, private data
|
|
32
|
+
- 临时偏好、无复用价值的笔记
|
|
@@ -7,15 +7,16 @@ Write here when:
|
|
|
7
7
|
- A more reliable command pattern replaces a brittle one.
|
|
8
8
|
- The environment needs a durable fix, flag, path rule, shell syntax, or startup sequence.
|
|
9
9
|
|
|
10
|
-
Entry format,
|
|
10
|
+
Entry format (compact, default no date):
|
|
11
11
|
|
|
12
12
|
```markdown
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
- Trigger: what failed or repeated.
|
|
16
|
-
- Better pattern: the command, tool usage, or sequence to use next time.
|
|
17
|
-
- Evidence: command output summary, error text, or affected environment.
|
|
18
|
-
- Scope: when this applies and when it does not.
|
|
13
|
+
- When <scenario>: <rule>. Avoid <over-application>. Signals: <signals>.
|
|
19
14
|
```
|
|
20
15
|
|
|
21
|
-
|
|
16
|
+
Only use date/timestamp headings when:
|
|
17
|
+
- Entry supersedes prior conflicting guidance
|
|
18
|
+
- Time-sensitive context (version, deprecation)
|
|
19
|
+
- Conflict resolution needed
|
|
20
|
+
|
|
21
|
+
Never record one-off command failures. Never store secrets, credentials, or private tokens.
|
|
22
|
+
- Entry supersedes prior conflicting guidance: add date stamp.
|
|
@@ -3,19 +3,21 @@
|
|
|
3
3
|
Purpose: record repeated user corrections, durable preferences, and common-sense course corrections.
|
|
4
4
|
|
|
5
5
|
Write here when:
|
|
6
|
-
- The user says "remember", "never", "next time", "always",
|
|
6
|
+
- The user says "remember", "never", "next time", "always", "I prefer", "记住", "下次", "不要再" etc.
|
|
7
|
+
- Explicit, safe, scoped user preferences can be written immediately without `/wf-learn`.
|
|
7
8
|
- The user corrects the same assumption/pattern 2+ times.
|
|
8
9
|
- A correction changes how future work should be scoped, explained, verified, or handed off.
|
|
9
10
|
|
|
10
|
-
Entry format,
|
|
11
|
+
Entry format (compact, default no date):
|
|
11
12
|
|
|
12
13
|
```markdown
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
- Correction/preference: the durable instruction.
|
|
16
|
-
- Trigger: what prompted the correction.
|
|
17
|
-
- Apply when: future contexts where this should guide behavior.
|
|
18
|
-
- Avoid: contexts where this should not be over-applied.
|
|
14
|
+
- When <scenario>: <rule>. Avoid <over-application>. Signals: <signals>.
|
|
19
15
|
```
|
|
20
16
|
|
|
21
|
-
|
|
17
|
+
Only use date/timestamp headings when:
|
|
18
|
+
- Entry supersedes prior conflicting guidance
|
|
19
|
+
- Time-sensitive context (version, deprecation)
|
|
20
|
+
- Conflict resolution needed
|
|
21
|
+
|
|
22
|
+
Do not record ordinary chat, task logs, process summaries, one-time emotions, or transient preferences. If the preference is ambiguous, ask before writing it. Never store secrets.
|
|
23
|
+
- Entry supersedes prior conflicting guidance: add date stamp.
|
|
@@ -73,6 +73,14 @@
|
|
|
73
73
|
"url": "https://github.com/colbymchenry/codegraph",
|
|
74
74
|
"tags": ["code graph", "architecture", "analysis"]
|
|
75
75
|
},
|
|
76
|
+
{
|
|
77
|
+
"id": "grill-me",
|
|
78
|
+
"title": "Grill Me",
|
|
79
|
+
"description": "External Matt Pocock skill for relentlessly interviewing a plan or design before implementation.",
|
|
80
|
+
"installMode": "recommend-only",
|
|
81
|
+
"url": "https://github.com/mattpocock/skills/tree/main/skills/productivity/grill-me",
|
|
82
|
+
"tags": ["planning", "design", "interview", "skills"]
|
|
83
|
+
},
|
|
76
84
|
{
|
|
77
85
|
"id": "oh-my-openagent",
|
|
78
86
|
"title": "oh-my-openagent",
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: browser-e2e
|
|
3
|
-
description: Mandatory real-browser smoke and end-to-end verification using Playwright, Chrome DevTools/CDP, or documented manual browser evidence.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Browser E2E
|
|
7
|
-
|
|
8
|
-
## When To Use
|
|
9
|
-
|
|
10
|
-
Use this skill when a change affects browser-visible behavior, navigation, forms, routing, layout, or client-side integration. Web/UI acceptance requires loading the app in a real browser before claiming the UI is done.
|
|
11
|
-
|
|
12
|
-
## Docs To Load
|
|
13
|
-
|
|
14
|
-
- `Harness/workflows/browser-e2e.md`
|
|
15
|
-
- `Harness/PROGRESS.md` and current task `tasks/<id>/PLAN.md`
|
|
16
|
-
- Existing project test, build, and run instructions.
|
|
17
|
-
|
|
18
|
-
## Required Inputs
|
|
19
|
-
|
|
20
|
-
- Target URL or command to start the app.
|
|
21
|
-
- User flows or pages to verify.
|
|
22
|
-
- Expected behavior and supported viewport/browser scope.
|
|
23
|
-
- Selector contract: stable accessible labels/roles and `data-testid` hooks for critical inputs, buttons, filters, rows, empty/error/loading states, and other targetable UI states.
|
|
24
|
-
|
|
25
|
-
## Allowed Writes
|
|
26
|
-
|
|
27
|
-
- Browser test files in the project's existing test locations.
|
|
28
|
-
- Evidence artifacts such as screenshots, traces, or reports in existing artifact folders.
|
|
29
|
-
- Notes in current task plan when the active task asks for plan tracking.
|
|
30
|
-
|
|
31
|
-
## Output Format
|
|
32
|
-
|
|
33
|
-
Return changed files, commands run, browser evidence paths, verified flows, failures, and follow-up risks.
|
|
34
|
-
Include the selectors used for CDP/Playwright/manual verification.
|
|
35
|
-
|
|
36
|
-
## PROGRESS.md & Task PLAN.md Updates
|
|
37
|
-
|
|
38
|
-
Update `Harness/tasks/<task-id>/PLAN.md` only when executing a tracked plan item or recording evidence requested by the current task.
|
|
39
|
-
|
|
40
|
-
## dispatch.md Usage
|
|
41
|
-
|
|
42
|
-
Use `Harness/dispatch.md` only when splitting independent browser checks across workers is explicitly useful.
|
|
1
|
+
---
|
|
2
|
+
name: browser-e2e
|
|
3
|
+
description: Mandatory real-browser smoke and end-to-end verification using Playwright, Chrome DevTools/CDP, or documented manual browser evidence.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Browser E2E
|
|
7
|
+
|
|
8
|
+
## When To Use
|
|
9
|
+
|
|
10
|
+
Use this skill when a change affects browser-visible behavior, navigation, forms, routing, layout, or client-side integration. Web/UI acceptance requires loading the app in a real browser before claiming the UI is done.
|
|
11
|
+
|
|
12
|
+
## Docs To Load
|
|
13
|
+
|
|
14
|
+
- `Harness/workflows/browser-e2e.md`
|
|
15
|
+
- `Harness/PROGRESS.md` and current task `tasks/<id>/PLAN.md`
|
|
16
|
+
- Existing project test, build, and run instructions.
|
|
17
|
+
|
|
18
|
+
## Required Inputs
|
|
19
|
+
|
|
20
|
+
- Target URL or command to start the app.
|
|
21
|
+
- User flows or pages to verify.
|
|
22
|
+
- Expected behavior and supported viewport/browser scope.
|
|
23
|
+
- Selector contract: stable accessible labels/roles and `data-testid` hooks for critical inputs, buttons, filters, rows, empty/error/loading states, and other targetable UI states.
|
|
24
|
+
|
|
25
|
+
## Allowed Writes
|
|
26
|
+
|
|
27
|
+
- Browser test files in the project's existing test locations.
|
|
28
|
+
- Evidence artifacts such as screenshots, traces, or reports in existing artifact folders.
|
|
29
|
+
- Notes in current task plan when the active task asks for plan tracking.
|
|
30
|
+
|
|
31
|
+
## Output Format
|
|
32
|
+
|
|
33
|
+
Return changed files, commands run, browser evidence paths, verified flows, failures, and follow-up risks.
|
|
34
|
+
Include the selectors used for CDP/Playwright/manual verification.
|
|
35
|
+
|
|
36
|
+
## PROGRESS.md & Task PLAN.md Updates
|
|
37
|
+
|
|
38
|
+
Update `Harness/tasks/<task-id>/PLAN.md` only when executing a tracked plan item or recording evidence requested by the current task.
|
|
39
|
+
|
|
40
|
+
## dispatch.md Usage
|
|
41
|
+
|
|
42
|
+
Use `Harness/dispatch.md` only when splitting independent browser checks across workers is explicitly useful.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Run AI-driven browser automation and E2E testing via the wf-browser skill
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /wf-browser
|
|
6
|
+
|
|
7
|
+
This is a **workflow command**, not a direct command. Do not execute it as a
|
|
8
|
+
static help or script command.
|
|
9
|
+
|
|
10
|
+
1. Load `CLAUDE.md`, `Harness/MEMORY.md` (index only per Memory Preflight), then `Harness/README.md`.
|
|
11
|
+
2. Execute per the skill adapter `.claude/skills/wf-browser/SKILL.md` (mirror: `.agents/skills/wf-browser/SKILL.md`).
|
|
12
|
+
3. Do not duplicate the workflow here. The skill adapter and `Harness/workflows/browser-e2e.md` are authoritative.
|
|
13
|
+
|
|
14
|
+
If this runtime cannot invoke the skill directly, read
|
|
15
|
+
`.claude/skills/wf-browser/SKILL.md` and follow it in place.
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: github-pr-review
|
|
3
|
-
description: GitHub pull request review workflow using available GitHub CLI, local git diff, checks, and CI evidence.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# GitHub PR Review
|
|
7
|
-
|
|
8
|
-
## When To Use
|
|
9
|
-
|
|
10
|
-
Use this skill when reviewing a GitHub pull request, responding to PR feedback, checking CI status, or summarizing review findings.
|
|
11
|
-
|
|
12
|
-
## Docs To Load
|
|
13
|
-
|
|
14
|
-
- `Harness/workflows/github-pr-review.md`
|
|
15
|
-
- `Harness/PROGRESS.md` and current task `tasks/<id>/PLAN.md`
|
|
16
|
-
- Repository contribution, test, and review guidelines.
|
|
17
|
-
|
|
18
|
-
## Required Inputs
|
|
19
|
-
|
|
20
|
-
- PR number, branch, or comparison range.
|
|
21
|
-
- Review goal: bug hunt, approval readiness, CI diagnosis, or feedback response.
|
|
22
|
-
- Expected test and check requirements.
|
|
23
|
-
|
|
24
|
-
## Allowed Writes
|
|
25
|
-
|
|
26
|
-
- Local files needed to address approved review feedback.
|
|
27
|
-
- Review notes or evidence in existing docs only when requested.
|
|
28
|
-
- Current task `tasks/<id>/PLAN.md` when tracking review work.
|
|
29
|
-
|
|
30
|
-
## Output Format
|
|
31
|
-
|
|
32
|
-
Return findings first by severity with file and line references, then open questions, tests/checks run, and change summary if edits were made.
|
|
33
|
-
|
|
34
|
-
## PROGRESS.md & Task PLAN.md Updates
|
|
35
|
-
|
|
36
|
-
Update `Harness/tasks/<task-id>/PLAN.md` only when the PR review is part of a tracked implementation plan.
|
|
37
|
-
|
|
38
|
-
## dispatch.md Usage
|
|
39
|
-
|
|
40
|
-
Use `Harness/dispatch.md` when independent review areas can be assigned separately, such as backend, frontend, and CI.
|
|
1
|
+
---
|
|
2
|
+
name: github-pr-review
|
|
3
|
+
description: GitHub pull request review workflow using available GitHub CLI, local git diff, checks, and CI evidence.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# GitHub PR Review
|
|
7
|
+
|
|
8
|
+
## When To Use
|
|
9
|
+
|
|
10
|
+
Use this skill when reviewing a GitHub pull request, responding to PR feedback, checking CI status, or summarizing review findings.
|
|
11
|
+
|
|
12
|
+
## Docs To Load
|
|
13
|
+
|
|
14
|
+
- `Harness/workflows/github-pr-review.md`
|
|
15
|
+
- `Harness/PROGRESS.md` and current task `tasks/<id>/PLAN.md`
|
|
16
|
+
- Repository contribution, test, and review guidelines.
|
|
17
|
+
|
|
18
|
+
## Required Inputs
|
|
19
|
+
|
|
20
|
+
- PR number, branch, or comparison range.
|
|
21
|
+
- Review goal: bug hunt, approval readiness, CI diagnosis, or feedback response.
|
|
22
|
+
- Expected test and check requirements.
|
|
23
|
+
|
|
24
|
+
## Allowed Writes
|
|
25
|
+
|
|
26
|
+
- Local files needed to address approved review feedback.
|
|
27
|
+
- Review notes or evidence in existing docs only when requested.
|
|
28
|
+
- Current task `tasks/<id>/PLAN.md` when tracking review work.
|
|
29
|
+
|
|
30
|
+
## Output Format
|
|
31
|
+
|
|
32
|
+
Return findings first by severity with file and line references, then open questions, tests/checks run, and change summary if edits were made.
|
|
33
|
+
|
|
34
|
+
## PROGRESS.md & Task PLAN.md Updates
|
|
35
|
+
|
|
36
|
+
Update `Harness/tasks/<task-id>/PLAN.md` only when the PR review is part of a tracked implementation plan.
|
|
37
|
+
|
|
38
|
+
## dispatch.md Usage
|
|
39
|
+
|
|
40
|
+
Use `Harness/dispatch.md` when independent review areas can be assigned separately, such as backend, frontend, and CI.
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: python-backend
|
|
3
|
-
description: Python backend workflow for API changes, service logic, FastAPI-style routes, and unittest or pytest verification.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Python Backend
|
|
7
|
-
|
|
8
|
-
## When To Use
|
|
9
|
-
|
|
10
|
-
Use this skill when changing Python API routes, service logic, persistence boundaries, background jobs, or backend tests.
|
|
11
|
-
|
|
12
|
-
## Docs To Load
|
|
13
|
-
|
|
14
|
-
- `Harness/workflows/python-backend.md`
|
|
15
|
-
- `Harness/PROGRESS.md` and current task `tasks/<id>/PLAN.md`
|
|
16
|
-
- Project backend README, API docs, dependency files, and test configuration.
|
|
17
|
-
|
|
18
|
-
## Required Inputs
|
|
19
|
-
|
|
20
|
-
- Target behavior, endpoint, service, or bug.
|
|
21
|
-
- Existing test command and runtime setup.
|
|
22
|
-
- Database, environment variable, or fixture constraints.
|
|
23
|
-
|
|
24
|
-
## Allowed Writes
|
|
25
|
-
|
|
26
|
-
- Python source, tests, fixtures, and backend docs in the task scope.
|
|
27
|
-
- Local evidence artifacts such as test output snippets.
|
|
28
|
-
- Current task `tasks/<id>/PLAN.md` when the task requires plan tracking.
|
|
29
|
-
|
|
30
|
-
## Output Format
|
|
31
|
-
|
|
32
|
-
Return files changed, API or behavior summary, tests run, important logs, migration/config notes, and remaining risks.
|
|
33
|
-
|
|
34
|
-
## PROGRESS.md & Task PLAN.md Updates
|
|
35
|
-
|
|
36
|
-
Update `Harness/tasks/<task-id>/PLAN.md` only when executing a tracked plan item or recording required validation evidence.
|
|
37
|
-
|
|
38
|
-
## dispatch.md Usage
|
|
39
|
-
|
|
40
|
-
Use `Harness/dispatch.md` for separable backend work such as API implementation, database changes, and test coverage.
|
|
1
|
+
---
|
|
2
|
+
name: python-backend
|
|
3
|
+
description: Python backend workflow for API changes, service logic, FastAPI-style routes, and unittest or pytest verification.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Python Backend
|
|
7
|
+
|
|
8
|
+
## When To Use
|
|
9
|
+
|
|
10
|
+
Use this skill when changing Python API routes, service logic, persistence boundaries, background jobs, or backend tests.
|
|
11
|
+
|
|
12
|
+
## Docs To Load
|
|
13
|
+
|
|
14
|
+
- `Harness/workflows/python-backend.md`
|
|
15
|
+
- `Harness/PROGRESS.md` and current task `tasks/<id>/PLAN.md`
|
|
16
|
+
- Project backend README, API docs, dependency files, and test configuration.
|
|
17
|
+
|
|
18
|
+
## Required Inputs
|
|
19
|
+
|
|
20
|
+
- Target behavior, endpoint, service, or bug.
|
|
21
|
+
- Existing test command and runtime setup.
|
|
22
|
+
- Database, environment variable, or fixture constraints.
|
|
23
|
+
|
|
24
|
+
## Allowed Writes
|
|
25
|
+
|
|
26
|
+
- Python source, tests, fixtures, and backend docs in the task scope.
|
|
27
|
+
- Local evidence artifacts such as test output snippets.
|
|
28
|
+
- Current task `tasks/<id>/PLAN.md` when the task requires plan tracking.
|
|
29
|
+
|
|
30
|
+
## Output Format
|
|
31
|
+
|
|
32
|
+
Return files changed, API or behavior summary, tests run, important logs, migration/config notes, and remaining risks.
|
|
33
|
+
|
|
34
|
+
## PROGRESS.md & Task PLAN.md Updates
|
|
35
|
+
|
|
36
|
+
Update `Harness/tasks/<task-id>/PLAN.md` only when executing a tracked plan item or recording required validation evidence.
|
|
37
|
+
|
|
38
|
+
## dispatch.md Usage
|
|
39
|
+
|
|
40
|
+
Use `Harness/dispatch.md` for separable backend work such as API implementation, database changes, and test coverage.
|
package/templates/optional/skills/ts-react-frontend/.claude/skills/ts-react-frontend/SKILL.md
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ts-react-frontend
|
|
3
|
-
description: TypeScript React frontend workflow for components, state, routing, typecheck, tests, builds, and browser smoke evidence.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# TypeScript React Frontend
|
|
7
|
-
|
|
8
|
-
## When To Use
|
|
9
|
-
|
|
10
|
-
Use this skill when changing React components, hooks, routes, client state, styling, build configuration, or frontend tests.
|
|
11
|
-
For user-visible changes, typecheck, build, and unit tests are not enough; include real-browser smoke or screenshot evidence before claiming acceptance.
|
|
12
|
-
|
|
13
|
-
## Docs To Load
|
|
14
|
-
|
|
15
|
-
- `Harness/workflows/ts-react-frontend.md`
|
|
16
|
-
- `Harness/PROGRESS.md` and current task `tasks/<id>/PLAN.md`
|
|
17
|
-
- Existing frontend README, package scripts, design system, and test setup.
|
|
18
|
-
|
|
19
|
-
## Required Inputs
|
|
20
|
-
|
|
21
|
-
- Screen, component, or flow being changed.
|
|
22
|
-
- Expected behavior and acceptance criteria.
|
|
23
|
-
- Existing package manager and verification commands.
|
|
24
|
-
- Selector contract: stable accessible labels/roles and `data-testid` hooks for critical inputs, buttons, filters, rows, empty/error/loading states, and other targetable UI states.
|
|
25
|
-
|
|
26
|
-
## Allowed Writes
|
|
27
|
-
|
|
28
|
-
- Frontend source, styles, tests, and focused docs in task scope.
|
|
29
|
-
- Generated evidence such as screenshots or test reports in existing artifact paths.
|
|
30
|
-
- Current task `tasks/<id>/PLAN.md` when tracking a plan item.
|
|
31
|
-
|
|
32
|
-
## Output Format
|
|
33
|
-
|
|
34
|
-
Return changed files, UI behavior summary, commands run, browser or test evidence, and unresolved risks.
|
|
35
|
-
Include selectors added or verified for CDP/Playwright/manual checks.
|
|
36
|
-
|
|
37
|
-
## PROGRESS.md & Task PLAN.md Updates
|
|
38
|
-
|
|
39
|
-
Update `Harness/tasks/<task-id>/PLAN.md` only when executing a tracked task or recording required validation evidence.
|
|
40
|
-
|
|
41
|
-
## dispatch.md Usage
|
|
42
|
-
|
|
43
|
-
Use `Harness/dispatch.md` when independent frontend tasks can run in parallel, such as components, tests, and browser checks.
|
|
1
|
+
---
|
|
2
|
+
name: ts-react-frontend
|
|
3
|
+
description: TypeScript React frontend workflow for components, state, routing, typecheck, tests, builds, and browser smoke evidence.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# TypeScript React Frontend
|
|
7
|
+
|
|
8
|
+
## When To Use
|
|
9
|
+
|
|
10
|
+
Use this skill when changing React components, hooks, routes, client state, styling, build configuration, or frontend tests.
|
|
11
|
+
For user-visible changes, typecheck, build, and unit tests are not enough; include real-browser smoke or screenshot evidence before claiming acceptance.
|
|
12
|
+
|
|
13
|
+
## Docs To Load
|
|
14
|
+
|
|
15
|
+
- `Harness/workflows/ts-react-frontend.md`
|
|
16
|
+
- `Harness/PROGRESS.md` and current task `tasks/<id>/PLAN.md`
|
|
17
|
+
- Existing frontend README, package scripts, design system, and test setup.
|
|
18
|
+
|
|
19
|
+
## Required Inputs
|
|
20
|
+
|
|
21
|
+
- Screen, component, or flow being changed.
|
|
22
|
+
- Expected behavior and acceptance criteria.
|
|
23
|
+
- Existing package manager and verification commands.
|
|
24
|
+
- Selector contract: stable accessible labels/roles and `data-testid` hooks for critical inputs, buttons, filters, rows, empty/error/loading states, and other targetable UI states.
|
|
25
|
+
|
|
26
|
+
## Allowed Writes
|
|
27
|
+
|
|
28
|
+
- Frontend source, styles, tests, and focused docs in task scope.
|
|
29
|
+
- Generated evidence such as screenshots or test reports in existing artifact paths.
|
|
30
|
+
- Current task `tasks/<id>/PLAN.md` when tracking a plan item.
|
|
31
|
+
|
|
32
|
+
## Output Format
|
|
33
|
+
|
|
34
|
+
Return changed files, UI behavior summary, commands run, browser or test evidence, and unresolved risks.
|
|
35
|
+
Include selectors added or verified for CDP/Playwright/manual checks.
|
|
36
|
+
|
|
37
|
+
## PROGRESS.md & Task PLAN.md Updates
|
|
38
|
+
|
|
39
|
+
Update `Harness/tasks/<task-id>/PLAN.md` only when executing a tracked task or recording required validation evidence.
|
|
40
|
+
|
|
41
|
+
## dispatch.md Usage
|
|
42
|
+
|
|
43
|
+
Use `Harness/dispatch.md` when independent frontend tasks can run in parallel, such as components, tests, and browser checks.
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ui-ux-review
|
|
3
|
-
description: Screenshot-driven UI and UX review for responsive behavior, accessibility, visual polish, and task clarity.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# UI/UX Review
|
|
7
|
-
|
|
8
|
-
## When To Use
|
|
9
|
-
|
|
10
|
-
Use this skill when reviewing or changing user-facing screens, layouts, visual hierarchy, interaction states, accessibility, or responsive behavior.
|
|
11
|
-
|
|
12
|
-
## Docs To Load
|
|
13
|
-
|
|
14
|
-
- `Harness/workflows/ui-ux-review.md`
|
|
15
|
-
- `Harness/PROGRESS.md` and current task `tasks/<id>/PLAN.md`
|
|
16
|
-
- Existing design system, component, or style documentation.
|
|
17
|
-
|
|
18
|
-
## Required Inputs
|
|
19
|
-
|
|
20
|
-
- Screens, routes, or components under review.
|
|
21
|
-
- Target users and primary tasks.
|
|
22
|
-
- Breakpoints, themes, and accessibility expectations.
|
|
23
|
-
|
|
24
|
-
## Allowed Writes
|
|
25
|
-
|
|
26
|
-
- UI code and style files already in scope for the task.
|
|
27
|
-
- Screenshot or audit artifacts in existing evidence folders.
|
|
28
|
-
- Current task `tasks/<id>/PLAN.md` when the review is part of a tracked plan.
|
|
29
|
-
|
|
30
|
-
## Output Format
|
|
31
|
-
|
|
32
|
-
Return prioritized findings with file or screen references, evidence, recommended fixes, commands run, and residual risks.
|
|
33
|
-
|
|
34
|
-
## PROGRESS.md & Task PLAN.md Updates
|
|
35
|
-
|
|
36
|
-
Update current task `tasks/<id>/PLAN.md` only for tracked review tasks or when recording required evidence.
|
|
37
|
-
|
|
38
|
-
## dispatch.md Usage
|
|
39
|
-
|
|
40
|
-
Use `Harness/dispatch.md` only for independent review streams such as separate routes or breakpoints.
|
|
1
|
+
---
|
|
2
|
+
name: ui-ux-review
|
|
3
|
+
description: Screenshot-driven UI and UX review for responsive behavior, accessibility, visual polish, and task clarity.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# UI/UX Review
|
|
7
|
+
|
|
8
|
+
## When To Use
|
|
9
|
+
|
|
10
|
+
Use this skill when reviewing or changing user-facing screens, layouts, visual hierarchy, interaction states, accessibility, or responsive behavior.
|
|
11
|
+
|
|
12
|
+
## Docs To Load
|
|
13
|
+
|
|
14
|
+
- `Harness/workflows/ui-ux-review.md`
|
|
15
|
+
- `Harness/PROGRESS.md` and current task `tasks/<id>/PLAN.md`
|
|
16
|
+
- Existing design system, component, or style documentation.
|
|
17
|
+
|
|
18
|
+
## Required Inputs
|
|
19
|
+
|
|
20
|
+
- Screens, routes, or components under review.
|
|
21
|
+
- Target users and primary tasks.
|
|
22
|
+
- Breakpoints, themes, and accessibility expectations.
|
|
23
|
+
|
|
24
|
+
## Allowed Writes
|
|
25
|
+
|
|
26
|
+
- UI code and style files already in scope for the task.
|
|
27
|
+
- Screenshot or audit artifacts in existing evidence folders.
|
|
28
|
+
- Current task `tasks/<id>/PLAN.md` when the review is part of a tracked plan.
|
|
29
|
+
|
|
30
|
+
## Output Format
|
|
31
|
+
|
|
32
|
+
Return prioritized findings with file or screen references, evidence, recommended fixes, commands run, and residual risks.
|
|
33
|
+
|
|
34
|
+
## PROGRESS.md & Task PLAN.md Updates
|
|
35
|
+
|
|
36
|
+
Update current task `tasks/<id>/PLAN.md` only for tracked review tasks or when recording required evidence.
|
|
37
|
+
|
|
38
|
+
## dispatch.md Usage
|
|
39
|
+
|
|
40
|
+
Use `Harness/dispatch.md` only for independent review streams such as separate routes or breakpoints.
|