Agent skill

Heal PR

by razorpay in razorpay/blade

Heal a Blade PR by fixing CI failures, missing changesets, and sanity issues.

MITAuto-check passedTesting & QA

Install Heal PR

skills CLI
$ npx skills add razorpay/blade --skill heal-pr -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install razorpay/blade heal-pr --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/razorpay/blade.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/heal-pr .claude/skills/heal-pr && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
heal-pr
GitHub stars
656
Token cost
~414 tokens
SKILL.md length
136 words
Files
1
Skills in repo
16
Repo updated
First seen
Licence
MIT

At a glance

Heal a Blade PR by fixing CI failures, missing changesets, and sanity issues.

  • Works in 4 steps: Diagnose → Fix → Handle Non-Fixable Issues → …
  • A PR has failing CI
  • SKILL.md covers Arguments and Steps
  • Calls git and gh

What it does

Heal PR is an agent skill from razorpay/blade. Heal a Blade PR by fixing CI failures, missing changesets, and sanity issues. Use when a PR has failing CI or other sanity problems that need to be auto-fixed.

Its SKILL.md is about 410 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA, covering Failing and flaky tests. The repository describes itself as: Design System that powers Razorpay. The licence is MIT.

When your agent uses it

  • A PR has failing CI
  • Other sanity problems that need to be auto-fixed

Example prompts

  • “/heal-pr”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Diagnose
  2. Fix
  3. Handle Non-Fixable Issues
  4. Push

What it can do on your machine

Read from SKILL.md and the folder at commit fa38cf0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git and gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Heal PR loads about 414 tokens when it runs. Until then it costs about 42 tokens; SKILL.md has 136 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~42
When it runs · the whole SKILL.md, loaded when a task matches
~414

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from razorpay/blade at commit fa38cf0, republished under its MIT licence (© razorpay). 136 words, ~414 tokens.

Download SKILL.mdSave it as .claude/skills/heal-pr/SKILL.md (or your agent's skills folder).
name
heal-pr
description
Heal a Blade PR by fixing CI failures, missing changesets, and sanity issues. Use when a PR has failing CI or other sanity problems that need to be auto-fixed.
disable-model-invocation
true

Heal Blade PR

Arguments

  • PR: Link / Number of the PR to heal

Steps

1. Diagnose

Spawn the pr-sanity-critique subagent to identify all issues:

subagent_type: pr-sanity-critique
prompt: "PR_NUMBER={PR_NUMBER}"
2. Fix

Checkout the PR branch and fix each reported issue:

bash
gh pr checkout {PR_NUMBER} --repo razorpay/blade
  • Failing CI: investigate with gh run view --job {JOB_ID} --repo razorpay/blade, then fix the root cause (code, tests, config)
  • Missing changeset: create the .changeset file with appropriate bump type — only if the PR contains actual source code changes. Skip changeset creation for PRs with purely test file changes (e.g. *.test.ts, *.spec.tsx) or documentation-only changes (e.g. *.md, docs/).
  • Any other issue: follow the critique's suggestion

For test or lint failures, verify the fix locally by re-running the failing check before committing.

3. Handle Non-Fixable Issues

If any issue cannot be fixed (infra outage, external service downtime, flaky environment), post a comment:

bash
gh pr comment {PR_NUMBER} --repo razorpay/blade --body ":sparkles: Agentic PR Healer :sparkles:

**Could not auto-fix the following issues:**

{DESCRIPTION}

These require manual intervention."
4. Push
bash
git add -A && git diff --cached --quiet || (git commit -m "fix: auto-heal PR via Slash PR Healer" && git push)

© razorpay, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/heal-pr of razorpay/blade.

Open the folder on GitHubat commit fa38cf0

Compare with similar skills

Heal PR next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Heal PR compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Heal PR this skillrazorpay/blade656—~414Automated safety check: PassMIT
Swig Testswig/swig6.3k—~2.3kAutomated safety check: PassCustom licence
Triage CI FailureDataDog/datadog-agent3.8k—~2.3kAutomated safety check: PassApache-2.0
Dynamo Jira TicketDynamoDS/Dynamo2k—~1.1kAutomated safety check: PassApache-2.0
Fix Ready PRsfastrepl/anarlog9.5k—~1.4kAutomated safety check: PassMIT
Trx Analysismicrosoft/vstest969—~1.8kAutomated safety check: PassMIT

Similar skills

  • Swig Test

    swig/swig

    Run SWIG test suite for specific languages. An agent skill from swig/swig.

    6.3k GitHub stars~2.3k tokensUpdated 3 days ago
    Testing & QAAuto-check passed
  • Triage CI Failure

    DataDog/datadog-agent

    Official

    Classify a failed CI as either caused by an active incident, flakiness, or a true code regression.

    3.8k GitHub stars~2.3k tokensUpdated today
    Testing & QAAuto-check passed
  • Dynamo Jira Ticket

    DynamoDS/Dynamo

    Create structured Jira tickets for Dynamo from bug reports, failing tests, or feature requests.

    2k GitHub stars~1.1k tokensUpdated today
    Testing & QAAuto-check passed
  • Fix Ready PRs

    fastrepl/anarlog

    Inspect every open non-draft PR for CI failures and unresolved Cursor Bugbot findings, then fix them on the existing PR branches.

    9.5k GitHub stars~1.4k tokensUpdated today
    Testing & QAAuto-check passed
  • Trx Analysis

    microsoft/vstest

    Official

    Parse and analyze Visual Studio TRX test result files. An agent skill from microsoft/vstest.

    969 GitHub stars~1.8k tokensUpdated today
    Testing & QAAuto-check passed
  • Wio

    workersio/skills

    Testing workflow skill for finding high-value test candidates, writing focused tests, generating realistic workloads, reviewing test value, and diagnosing test-suite health.

    204 GitHub stars~5.8k tokensUpdated 2 mo ago
    Testing & QAAuto-check passed

More from razorpay/blade

All 16 skills in this repo
  • Review PR

    razorpay/blade

    Review blade PRs by fetching diff, checking CI status, and getting Storybook URL.

    656 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Migrate To Rn

    razorpay/blade

    Add React Native support (.native.tsx files) to Blade components that currently only have web implementations.

    656 GitHub stars~4.4k tokensUpdated today
    Auto-check passed
  • Migrate To Svelte

    razorpay/blade

    Orchestrate parallel migration of Blade React components to Svelte 5.

    656 GitHub stars~4.7k tokensUpdated today
    Auto-check passed
  • UI Code Guidelines

    razorpay/blade

    Important guidelines for writing frontend UI code. An agent skill from razorpay/blade.

    656 GitHub stars~866 tokensUpdated today
    Auto-check passed
  • This rule helps in reviewing the component before shipping to make sure all important things are checked

    656 GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Resolve Comments

    razorpay/blade

    Resolve comments on a pull request. An agent skill from razorpay/blade.

    656 GitHub stars~720 tokensUpdated today
    Auto-check passed

Categories

Questions about Heal PR

What does Heal PR do?

Heal a Blade PR by fixing CI failures, missing changesets, and sanity issues. Heal PR is an agent skill from razorpay/blade. Heal a Blade PR by fixing CI failures, missing changesets, and sanity issues.

When should I use Heal PR?

Heal PR fits situations like: A PR has failing CI; other sanity problems that need to be auto-fixed.

How do I install Heal PR in Claude Code?

Run `npx skills add razorpay/blade --skill heal-pr -a claude-code`. Or copy the skill folder (.agents/skills/heal-pr in razorpay/blade) into .claude/skills/heal-pr in your project. Claude Code loads it when a task matches its description.

How do I install Heal PR in Codex?

Run `npx skills add razorpay/blade --skill heal-pr -a codex`. Or copy the skill folder (.agents/skills/heal-pr in razorpay/blade) into .agents/skills/heal-pr in your project. Codex loads it when a task matches its description.

Can I use Heal PR in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add razorpay/blade --skill heal-pr -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/heal-pr, .gemini/skills/heal-pr, .github/skills/heal-pr and .opencode/skills/heal-pr in your project.

What does Heal PR need to run?

Going by SKILL.md and its folder, Heal PR needs the command-line tools its instructions call (git and gh).

Does Heal PR access the network?

SKILL.md contains no URLs. Its commands use git and gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Heal PR safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Heal PR use?

Heal PR is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Heal PR use?

About 414 tokens (SKILL.md is roughly 1.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Heal PR?

Skills that share tags, products or a category with Heal PR: Swig Test (swig/swig, 6.3k stars), Triage CI Failure (DataDog/datadog-agent, 3.8k stars), Dynamo Jira Ticket (DynamoDS/Dynamo, 2k stars) and Fix Ready PRs (fastrepl/anarlog, 9.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Heal PR?

razorpay (a GitHub organization) maintains it in razorpay/blade, which has 656 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on October 9, 2026.

Source: razorpay/blade on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.