bearcove

Clippy — Development skill for Claude Code

Development community

Run cargo clippy and fix all warnings and errors iteratively.

How to install Clippy

Installs to ~/.claude/commands/bearcove-pikru-clippy.md

Terminal
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.

  1. Run cargo clippy --all-features --all-targets --message-format=short -- -D warnings to treat warnings as errors
  2. Parse the issues and create a todo list
  3. For each clippy lint:
    • Read the relevant file to understand context
    • Apply the suggested fix or a better alternative
    • Mark the todo as complete
  4. Re-run clippy to verify fixes and catch any new issues
  5. 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 Repository