본문으로 건너뛰기
cccskills
무료GitHub에 공개

pr-creator

Create comprehensive pull requests with detailed descriptions, test plans, and proper git workflow. Use when finalizing features to ensure high-quality PRs.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구GitHub
설치 방법 보기

포함된 파일(4)

  • SKILL.md5.2 KB
  • templates/comprehensive.md3.0 KB
  • templates/minimal.md203 B
  • templates/standard.md698 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Pull Request Creator Skill

Purpose

Systematic guidance for creating high-quality pull requests with comprehensive descriptions and proper commit messages.

When to Use

  • Called by /ship after /pre-commit passes — standard path
  • Directly when you've already committed and pushed manually and need a PR
  • Following git workflow best practices

Called by /ship? Skip Step 1 (pre-flight). /pre-commit already ran. Start at Step 1.5.

PR Creation Workflow

1. Pre-Flight Checks (skip if called by /ship)

# All changes committed
git status
# Should show: "nothing to commit, working tree clean"

# All tests passing
pytest

# Code quality checks passed
/quality-check

# CHANGELOG updated
head -50 CHANGELOG.md

If any check fails: Fix before proceeding.


1.5. Release Artifact Verification

Run /release verify commits to check commit↔changelog consistency.

If result is WARN or FAIL: report the unmatched commits, ask user whether to fix now (run /release changelog) or proceed anyway.

Additionally check:

# Detect version files in the project
for f in pyproject.toml package.json setup.cfg Cargo.toml; do
  [[ -f "$f" ]] && echo "Version file found: $f"
done

# Check for hardcoded version strings in README
grep -n 'v[0-9]\+\.[0-9]\+\.[0-9]\+' README.md 2>/dev/null || echo "No version refs in README"

# Check roadmap
[[ -f ROADMAP.md ]] && echo "ROADMAP.md exists — verify it reflects shipped features"

# Check project-level CLAUDE.md
[[ -f CLAUDE.md ]] && echo "CLAUDE.md exists — verify new features/skills documented"

Checklist (verify each, report missing):

  • CHANGELOG.md — /release verify commits PASS or acknowledged WARN
  • Version files — if release PR, version bumped in detected files
  • README.md — hardcoded version references updated (if any)
  • ROADMAP.md — updated if exists and features affect roadmap
  • Project CLAUDE.md — reflects new features/skills/rules if applicable

If any item is missing: report clearly, ask user whether to fix now or proceed.


2. Review Changes

# Detect base (supports release/* sub-branching)
# Try upstream tracking branch first, then fall back to main
BASE_BRANCH=$(git config "branch.$(git branch --show-current).merge" 2>/dev/null | sed 's|refs/heads/||')
if [[ -z "$BASE_BRANCH" ]]; then
  # No upstream configured — check if branch was created from a release/*
  PARENT=$(git log --oneline --decorate --all --ancestry-path HEAD 2>/dev/null | grep -m1 'origin/release/' | sed 's|.*origin/\(release/[^ ,)]*\).*|\1|')
  BASE_BRANCH="${PARENT:-main}"
fi

# View commits in feature branch
git log --oneline "$BASE_BRANCH"..HEAD

# View files changed
git diff --stat "$BASE_BRANCH"..HEAD

3. Push to Remote

git push -u origin feature/issue-123-description

4. Create Pull Request

PR Title Format: <type>: <brief description> (#<issue>)

Commit Types: feat, fix, docs, style, refactor, perf, test, chore

Create PR with gh CLI:

gh pr create \
  --title "feat: implement feature (#123)" \
  --body "$(cat <<'EOF'
[PR description from template]
EOF
)"

PR Templates

Templates are in templates/ directory:

  • minimal.md - Quick fixes, small changes
  • standard.md - Normal features
  • comprehensive.md - Major features, complex changes

Choose based on PR scope.


5. Update Project Tracking

Update TASK.md to mark issue completed with PR link.


6. Verify PR Quality

# View PR in browser
gh pr view --web

# Check CI status
gh pr checks

Quality Checklist:

  • PR title follows conventional commits
  • PR description comprehensive
  • Test coverage details included
  • Breaking changes documented
  • Issue references included (Closes #123)
  • All CI checks passing

Git Workflow

Branch Naming

<type>/<issue-number>-<brief-description>

Examples:

  • feature/123-user-authentication
  • fix/124-memory-leak
  • docs/125-api-documentation

Keeping Branch Updated

# Rebase on main
git fetch origin main
git rebase origin/main

# Force push (if already pushed)
git push --force-with-lease

Common Issues

PR too large

Break into smaller PRs, create epic issue for tracking.

Merge conflicts

git checkout main && git pull
git checkout feature/123 && git rebase main
# Resolve conflicts
git push --force-with-lease

CI checks failing

gh pr checks
# Fix issues locally, commit, push

Quick Reference

# Create PR
gh pr create --title "..." --body "..."

# View PR
gh pr view 123

# Edit PR
gh pr edit 123

# Check status
gh pr checks

Related Skills

  • /quality-check - Run before PR
  • /release changelog - Update CHANGELOG
  • /pre-commit - Full validation suite
  • /review changes - Companion review (run before PR)
  • /pr-merge - Post-PR merge workflow
  • /release plan - Version planning

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Validate WCAG 2.1 Level AA compliance and accessibility best practices. Use when performing accessibility audits and WCAG certification.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

matteocervelli/llms252026년 5월 22일 업데이트

analysis

무료

Analyze feature requirements, dependencies, and security considerations. Use when starting feature implementation from GitHub issues to understand scope, technical feasibility, and risks.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

matteocervelli/llms252026년 5월 22일 업데이트

analytics

무료

Run SQL queries against psql, BigQuery, or MySQL from the terminal, including natural-language-to-SQL and schema exploration. Use when analyzing data, inspecting DB state, or debugging tables. Trigger on "query the database", "SQL", "show me data from", "explore table".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

matteocervelli/llms252026년 5월 22일 업데이트

Design REST APIs or function contracts with clear request/response specifications, error handling patterns, authentication strategies, and comprehensive documentation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

matteocervelli/llms252026년 5월 22일 업데이트

Generate comprehensive API endpoint tests for REST and GraphQL APIs. Creates tests for all HTTP methods, status codes, authentication, and validation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

matteocervelli/llms252026년 5월 22일 업데이트

Design component architecture and module structure using established architectural patterns for clean, maintainable, and scalable systems.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

matteocervelli/llms252026년 5월 22일 업데이트

matteocervelli의 스킬 모두 보기

이 스킬의 문제 신고