Code Checking

Validate Rust and TypeScript code changes using cargo and Justfile tasks.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/edgeandnode/amp --skill code-checking
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Code Checking
Source: https://github.com/edgeandnode/amp/tree/main/.claude/skills/code-check
Command: npx skills add https://github.com/edgeandnode/amp --skill code-checking

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the manual, time-consuming process of checking code for compilation errors, type mismatches, and linting warnings. It ensures code quality and consistency, preventing issues from reaching later stages of development.

Core Features & Use Cases

  • Rust Code Validation: Run cargo check and cargo clippy across the entire workspace or specific crates to catch compilation errors and linting issues.
  • TypeScript Code Validation: Perform type checking and linting for TypeScript files using pnpm check.
  • Focused Checks: Quickly validate changes in a single crate or file, providing rapid feedback during development.
  • Use Case: After refactoring a Rust module, use this Skill to automatically run just check-crate <module-name> and just clippy-crate <module-name> to ensure all changes compile correctly and adhere to coding standards before committing.

Quick Start

Check the Rust code in the metadata-db crate for compilation errors and linting warnings.

Frequently Asked Questions about Code Checking

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I catch Rust compilation errors before committing code?

Run cargo check and cargo clippy across your workspace or specific crates to validate Rust code for compilation errors and linting issues. This Skill automates those checks, catching problems early and preventing them from reaching later development stages.

Can I validate TypeScript code changes automatically?

Yes. This Skill performs type checking and linting for TypeScript files using pnpm check, ensuring code quality and consistency alongside Rust validation in mixed-language projects.

What's the fastest way to check a single Rust crate after refactoring?

Use this Skill to run focused checks on a specific crate via Justfile tasks like just check-crate and just clippy-crate, providing rapid feedback during development without validating the entire workspace.

How does static analysis prevent errors in CI/CD pipelines?

Static analysis runs code quality checks—compilation validation, type checking, and linting—automatically after edits, catching errors before merge. This Skill executes those checks in post-change and CI verification scenarios to enforce standards consistently.

Does this work across multiple crates in a Rust workspace?

Yes. This Skill validates Rust and TypeScript code changes across single crates or your entire workspace, executing check-all and crate-specific Justfile tasks to ensure consistency at any scale.

What happens if code fails linting or compilation checks?

The Skill produces comprehensive results that guide fixes, reporting compilation errors, type mismatches, and linting warnings so you can address issues immediately before committing or deploying.