CI Clippy
Testing & Qualityci-clippyCI Clippy is an Agent Skill for testing & quality published in the succinctlabs/sp1 repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Run the CI clippy and fmt checks (matching the GitHub Actions lint job) and fix any issues found.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/succinctlabs/sp1/blob/HEAD/.claude/skills/ci-clippy/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/ci-clippy, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Run CI Clippy & Fix Issues
Run the same clippy and formatting checks as the CI lint job in .github/workflows/pr.yml, then fix any errors.
Steps
- Run formatting check:
cargo fmt --all -- --check
- Run clippy with the CI flags:
cargo clippy --all-features --all-targets -- -D warnings -A incomplete-features
-
If either command reports errors, fix them:
- For fmt issues: run
cargo fmt --allor manually fix formatting - For clippy errors: read the relevant source files, understand the issue, and apply the minimal fix
- Re-run the failing check to confirm the fix
- For fmt issues: run
-
Repeat until both commands pass cleanly.
Notes
- Warnings from
clippy.tomlabout unreachable types (e.g.slop_koala_bear::*) are informational and not errors. test-artifactsbuild script warnings ("Skipping build due to clippy invocation") are expected.- The clippy command can take 4-5 minutes on a full rebuild. Use
--timeout 600000when running via Bash.