post-codegen-check

Automate post-codegen quality checks on modified Rust .rs files.

2|1|Updated Apr 27, 2026
One-click install
npx skills add https://github.com/nikomatsakis/sage-dev --skill post-codegen-check
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: post-codegen-check
Source: https://github.com/nikomatsakis/sage-dev/tree/main/.agents/skills/post-codegen-check
Command: npx skills add https://github.com/nikomatsakis/sage-dev --skill post-codegen-check

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the post-codegen quality checks for Rust code, ensuring that changes made to .rs files meet the project's standards before they are reported as complete.

Core Features & Use Cases

  • Automated Code Review: Spawn a subagent to perform quality reviews on generated or modified Rust code.
  • Review Instructions: Follow detailed instructions for formatting, mutex audit, duplication, documentation, architecture, exhaustiveness, unsafe code, and comment hygiene.
  • Use Case: Run this Skill after any changes to .rs files to automatically check for issues like formatting errors, incorrect mutex usage, and missing documentation.

Quick Start

Run the post-codegen-check skill to perform quality checks on the latest changes to your Rust project.

Frequently Asked Questions about post-codegen-check

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

FAQPage Schema
How do I automate code review for Rust code after generation?

Automated post-codegen quality checks for Rust code are performed by spawning a subagent to review modified .rs files against project standards. This ensures formatting, safety, and documentation requirements are met before reporting changes as complete.

What specific Rust code quality checks are needed after modifying .rs files?

Post-codegen quality checks for Rust code focus on formatting, mutex audit, duplication, documentation, architecture, exhaustiveness, unsafe code, and comment hygiene. These checks ensure modified .rs files meet project standards before completion.

Does post-codegen Rust code review check for unsafe code and mutex usage?

Yes, post-codegen quality checks for Rust code include specific audits for incorrect mutex usage and unsafe code. The review instructions also cover formatting, documentation, architecture, exhaustiveness, and comment hygiene.

Can I run automated Rust code checks without setting up dependencies?

Yes, this automated post-codegen checking for Rust code requires no external dependencies. It operates by spawning a subagent and utilizing reference scripts to evaluate modified .rs files against predefined review instructions.

How do I start automated quality assurance for generated Rust files?

Run the post-codegen-check skill to initiate automated quality assurance on your latest Rust project changes. It requires access to modified .rs files and reads review instructions from its references directory to perform the checks.

Why does my generated Rust code fail project standards before completion?

Generated Rust code may fail project standards due to formatting errors, incorrect mutex usage, missing documentation, or unsafe code. Automated post-codegen quality checks identify these issues in modified .rs files before they are reported as complete.