rescrv

12 mods across 1 repository, 2 stars between them.

code-review

02

rescrv/claude-phd

Agent

Use this agent when you non-trivial code. This agent excels at providing actionable feedback in the form of code rview. Examples:\n\n \nContext: User wants to review their code\nuser: "I need to this code reviewed."\nassistant: "I'll use the code-review agent to help you review your code and interactively improve…

2 10mo ago A 0 tokens

dry-principal

03

rescrv/claude-phd

Agent

Use this agent when you need to identify and eliminate code duplication in recently written or modified code. This agent should be invoked after implementing new features, during code reviews, or when you suspect redundant patterns have emerged. The agent focuses on finding opportunities to apply the DRY (Don't Repeat…

2 10mo ago A 0 tokens

handled-errors

04

rescrv/claude-phd

Agent

Use this agent when you need to write error types in Rust code. This agent should be invoked for all things relating to writing error types, but not error handling itself. Examples:\n\n \nContext: The user has asked for an existing codebase's error handling to be improved.\nuser: "I've a need for error handling…

2 10mo ago A 0 tokens

rescrv/claude-phd

Agent

Use this agent when you need to analyze and refactor Rust code that has multiple constructors for the same type, eliminate duplicate functionality, and establish clear construction patterns. Examples: Context: User has written a struct with multiple new(), from(), and with() methods that have overlapping…

2 10mo ago A 0 tokens

rust-doc-writer

06

rescrv/claude-phd

Agent

Use this agent when you need to write or improve documentation comments for Rust code, including module-level docs, function docs, struct/enum docs, and inline documentation. This agent should be invoked after implementing new functionality or when existing code lacks proper documentation. Examples:\n\n \nContext: The…

2 10mo ago A 0 tokens

systems-refinement

07

rescrv/claude-phd

Agent

Use this agent when you need to develop a system specification. This agent excels at applying iterative refinement to provide a proven specification from which implementation plans can be developed. Examples:\n\n \nContext: User wants to implement the Paxos protocol\nuser: "I need to implement Paxos"\nassistant: "I'll…

2 10mo ago A 0 tokens

unit-test-writer

08

rescrv/claude-phd

Agent

Use this agent when you need to create comprehensive unit tests for existing code. This includes writing tests for functions, methods, classes, modules, or any logical unit of code that needs verification. The agent will analyze the code structure, identify testable components, and create thorough test cases covering…

2 10mo ago A 0 tokens

clippy

10

rescrv/claude-phd

Command

Run cargo clippy --all-targets -- -D clippy::all and fix all issues it reports.

2 10mo ago A 0 tokens

commit

11

rescrv/claude-phd

Command

Clear, well-structured commit messages serve as living documentation for your project, enabling efficient code review, simplified debugging through tools like git blame and git bisect, and facilitating automated tooling for changelog generation and release management. Every commit message is communication with future…

2 10mo ago A 0 tokens