Community라이팅 & 에디팅github.com

PR 설명 작성기

사용자가 현재 브랜치에 대한 GitHub 풀 리퀘스트 설명을 작성, 초안 생성, 업데이트를 요청할 때 사용합니다. 브랜치의 diff와 커밋 메시지를 읽고 구조화된 PR 본문(요약, 변경사항, 테스트)을 작성하며, 선택적으로 gh CLI를 통해 PR을 생성하거나 업데이트합니다.

PR 설명 작성기란 무엇인가요?

이 스킬은 GitHub 풀 리퀘스트(PR) 설명을 자동으로 생성하고 관리하는 AI 에이전트 기능입니다. 사용자가 PR 설명 작성을 요청하면 현재 브랜치의 diff와 커밋 메시지를 분석하여 요약, 변경사항, 테스트 방법을 포함한 구조화된 PR 본문을 작성합니다. 또한 gh CLI를 통해 새로운 PR을 생성하거나 기존 PR을 업데이트할 수 있습니다. 주요 지원 플랫폼은 GitHub CLI(gh)이며, Git 저장소와 브랜치가 필요합니다. 동작 방식은 5단계로 구성됩니다: 설정 확인, diff 컨텍스트 수집, 포맷 가이드 참조, 설명 생성, PR 생성/업데이트. 특히 `references/pr-format-guide.md` 파일을 읽어 사용자 지정 형식을 적용할 수 있으며, 500줄 이상의 큰 diff는 요약만 읽어 효율적으로 처리합니다. 생성된 설명은 능동태, 구체적인 수치, 간결한 문장 규칙을 따르며, QA 체크포인트를 통해 품질을 검증합니다.

지원 대상✓Claude Code~Codex CLI~Cursor✓Gemini CLI
npx skills add https://github.com/Varnan-Tech/opendirectory/tree/main/skills/pr-description-writer

Installed? Explore more 라이팅 & 에디팅 skills: steipete/notion, langchain-ai/langchain, bytedance/podcast-generation · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

PR 설명 작성기은(는) 무엇을 하나요?

현재 브랜치의 diff를 읽고 완전한 GitHub 풀 리퀘스트 설명을 작성합니다. 하나의 명령어로 PR을 생성하거나 업데이트하세요.

작성 스타일

다음 규칙을 모든 생성된 PR 설명에 적용하세요:

  • 능동태 사용: "X가 추가됨" 대신 "X를 추가함"
  • 요약에는 현재 시제("캐싱 레이어 추가"), 맥락에는 과거 시제("기존 방식은 렌더당 N개의 요청을 발생시킴")
  • 짧은 문장, 한 가지 아이디어당 하나의 불릿
  • 줄표(em dash) 사용 금지 — 대신 쉼표나 마침표 사용
  • 불필요한 표현 금지: "이 PR", "이 커밋", "논의에 따라"
  • 일반적인 표현보다 구체적인 표현: "성능 개선" 대신 "p95 지연 시간을 800ms에서 90ms로 단축"

1단계: 설정 확인

gh가 인증되었는지 확인:

gh auth status

인증되지 않은 경우: gh auth login 실행 후 안내를 따릅니다.

현재 디렉터리가 활성 브랜치가 있는 Git 저장소인지 확인:

git branch --show-current

분리된 HEAD이거나 브랜치가 없으면 중단하고 사용자에게 설명할 브랜치를 물어봅니다.


2단계: diff 컨텍스트 수집

세 가지 명령어를 실행하여 컨텍스트를 구성:

파일 요약 (변경된 내용):

git diff main...HEAD --stat

커밋 메시지 (변경 이유):

git log main...HEAD --oneline

전체 diff (변경 방법):

origin/main을 먼저 사용(항상 최신 상태), 로컬 main, 그다음 master 순으로 대체:

if git rev-parse origin/main &>/dev/null 2>&1; then
  BASE=origin/main
elif git rev-parse main &>/dev/null 2>&1; then
  BASE=main
else
  BASE=master
fi
git diff $BASE...HEAD

diff가 매우 큰 경우(500줄 초과), --stat 요약과 커밋 메시지만 읽습니다. 또한 diff의 처음 200줄을 읽어 전체 출력을 처리하지 않고 주요 변경 사항을 파악합니다.

또한 기존 PR이 있는지 확인하고 현재 제목/본문을 읽습니다:

gh pr view --json title,body,baseRefName 2>/dev/null

3단계: 포맷 가이드 읽기

작성을 시작하기 전에 references/pr-format-guide.md를 전체 읽습니다. 다음 내용을 숙지하세요:

  • 필수 섹션과 순서
  • 각 섹션 작성 방법
  • 포함할 내용과 생략할 내용
  • 테스트 섹션 형식

4단계: 설명 생성

references/pr-format-guide.md의 형식을 사용하여 PR 설명을 작성합니다.

규칙:

  • 변경사항 섹션의 모든 불릿은 diff의 내용과 연결되어야 함
  • 코드 변경으로 암시되지 않는 테스트 단계를 임의로 작성하지 않음
  • 관련 내용이 없는 섹션은 완전히 생략("해당 없음" 또는 빈 상태로 두지 않음)
  • 스크린샷 섹션: diff에 UI 변경 사항이 보이는 경우에만 포함
  • 커밋 메시지가 "이유"를 설명하는 경우, 요약에 해당 맥락 사용

QA 체크포인트: 제시하기 전에 다음을 확인:

  • 요약은 1-2문장, 능동태, 불필요한 표현 없음
  • 모든 변경 불릿은 구체적이고 diff와 연결됨
  • 임의로 만든 지표나 결과 없음
  • 테스트 단계는 실행 가능함 (누군가 따라 할 수 있음)
  • 모든 줄에 줄표(em dash) 없음

5단계: PR 생성 또는 업데이트

사용자에게 설명을 제시하고 다음 중 하나를 선택하도록 요청: "PR을 생성할까요, 기존 것을 업데이트할까요, 아니면 출력만 할까요?"

새 PR 생성:

백틱, 따옴표, 줄바꿈을 안전하게 처리하기 위해 본문을 stdin으로 전달:

gh pr create --title "TITLE_HERE" --body-file - << 'EOF'
BODY_HERE
EOF

커밋 메시지와 diff 요약을 기반으로 제목을 제안합니다. 제목은 명령형, 72자 미만이어야 함: "추가된 캐싱" 대신 "Redis 캐싱을 추가하여 사용자 세션 조회 성능 개선"

기존 PR 업데이트:

gh pr edit --body-file - << 'EOF'
BODY_HERE
EOF

출력만: 수동 복사-붙여넣기를 위해 제목과 본문을 코드 블록으로 표시합니다.

생성 또는 업데이트 후 확인: "PR 설명이 업데이트되었습니다. 다음에서 확인하세요: [URL]"

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

Varnan-Tech/opendirectory

Use when the user asks to generate a blog cover image, thumbnail, or article header. Automatically uses modern typography, brand logos, and Google Search grounding to create beautiful 16:9 images with Gemini 3.1 Flash Image Preview.

Varnan-Tech/opendirectory

World-class brand strategist and naming expert. Uses an interrogation-led discovery phase to extract your brand's DNA, then applies scientific naming frameworks (Phonosemantics) and automated multi-TLD domain checking.

Varnan-Tech/opendirectory

Use when the user asks to generate or update a project's CLAUDE or AGENTS context file from a codebase scan. Writes a focused file under 100 lines containing only the non-obvious build commands, conventions, and gotchas Claude Code needs.

Varnan-Tech/opendirectory

Use when the user wants to verify cold emails, enrich a lead list, or autonomously guess email addresses from a CSV using ValidEmail.co or the open-source Reacher engine.

Varnan-Tech/opendirectory

Competitive intelligence orchestrator tracking companies across 8+ platforms (GitHub, Twitter, Reddit, HN, PH, YC Jobs) with heat scores and AI briefings.

Varnan-Tech/opendirectory

Give it your product URL or description. It finds your top 5 competitors, runs three-track PR research across all of them (editorial, podcasts, communities), identifies which channels appear most frequently, looks up the journalist or host for each, and returns a tiered outreach list with story angles and ready-to-send cold pitch drafts tailored to your product. Use when asked to find PR opportunities, discover where competitors got featured, build a media outreach list, find which journalists cover my space, or get pitch templates for press coverage.

Varnan-Tech/opendirectory

Generate high-converting, deep-dive growth case studies in MDX format. Use this skill when asked to write a case study or blog post about a company's growth, tech stack, or product-led strategy. It handles the full pipeline (researching the company via Tavily, generating a 16:9 cover image, quality checking the draft, uploading assets to cloud storage, and pushing directly to the target repository).

Varnan-Tech/opendirectory

Scans your project for outdated npm, pip, Cargo, Go, or Ruby packages. Runs a CVE security audit. Fetches changelogs, summarizes breaking changes with Gemini, and opens one PR per risk group (patch, minor, major). Includes Diagnosis Mode for install conflicts. Use when asked to update dependencies, check for outdated packages, open dependency PRs, scan for package updates, audit for CVEs, or flag breaking changes in upgrades. Trigger when a user says "check for outdated packages", "update my dependencies", "open PRs for dependency updates", "scan for CVEs", or "which packages need upgrading".

Varnan-Tech/opendirectory

Generates and updates README.md and API reference docs by reading your codebase's functions, routes, types, schemas, and architecture. Uses graphify to build a knowledge graph first, then writes accurate docs from it. Use when asked to write docs, generate a README, document an API, update stale docs, create an API reference from code, add an architecture section, or document a project in any language. Trigger when a user says their docs are missing, outdated, or wants to document their codebase without writing it manually.

Varnan-Tech/opendirectory

Evaluates expired domain candidates against a target niche, scores them by topical relevance, historical activity level, and history cleanliness, then outputs a ranked shortlist with explainable reasoning and risk flags.

Varnan-Tech/opendirectory

Brutally honest developer-experience audit for a GitHub repo. Scores 10 DX dimensions (time-to-first-success, README clarity, visual proof, install, quick-start, docs, examples, community, trust, marketing), writes a shareable roast in the requested tone (brutal/honest/kind), produces a prioritized action plan ranked by impact × effort, and sketches an ideal README. Trigger when user says "roast my repo", "audit my README", "dx audit", "developer experience review", "score my GitHub project", "before launch checklist", or "make my repo shareable".

Varnan-Tech/opendirectory

Drafts and designs a complete HTML email newsletter from a topic or content brief. Outputs paste-ready HTML for Loops, Mailchimp, Beehiiv, Resend, or any standard email platform. Includes subject line options and plain-text fallback. Trigger when a user says "write a newsletter", "draft an email newsletter", "create an HTML email", "design an email for my subscribers", or "write a newsletter about [topic]".

Varnan-Tech/opendirectory

Takes a GitHub PR URL or the current branch and writes a plain-English explanation of what it does and why, then posts it as a PR comment. Use when asked to explain a PR, summarize a pull request, write a plain-English description of a PR, add a summary comment to a PR, or understand what a PR changes. Trigger when a user says "explain this PR", "summarize this pull request", "what does this PR do", "add a comment explaining the PR", or shares a GitHub PR URL and asks what it does.

Varnan-Tech/opendirectory

Audit how often LLMs recommend your brand vs competitors and generate a GEO action plan.

Varnan-Tech/opendirectory

Takes a competitor's public GitHub repo URL, fetches their open issues via the GitHub REST API, filters noise locally, clusters issues into 6 demand categories, computes a demand score per issue and per cluster, and outputs a ranked demand gap report with a GTM messaging brief. Use when asked to scan a competitor's GitHub issues, find what their users are begging for, turn GitHub complaints into product positioning, identify competitor feature gaps, or generate messaging from real user demand. Trigger when a user says "scan competitor issues", "what are users asking for on X repo", "find demand gaps in Y", "turn GitHub issues into messaging", or "what should I build based on competitor complaints".

Varnan-Tech/opendirectory

Find recurring confusion in your repo's GitHub Discussions, rank it by urgency, and draft the actual docs fixes and content angles — with verbatim community quotes and source links as evidence.

Varnan-Tech/opendirectory

SEO keyword research workflow for blog generation using Google Trends data. Use when writing blog posts, planning content calendars, or optimizing articles for search engines. Finds breakout keywords, builds content structure, and generates SEO-optimized blog outlines targeting tech and developer audiences.

Varnan-Tech/opendirectory

Generates a professionally designed case study PDF for B2B SaaS sales and marketing. Supports 7 page layouts, 9 style presets, 1-4 page output. Trigger when user says "create a case study", "write a customer story", "make a case study PDF", "design a success story", "turn this customer win into a PDF".

Varnan-Tech/opendirectory

Generates data visualization charts (bar, line, area, pie, doughnut, scatter, radar, treemap) as PNG using Apache ECharts v6. 1080×1080px default, 5 style presets, highlight annotations. Trigger when user says "create a chart", "visualize data", "make a bar chart", "line graph", "pie chart", "data visualization", "chart this data", "plot", "graph", or "visualize these numbers".

Varnan-Tech/opendirectory

Fetches low-star App Store and Google Play reviews, clusters them into broken-promise patterns, and generates a ranked copy brief with positioning opportunities.

관련 스킬