Oss PR
Use when creating a pull request, after committing changes, or when user invokes /oss-pr.
Install
npx skills add FerroxLabs/wayland --skill oss-pr -g -a claude-code -y- Repository
- FerroxLabs/wayland616
- Category
- Git and review
- Updated
- 4d ago
- License
- AGPL-3.0
- Context cost
- Lightabout 1,010 tokens
- Runs scripts
- No, instructions only
What it does
Use when creating a pull request, after committing changes, or when user invokes /oss-pr. Covers branch management, quality checks, commit, push, and PR creation.
OSS PR
Smart commit + PR workflow: branch management → quality checks → tests → commit → push → PR.
Announce at start: "Using oss-pr skill to commit and open a pull request."
Workflow
Step 0: Gather Info
git branch --show-current
git diff --name-only HEAD
git status --short
git config user.name
Branch rules:
- If already on a feature branch: proceed directly
- If on
mainormaster: auto-generate a branch name, create and switch immediately - no confirmation needed
Auto-generating a branch name:
Analyze the changed files from git diff --name-only HEAD to infer:
- type - pick one:
feat/fix/refactor/chorefeat: new user-facing functionalityfix: bug fixrefactor: restructuring without behavior changechore: config, scripts, skills, docs, deps
- slug - 2, 3 lowercase words derived from the most relevant changed paths, joined by hyphens. Keep it short and specific.
Create branch {username}/{type}/{slug} directly and announce the name chosen.
Branch naming reference:
| Type | Example |
|---|---|
| feat | {prefix}/feat/dark-mode |
| fix | {prefix}/fix/crash-on-open |
| refactor | {prefix}/refactor/settings |
| chore | {prefix}/chore/update-deps |
Step 1: Quality Checks
| Command | Scope | Skip when |
|---|---|---|
bun run format | .ts/.tsx/.css/.json/.md | Never - always run |
bun run lint | .ts/.tsx only | No .ts/.tsx files changed |
bunx tsc --noEmit | .ts/.tsx only | No .ts/.tsx files changed |
Run in this order: format → lint → tsc.

