Community코딩 & 개발github.com

trailofbits/review-pr

현재 브랜치의 변경 사항을 기준 브랜치와 비교하여 PR 형태로 검토합니다: 새 코드 및 수정 코드의 정확성, 테스트 커버리지, 문서 정확성을 검사합니다. 브랜치, diff 또는 풀 리퀘스트 검토 요청 시 사용하세요.

review-pr란 무엇인가요?

이 스킬은 Git 기반 브랜치의 변경 사항을 기준 브랜치와 비교하여 PR 리뷰를 자동화합니다. 주로 `git diff <base>...HEAD` 명령어로 변경 표면(diff)을 구성하고, 변경된 모든 코드 청크(hunk)의 정확성을 검증합니다. 특히 경계 입력에서의 오류, 처리되지 않은 예외 경로, 함수 이름이나 호출자와 모순되는 동작을 찾아냅니다. 또한 변경된 동작에 대한 테스트 커버리지를 확인하여 새로운 로직이 엣지 케이스를 테스트하지 않으면 결함으로 보고합니다. README나 문서가 변경으로 인해 더 이상 유효하지 않은 경우도 찾아내며, 발견된 모든 결함을 심각도(주요, 보조, 정보)와 함께 보고합니다. 브랜치가 건드리지 않은 파일은 검토 대상에서 제외됩니다. 이 스킬은 Claude Code, Cursor, Codex 등 다양한 AI 에이전트 환경에서 사용할 수 있으며, 개발자가 PR 리뷰 과정을 자동화하여 코드 품질을 유지하고 리뷰 시간을 단축하는 데 유용합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/trailofbits/skills/tree/main/plugins/code-improver/tests/fixtures/pr-review-toolkit/skills/review-pr

Installed? Explore more 코딩 & 개발 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

PR 리뷰

브랜치의 변경 표면만 검토하고, 전체 저장소는 검토하지 않습니다.

  1. diff 생성: git diff <base>...HEAD (작업 트리에 브랜치에 속하는 커밋되지 않은 변경 사항이 있을 경우 git diff <base>도 사용). 기준 브랜치는 호출자가 지정하며, 지정되지 않으면 main으로 대체합니다.
  2. 모든 변경된 청크(hunk)의 정확성을 검토: 경계 입력에서의 잘못된 결과, 처리되지 않은 오류 경로, 함수 이름이나 호출자와 모순되는 동작.
  3. 변경된 동작에 대한 테스트 커버리지 확인: 새로운 로직이 엣지 케이스를 테스트하지 않으면 결함으로 보고.
  4. 변경으로 인해 더 이상 유효하지 않은 문서 확인: README나 문서에서 기준 브랜치에서는 참이었으나 변경 후에는 거짓이 되는 문장.
  5. 발견된 모든 결함을 심각도와 함께 보고: 주요, 보조, 정보 등 모든 발견 사항을 포함. 브랜치가 건드리지 않은 파일의 결함은 보고하지 않음 — 해당 파일은 풀 리퀘스트 범위 밖입니다.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

trailofbits/address-sanitizer

AddressSanitizer detects memory errors during fuzzing. Use when fuzzing C/C++ code to find buffer overflows and use-after-free bugs.

trailofbits/aflpp

AFL++ is a fork of AFL with better fuzzing performance and advanced features. Use for multi-core fuzzing of C/C++ projects.

trailofbits/agentic-actions-auditor

Audits GitHub Actions workflows for security vulnerabilities in AI agent integrations including Claude Code Action, Gemini CLI, OpenAI Codex, and GitHub AI Inference. Detects attack vectors where attacker-controlled input reaches AI agents running in CI/CD pipelines, including env var intermediary patterns, direct expression injection, dangerous sandbox configurations, and wildcard user allowlists. Use when reviewing workflow files that invoke AI coding agents, auditing CI/CD pipeline security for prompt injection risks, or evaluating agentic action configurations.

trailofbits/algorand-vulnerability-scanner

Scans Algorand smart contracts for 11 common vulnerabilities including rekeying attacks, unchecked transaction fees, missing field validations, and access control issues. Use when auditing Algorand projects (TEAL/PyTeal).

trailofbits/ask-questions-if-underspecified

Clarify requirements before implementing. Use when serious doubts arise.

trailofbits/atheris

Atheris is a coverage-guided Python fuzzer based on libFuzzer. Use for fuzzing pure Python code and Python C extensions.

trailofbits/audit-augmentation

Augments Trailmark code graphs with external audit findings from SARIF static analysis results and weAudit annotation files. Maps findings to graph nodes by file and line overlap, creates severity-based subgraphs, and enables cross-referencing findings with pre-analysis data (blast radius, taint, etc.). Use when projecting SARIF results onto a code graph, overlaying weAudit annotations, cross-referencing Semgrep or CodeQL findings with call graph data, or visualizing audit findings in the context of code structure.

trailofbits/audit-context-building

Enables ultra-granular, line-by-line code analysis to build deep architectural context before vulnerability or bug finding.

trailofbits/audit-prep-assistant

Prepares codebases for security review using Trail of Bits' checklist. Helps set review goals, runs static analysis tools, increases test coverage, removes dead code, ensures accessibility, and generates documentation (flowcharts, user stories, inline comments).

trailofbits/burpsuite-project-parser

Searches and explores Burp Suite project files (.burp) from the command line. Use when searching response headers or bodies with regex patterns, extracting security audit findings, dumping proxy history or site map data, or analyzing HTTP traffic captured in a Burp project.

trailofbits/cairo-vulnerability-scanner

Scans Cairo/StarkNet smart contracts for 6 critical vulnerabilities including felt252 arithmetic overflow, L1-L2 messaging issues, address conversion problems, and signature replay. Use when auditing StarkNet projects.

trailofbits/cargo-fuzz

cargo-fuzz is the de facto fuzzing tool for Rust projects using Cargo. Use for fuzzing Rust code with libFuzzer backend.

trailofbits/chrome-mcp-troubleshooting

Diagnose and fix Claude in Chrome MCP extension connectivity issues. Use when mcp__claude-in-chrome__* tools fail, return "Browser extension is not connected", or behave erratically.

trailofbits/claude-in-chrome-troubleshooting

Diagnose and fix Claude in Chrome MCP extension connectivity issues. Use when mcp__claude-in-chrome__* tools fail, return "Browser extension is not connected", or behave erratically.

trailofbits/code-improver

Runs an autonomous review-and-fix improvement loop over any code target — a skill, plugin, module, or directory — using a reviewer the user names: any installed skill or agent. Keeps a cross-round findings ledger, escalates when fixes stop converging, and guards scope mechanically. Use when asked to 'improve this code until review passes', 'run an improvement loop with <reviewer>', or to iterate review-and-fix with a specific reviewer. For skills prefer the skill-improver entry; for a branch prefer pr-improver.

trailofbits/code-maturity-assessor

Systematic code maturity assessment using Trail of Bits' 9-category framework. Analyzes codebase for arithmetic safety, auditing practices, access controls, complexity, decentralization, documentation, MEV risks, low-level code, and testing. Produces professional scorecard with evidence-based ratings and actionable recommendations.

trailofbits/codeql

Scans a codebase for security vulnerabilities using CodeQL's interprocedural data flow and taint tracking analysis. Triggers on "run codeql", "codeql scan", "codeql analysis", "build codeql database", or "find vulnerabilities with codeql". Supports "run all" (security-and-quality + security-experimental suites) and "important only" (high-precision security findings) scan modes. Also handles creating data extension models and processing CodeQL SARIF output.

trailofbits/constant-time-analysis

Detects timing side-channel vulnerabilities in cryptographic code. Use when implementing or reviewing crypto code, encountering division on secrets, secret-dependent branches, or constant-time programming questions in C, C++, Go, Rust, Swift, Java, Kotlin, C#, PHP, JavaScript, TypeScript, Python, or Ruby.

trailofbits/constant-time-testing

Constant-time testing detects timing side channels in cryptographic code. Use when auditing crypto implementations for timing vulnerabilities.

trailofbits/cosmos-vulnerability-scanner

Scans Cosmos SDK blockchain modules and CosmWasm contracts for consensus-critical vulnerabilities — chain halts, fund loss, state divergence. 25 core + 16 IBC + 10 EVM + 3 CosmWasm patterns. Use when auditing custom x/ modules, reviewing IBC integrations, or assessing pre-launch chain security. Updated for SDK v0.53.x.

관련 스킬