Fix Pr by athola
Address PR/MR review feedback by reading comments, implementing fixes, and resolving threads. GitHub and GitLab support.
- Type
- Slash Command
- Repository
- athola/claude-night-market
- GitHub stars
- 339
- License
- MIT
- Repo last updated
- Sep 24, 2026
- Source file
- plugins/sanctum/commands/fix-pr.md
What Fix Pr by athola is
Fix Pr by athola is a slash command published in the athola/claude-night-market repository on GitHub, which has about 339 stars. The repository describes itself as: “23 Claude Code plugins: TDD enforcement hooks, git/PR workflows, spec-driven development, code review, project lifecycle, fix-from-error, maintenance automation, context optimization, research, and multi-LLM delegation. 186 skills, 128 commands, 54 agents.”
A slash command is a reusable prompt saved as a markdown file and run by typing its name after a slash. In Claude Code, custom commands have been merged into skills: a file in .claude/commands/ and a skill folder in .claude/skills/ both create the same kind of command, and existing command files keep working.
Fix Pr gives you a repeatable way to run the same instructions without retyping them, optionally with arguments.
How to install Fix Pr by athola
Claude Code
- Download fix-pr.md from the repository.
- Save it to ~/.claude/commands/ (all projects) or .claude/commands/ (one project). As a skill, you can instead save it as ~/.claude/skills/<name>/SKILL.md.
- Run it by typing / followed by its name.
Claude Cowork
- Turn the command into a skill: create a folder with the file saved as SKILL.md and zip it.
- In Customize → Skills, click +, then upload the ZIP.
- Run it from any task with / and the skill name.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from plugins/sanctum/commands/fix-pr.md, shared under the repository's MIT license. Read the full file on GitHub.
A progressive workflow for addressing PR/MR review feedback, following the attune pattern. Supports both GitHub PRs and GitLab MRs via leyline:git-platform detection. analyze → triage → plan → fix → validate → complete
When To Use
Use this command when you need to:
- Responding to PR/MR review comments systematically
- Iterating on PR/MR after reviewer feedback
When NOT To Use
- Simple changes that don't need the full workflow
- Work already completed through another sanctum command
Quick Reference
/fix-pr # Full workflow
/fix-pr --from triage # Skip analysis, start at triage
/fix-pr --to plan # Stop after planning (dry run)
/fix-pr --scope minor # Auto-skip steps for minor fixes
/fix-pr --stack # Fix every PR in the stack in one run
/fix-pr --stack --base main # Override the stack base branch
/fix-pr --no-stack # Force single-PR modeWorkflow Steps Overview
Detailed Steps: See Workflow Steps
Intelligent Step-Skipping
The workflow auto-detects scope and suggests step-skipping:
Minor scope (1-2 simple comments):
- Skip: Analyze, Triage, Plan
- Run: Fix → Validate → Complete
Medium scope (3-5 comments, clear fixes):
- Skip: Analyze (if familiar)
- Run: Triage → Plan → Fix → Validate → Complete
Major scope (6+ comments, complex changes):
- Run all steps
# Detect scope automatically
/fix-pr --scope auto
# Override with explicit scope
/fix-pr --scope minor
/fix-pr --scope medium
/fix-pr --scope majorDocumentation
Common Usage Examples
Basic Usage
# Full workflow for PR
/fix-pr 123
# With PR URL
/fix-pr https://github.com/org/repo/pull/123Step Control
# Skip to specific step
/fix-pr --from plan
# Stop at specific step (dry run)
/fix-pr --to plan
# Run specific range
/fix-pr --from triage --to validateCommit Strategies
# Single commit for all fixes (default)
/fix-pr --commit-strategy single
# Separate commit per fix
/fix-pr --commit-strategy separate
# Manual commits (for complex cases)
/fix-pr --commit-strategy manualScope Control
# Auto-detect scope
/fix-pr --scope auto
# Force minor workflow (skip to fix)
/fix-pr --scope minorStack Mode (Multi-PR Fix)
When the target PR is part of a stack of dependent PRs rooted at a common base branch, /fix-pr can apply the fix workflow to every PR in the stack in one invocation. Each PR still passes its own Gate 1 (thread resolution) and Gate 2 (issue tracking); the root PR additionally receives a consolidated stack-level summary.
# Explicit: fix every PR in the stack containing PR 123
/fix-pr 123 --stack
# Override the base branch (default: master)
/fix-pr 123 --stack --base main
# Force single-PR mode even if a stack is detected
/fix-pr 123 --no-stackBehavior:
- Before Step 1 (Analyze), /fix-pr loads Skill(sanctum:stack-mode) to resolve stack membership. Detection uses three strategies: branch naming (stack/ / ), the ## Stack summary comment posted by stack-push, and a base-chain walk via gh pr view --json baseRefName.
- Without --stack but with a detected stack of size >= 2, the command prompts before iterating. Default is single-PR mode.
- With --stack, Steps 1-6 run once per PR in base-to-tip order. Scope detection is per-PR, so one stack can mix minor and major scopes across its members.
- Both mandatory exit gates (thread resolution and issue tracking) run per-PR, unchanged.
- After successful iteration, a single stack summary comment lands on the root PR listing each PR, its fix status, and a link to its per-PR Gate 2 reconciliation comment.
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Fix Pr by athola?
Fix Pr by athola is a slash command for Claude Code and Claude Cowork from the athola/claude-night-market repository on GitHub. Address PR/MR review feedback by reading comments, implementing fixes, and resolving threads. GitHub and GitLab support.
How do I install Fix Pr by athola in Claude Code?
Download fix-pr.md from the repository. Save it to ~/.claude/commands/ (all projects) or .claude/commands/ (one project). As a skill, you can instead save it as ~/.claude/skills/<name>/SKILL.md. Run it by typing / followed by its name.
Can I use Fix Pr by athola in Claude Cowork?
Turn the command into a skill: create a folder with the file saved as SKILL.md and zip it. In Customize → Skills, click +, then upload the ZIP. Run it from any task with / and the skill name.
Is Fix Pr by athola safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Craft Reviewer Evaluate generated text for craft depth across five dimensions - Subagent · athola/claude-night-market
- Dependency Updater Dependency analysis and update agent for multi-ecosystem repositories. Subagent · athola/claude-night-market
- Dig Interactively refine research results by searching deeper into a specific subtopic or channel. Requires an active research session from /tome:research. Slash Command · athola/claude-night-market
- Create Hook Create hooks with brainstorming and security-first design Slash Command · athola/claude-night-market
- Fix Workflow Retrospective analysis and improvement of workflow components with self-evolving patterns Slash Command · athola/claude-night-market
- Filter Log Suggest tier-1 filter commands for a log file before any compression or paste. Anchors on the log-debugging-hygiene module. Slash Command · athola/claude-night-market
- Fixit Fix broken functionality from pasted error output, stack traces, or Slash Command · athola/claude-night-market
- Export Export research findings to a format compatible with memory-palace's knowledge-intake skill. Slash Command · athola/claude-night-market