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…
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…
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…
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…
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…
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…
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…