PR Writing
The helper script lives at scripts/pr_writer.py relative to this skill's directory (the harness resolves it). Run it from the user's repo with the script's absolute or skill-relative path:
python3 <skill-dir>/scripts/pr_writer.py
Steps
- Run helper or inspect branch. Done when source, target, commits, changed files known.
- Detect profile or accept
--profile. Draft with Description, Test Plan, Test Result, Code Risk, Links. Add Screenshot only for frontend.
- Every claim must be supported by local context. Unknowns labeled, not invented.
Completion: body has applicable headings, profile matches repo, unknowns labeled.
Commands
draft --repo-dir . [--target main] [--format toon] [--profile frontend]
Profiles
| Signal |
Profile |
| React, Next, Vue, Nuxt, Svelte, Angular, Astro, Preact, React Native |
frontend |
Flutter pubspec.yaml |
frontend |
Dart pubspec.yaml |
dart |
go.mod |
go |
| None |
generic |
1---2name: pr-writing3description: Draft PR descriptions from local git history.4---56# PR Writing78The helper script lives at `scripts/pr_writer.py` relative to this skill's directory (the harness resolves it). Run it from the user's repo with the script's absolute or skill-relative path:910```bash11python3 <skill-dir>/scripts/pr_writer.py12```1314## Steps15161. Run helper or inspect branch. Done when source, target, commits, changed files known.172. Detect profile or accept `--profile`. Draft with Description, Test Plan, Test Result, Code Risk, Links. Add Screenshot only for `frontend`.183. Every claim must be supported by local context. Unknowns labeled, not invented.1920Completion: body has applicable headings, profile matches repo, unknowns labeled.2122## Commands2324```bash25draft --repo-dir . [--target main] [--format toon] [--profile frontend]26```2728## Profiles2930| Signal | Profile |31|---|---|32| React, Next, Vue, Nuxt, Svelte, Angular, Astro, Preact, React Native | `frontend` |33| Flutter `pubspec.yaml` | `frontend` |34| Dart `pubspec.yaml` | `dart` |35| `go.mod` | `go` |36| None | `generic` |