react-agent-pattern: Skill for Cursor

.cursor/skills/repo-fix-pr/SKILL.md

repo-fix-pr is a skill for Cursor from vpeetla-ai/react-agent-pattern. It costs 63 tokens per session (343 once invoked), scanned A, a copy of repo-fix-pr, MIT.

A workflow that scans a GitHub repository for failing tests, applies a code fix through an automated loop, checks the result, and opens a pull request on a separate branch. It currently describes pytest-based scanning and a LoopForge API.

In plain words
What is it for?
Use it to investigate and fix repository bugs, extend the workflow's workspace or Git support, or debug the /api/repo-fix endpoint. It is configured to create branches named loopforge/fix-{id} and can create a GitHub pull request.
Why use it?
It structures bug fixing from repository setup through quality checks and review, while keeping changes off the main branch. The resulting pull request includes run and test information.

Skill for Cursor

Written for Cursor: installed under .cursor/.

This is vpeetla-ai/react-agent-pattern's own configuration. It tells Cursor how to work on react-agent-pattern itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything react-agent-pattern configures →

Reuse

Borrowing it

Nothing to install: this file belongs to vpeetla-ai/react-agent-pattern. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/vpeetla-ai/react-agent-pattern/main/.cursor/skills/repo-fix-pr/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/vpeetla-ai/react-agent-pattern

Made for: Cursor.

Wrote 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.

agentmods badge for repo-fix-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/vpeetla-ai/react-agent-pattern/repo-fix-pr.svg)](https://agentmods.dev/skills/vpeetla-ai/react-agent-pattern/repo-fix-pr)
Your own site
<a href="https://agentmods.dev/skills/vpeetla-ai/react-agent-pattern/repo-fix-pr"><img src="https://agentmods.dev/badge/skills/vpeetla-ai/react-agent-pattern/repo-fix-pr.svg" alt="Measured on agentmods" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 343 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00063 $0.00343
Opus 5 $0.00032 $0.00171
Sonnet 5 $0.00013 $0.00069
Haiku 4.5 $0.00006 $0.00034

Measured 7d ago against content hash 257c58ab5887, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

repo-fix-pr scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST https://loopforge-api.onrender.com/api/repo-fix \
Origin

This is a copy

100% identical to repo-fix-pr — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.cursor/skills/repo-fix-pr/SKILL.md · 47 lines

What it actually says

Repo Fix → PR Workflow

Flow

clone → scan (pytest) → orchestrate → code → review → quality
  → git checkout -b loopforge/fix-{run_id} → commit → push branch → GitHub PR

API

curl -X POST https://loopforge-api.onrender.com/api/repo-fix \
  -H "Content-Type: application/json" \
  -d '{"repo_url":"https://github.com/org/repo.git","task":"Fix failing tests","create_pr":true}'

Env (Render)

  • GROQ_API_KEY — live LLM
  • GITHUB_TOKEN — fine-grained PAT: Contents + Pull requests write

Rules

  • Never push to main
  • Branch: loopforge/fix-{run_id[:12]}
  • PR body includes run_id, review score, test status

Extending

  • src/loop_engine/workspace/git_ops.py — clone, branch, PR API
  • src/loop_engine/graph/repo_nodes.py — patch parse, quality gate
  • Add project detectors (npm, cargo) beside pytest

Demo

https://demo-omega-taupe.vercel.app

Changes

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.

  1. 7d ago First seen · 47 lines · 63 tokens per session scan A 257c58ab5887

Subscribe to this mod's changes

repo-fix-pr is a skill published in the GitHub repository vpeetla-ai/react-agent-pattern (2 stars, last pushed 2d ago), licensed MIT. It adds 63 tokens to every session and 343 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to repo-fix-pr, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

mem0-test-integration

Verify a Mem0 integration produced by /mem0-integrate. Runs in the same workspace on the same branch (loose coupling) — installs dependencies, runs the repo's native test suite, then exercises a real end-to-end smoke flow against the user's API key. Produces a scorecard. TRIGGER when: user has just run /mem0-integrate…

mem0ai/mem0 · 207 tokens

mem0-integrate

Integrate Mem0 into an existing repository using a goal-driven, TDD pipeline. Detects the repo's language automatically and asks the user to pick between Mem0 Platform (managed) and Mem0 Open Source (self-hosted). Writes failing tests before any implementation. Produces a local feature branch plus .mem0-integration/…

mem0ai/mem0 · 188 tokens

code-review

Perform a structured code review of changes, checking for correctness, style, tests, and potential issues.

langchain-ai/deepagents · 23 tokens

credit-note-fixer

Fix the tiny credit-note formatting bug and rerun the exact targeted test command.

openai/openai-agents-python · 21 tokens

test-corpus

The testdocuments submodule is a bucket-fetched fixture corpus that is not committed. This skill covers readtestfixture, missing fixtures, valid A/B controls, and submodule push order. Load before running Rust tests on a fresh clone, setting up an A/B control, adding a fixture-backed test, or diagnosing…

xberg-io/xberg · 72 tokens

bug-fixing

Fix defects in the Composio SDK repository with focused reproduction, root-cause analysis, regression tests, and narrow verification. Use when the user reports a bug, failing test, CI regression, runtime defect, or incorrect SDK behavior. Do not use for new feature design or broad refactors.

ComposioHQ/composio · 63 tokens