python-code-reviewer
Skill1.1k starsChanged 3 months agoMITView on GitHub
Review, run, debug, and verify approved Python modeling code against its code plan, data contract, method decision, risk conditions, and experiment outputs, saving one compact JSON review.
1 other project uses a version of this.
Trending
More talk lately.thin dataabout the whole repository
Most recently taken up by
- JoeCotellese/claude-code-configtheir own version, first seen Aug 5, 2026
Who's talking about zhnnky329/MathModeling-skills
- sudosubin/agents.nix“codex-plugins.github.zhnnky329.mathmodeling-skills: init at 0-unstable-2026-09-24”GitHub · Oct 4, 2026
- sudosubin/agents.nix“codex-marketplaces.github.zhnnky329.mathmodeling-skills: init at 0-unstable-2026-09-24”GitHub · Oct 4, 2026
The biggest 2 of 2 mentions linking to the repository that our crawl found. Each line is their own headline.
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- JoeCotellese/claude-code-config★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository30 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- code-reviewerSkill
- completeness-auditorSkill
- consistency-auditorSkill
- data-auditor-cleanerSkill
- decision-prompt-builderSkill
- figure-table-plannerSkill
- final-method-explainerSkill
- math-figure-generatorSkill
- matlab-code-reviewerSkill
- matlab-model-code-generatorSkill
- method-selectorSkill
- model-assumptions-builderSkill
- model-code-analyzerSkill
- modeler-decision-loggerSkill
- paper-polisherSkill
- paper-section-writerSkill
- problem-classifierSkill
- problem-parserSkill
- python-model-code-generatorSkill
- quality-assurance-auditorSkill
- reference-managerSkill
- related-paper-analyzerSkill
- result-report-generatorSkill
- robustness-checkerSkill
- solution-package-builderSkill
- submission-packagerSkill
- symbol-table-builderSkill
- workflow-orchestratorSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 10 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Add risk-specific checks only when relevant, such as leakage, constraint feasibility, numerical stability, or scale.
- Distinctive: line 23
If asked to fix findings, make minimal changes, rerun affected checks, and record the repair.
- Distinctive: line 52
Do not pad evidence to reach a count.
- Distinctive: line 53
Do not fabricate execution or outputs.
- Distinctive: line 54
Do not approve a toy diagnostic reference as the official baseline.
- Distinctive: line 55
Do not silently change mathematical meaning.
- Distinctive: line 56
Do not create success logs beyond the review JSON.
- Distinctive: line 57
Treat code newer than its review as requiring the affected checks to rerun, not necessarily the entire pipeline.
- Distinctive: line 61
Every required named check has concrete evidence.
- Distinctive: line 63
Run summary and on-disk outputs agree.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Preconditions
- Python code and
code/Qx/qx_code_plan.mdexist. - Approved method decision, method card, data profile, and relevant run summary are available.
- Required inputs are accessible.
Workflow
- Resolve the approved main and usable baseline. Flag scripts for unapproved candidates unless a fallback activation exists.
- Inspect and run the code in the intended order.
- Evaluate required checks:
syntax: imports, execution, exceptions, and obvious runtime faults.input_contract: paths, fields, units, shapes, missing-data handling, and raw-data protection.method_alignment: formulas, objectives, constraints, assumptions, main/baseline roles, and fallback scope match the approved plan.reproducibility: seed, deterministic setup, dependency/runtime record, and rerun consistency.output_contract: saved tables/metrics/figures, valid run summary, comparable main/baseline metrics, degeneracy evidence, and fallback-trigger state.
- Add risk-specific checks only when relevant, such as leakage, constraint feasibility, numerical stability, or scale.
- If asked to fix findings, make minimal changes, rerun affected checks, and record the repair. Otherwise report findings without changing code.
- Save
code/Qx/reviews/qx_python_review.json.
Review Schema
{
"schema_version": 1,
"question_id": "Q1",
"language": "python",
"reviewed_files": [],
"decision_id": "q1_method_choice",
"checks": {
"syntax": {"status": "PASS", "evidence": []},
"input_contract": {"status": "PASS", "evidence": []},
"method_alignment": {"status": "PASS", "evidence": []},
"reproducibility": {"status": "PASS", "evidence": []},
"output_contract": {"status": "PASS", "evidence": []}
},
"findings": [],
"verdict": "PASSED",
"reviewed_at": "ISO-8601"
}Statuses are PASS, FAIL, or NOT_APPLICABLE with a reason. Any required FAIL blocks G3.
Rules
- Do not pad evidence to reach a count.
- Do not fabricate execution or outputs.
- Do not approve a toy diagnostic reference as the official baseline.
- Do not silently change mathematical meaning.
- Do not create success logs beyond the review JSON.
- Treat code newer than its review as requiring the affected checks to rerun, not necessarily the entire pipeline.
Verification
- Every required named check has concrete evidence.
- Main and baseline are approved and comparable.
- Run summary and on-disk outputs agree.
- Review verdict follows check statuses.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

