OpenParable
Skip to content
← Back to skills

CI Clippy

Testing & Quality
ci-clippy

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

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. 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

  1. Run formatting check:
cargo fmt --all -- --check
  1. Run clippy with the CI flags:
cargo clippy --all-features --all-targets -- -D warnings -A incomplete-features
  1. If either command reports errors, fix them:

    • For fmt issues: run cargo fmt --all or 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
  2. Repeat until both commands pass cleanly.

Notes

  • Warnings from clippy.toml about unreachable types (e.g. slop_koala_bear::*) are informational and not errors.
  • test-artifacts build script warnings ("Skipping build due to clippy invocation") are expected.
  • The clippy command can take 4-5 minutes on a full rebuild. Use --timeout 600000 when running via Bash.