Skip to content
Back to skills

Change Pr

ASecurity

Open a GitHub pull request for an OpenSpec change with Change-Id trailers on every commit and links to the change, its specs and tests in the description. Use when the user asks to open, create or prepare a PR for a change.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 24, 2026
ai-agentsbashgitfrontendbackendsecurity

Security analysis

A100/100

Scanned November 24, 2026

npx -y skills add Vlad-Movchan/specjig --skill change-pr --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Change Pr?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Change Pr
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vlad-movchan-change-pr/badge)](https://www.skillsdirectory.com/skills/vlad-movchan-change-pr)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: change-pr
description: Open a GitHub pull request for an OpenSpec change with Change-Id trailers on every commit and links to the change, its specs and tests in the description. Use when the user asks to open, create or prepare a PR for a change.
---

# PR for a change

Thin wrapper over `gh pr create` that makes the PR traceable to its OpenSpec change.

## 1. Identify the change

The change id is the folder name under `openspec/changes/`. Take it from the user, from the
`Change-Id` trailers on the branch, or from the only active change. If several are possible, ask.

## 2. Check the commits

```bash
git log --format='%h %s%n%(trailers:key=Change-Id,valueonly)' origin/HEAD..HEAD
```

Every commit needs `Change-Id: <id>` (or `none` for non-behavioral commits). If one is
missing, tell the human and propose `git rebase -x` / an amend; do not rewrite pushed history
without approval.

## 3. Check readiness

- `npx openspec validate <id> --strict` passes.
- All tasks in the layer(s) this PR covers are checked in `tasks.md`.
- Tests listed in `tests.md` for those tasks exist and pass.
- High risk: `challenge.md` exists and `/security-review` was run.

Report anything missing instead of opening the PR.

## 4. Create the PR

Title: `<type>(<capability>): <summary>`. Labels: `low-risk` when the proposal says
`Risk: low`; otherwise none (high risk is the default). Body:

```markdown
## Change
[`<id>`](openspec/changes/<id>/proposal.md) · Risk: <low|high> · Layer: <backend|frontend|all>

<Why, 1–3 sentences from proposal.md>

## Specs
- [`<capability>`](openspec/changes/<id>/specs/<capability>/spec.md): ADDED/MODIFIED requirements …

## Tests
<Scenario → test file mapping from tests.md for what this PR implements>

## Design
[design.md](openspec/changes/<id>/design.md) · [challenge.md](openspec/changes/<id>/challenge.md) (if present)

## Checklist
- [ ] `openspec validate --strict` green
- [ ] Every commit has `Change-Id: <id>`
- [ ] No PII/PHI or secrets in code, tests, logs, fixtures
```

Use relative links: GitHub resolves them against the PR branch. Push and `gh pr create`
need the human's approval.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.