agentsclimarketplace

Pr branch

Skill mattjaikaran/meridian/skills/pr-branch

Skill that gives AI coding agents persistent memory and quality enforcementFrom the repository description

Install
npx -y skills add mattjaikaran/meridian --skill pr-branch

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.3 KB, 343 tokens by cl100k_base, as published. Nobody here has run it

/meridian:pr-branch — Create Clean PR Branch

Create a PR-ready branch with only code-relevant commits, filtering out .planning/ and .meridian/ changes.

Arguments

  • <slug> (required) — Feature name for the branch (creates pr/<slug>)
  • --base <branch> — Base branch to diff against (default: main)

Procedure

Step 1: Identify Code Commits

PYTHONPATH=$MERIDIAN_HOME uv run --project $MERIDIAN_HOME -- python -c "
from scripts.pr_branch import filter_commits
commits = filter_commits('main')
print(f'{len(commits)} code commits found')
for sha in commits:
    print(sha)
"

If no code commits found, warn user and stop.

Step 2: Create PR Branch

PYTHONPATH=$MERIDIAN_HOME uv run --project $MERIDIAN_HOME -- python -c "
from scripts.pr_branch import create_pr_branch
branch = create_pr_branch('<slug>', 'main')
print(f'Created branch: {branch}')
"

Step 3: Verify Branch

git log --oneline main..pr/<slug>
git diff --stat main..pr/<slug>

Step 4: Push (optional)

git push -u origin pr/<slug>

Notes

  • Original branch is preserved — this is non-destructive
  • Uses cherry-pick internally, so conflicts are possible on divergent histories
  • If cherry-pick fails, the partial branch is cleaned up automatically

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.