Skip to content
create-feature-pr logo

Create Feature PR

create-feature-pr

Create a new feature branch, implement feature work, commit with semantic-commit, and open a PR with gh using standardized templates. Use when the user asks to develop a new feature, start a feature branch, or open a feature PR; also when asked to draft a feature PR based on the latest commit mes...

SKILL.md

Full skill instructions

Create Feature PR

Contract

Prereqs:

  • Run inside the target git repo with a clean working tree (or stash unrelated changes).
  • git and gh available on PATH, and gh auth status succeeds.
  • $AGENT_KIT_HOME points at the repo root (or tools are otherwise available).

Inputs:

  • Feature summary + acceptance criteria (preferred) or inferred from the latest commit subject.
  • Related progress file path under docs/​progress/ to link in the PR body.

Outputs:

  • A new branch feat/<slug>, one or more commits, and a GitHub PR created via gh.
  • PR body populated from references/​PR_TEMPLATE.md with a full GitHub URL to the progress file.

Exit codes:

  • N/​A (multi-command workflow; failures surfaced from underlying git/gh commands)

Failure modes:

  • Dirty working tree or wrong base branch.
  • Missing gh auth or insufficient permissions to push/​create PR.
  • PR body missing required sections or missing/​invalid progress link.

Setup

  • Load commands with source $AGENT_KIT_HOME/​scripts/​kit-tools.sh

Inputs

  • Prefer explicit user feature description and acceptance criteria.
  • If missing, read the latest commit message: git log -1 --pretty=%B.
  • If still unclear, ask for a 1-2 sentence feature summary and expected behavior.

Branch naming

  • Prefix: feat/.
  • Build the slug from the feature summary or latest commit subject.
  • Slug rules: lowercase; replace non-alphanumeric with hyphens; collapse hyphens; trim to 3-6 words.
  • If a ticket ID like ABC-123 appears, prefix it: feat/​abc-123-<slug>.

Workflow

  1. Confirm the working tree is clean; stash or commit if needed.
  2. Determine the base branch (default origin/​HEAD); ask if unclear.
  3. Create the branch: git checkout -b feat/<slug>.
  4. Implement the feature with minimal scope; avoid unrelated refactors.
  5. Add or update tests when reasonable; run available lint/​test/​build commands.
  6. Commit using the semantic-commit skill; prefer a single commit unless splitting is justified.
  7. Push the branch and open a PR with gh pr create using references/​PR_TEMPLATE.md.

PR rules

  • Title: capitalize the first word; reflect the feature outcome; do not reuse the commit subject verbatim.
  • Replace the first H1 line in references/​PR_TEMPLATE.md with the PR title.
  • Progress: include a link to the related progress file under docs/​progress/ (and update to docs/​progress/​archived/ when DONE).
    • Use a full GitHub URL (e.g. https://github.com/<owner>/<repo>/​blob/<branch>/​docs/​progress/​...) because PR bodies resolve relative links under /​pull/.
  • Always include Summary, Changes, Testing, and Risk/​Notes sections.
  • If tests are not run, state "not run (reason)".
  • Use scripts/​render_feature_pr.sh --pr to generate the PR template quickly.

Output

  • Use references/​OUTPUT_TEMPLATE.md as the response format.
  • Use scripts/​render_feature_pr.sh --output to generate the output template quickly.

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View