Claude Code as a Grumpy, Peer-Reviewing Contractor
It packages Claude Code as a finicky academic contractor that plans, writes, and forces its own LaTeX and Quarto output through peer review before it ever reaches the repo.

What it does
This is a configuration template and rule set for Anthropic’s Claude Code, tuned for academic work like lecture slides, research papers, and replication packages. You describe the project; Claude drafts a specification, invokes specialized skills, and runs the output through focused reviewer agents before presenting results. It is essentially a harness that turns a general coding assistant into a domain-specific workflow tool with memory, hooks, and quality thresholds.
The interesting bit
Instead of one generalist pass, the workflow spins up 18 narrow agents—proofreader, slide-auditor, pedagogy-reviewer, methods-referee—and makes them argue. An adversarial critic and fixer loop up to five rounds, and a Chain-of-Verification step forks a verifier that has never seen the draft to catch fabricated citations or numerical contradictions. The README is admirably honest that quality thresholds are advisory, not enforced by hooks; bypass the skill and you bypass the review.
Key highlights
- 18 specialized agents review distinct dimensions (grammar, pedagogy, R code, domain correctness) rather than relying on a single generalist.
- Adversarial QA pits a critic against a fixer until the critic approves or the round limit hits.
- Numeric scoring with advisory thresholds at 80, 90, and 95 for commit, PR, and excellence levels.
- Reproducibility auditing cross-checks every numeric claim in a manuscript against the script that produced it, tracked in a per-paper
passport.yaml. - Context survival via PreCompact hooks and a committed
MEMORY.mdthat accumulates learnings across sessions.
Caveats
- Quality gates are harness-level only; a standard repository commit bypasses all checks, and the README notes you must configure hard enforcement yourself.
- The template is heavily optimized for LaTeX/Beamer and Quarto; while the orchestration patterns work for any text artifact, the out-of-the-box skills and
CLAUDE.mdassume an academic toolchain.
Verdict
Academics and researchers already using Claude Code who want structured, repeatable quality control for manuscripts and slides will find this a rare example of workflow rigor. If you are not writing LaTeX or managing replication packages, much of the included scaffolding will be irrelevant.
Frequently asked
- What is pedrohcgs/claude-code-my-workflow?
- It packages Claude Code as a finicky academic contractor that plans, writes, and forces its own LaTeX and Quarto output through peer review before it ever reaches the repo.
- Is claude-code-my-workflow open source?
- Yes — pedrohcgs/claude-code-my-workflow is open source, released under the MIT license.
- What language is claude-code-my-workflow written in?
- pedrohcgs/claude-code-my-workflow is primarily written in HTML.
- How popular is claude-code-my-workflow?
- pedrohcgs/claude-code-my-workflow has 1.6k stars on GitHub and is currently cooling off.
- Where can I find claude-code-my-workflow?
- pedrohcgs/claude-code-my-workflow is on GitHub at https://github.com/pedrohcgs/claude-code-my-workflow.