github-pr-description
하는 일
이 스킬은 브랜치의 커밋과 변경 사항을 읽고, 전체 풀 리퀘스트 설명을 작성한 뒤 GitHub 명령줄 도구로 풀 리퀘스트를 만듭니다. 설명을 직접 쓰지 않고도 명확한 설명을 원하는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓풀 리퀘스트를 열 준비가 되었고 명확한 설명이 필요할 때.
- ✓브랜치에 리뷰어에게 설명해야 할 커밋이 여러 개 있을 때.
- ✓무엇이 바뀌었고 왜 바뀌었으며 어떻게 테스트하는지를 설명에 담고 싶을 때.
스킬 링크
https://github.com/tailcallhq/forgecode/blob/main/crates/forge_repo/src/skills/github-pr-description/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“내 브랜치의 풀 리퀘스트 설명을 작성하고 풀 리퀘스트를 열어 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 브랜치를 확인하고, 커밋 메시지와 차이점을 읽고, 변경 유형을 고른 뒤 설명을 작성합니다. 그다음 GitHub 도구로 풀 리퀘스트를 만듭니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Create PR Description
Generate comprehensive pull request descriptions and create PRs using GitHub CLI.
Workflow
1. Verify Prerequisites
Check that there are changes to create a PR for:
# Get current branch
git branch --show-current
# Verify branch is not main/master
# Verify there are commits ahead of main
git log origin/main..HEAD --oneline
If on main/master or no commits ahead, inform the user there's nothing to create a PR for.
2. Analyze Changes
Gather context about the changes:
# Get commit messages
git log origin/main..HEAD --pretty=format:"%s"
# Get diff summary (files changed)
git diff origin/main..HEAD --stat
# Get actual code changes (sample key files if diff is large)
git diff origin/main..HEAD
For large diffs: Focus on the most meaningful changes. Sample key files rather than reading everything.
3. Determine Change Type
Classify the PR into one of these categories:
- fix: Bug fixes, error corrections, resolving issues
- feature: New functionality, capabilities, or enhancements
- performance: Speed improvements, optimization, efficiency gains
- refactor: Code restructuring without changing behavior
- docs: Documentation changes
- test: Test additions or improvements
- chore: Maintenance tasks, dependencies, configuration
Base this on:
- Commit messages (keywords like "fix", "add", "optimize", "refactor")
- Nature of code changes (new files = feature, test fixes = fix, etc.)
- Scope of changes
4. Generate Description
Create a comprehensive description with this structure:
## Summary
[One sentence explaining what this PR does and why it matters]
## Context
[Background information, related issues, previous work, or the problem being solved]
## Changes
[High-level description of what changed]
### Key Implementation Details
[Technical details that help reviewers understand the approach, especially for complex changes]
## Use Cases
[Concrete examples of how this will be used - helps reviewers understand practical value]
## Testing
[How to test the changes - step-by-step instructions]
## Links
- Related issues: #123, #456
- Documentation: URL (if applicable)
- Original implementation: URL (if applicable)
Description Guidelines
Essential Elements:
- Summary: One clear sentence explaining the change and its value
- Context: Why this change was needed, what problem it solves
- Changes: What was actually changed at a high level
- Testing: How reviewers can verify the changes
Optional but Recommended:
- Implementation Details: For complex changes, explain the technical approach
- Use Cases: Concrete examples of how the feature will be used
- Links: Related issues, documentation, papers, or original implementations
- Known Issues: Any limitations or known problems
What to Avoid:
- Empty descriptions or just issue links
- Placeholder text like "Fixes #(issue)"
- File-by-file breakdowns (unless necessary)
- Low-level implementation details (keep it high-level)
- Boilerplate statements
- Personal checklists as the main description
Description Examples
Example 1: Feature Addition
## Summary
Add semantic code search to enable searching codebase by concepts and behavior rather than exact string matching.
## Context
Currently, users can only search using exact string matching, which makes it difficult to find code based on functionality or behavior. This has been a recurring request in issues #123 and #456.
## Changes
- Implemented semantic search using vector embeddings
- Integrated with existing search interface
- Added support for multiple concurrent queries with result aggregation
- Configurable search scope (entire codebase or specific directories)
### Key Implementation Details
Uses OpenAI embeddings for code representation and cosine similarity for matching. Index is built incrementally to support large codebases. Search results are reranked based on code context and usage patterns.
## Use Cases
- Find authentication flow without knowing exact function names
- Locate retry logic across the codebase
- Search for "database connection" patterns
## Testing
```bash
# Run the search service
npm run search:dev
# Test semantic queries
curl -X POST http://localhost:3000/search \
-H "Content-Type: application/json" \
-d '{"query": "user authentication"}'
Links
- Related issues: #123, #456
- Documentation: /docs/semantic
자주 묻는 질문
메인 브랜치에 있으면 어떻게 하나요?
스킬이 멈춥니다. 메인 브랜치에서는 열 풀 리퀘스트가 없기 때문입니다.
큰 변경은 어떻게 처리하나요?
모든 줄을 읽기보다 가장 중요한 변경에 집중합니다.
GitHub CLI가 필요한가요?
네. 풀 리퀘스트를 만들기 위해 gh 명령줄 도구를 사용합니다.
상세 정보
작성자의 원본 설명
Generate and create pull request descriptions automatically using GitHub CLI. Use when the user asks to create a PR, generate a PR description, make a pull request, or submit changes for review. Analyzes git diff and commit history to create comprehensive, meaningful PR descriptions that explain what changed, why it matters, and how to test it.
repo: tailcallhq/forgecode
인기도
- GitHub 스타
- 7.6k
- 순위
- #13118
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 1.
댓글
- …
이 저장소의 다른 스킬
create-agent
7.6k에이전트가 Forge 코딩 앱용 맞춤 에이전트를 만들거나 바꾸도록 가르칩니다. 설정이 맨 위에 있는 마크다운 파일로 저장됩니다.
create-command
7.6k에이전트가 Forge 코딩 앱에서 반복해서 쓸 명령을 만들도록 가르칩니다. 순서대로 실행되는 마크다운 단계로 작성됩니다.
create-github-issue
7.6k에이전트가 저장소의 이슈 템플릿을 따르고, 알맞은 항목과 라벨을 갖춘 GitHub 이슈를 등록하도록 돕습니다.
create-plan
7.6k에이전트가 복잡한 작업을 위해 단계, 위험, 대안을 담은 상세한 구현 계획을 코드 변경 전에 작성하도록 돕습니다.