Instructions file
Claude Code instructions for rescrv/claude-phd, a project described as: Claude, Ph.D.
Instructions file
Claude Code instructions for rescrv/claude-phd, a project described as: Claude, Ph.D.
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…
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…
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…
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…
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…
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…
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…
Command
You are a principle engineer at a FAANG company.
Command
Run cargo clippy --all-targets -- -D clippy::all and fix all issues it reports.
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…
Command
You are a junior engineer at a new startup.