code-audit

Audit code submissions in Python, R, Stata, Excel, and Jupyter notebooks.

Updated Jan 16, 2026
One-click install
npx skills add https://github.com/Black-JL/writing-mentor-framework --skill code-audit-black-jl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-audit
Source: https://github.com/Black-JL/writing-mentor-framework/tree/main/skills/code-audit
Command: npx skills add https://github.com/Black-JL/writing-mentor-framework --skill code-audit-black-jl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the challenge of ensuring that submitted code is correct, adheres to good practices, and is reproducible, preventing errors and improving the quality of analytical work.

Core Features & Use Cases

  • Correctness Checking: Identifies logic errors, edge case handling, and output verification against claims.
  • Data Handling Audit: Reviews how missing values, data types, and filtering are managed.
  • Reproducibility Assessment: Verifies the use of relative paths, random seeds, and dependency documentation.
  • Style & Clarity: Evaluates variable naming, commenting, and overall code organization.
  • Use Case: When a student submits an R script for a data analysis assignment, this Skill can automatically audit the code for common errors, ensure it runs on different machines, and provide constructive feedback to the student.

Quick Start

Use the code-audit skill to review the attached python script 'analysis.py'.

Frequently Asked Questions about code-audit

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

FAQPage Schema
How do I audit Python code for correctness and reproducibility?

To audit Python code for correctness and reproducibility, this Skill validates logic, edge cases, data handling, and relative path usage. It evaluates variable naming and dependency documentation to ensure scripts run reliably across different machines.

Can I check an R script for data handling and missing value errors?

Yes, you can check an R script for data handling errors. The audit reviews how missing values, data types, and filtering are managed, while also verifying output accuracy and adherence to analytical best practices.

Does this code review tool support Stata and Excel formulas?

Yes, the code review tool supports Stata and Excel with formulas. It audits submissions across these specific languages for output verification, logic validation, and overall code organization to ensure reliability.

How do I ensure my Jupyter notebook is reproducible and uses best practices?

To ensure your Jupyter notebook is reproducible, this Skill verifies random seeds, relative paths, and dependency documentation. It assesses style, clarity, and adherence to best practices for understandable analytical work.

What is the best way to verify output accuracy in data analysis assignments?

The best way to verify output accuracy is by auditing the code against its claims. This process identifies logic errors, validates edge case handling, and checks data type management to prevent analytical errors.

When do I need a reproducibility assessment for my code?

You need a reproducibility assessment when submitting analytical work to prevent errors on different machines. It verifies relative paths, random seeds, and dependency documentation to ensure code runs reliably and remains understandable.