# Petermefrandsen Agentic Audits Prepare Pr

> Prepare Pull Request

- Skill: `tomevault-io/petermefrandsen-agentic-audits-prepare-pr` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/petermefrandsen-agentic-audits-prepare-pr`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/petermefrandsen-agentic-audits-prepare-pr/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/petermefrandsen-agentic-audits-prepare-pr

---


# Prepare Pull Request

## When to use

Use this skill after making file changes that should be submitted as a pull
request for review, rather than pushed directly to the default branch.

## Instructions

1. **Create a branch** from the current HEAD:
   ```bash
   BRANCH="agent/$(date +%Y%m%d-%H%M%S)-${MISSION_SLUG}"
   git checkout -b "${BRANCH}"
   ```

2. **Stage changes** selectively — only include files that were intentionally
   modified by the mission. Do NOT stage unrelated files:
   ```bash
   git add <changed-files>
   ```

3. **Commit** using Conventional Commits format:
   ```
   <type>(<scope>): <short summary>

   <body — what changed and why>
   ```
   Types: `fix`, `feat`, `docs`, `refactor`, `chore`, `ci`, `test`.

4. **Push** the branch:
   ```bash
   git push origin "${BRANCH}"
   ```

5. **Open a Pull Request** using `gh pr create`. Always use the project's PR template at `.github/pull_request_template.md`:
   ```bash
   gh pr create \
     --title "<type>(<scope>): <summary>" \
     --body-file .github/pull_request_template.md \
     --base main
   ```

6. **Update PR Body**. After creating the PR with the template, update the description using `gh pr edit` to include specific details about your changes, keeping the template structure intact.

## Rules

- Never force-push.
- Never commit secrets, tokens, or credentials.
- Keep commits atomic — one logical change per commit.
- If there are no changes to commit, exit gracefully with a message.

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/petermefrandsen) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-11 -->

