← ClaudeAtlas

forge-prlisted

This skill should be used to close out a completed unit with git in a Context Forge Methodology project — phrases like "forge-pr", "open a PR for this unit", "ship this unit", "commit and push", or "close unit NN". It creates the branch, makes a conventional commit, and opens a pull request with a spec-derived summary.
yerros/context-forge · ★ 0 · AI & Automation · score 73
Install: claude install-skill yerros/context-forge
# forge-pr Automate the close step: turn a verified unit into a clean branch, commit, and PR. Only run this once the unit is implemented AND verified. ## Preconditions - The unit's verification passed (run `forge-verify` first if unsure). For a last-mile sanity check on risky changes, the `forge-reviewer` agent can review the final diff before pushing. - **Release gate.** Before pushing, run `forge-gatekeeper` on the unit's diff when it touches a trust boundary or production constraint listed in `architecture.md` (a route, job, webhook, migration, outbound integration, auth, config, or dependency change). A `HOLD` blocks the PR; put the verdict block in the PR body either way. Units that touch none of those may skip it — say so. - `progress-tracker.md` shows the unit as complete or ready to close. - The repo is a git repository with a clean-enough working tree for this unit's changes. ## Argument Text after the command selects the unit and optionally the base branch (e.g. `/forge-pr unit 04` or `/forge-pr 04 onto develop`). No argument → take the unit marked complete/ready-to-close in the tracker. Either way, confirm the unit and the base branch (default `main`) with the user before pushing. ## Steps ### 1. Branch Create/switch to a branch named `feat/NN-feature-name` matching the unit (use `fix/` for bug-fix units, `chore/` for tooling). Check current branch and status first. ### 2. Stage and commit Stage the unit's changes. Write a Conventional Commit