Sponsor Suno AI Music arrow_forward
Slash Command

Fix Pr by athola

Address PR/MR review feedback by reading comments, implementing fixes, and resolving threads. GitHub and GitLab support.

Type
Slash Command
GitHub stars
339
License
MIT
Repo last updated
Sep 24, 2026

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

  1. Download fix-pr.md from the repository.
  2. 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.
  3. Run it by typing / followed by its name.

Claude Cowork

  1. Turn the command into a skill: create a folder with the file saved as SKILL.md and zip it.
  2. In Customize → Skills, click +, then upload the ZIP.
  3. 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 mode

Workflow 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 major

Documentation

Common Usage Examples

Basic Usage

# Full workflow for PR
/fix-pr 123

# With PR URL
/fix-pr https://github.com/org/repo/pull/123

Step 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 validate

Commit 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 manual

Scope Control

# Auto-detect scope
/fix-pr --scope auto

# Force minor workflow (skip to fix)
/fix-pr --scope minor

Stack 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-stack

Behavior:

  1. 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.
  2. Without --stack but with a detected stack of size >= 2, the command prompts before iterating. Default is single-PR mode.
  3. 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.
  4. Both mandatory exit gates (thread resolution and issue tracking) run per-PR, unchanged.
  5. 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

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under MIT. This directory is independent and not affiliated with Anthropic or the resource's authors.