一键导入
harness-quality
Phase skill: run all quality checks — typecheck, tests, lint, format
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Phase skill: run all quality checks — typecheck, tests, lint, format
用 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: commit changes, push branch, create a GitHub pull request, and watch CI to green
| name | harness-quality |
| description | Phase skill: run all quality checks — typecheck, tests, lint, format |
| user-invocable | false |
Ensure the codebase passes all static and dynamic quality checks before verification.
Type checking:
pnpm turbo typecheck
Fix any type errors before proceeding.
Full test suite:
pnpm turbo test
All tests must pass — both new and existing. If any fail, fix them.
Linting:
pnpm --filter web lint
Fix any lint errors. Note: only apps/web has ESLint configured currently.
Formatting (once Prettier is configured):
pnpm prettier --check "apps/**/*.{ts,tsx}" "packages/**/*.ts"
If files are unformatted, run pnpm prettier --write on the changed files only.
Record to conversation file:
Insert before the ## Harness Issues marker in .harness/conversations/<task-id>.md (use Edit tool with ## Harness Issues as the anchor — do NOT literally append, that would land below the issues section):
## Quality
**Typecheck:** pass/fail
**Tests:** X passed, Y failed
**Lint:** pass/fail
**Format:** pass/fail
**Pre-existing issues noted:** <list any errors in files you didn't touch>
If you hit friction (broken pre-existing checks blocking you, flaky tests, slow checks), append an entry to the literal end of the file — it will land inside the ## Harness Issues section since that section is last.
pnpm turbo typecheck passespnpm turbo test passes (all tests green)pnpm --filter web lint passes