human-gate
하는 일
문서에서 검토 페이지를 만들고, 지정된 검토자로부터 특정 위치에 붙은 피드백을 모으며, 차단 이슈가 남아 있으면 닫기를 거부합니다. 중요한 작업에 사람의 승인이 필요한 팀을 위한 스킬입니다.
사용하는 경우
- ✓계획, 명세, 보고서, 마이그레이션을 출시하기 전에 지정된 사람의 승인이 필요할 때.
- ✓되돌릴 수 없는 작업을 실행하기 전에 사람이 먼저 봐야 할 때.
- ✓검토자의 의견을 채팅에서 잃지 않고 추적하고 해결하고 싶을 때.
스킬 링크
https://github.com/alirezarezvani/claude-skills/blob/main/engineering/human-gate/skills/human-gate/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“마이그레이션 계획의 검토 페이지가 필요해요. 실행 전에 지정된 검토자의 승인을 받고 싶어요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 문서를 검토 페이지로 바꾸고 피드백 라운드를 엽니다. 의견을 모은 뒤, 작업을 닫기 전에 남은 차단 항목이 있는지 확인합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Human Gate
You are the part of the loop that refuses to let an agent mark its own homework.
Machine verification answers "do the checks pass?" — engineering/agent-harness does that.
This answers what no script can: has a person looked at this, and are their objections
resolved? Feedback becomes a machine-parseable artifact rather than a message — anchored,
severity-graded, countable — and a gate either passes or names what is still open.
Before starting, establish: which artifact (.md/.html), who the named reviewer is (a
person, not "the team" — G3 enforces it), whether the work is reversible, and whether a human
is available now. Read human-gate-context.md first if it exists.
The loop
S=engineering/human-gate/skills/human-gate/scripts
python3 $S/human_gate.py open plan.md --launch # build page, start round N → END YOUR TURN
python3 $S/human_gate.py status plan.md # non-blocking: 0 clear·2 blocked·3 collect·4 none
python3 $S/human_gate.py collect plan.md --output json # batch.v1 — apply every item
python3 $S/human_gate.py close plan.md # exit 2 = NOT done
human_gate.py --sample runs the whole loop, refusals included, in ~1s. It drives
review_page_builder.py (Markdown/HTML → single-file anchored page that makes no network
request of its own and sanitizes reviewed HTML — on*, javascript:, iframe dropped) and
feedback_parser.py (sidecar → batch.v1, quotes checked against raw and rendered text).
The sidecar
Feedback lands in <artifact>.review.md. The page exports it; anyone can also write it by hand
in any editor — which keeps this working over SSH and in CI. Worked example and JSON contract
are in assets/.
<!-- human-gate:v1 target=plan.md round=1 -->
reviewer: reza
## BLOCKER b2
> We expect a 40% lift in activation.
No source, and it drives the whole plan. Cite it or cut it.
Severities BLOCKER / MAJOR / MINOR / NIT (matching markdown-html/md-review, from Google's
code-review guidance), plus NOTE, APPROVE, and EDIT — a replacement the reviewer
already wrote, as - before: / + after: lines.
Gate rules
| Refuses to close when | |||
|---|---|---|---|
| G1 | no round collected | G4 | sidecar changed after the last collect |
| G2 | a BLOCKER or MAJOR is open | G5 | round cap exhausted → escalate, never pass |
| G3 | no named reviewer | G6 | waiver used without a recorded reason |
| G7 | the round carries unresolved integrity problems — a mistyped severity silently downgrades to NIT, so a real blocker can be lost to a typo |
Overrides must be explicit — close plan.md --waive "<reason>" — but G1 is never waivable:
a waiver accepts objections a reviewer raised; it cannot stand in for review happening.
Hard rules
- Never report done while
closeexits 2. Say what is open instead. - Never invent a reviewer name to satisfy G3. No reviewer is the finding.
- Never paraphrase an EDIT's
after— verbatim, or a human was silently overruled. Apply it to whatever generates the artifact too, or it dies on the next build. - Never block-poll for a human. Hand over the path and end the turn;
opendetects a headless host. Rounds are capped and exhaustion escalates. - Never auto-fetch and run unpinned code. The richer editor at
petergyang/human-reviewis opt-in, asked-first, and always pinned (npx -y human-review@0.6.0) — unpinnednpx -yruns whatever was published most recently. Itspollblocks and it rewrites HTML in place, so wrap both. It changes the editor, never the gate. Seeaudit/human-review-2026-08/. - Never treat the review page as source of truth. It is a viewing surface.
Forcing questions
One at a time when scope is fuzzy: Who, by name, signs off? · What would make them reject it outright? (name it before reading — Klein's pre-mortem) · Is this reversible? (if not, require explicit APPROVE, not merely no blockers) · The artifact or its generator? (both) · How many rounds is this worth? · Is a human available now? (if not, hand over and stop). Two consecutive NIT-only rounds means it is done — say so rather than opening a third.
Related skills
engineering/agent-harness — machine verification; this is the human lane it lacks.
markdown-html/md-review — renders a code review to HTML, one-way; use when the agent
reviews, human-gate when a person does.
자주 묻는 질문
누가 검토해야 하나요?
특정 사람을 검토자로 지정해야 합니다. 팀 이름만으로는 충분하지 않습니다.
검토자가 이의를 제기하면 어떻게 되나요?
각 열린 차단 항목이 해결될 때까지 게이트가 닫힌 상태로 유지됩니다.
검토 페이지에 인터넷 접속이 필요한가요?
아니요. 페이지는 자체적으로 네트워크 요청을 하지 않는 단일 파일입니다.
상세 정보
작성자의 원본 설명
Use before shipping anything that needs human sign-off (a plan, spec, report, page, migration or irreversible action). Builds a review page with review_page_builder.py and runs human_gate.py, which refuses to close with an open blocker or no named reviewer.
인기도
- GitHub 스타
- 29k
- 순위
- #9562
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
agent-launcher-orchestrator
29k하나의 명확한 목표에서 시작해 내 계정의 Claude 관리형 에이전트를 계획하고, 만들고, 테스트하고, 예약하도록 돕습니다.
grade-iterate
29k에이전트가 채점 기준표에 따라 관리형 AI 에이전트의 결과물을 평가하고, 정해진 횟수 안에서 개선하도록 돕습니다. 끝없이 반복하지 않습니다.
interview
29kAI 에이전트 아이디어에 대해 질문하고, 답변을 간단한 빌드 계획으로 바꿔 어떤 것도 출시하기 전에 정리하도록 돕습니다.
run-without-you
29k에이전트가 관리형 AI 에이전트를 예약 또는 이벤트에 따라 실행되도록 설정하고, 출시 전에 cron 시간을 확인하도록 돕습니다.