본문으로 건너뛰기
cccskills
무료GitHub에 공개

robonix-code-review

Review a Robonix change against the repository's coding guidelines and write a Markdown review. Use when asked to review a branch, a PR, or files, and before asking a human to review your own change.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md2.5 KB
  • scripts/review_input.sh899 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

robonix-code-review

Review a change against .agents/guidelines/ and write one Markdown file. Every comment cites the guideline short-name it rests on, so the author can look the rule up and the reviewer can check the call.

Input

One argument string, in one of two forms:

diff <base> <output>          # the commits on HEAD since merge-base(<base>, HEAD)
files <path>... <output>      # the current contents of these files

Produce the review input with the script, from the repository root:

.agents/skills/robonix-code-review/scripts/review_input.sh diff origin/dev > /tmp/review-input.txt

In diff mode the input is each commit's message and patch, so commit hygiene is reviewed along with the code.

Steps

  1. Read the guidelines. Read .agents/guidelines/README.md. Open a page only for the rules you need.
  2. One pass per page. Review the input once for each guideline page (maintainability, correctness, security, writing), each in a fresh sub-agent that gets only that page and the input. Separate passes find more than one pass looking for everything. Skip a page only when the input provably has nothing in its scope (no prose → skip writing).
  3. Comment format. Each pass returns comments as file, line, short-name, severity (blocker / major / minor), problem (one sentence), fix (what to change). No comment without a short-name.
  4. Try to refute each comment. Re-read the cited code. For a claim about a library, contract or protocol, check the source or the contract file. Keep it, mark it (unverified), or drop it; list dropped comments at the end with a one-line reason.
  5. Group by cause. When several comments share one fix (for example the same boilerplate in five handlers), give them one fix and point each comment at it. Keep every comment at its own location.
  6. Size check. Report the diff size. If the maintainability pass finds more than a few minimal-change, dry or delete-dead-code comments, say plainly that the change should shrink before a human reviews it.
  7. Write the file. Front matter (date, mode, base, head), a short summary (what is good, the top problems by severity), then one section per page with its comments sorted by file and line.

Don't fix the code during a review; the review is the output.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Shrink a Robonix change before review without changing behaviour. Use when a feature works and tests pass, before opening or updating a PR, and when a review asks for a smaller change.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

syswonder/robonix4022026년 10월 21일 업데이트

Write or edit commit messages, PR and issue descriptions, READMEs and code comments for Robonix so they read like a person wrote them. Use whenever producing prose that goes into the repository or onto GitHub.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

syswonder/robonix4022026년 10월 21일 업데이트

syswonder의 스킬 모두 보기

이 스킬의 문제 신고