Clippy — Development skill for Claude Code
Run cargo clippy and fix all warnings and errors iteratively.
How to install Clippy
Installs to ~/.claude/commands/bearcove-pikru-clippy.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/bearcove/pikru/HEAD/.claude/commands/clippy.md -o ~/.claude/commands/bearcove-pikru-clippy.md Restart Claude Code, or start a new session, for it to be picked up.
What Clippy does
Run `cargo clippy` and fix all warnings and errors iteratively.
- Run
cargo clippy --all-features --all-targets --message-format=short -- -D warningsto treat warnings as errors - Parse the issues and create a todo list
- For each clippy lint:
- Read the relevant file to understand context
- Apply the suggested fix or a better alternative
- Mark the todo as complete
- Re-run clippy to verify fixes and catch any new issues
- Repeat until clippy passes cleanly
Prefer idiomatic Ru
Alternatives in Development
- Root Cause Tracing — Use when errors occur deep in execution and you need to trace back to find the original trigger 102.5k ★
- Grammar Check — Identify grammar and flow errors with targeted fix suggestions 7.8k ★
- Reddit Fetch — Fetches Reddit content via Gemini CLI when WebFetch is blocked or returns 403 errors 6.5k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Wp Debug
Diagnose and fix WordPress block-theme failures — block validation errors, theme.json issues, missing patterns
Go Build
Fix Go build errors, go vet warnings, and linter issues incrementally. Invokes the go-build-resolver agent for
Kotlin Build
Fix Kotlin/Gradle build errors, compiler warnings, and dependency issues incrementally. Invokes the kotlin-bui
Compiletex
Compile LaTeX and report errors/warnings. Use after editing any .tex file.
Tests
Run tests and fix any failures. Uses cargo nextest run as required by this project.
Update App
Update dependencies, fix deprecations and warnings
Related Agents
Cargo Error Resolver
Diagnose and fix Rust build errors and clippy warnings
Rust Build Resolver
Rust build, clippy, and compilation error resolution specialist. Fixes cargo build errors, borrow-checker issu
Rust Fix Agent
Rust specialized build/clippy error fixing agent. Use when cargo build or cargo clippy errors occur. Makes pra