본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)41k · #6913

review-hog-authoring

하는 일

이 스킬은 PostHog의 자동 풀 리퀘스트 리뷰어를 위한 자체 검토 관점과 규칙을 쓰는 방법을 설명합니다. 자기 코드에 맞춘 리뷰를 원하는 팀을 위한 것입니다.

사용하는 경우

  • ✓풀 리퀘스트를 한 가지 우려에 대해 점검하는 맞춤 검토 렌즈가 필요할 때.
  • ✓어떤 검토 발견을 게시할지 기준을 직접 정하고 싶을 때.
  • ✓리뷰어가 현재 놓치는 문제를 찾게 하고 싶을 때.

스킬 링크

https://github.com/PostHog/posthog/blob/master/products/review_hog/skills/review-hog-authoring/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/PostHog/posthog/blob/master/products/review_hog/skills/review-hog-authoring/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“데이터베이스 쿼리에 테넌트 검사가 빠졌는지 풀 리퀘스트를 점검하는 검토 규칙을 쓰도록 도와주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

검토 규칙의 종류, 각 규칙의 이름을 짓는 방법, 무엇을 찾아야 하는지, 어떤 발견을 유지할지 결정하는 기준을 설명합니다. 한 번에 규칙 하나씩 쓰도록 돕습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Authoring PostHog Review skills

PostHog Review is PostHog's automated PR reviewer. A review splits the PR into chunks, then for each chunk runs every enabled perspective in parallel (independent specialist lenses), a single blind-spot check afterwards (a final sweep conditioned on what the perspectives found), and finally judges every surviving candidate finding against one validation criteria skill — only findings that pass get published to the pull request. After a published review, the resolution stage goes back over the PR's unresolved review threads and judges each against one resolution criteria skill — worth-and-safe asks get implemented on the PR branch, every thread gets a reply.

All four kinds are team LLMSkill rows the review agents pull over MCP at run time. PostHog ships canonicals; this skill is the guide for authoring custom ones. The skill itself is team-level; whether it runs is a per-user setting in Inbox → Code review.

Kind Name contract Cardinality per user Canonical example
Review perspective review-hog-perspective-<slug> Multi-enable, at least one stays on review-hog-perspective-logic-correctness
Blind-spot check review-hog-blind-spots-<slug> Exactly one active; selecting swaps review-hog-blind-spots-general
Validation criteria review-hog-validation-<slug> Exactly one active; selecting swaps review-hog-validation-criteria
Resolution criteria review-hog-resolution-<slug> Exactly one active; selecting swaps review-hog-resolution-criteria

Authoring flow

  1. Ground yourself. Using the PostHog MCP skill tools, skill-list the team's review-hog-* skills and skill-get the canonical of the kind you're authoring (see the table above) — it is the reference for structure and tone. For a perspective, skim the descriptions of every existing review-hog-perspective-* so the new lens doesn't re-cover ground an enabled one already owns (overlap gets deduplicated later, but it wastes review passes).
  2. Interview the user. Ask what the skill should focus on, and offer a few concrete directions the current set doesn't cover — grounded in what you saw in step 1 and, when useful, in the project itself. Don't start writing until the direction is picked.
  3. Draft the body following the per-kind guidance below. Keep it a focused instruction set the review agent can apply to one chunk in one pass — not an essay.
  4. Create the skill yourself with posthog:skill-create — actually create the team LLMSkill row; never hand the user a body to copy-paste. Pass the exact name per the contract above (lowercase slug), a one-paragraph description of what the lens/sweep/bar is, and the body. The name prefix is the whole identity — it is how the Code review tab and the review runs discover the skill. There is no category parameter on the skill tools and you don't need one: the backend stamps the review_hog grouping category itself (it only affects grouping on the Skills page) — do not spend turns trying to set or verify it. Iterate with posthog:skill-update if the user wants changes. Author fresh — don't skill-duplicate a canonical to edit: seeded metadata rides along with the copy, and the canonical sync may overwrite or prune it.
  5. Tell the user how to activate it. A custom skill starts inactive for them:
    • Perspective — toggle it on under Inbox → Code review → Perspectives (it appears disabled until they enable it; at least one perspective must stay on).
    • Blind-spot check / validation criteria / resolution criteria — select it under the matching section; exactly one runs at a time, so selecting it swaps out the current one for their reviews only. Reviews pin skill versions when a run starts, so an edit mid-review applies from the next run.

Writing a review perspective

The body instructs one specialist review pass over one PR chunk. Match the canonical logic-correctness skill's shape:

  • The lane — one sentence on what this lens is responsible for; report everything in lane and leave the rest to the other perspectives.
  • **Hunting ground
자주 묻는 질문

관점이란 무엇인가요?

보안이나 논리 같은 전문 렌즈이며, 풀 리퀘스트의 각 부분을 다른 관점과 함께 병렬로 검토합니다.

맞춤 규칙이 항상 켜져 있나요?

규칙은 사용자별로 켜지며, 최소 하나의 관점은 켜져 있어야 합니다.

규칙을 만들려면 코드를 써야 하나요?

규칙은 무엇을 점검할지 설명하는 지침으로 작성됩니다.

상세 정보

작성자의 원본 설명

How to author custom PostHog Review skills: the review perspectives, blind-spot checks, validation criteria, and resolution criteria that drive PostHog Review's automated PR reviews. Use when a user wants a new review perspective (a specialist lens on their PRs), a custom blind-spot sweep, their own validation bar for which findings get published, or their own bar for which review comments get implemented. Trigger on "create a PostHog Review perspective", "custom review perspective", "my own blind-spot check", "custom validation criteria", "custom resolution criteria", "tune what PostHog Revie

repo: PostHog/posthog

인기도

GitHub 스타
41k
순위
#6913
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬