Borrowing it
Nothing to install: this file belongs to paulbreuler/limps. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/paulbreuler/limps/main/.claude/commands/pr-check-and-fix.mdgit clone --depth 1 https://github.com/paulbreuler/limpsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/paulbreuler/limps/pr-check-and-fix)<a href="https://agentmods.dev/commands/paulbreuler/limps/pr-check-and-fix"><img src="https://agentmods.dev/badge/commands/paulbreuler/limps/pr-check-and-fix.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00631 |
| Opus 5 | $0.00000 | $0.00316 |
| Sonnet 5 | $0.00000 | $0.00126 |
| Haiku 4.5 | $0.00000 | $0.00063 |
Grade A, and why
pr-check-and-fix scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PR Check and Fix (limps)
Triage failing PR checks and apply fixes using limps workflows and scripts only.
Instructions for Claude
When this command is invoked, you must:
-
Resolve PR context:
gh pr view --json number,title,url,headRefName,baseRefName,statusCheckRollup- If no PR exists, report and stop
-
Summarize check status:
- List failed checks with URLs
- Separate by category: format, lint, type-check, build, test
-
Reproduce locally:
- Run the minimal failing command first
- Use repo scripts only:
- Root:
npm run format:check,npm run lint,npm run type-check,npm run build,npm test - Workspaces:
npm test --workspace <name>etc.
- Root:
-
Fix iteratively:
- Apply code changes narrowly
- Re-run the failing command
- Then run full validation:
npm test(ornpm run validateif requested)
-
Optional: Run code reviews after fixes:
- When to review: Run reviews if fixes involve:
- Security-related changes (always review with
/mcp-code-review) - Architecture changes (multiple files, new patterns)
- Complex logic changes (not just formatting/linting)
- Changes to MCP tools/resources or RLM sandbox
- Security-related changes (always review with
- Review timing: After all fixes are complete, before final commit
- Invoke
/branch-code-reviewfor architecture/maintainability concerns - Invoke
/mcp-code-reviewfor security/MCP/LLM concerns - If reviews find new issues, fix them before committing
- When to review: Run reviews if fixes involve:
-
Commit and push fixes:
- Commit message format: Use conventional commits, reference the failing check:
fix(ci): resolve linting errors in server.tsfix(test): update test assertions for new APIfix(format): apply prettier formatting
- Use
/git-commit-best-practicesfor detailed commit message guidance - Commit scope: Reference the package/component that was fixed
- Push branch:
git push(force push only if rebased:git push --force-with-lease) - Re-check PR status:
gh pr checksor view PR in browser
- Commit message format: Use conventional commits, reference the failing check:
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 7d ago First seen · 57 lines · 0 tokens per session scan A 35d9873f61e8
pr-check-and-fix is a command published in the GitHub repository paulbreuler/limps (10 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 631 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
fix-issues
Diagnose, reproduce, then fix reproducible open GitHub issues in parallel: one clean worktree/issue; symlink build artifacts to avoid rebuilds.
debug
A command for investigating software errors by classifying them, tracing their source, and comparing expected with actual behaviour.
fire-resurrect
Autonomous Resurrection Mode — reverse-engineer intent from messy code, then rebuild clean from scratch.
fire-verify-uat
Conversational User Acceptance Testing with automatic parallel diagnosis on failures.
fix
⚡⚡ Analyze and fix small issues [AUTO DETECT COMPLEXITY].
modernize-transform
Transform one legacy module to the target stack — idiomatic rewrite with behavior-equivalence tests.