meta-pr-creation
/meta-pr-creation
How an agent authors branches, commits, and pull requests on cipherstash/stack — naming, signed commits, the changeset/skills/meta-file checklist, and PR body structure with dumbed-down wording. Use when committing work or opening/updating a PR.
- Author
- cipherstash ↗
- Repository
- stack ↗
- Licence
- MIT
- Last repository change
- 24.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 24.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
How an agent authors branches, commits, and pull requests on cipherstash/stack — naming, signed commits, the changeset/skills/meta-file checklist, and PR body structure with dumbed-down wording. Use when committing work or opening/updating a PR.
Original author description
How an agent authors branches, commits, and pull requests on cipherstash/stack — naming, signed commits, the changeset/skills/meta-file checklist, and PR body structure with dumbed-down wording. Use when committing work or opening/updating a PR.
How it works
- Branch and commits
- Before opening the PR
- PR body
- Mechanics
SKILL.md preview
--- name: meta-pr-creation description: How an agent authors branches, commits, and pull requests on cipherstash/stack — naming, signed commits, the changeset/skills/meta-file checklist, and PR body structure with dumbed-down wording. Use when committing work or opening/updating a PR. --- # Authoring PRs as an agent Internal skill — lives in `.claude/skills/` on purpose. `skills/` ships to customers inside the `stash` tarball; this must not. ## Branch and commits - Branch names are type-prefixed slugs: `docs/skill-psl-functional-indexes`, `fix/…`, `feat/…`, `chore/…`. Never commit to `main`. - Commit subjects are conventional: `type(scope): imperative summary` — `docs(skills): …`, `fix(stack-prisma): …`. The body explains **why** and the mechanism, not a list of what changed (the diff shows that). Reference the GitHub issue the commit serves. - **Commits must be signed.** `commit.gpgsign` is on, but verify before pushing: ```bash git log --format='%h %G? %s' main..HEAD # G = signed, N = unsigned ``` An unsigned commit (`N`) in the stack: `git rebase --force-rebase main` re-commits everything signed, then `git push --force-with-lease`. Always `--force-with-lease`, never bare `--force`. ## Before opening the PR The authoritative checklist is `AGENTS.md` § "Adding Features Safely" — read it, don't work from memory. The three most-missed items: 1. **Changeset** — required when the change touches a published package's surface, *including* a `skills/`-only change (those ship in the `stash` tarball, so they need a `stash` patch changeset). A `.claude/`-only change is internal: no changeset. 2. **Skills check** — a change to a public API, CLI surface, or user-facing workflow must fix the affected `skills/*/SKILL.md` in the same PR (package→skill map in `AGENTS.md`). 3. **Meta files** — adding/removing/renaming a package, example, skill, or subpath export must update `AGENTS.md` Repository Layout and `SECURITY.md`. Then run: `pnpm run code:fix`, `pnpm --filter <pkg> build`, `pnpm --filter <pkg> test`. ## PR body Same wording rule as [meta-issue-creation](../meta-issue-creation/SKILL.md): **dumbed down** — assume the reviewer is new to CipherStash, stack, and EQL. Define product terms at first use; say what breaks or improves in the user's world, not just the code's. Sections, in order: - **Summary** — what and why, two or three plain sentences. Lead with the user-visible effect. - **Changes** — grouped by area, one line each. - **Verification** — exactly what was run and what it showed. Honest: a failing or skipped check is stated, not omitted. "Verified against the 0.17 dist" beats "should work". - **Related** — `Closes #N` / `Refs #N` for the GitHub issues this serves; cross-repo refs in full `owner/repo#N` form. - **Review notes** *(optional)* — where to look first, and anything deliberately deferred with the reason. Reference wording traps (same as issues): - `#N` **only** as a real GitHub issue/PR reference — GitHub autolinks every `#N`, so "option #2" mints a bogus link. Write "option 2". - **Never** reference internal Linear issues (`CIP-…`) in PRs, commits, or comments — GitHub is public. ## Mechanics - **Always open as a draft**: `gh pr create --draft --title '…' --body '…'` (title follows the commit-subject convention). Mark it ready for review only when the user says so — either ask, or rely on an explicit "open it ready" / "mark it ready" from them. `gh pr ready <number>` flips it. - Force-pushing a branch with an open PR is fine (rebases, re-signs) — but say so in a PR comment when the rewrite changes more than commit hashes. - Don't merge, close, or mark ready-for-review without being asked.
Versions
The database has no other skills named meta-pr-creation.
Database snapshot: 13.11.2026 · package version 6a147ed53020 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 100meta-issue-creation
How an agent files a GitHub issue on cipherstash repos — required structure (Background / Problem / Proposal), dumbed-down wording rules, and pre-filing checks. Use whenever drafting or filing an issue on this repo or a sibling CipherStash repo (encrypt-query-language, protectjs-ffi, …). - 100git-practices
Git conventions for branches, commits, and pull requests. Load this skill whenever creating branches, writing commit messages, or opening PRs. Trigger on any git workflow operation — commits, branches, pull requests, or merge operations. - 100git-flow
Git branching, commit, and PR procedures. Use when creating branches, making commits, or opening pull requests. Enforces branch naming, commit message format, and PR rules. - 100changeset
Create a changeset for the changes in a branch. Use when: the user asks to create a changeset, add a changeset, generate a changeset, or write release notes for changed packages. - 100git-commit-and-workflow
Git commit, branch and pull request best practices using Conventional Commits. Use whenever creating commits, naming branches, preparing pull requests, writing commit messages, or when asked to commit, push, merge or release code. - 95pr
Runs the git and GitHub pull request workflow of any repository - opens and updates pull requests, names and creates branches, makes semantic commits, watches a PR for failed checks and reviewer comments, and resolves review threads with the gh CLI. Use when opening or updating…