Skip to main content
ClaudeWave
Skill0 repo starsupdated yesterday

mindforge-pr-branch

This Claude Code skill creates a clean pull request branch by automatically filtering out commits that modified files in the .planning/ directory, removing planning artifacts like PLAN.md and SUMMARY.md from the PR diff. Use this when preparing a branch for code review to ensure reviewers focus only on actual code changes rather than MindForge planning documentation that accumulated during development.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/sairam0424/MindForge /tmp/mindforge-pr-branch && cp -r /tmp/mindforge-pr-branch/.agent/skills/mindforge-pr-branch ~/.claude/skills/mindforge-pr-branch
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

<objective>
Create a clean branch suitable for pull requests by filtering out .planning/ commits
from the current branch. Reviewers see only code changes, not MindForge planning artifacts.

This solves the problem of PR diffs being cluttered with PLAN.md, SUMMARY.md, STATE.md
changes that are irrelevant to code review.
</objective>

<execution_context>
@.agent/workflows/mindforge-pr-branch.md
</execution_context>

<process>
Execute the pr-branch workflow from @.agent/workflows/mindforge-pr-branch.md end-to-end.
</process>