harness
Design portable, repo-local agent harnesses with reusable skills, team specs, and deterministic handoff artifacts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Design portable, repo-local agent harnesses with reusable skills, team specs, and deterministic handoff artifacts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Detoxmate Spring Boot/JPA 변경 코드를 DDD, SOLID, Rich Domain Model, Aggregate 경계, JPA 사용 방식, 테스트 품질 관점으로 검토한다. GREEN 이후 리팩터링 검토 또는 "코드 리뷰", "설계 리뷰", "DDD 관점 리뷰", "JPA 관점 리뷰" 요청에서 사용한다.
Detoxmate Spring Boot/JPA 기능 추가와 버그 수정을 Classicist TDD의 RED-GREEN-REFACTOR 순서로 구현한다. "개발해줘", "구현해줘", "API 추가", "기능 추가", "버그 수정", "TDD로 구현" 요청에서 사용한다.
Detoxmate Spring Boot/JPA 기능 개발을 Pipeline과 GREEN 이후 Producer-Reviewer 루프로 조정한다.
GREEN과 리팩터링 이후 Detoxmate Spring Boot/JPA 변경의 누락 테스트를 감사한다.
Detoxmate Spring Boot/JPA 변경 전에 Classicist TDD용 acceptance criteria와 실패 테스트를 설계한다.
Review backend code for production readiness, concurrency safety, scale-out risks, and load-test failure points. Use when asked to find optimization opportunities, race conditions, non-distributed state, server-to-server scaling blockers, scheduler/cache/session/lock problems, database bottlenecks, N+1 queries, transaction issues, or parts likely to fail under real production traffic.
| name | harness |
| description | Design portable, repo-local agent harnesses with reusable skills, team specs, and deterministic handoff artifacts. |
Harness is a meta-skill for designing portable, repo-local agent workflows. Use it to analyze a project, decide which guidance belongs in AGENTS.md, choose a collaboration pattern, generate reusable specialist skills, and define how those skills hand work off through markdown specs and deterministic files.
Use Harness when you need to:
Do not use Harness for one-off tasks that can be handled directly by a single existing skill without adding reusable structure.
Provide or discover the following before generating artifacts:
If information is missing, inspect the repository first and make the narrowest reasonable repo-local assumption.
Harness generates only the artifacts needed to make the workflow reusable:
AGENTS.md for repo-wide coordination rules only when the target repository needs durable always-loaded guidance.agents/skills/{domain}-orchestrator/SKILL.md for reusable top-level orchestration.agents/skills/{specialist}/SKILL.md for reusable specialist behavior.agents/skills/{specialist}/references/* for progressive-disclosure details.agents/skills/{specialist}/templates/* for optional runtime templates that should ship with a skill but remain inactive until copied or adapted intentionallydocs/harness/{domain}/team-spec.md for role topology, handoffs, and failure policydocs/harness/{domain}/roles/{role}.md only when a role needs a durable brief but not a full skill_workspace/{phase}_{role}_{artifact}.md for durable intermediate artifacts and review evidence when a handoff must be inspectable, resumable, or shared across agents_workspace/experiments/{run}/results.tsv when the harness includes an autonomous experiment loopDefault to the smallest reusable surface: often one skill, sometimes a skill plus a team spec. Add extra role briefs, runtime adapters, or handoff files only when they solve a durable coordination need.
AGENTS.md is the highest-leverage repo guide because it is loaded into every session. Only create or revise it when the target repository needs durable repo-wide guidance.
WHAT / WHY / HOW.references/agents-md-guide.md before writing or revising a repo AGENTS.md.SKILL.md. Include at least name and description before the markdown body so native skill discovery can reliably find repo-specific generated skills.AGENTS.md.Output:
references/agent-design-patterns.md.references/autonomous-experimentation.md and decide whether it composes with Pipeline, Supervisor, or Producer-Reviewer._workspace/ files. Persist only handoffs that need inspection, resumability, auditability, or cross-agent consumption.Output:
docs/harness/{domain}/roles/Output:
.agents/skills/.SKILL.md with YAML frontmatter containing at least name and description, then the markdown heading and body.SKILL.md lean and move bulky detail or evolving heuristics into references/.When to use, Required inputs, workflow steps, expected outputs, and validation notes.Output:
_workspace/experiments/{run}/._workspace/ when they provide debugging, handoff, or audit value; otherwise return a bounded summary to the coordinator.Output:
_workspace/ contractOutput:
Use the smallest pattern that preserves quality and clarity.
| Pattern | Best for | Default portable style |
|---|---|---|
| Pipeline | sequential dependent work | sequential orchestrator skill plus _workspace/ handoffs |
| Fan-out/Fan-in | parallel independent work with later synthesis | orchestrator skill plus bounded parallel workers and a final synthesis step |
| Expert Pool | selective routing to a subset of specialists | routing section in team spec plus reusable specialist skills |
| Producer-Reviewer | generation followed by explicit quality review | specialist producer skill, reviewer skill, and bounded revision loop |
| Supervisor | dynamic allocation across changing work units | top-level orchestrator or supervisor skill with explicit reassignment rules |
| Hierarchical Delegation | naturally layered decomposition | shallow hierarchy with a top-level orchestrator and one downstream coordination layer |
Short summaries:
Read references/agent-design-patterns.md before finalizing the pattern.
Harness also supports reusable workflow profiles that compose with the six architecture patterns.
references/autonomous-experimentation.md before finalizing the loop contract.Every generated harness should meet these checks:
When to use and Required inputs sections are concrete enough to prevent overlapname and description_workspace/ handoffs are deterministic and preserved for inspectionAGENTS.md stays short, repo-wide, and pointer-heavyreferences/agents-md-guide.md for writing short, durable repo-level AGENTS.md filesreferences/agent-design-patterns.md for pattern choice and coordination stylesreferences/autonomous-experimentation.md for iterative experiment loops on user-controlled computereferences/orchestrator-template.md for a reusable orchestrator-spec templatereferences/team-examples.md for example artifact trees and handoff patternsreferences/skill-writing-guide.md for authoring specialist skillsreferences/skill-testing-guide.md for validation and iteration loopsreferences/qa-agent-guide.md for cross-boundary QA methodologyreferences/codex-agent-adapter.md for an optional, removable mapping to current Codex subagents and custom agents