원클릭으로
creating-pr-description
Systematic workflow for filling out PR templates with complete documentation and analysis
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Systematic workflow for filling out PR templates with complete documentation and analysis
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Research and save a book, video, blog post, article, paper, podcast, link, or other resource into memory. Use when the user says "/save", "save this", "remember this", "store this resource", or asks Claude to quickly research something and log it into `~/Dropbox/memory/resources/`.
Use when creating a pull request, opening a PR, or when work on a branch is ready for review
Check Railway services (api/web) for errors, view logs, and fix deployment issues. Use when deployments fail, services are unhealthy, or you need to investigate production errors.
Scan an entire repository and produce a long-term improvement plan. Use when the user says "improvement plan", "/improvement-plan", "roadmap", "what should we improve", "long-term plan", "tech debt audit", "codebase review", or asks to analyze the project for future improvements, refactoring opportunities, or strategic technical direction.
Ask clarifying questions when a task is ambiguous or underspecified before implementing. Identifies missing objectives, acceptance criteria, scope, constraints, and environment details, then presents concise numbered questions with multiple-choice options and sensible defaults. Do not use automatically, only when invoked explicitly
Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Focuses on recently modified code unless instructed otherwise.
| name | creating-pr-description |
| description | Systematic workflow for filling out PR templates with complete documentation and analysis |
This skill guides you through filling out pull request templates that follow best practices and include all required information. Assumes the PR has been created manually (usually as a draft) and needs a complete description.
gh CLI access.github/PULL_REQUEST_TEMPLATE.mdCopy the PR template to work with:
cp .github/PULL_REQUEST_TEMPLATE.md pr-description.txt
Why: Working with a copy prevents accidental template modifications.
If you haven't created the PR yet:
gh pr create --draft \
--title "WIP: [Brief Description]" \
--body "Draft PR - filling out template" \
> draft_pr_info.txt && cat draft_pr_info.txt
Important:
--base BRANCH_NAME if targeting non-main branchdraft_pr_info.txtIF NEEDED: Use the fetch-pr-data skill to gather all PR information. This will create files:
pr_{pr_number}_info.json - PR details, files, reviewspr_{pr_number}_diff.txt - Complete code diffpr_{pr_number}_review_comments.json - Inline commentspr_{pr_number}_diff_stats.txt - Change statisticspr_{pr_number}_checks.txt - CI statusSee the fetch-pr-data skill for detailed information on what each file contains and how to use it.
Based on gathered information, systematically analyze:
Scope Analysis:
Type Classification:
Risk Assessment:
Customer Impact:
Fill these sections based on your analysis:
Summary:
Jira Task:
Public Release Notes:
Release Change Category: Select exactly one:
Behind Feature Flag: Scan code for feature flag patterns:
featureFlag, feature-flag, FeatureFlagCheck these locations:
environments/common/npm/feature-flags/src/types.ts - Flag namesenvironments/common/npm/feature-flags/src/flags.ts - DevelopmentOnly/ExperimentalSelect one:
Feature Flags:
Checkboxes: Auto-tick relevant boxes based on your changes:
CRITICAL: Read the impact analysis guidelines first:
How to write impact analysis How to access the impact level
Based on guidelines, write impact analysis with length appropriate to level:
Select impact level:
CRITICAL: Read the test plan guidelines first:
How to write a test plan Note that the test-plan is for manual testing for Developers (Write Dev Only: [the test plan]) often something like, test endpoint directly, run migrations up and down if applicable etc. and QA Test: These are tests that our QA colleagues execute mannually from the frontend, rarely do they also test from postman. If there's a FF involved it should inclue the various cases.
Write appropriate test plan based on change type:
For New Features:
For Bug Fixes:
For Refactoring:
For API Changes:
🚨 CRITICAL: Your PR description must be a 1:1 copy of the template with only:
[x]You MUST preserve: ✅ All section headers exactly as they appear ✅ All markdown formatting and spacing ✅ All bullet points and structure ✅ All checkbox options (tick only one per section)
Example of correct checkbox handling:
## Level of Impact
Please select exactly one option.
- [ ] 1 - High
- [x] 2 - Medium ← Only tick the appropriate box
- [ ] 3 - Low
- [ ] 4 - No-op
Present the complete filled template to the user and ask:
Wait for user confirmation before proceeding.
Once approved:
Update PR with complete description:
gh pr edit {PR-number} \
--title "[Category]: [Concise summary]" \
--body-file pr-description.txt \
> pr_edit_result.txt && cat pr_edit_result.txt
Title Format: Use the appropriate category prefix:
Copilot: General Copilot featuresAI Agents: AI agent configuration, management, or executionAiTools: Changes only to our serviceExamples:
Copilot(UI): fix parallel tool approval UI collapse behaviorAI Agents(permissions): add granular permissions for custom rolesAiTools(dependency): add stations-crud dependencyMark as ready for review:
gh pr ready {PR-number} > pr_ready_result.txt && cat pr_ready_result.txt
Verify PR was updated:
gh pr view {PR-number}
Clean up temporary files:
rm pr-description.txt draft_pr_info.txt pr_*
❌ Don't skip analysis: Never fill template before analyzing code ❌ Don't modify template structure: Preserve exact formatting ❌ Don't skip guideline reading: Impact and test plans need context ❌ Don't assume tool output: Always write to file and read back ❌ Don't rush to ready: Keep as draft until template is complete ❌ Don't forget cleanup: Remove temporary files after completion