New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Fix Rust build, clippy, format, and test failures in the warp codebase with targeted commands before PRs.

skills.sh installs
28.8K
GitHub stars
721
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers presubmit checks, WASM-specific errors, and running individual tests by package or name filter
  • Includes separate commands for cargo fmt, workspace and WASM clippy, clang-format, cargo nextest, and doc tests
  • Enforces narrow validation first; full ./script/presubmit runs only when explicitly required by the user or spec
  • Designed for developers working in the warp Rust codebase who hit build or test failures

Install

$ npx -y skills add warpdotdev/common-skills --skill fix-errors -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

fix-errors

Fix compilation errors, linting issues, and test failures in the warp Rust codebase.

Overview

This skill helps resolve common issues encountered during development, including:

  • Compilation errors (unused imports, type mismatches, etc.)
  • Linting failures (clippy warnings)
  • Formatting violations
  • WASM-specific errors
  • Test failures

Fix the reported failure with the narrowest useful command. Do not turn a targeted repair into repeated full-workspace validation.

Full Presubmit

Run the full presubmit only when the user, task, or approved spec explicitly requires it:

./script/presubmit

This runs formatting checks, linting, and all tests. It is intentionally broader and more expensive than the default implementation workflow.

Individual Checks

Run checks separately when debugging specific issues:

Rust formatting:

cargo fmt -- --check

Clippy (full workspace):

cargo clippy --workspace --all-targets --tests -- -D warnings

WASM Clippy:

cargo clippy --target wasm32-unknown-unknown --profile release-wasm-debug_assertions --no-deps

Details

Repository
github.com/warpdotdev/common-skills
Categories
Rust, Debugging
First seen
May 16, 2026

More from warpdotdev/common-skills

All 23

Similar to Fix Errors

More Rust