一键导入
harness-understand
Phase skill: explore the codebase to understand what needs to change for the ticket
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Phase skill: explore the codebase to understand what needs to change for the ticket
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Phase skill: fetch Linear ticket or parse task description into structured context
Phase skill: post-merge cleanup — merge the approved PR, verify Railway deploy, finalize Linear status, remove worktree
Universal state machine driver — reads state file, dispatches to phase skills, loops until workflow complete
Phase skill: TDD implementation — write tests first, then make them pass
Phase skill: create an implementation plan with TDD test strategy
Phase skill: run all quality checks — typecheck, tests, lint, format
| name | harness-understand |
| description | Phase skill: explore the codebase to understand what needs to change for the ticket |
| user-invocable | false |
Build a clear picture of the current state — what files exist, what patterns are used, what needs to change.
Read the ticket context from state outputs (pickup phase)
Explore affected areas:
apps/api/ — Hono routes, Drizzle ORM, Zod validationapps/web/ — Next.js 16, React 19, Tailwind v4, shadcn/uipackages/db/ — Drizzle schema, PostgreSQLpackages/types/ — Zod schemas for API/WS/SSE typesapps/daemon/ — Plain JS, WebSocket clientIdentify scope:
Write to state outputs:
{
"affected_files": ["..."],
"dependencies": ["..."],
"existing_patterns": "...",
"scope_summary": "..."
}
Record to conversation file:
Insert before the ## Harness Issues marker in .harness/conversations/<task-id>.md (use the Edit tool with ## Harness Issues as the anchor — do NOT literally append to the end of the file, that would land below the issues section):
## Understand
**Scope:** <summary>
**Files:** <list>
**Key patterns:** <what to follow>
If you hit friction during exploration (couldn't find expected patterns, scope unclear, repeated retries), append an entry to the literal end of the file — it will land inside the ## Harness Issues section since that section is last. Use the documented format (phase, what happened, root cause, workaround, suggested fix, turns wasted).