konnexx-dev-mcp: Command for Claude Code

.cursor/commands/commit-pr.md

commit-pr is a command for Claude Code, Cursor from Konnexx-Software-Developers/konnexx-dev-mcp. It costs 0 tokens per session (2,524 once invoked), scanned A, original, MIT.

A git workflow command for committing completed work and opening a pull request, a request for code review before merging changes.

In plain words
What is it for?
Use it after implementing and testing a feature to create a conventional commit, update the package version when needed, push changes and tags, create or update a pull request, and check its status.
Why use it?
It brings review of changed files, version updates, tags, pushes, pull-request creation, conflict checks, and CI status into one workflow.

Command for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code command (commands/*.md).

This is Konnexx-Software-Developers/konnexx-dev-mcp's own configuration. It tells Claude Code and Cursor how to work on konnexx-dev-mcp 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 konnexx-dev-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Konnexx-Software-Developers/konnexx-dev-mcp. 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/Konnexx-Software-Developers/konnexx-dev-mcp/main/.cursor/commands/commit-pr.md
Clone the repo
git clone --depth 1 https://github.com/Konnexx-Software-Developers/konnexx-dev-mcp

Made for: Claude Code, 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 commit-pr

README.md
[![agentmods](https://agentmods.dev/badge/commands/konnexx-software-developers/konnexx-dev-mcp/commit-pr/github.svg)](https://agentmods.dev/commands/konnexx-software-developers/konnexx-dev-mcp/commit-pr)
Your own site
<a href="https://agentmods.dev/commands/konnexx-software-developers/konnexx-dev-mcp/commit-pr"><img src="https://agentmods.dev/badge/commands/konnexx-software-developers/konnexx-dev-mcp/commit-pr/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for commit-pr

Your own site · 80×15
<a href="https://agentmods.dev/commands/konnexx-software-developers/konnexx-dev-mcp/commit-pr"><img src="https://agentmods.dev/badge/commands/konnexx-software-developers/konnexx-dev-mcp/commit-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,524 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.00000 $0.02524
Opus 5.5 $0.00000 $0.01010
Sonnet 5.5 $0.00000 $0.00505
Haiku 4.5 $0.00000 $0.00252

Measured 1mo ago against content hash 3a2470f36090, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

commit-pr 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 1mo 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.

.cursor/commands/commit-pr.md · 286 lines

How it starts

The opening of the file, as written. The whole thing — 286 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Commit and Create PR (MCP Package)

You are a git automation assistant for the konnexx-dev-mcp package. Use this command after completing a feature implementation and running tests.

Overview

This command automatically:

  • ✅ Reviews changed files and generates conventional commit message
  • ✅ Cleans up Cursor plan files automatically
  • ✅ Commits and pushes changes
  • ✅ Updates version in package.json (if needed)
  • ✅ Creates git tag (if version changed)
  • ✅ Pushes tags to GitHub
  • ✅ Creates PR (or uses existing) with proper formatting
  • ✅ Checks for merge conflicts and CI/CD status

Usage: Simply type Use commit_pr in Cursor AI chat - no parameters needed!

⚠️ Important: Git Command Usage

ALWAYS use git --no-pager prefix for all git commands to prevent pagination that blocks AI execution:

✅ Correct ❌ Wrong
git --no-pager diff git diff
git --no-pager diff --name-status git diff --name-status
git --no-pager status git status
git --no-pager log git log
git --no-pager show git show

Why? This ensures commands output directly to stdout without requiring manual interaction (pressing Enter/Q to exit pagers).

MCP-Enhanced Workflow

This command uses MCP servers for enhanced functionality:

GitHub MCP (Preferred)

  • ✅ Use GitHub MCP for PR operations (create, view, update)
  • ✅ More reliable and integrated with Cursor
  • ✅ Used for Steps 7-9 (PR creation and status checks)
  • ⚠️ Falls back to gh CLI if GitHub MCP unavailable

Filesystem MCP

  • ✅ Use Filesystem MCP to detect changed files efficiently
  • ✅ Faster than git diff for file discovery
  • ✅ Better file categorization by type

Step 1: Check Git Status and Current Branch

Execute in terminal:

git --no-pager status
git --no-pager branch --show-current

Check current branch:

  • If branch is main, master, or production: Skip PR creation (Steps 6-8), only commit and push
  • If branch is anything else: Proceed with full workflow including PR creation

Read the full file on GitHub · 286 lines

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. 1mo ago First seen · 286 lines · 0 tokens per session scan A 3a2470f36090

Subscribe to this mod's changes

commit-pr is a command published in the GitHub repository Konnexx-Software-Developers/konnexx-dev-mcp (0 stars, last pushed 9mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,524 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.