decision-records
Creates, supersedes and validates decision records (ADRs) against the convention a collection already follows, instead of…
Creates GitHub Pull Requests with automated validation and task tracking. Use when user wants to create PR, open pull request, submit for review, or check if ready for PR. Analyzes commits, validates task completion, generates Conventional Commits title and description, suggests
Claude Code
$ npx -y skills add fvadicamo/dev-agent-skills --skill github-pr-creation --agent claude-code
Codex
$ npx skills add fvadicamo/dev-agent-skills --skill github-pr-creation -a codex -y
Cursor
$ npx skills add fvadicamo/dev-agent-skills --skill github-pr-creation -a cursor -y
Gemini CLI
$ npx skills add fvadicamo/dev-agent-skills --skill github-pr-creation -a gemini-cli -y
GitHub Copilot
$ npx skills add fvadicamo/dev-agent-skills --skill github-pr-creation -a github-copilot -y
OpenCode
$ npx skills add fvadicamo/dev-agent-skills --skill github-pr-creation -a opencode -y
Windsurf
$ npx skills add fvadicamo/dev-agent-skills --skill github-pr-creation -a windsurf -y
name: github-pr-creation description: Creates GitHub Pull Requests with automated validation and task tracking. Use when user wants to create PR, open pull request, submit for review, or check if ready for PR. Analyzes commits, validates task completion, generates Conventional Commits title and description, suggests labels. NOTE - for merging existing PRs, use github-pr-merge instead.
Creates Pull Requests with task validation, test execution, and Conventional Commits formatting.
!`git rev-parse --abbrev-ref HEAD 2>/dev/null` !`git log @{u}..HEAD --oneline 2>/dev/null || echo "(no upstream tracking)"`
**ALWAYS ask user before proceeding:**
Creating PR from [current-branch] to [target-branch]. Correct?
| Branch flow | Typical target | |-------------|---------------| | feature/* | develop | | fix/* | develop | | hotfix/* | main/master | | develop | main/master |
Look for task/spec files that describe what this PR should accomplish. Common locations by tool:
| Tool/Convention | Path | |-----------------|------| | Spec2Ship (s2s) | `.s2s/plans/*.md` (look for active plan matching branch name or commits) | | AWS Kiro | `.kiro/specs/*/tasks.md` | | Cursor | `.cursor/rules/*.md`, `.cursorrules` | | Trae | `.trae/rules/*.md` | | GitHub Issues | `gh issue list --assignee @me --state open` | | Generic | `docs/specs/`, `specs/`, `tasks.md`, `TODO.md` |
Extract task IDs, titles, descriptions, and requirements references when found.
For each commit on this branch, identify type, scope, task references, and breaking changes. Map commits to documented tasks when task files exist.
If task documentation exists:
1. Identify main task from branch name (e.g., `feature/task-2-*` -> Task 2) 2. Find all sub-tasks (e.g., Task 2.1, 2.2, 2.3) 3. Check which sub-tasks are referenced in commits 4. Report missing sub-tasks
**If tasks incomplete**, STOP and show status:
Task 2 INCOMPLETE: 1/3 sub-tasks missing - Task 2.1: done - Task 2.2: done - Task 2.3: MISSING
Ask user whether to complete missing tasks or proceed anyway.
Run the project test suite. Tests **MUST** pass before creating PR.
| Branch flow | Title prefix | |-------------|-------------| | feature/* -> develop | `feat(scope):` | | fix/* -> develop | `fix(scope):` | | hotfix/* -> main | `hotfix(scope):` | | develop -> main | `release:` | | refactor/* -> develop | `refactor(scope):` | | chore/* -> develop | `chore(scope):` | | ci/* -> develop | `ci(scope):` | | docs/* -> develop | `docs(scope):` |
**Title format**: `<type>(<scope>): <description>`
**Breaking changes**: if any commit contains `BREAKING CHANGE:` or `!` after type:
Use the appropriate template from `references/pr_templates.md` based on PR type and populate with gathered data.
**ALWAYS check available labels first:**
gh label list
Match commit types to available project labels. The project may use different names than standard (e.g., "feature" instead of "enhancement").
| Commit type | Common label names | |-------------|-------------------| | feat | feature, enhancement | | fix | bug, bugfix | | refactor | refactoring, tech-debt | | docs | documentation | | ci | ci/cd, infrastructure | | security | security | | hotfix | urgent, priority:high |
**If no matching label exists**: suggest creating one. The user may have removed default labels, so offering to add relevant ones is appropriate.
Check for open milestones:
gh api repos/$(gh repo view --json nameWithOwner -q '.nameWithOwner')/milestones \ --jq '.[] | select(.state == "open") | "\(.number): \(.title)"'
**ALWAYS show title, body, labels, and milestone for user approval first.**
gh pr create \ --title "[title]" \ --body "$(cat <<'EOF' [body content] EOF )" \ --base [base_branch] \ --label "[label1]" --label "[label2]" \ --milestone "[milestone-title]" \ --reviewer "[username]" # if teammates are known
Use `--draft` if the PR is not ready for merge review yet (work in progress, awaiting CI, or created only to trigger AI bot review on the branch).
Agent skills and hooks for development workflows - Git, GitHub, skill authoring, safety guardrails, public-repo privacy, and decision records. These skills are designed for Claude Code, the CLI tool by Anthropic.
Creates, supersedes and validates decision records (ADRs) against the convention a collection already follows, instead of…
Creates git commits following Conventional Commits format with type/scope/subject. Use when user wants to commit changes, create…
Merges GitHub Pull Requests after validating pre-merge checklist. Use when user wants to merge PR, close PR, finalize PR,…
Handles PR review comments and feedback resolution. Use when user wants to resolve PR comments, handle review feedback, fix…
Prevents private infrastructure details (node hostnames, internal project names, local usernames and personal emails, absolute…
Guide for creating Claude Code skills following Anthropic's official best practices. Use when user wants to create a new skill,…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.