一键导入
pluto-review
Pluto-specific code review guidelines. Use as a general guideline when asked to conduct a code review.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Pluto-specific code review guidelines. Use as a general guideline when asked to conduct a code review.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
General Rust conventions for Pluto. Use it once for understanding the codebase better.
Use when porting Charon components to understand Go codebase architecture, workflow, design patterns, or component responsibilities
Guides Go→Rust porting for Pluto. Invoke when asked to port, implement parity for, or translate a Go component.
Full multi-agent code review for a Pluto PR. Spawns parallel agents covering functional correctness, security, Rust style, and code quality, then posts all findings as isolated GitHub review comments and submits a final approve/request-changes verdict. Invoke as `/review-pr <PR-number>` or `/review-pr <GitHub-PR-URL>`.
Iteratively review and fix a Pluto PR until it is "ideal" — drives the /review-pr multi-agent pipeline inside /ralph-loop, applying fixes between iterations and never posting inline comments. After the loop terminates, posts a single summary comment to the GitHub PR with everything that was resolved. Invoke as `/loop-review-pr <PR-number|PR-URL> [--max-iterations N]`.
Use when implementing, reviewing, debugging, or explaining Pluto Rust libp2p code: Node/P2PContext ownership, PlutoBehaviour composition, NetworkBehaviour and ConnectionHandler protocols, relay/force-direct/quic-upgrade behaviours, peerinfo/parsigex protocol handlers, DKG protocol handlers, and P2P tests.
| name | pluto-review |
| description | Pluto-specific code review guidelines. Use as a general guideline when asked to conduct a code review. |
Principles:
references/trail-of-bits-charon-v2-audit.md and apply it as a required security overlay when v1.7.1 behavior conflicts with the audit.When producing a review, include:
Severity model:
Findings format (use path:line references, 1-based):
- [Severity] Title
Impact: ...
Evidence: pluto/crates/foo/src/lib.rs:123
Go reference: charon/cmd/foo.go:456
Recommendation: ...
Parity matrix template:
| Component | Go | Rust | Match | Notes |
|---|---|---|---|---|
| CLI flag --foo | present | present | yes | |
| Error string for missing key | "..." | "..." | no | mismatch in punctuation |
| Wire format | pbio | pbio | yes |