मुख्य सामग्री पर जाएँ
Skillpedia
सामान्य कोडिंग7.6k · #13118

github-pr-description

यह क्या करती है

यह स्किल आपकी ब्रांच के commits और बदलाव पढ़ती है, पूरा pull request विवरण लिखती है, और GitHub कमांड लाइन टूल से pull request बनाती है। यह उन डेवलपर्स के लिए है जिन्हें खुद हाथ से लिखे बिना साफ़ विवरण चाहिए।

कब इस्तेमाल करें

  • ✓जब आप pull request खोलने के लिए तैयार हैं और साफ़ विवरण चाहते हैं।
  • ✓जब आपकी ब्रांच में कई commits हैं जिन्हें रिव्यूअर के लिए समझाना है।
  • ✓जब आप चाहते हैं कि विवरण में बदला क्या, क्यों, और उसकी जाँच कैसे करें, यह सब हो।

Skill का लिंक

https://github.com/tailcallhq/forgecode/blob/main/crates/forge_repo/src/skills/github-pr-description/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/tailcallhq/forgecode/blob/main/crates/forge_repo/src/skills/github-pr-description/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“क्या आप मेरी ब्रांच के लिए pull request का विवरण लिख सकते हैं और pull request खोल सकते हैं?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट ब्रांच जाँचता है, commit संदेश और अंतर पढ़ता है, बदलाव का प्रकार चुनता है और विवरण लिखता है। फिर वह GitHub टूल से pull request बनाता है।

तकनीकी सामग्री (मूल 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
अक्सर पूछे जाने वाले सवाल

अगर मैं main ब्रांच पर हूं तो?

स्किल रुक जाती है, क्योंकि main ब्रांच से pull request खोलने के लिए कुछ नहीं होता।

बड़े बदलावों को यह कैसे संभालता है?

यह हर लाइन पढ़ने के बजाय सबसे ज़रूरी बदलावों पर ध्यान देता है।

क्या इसके लिए GitHub CLI चाहिए?

हां। यह pull request बनाने के लिए 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
अपडेट की गई
1/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

create-agent

7.6k

यह आपके एजेंट को Forge कोडिंग ऐप के लिए कस्टम एजेंट बनाने या बदलने में मदद करती है, जो markdown फ़ाइलों में ऊपर सेटिंग के साथ रखे जाते हैं।

AI और एजेंटएजेंट

create-command

7.6k

यह आपके एजेंट को Forge के लिए दोबारा चलने वाले कमांड बनाना सिखाती है, जो क्रम से चलने वाले markdown चरणों के रूप में लिखे जाते हैं।

AI और एजेंटएजेंट

create-github-issue

7.6k

यह आपके एजेंट को GitHub इश्यू बनाने में मदद करती है, जो रिपॉज़िटरी के अपने issue टेम्पलेट का पालन करे, सही फ़ील्ड और लेबल के साथ।

कोडिंगसामान्य कोडिंग

create-plan

7.6k

यह आपके एजेंट को किसी जटिल काम के लिए चरणों, जोखिमों और विकल्पों वाली विस्तृत योजना लिखने में मदद करती है, कोड बदलने से पहले।

प्रोडक्टिविटीटास्क और प्रोजेक्ट

मिलती-जुलती skills