Community라이팅 & 에디팅github.com

Varnan-Tech/opendirectory

GitHub PR URL이나 현재 브랜치를 받아 변경 사항과 이유를 평문으로 설명한 후 PR 댓글로 게시합니다.

opendirectory란 무엇인가요?

이 스킬은 GitHub Pull Request의 변경 사항을 분석하여 기술적 설명과 비즈니스적 중요성을 평문으로 작성한 후, 이를 PR 댓글로 자동 게시합니다. 개발자가 "이 PR 설명해 줘", "PR 요약해 줘", "이 PR이 뭘 변경하는지 알려줘" 같은 요청을 하거나 GitHub PR URL을 공유할 때 트리거됩니다. Claude Code, Cursor, Codex 등 gh CLI가 설치된 모든 AI 코딩 도우미에서 사용할 수 있습니다. 스킬은 PR 메타데이터, diff, 기존 댓글을 가져와 150단어 이내의 간결한 설명을 생성하며, 명확한 '이유'가 diff나 커밋 메시지에 없는 경우 두 번째 문단을 생략하여 허위 정보를 방지합니다.

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

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

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

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

문서

이 PR 설명하기

GitHub 풀 리퀘스트를 읽고, 변경 사항을 파악한 후 평문으로 설명을 작성합니다. 리뷰어가 즉시 맥락을 파악할 수 있도록 PR 댓글로 게시합니다.


1단계: 설정 확인

gh가 인증되었는지 확인합니다:

gh auth status

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

입력 확인. 사용자는 다음 중 하나를 제공해야 합니다:

  • GitHub PR URL (예: https://github.com/owner/repo/pull/123)
  • 현재 저장소의 PR 번호 (예: #123)
  • 현재 브랜치의 PR을 사용하려면 키워드 "current"

입력이 없으면 질문: "어떤 PR을 설명할까요? URL, PR 번호를 공유하거나 활성 브랜치의 경우 'current'라고 말씀해 주세요."


2단계: PR 컨텍스트 가져오기

PR 메타데이터 가져오기:

gh pr view PR_URL_OR_NUMBER --json number,url,title,body,author,baseRefName,headRefName,additions,deletions,changedFiles,commits,labels,state,isDraft

isDraft가 true이면 사용자에게 알림: "이 PR은 아직 초안 상태입니다. 설명은 현재 상태를 기준으로 작성되었습니다."

diff 가져오기:

gh pr diff PR_URL_OR_NUMBER

diff가 400줄을 초과하면 --stat 요약과 diff의 처음 200줄을 읽습니다:

gh pr view PR_URL_OR_NUMBER --json files
gh pr diff PR_URL_OR_NUMBER | head -200

기존 댓글 가져오기 (중복 방지):

gh pr view PR_URL_OR_NUMBER --json comments --jq '.comments[].body' 2>/dev/null | head -20

3단계: 설명 작성

두 문단을 작성합니다. 작성하기 전에 각 규칙을 읽으십시오.

문단 1: 무엇을 하는가 (기술적)

  • 주요 변경 사항당 한 문장
  • 변경된 특정 파일, 함수 또는 시스템의 이름을 명시
  • diff에서 명확하다면 이전/이후 상태를 설명
  • diff에 구체적인 숫자가 있다면 포함 (삭제된 줄, 드롭된 테이블, 추가된 엔드포인트 등)
  • 능동태, 현재형 사용

예시:

Replaces the in-memory session cache in auth.middleware.ts with a Redis-backed cache (src/cache/redis.ts). Adds get, set, and invalidate methods to the new Redis module and wraps UserService.getById() with a 5-minute TTL. Removes the Map-based cache that was limited to a single process and caused session drift across multiple instances.

문단 2: 왜 중요한가 (비즈니스/제품 영향)

  • 누가 어떤 이점을 얻는지
  • 이 PR이 해결하는 문제 또는 줄이는 위험
  • 커밋 메시지에 "왜"에 대한 내용이 있다면 그 맥락 사용
  • diff나 커밋에 명확한 "왜"가 없다면 추측하지 말고 이 문단 생략

예시:

Users hitting the /api/me endpoint under load were getting inconsistent session data across server instances, causing intermittent 401 errors. This change makes session state consistent across all instances and reduces database load by eliminating one query per authenticated request.

두 문단 모두에 대한 규칙:

  • 줄표(--) 사용 금지 — 쉼표나 마침표 사용
  • 불용어 금지: "이 PR은", "이 변경은", "보시다시피"
  • 허위 결과 금지. diff나 커밋 메시지에서 직접 확인 가능한 영향만 명시
  • PR이 순수 리팩터링으로 동작 변경이 없는 경우, 명시적으로 말합니다: "X를 Y로 리팩터링하며 관찰 가능한 동작 변경은 없습니다."
  • 총 150단어 미만

4단계: 자체 QA

게시하기 전에 확인:

  • 문단 1이 diff에서 특정 파일이나 함수 이름을 명시하는가
  • 허위 메트릭이나 결과가 없는가
  • 줄표(--)가 없는가
  • 불용어가 없는가
  • 총 150단어 미만인가
  • 명확한 "이유"가 없다면 문단 2를 추측하지 않고 생략했는가

게시 전에 위반 사항을 수정하십시오.


5단계: PR 댓글로 게시

설명을 사용자에게 제시합니다. 질문: "이 설명을 PR 댓글로 게시할까요, 아니면 먼저 수정하시겠습니까?"

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

gl pr comment PR_URL_OR_NUMBER --body-file - << 'EOF'
EXPLANATION_HERE
EOF

게시 후: "댓글이 추가되었습니다. 다음에서 확인하세요: [2단계의 url]"

사용자가 "output only"라고 말하면, 게시하지 않고 수동 복사-붙여넣기를 위해 설명을 코드 블록으로 제시합니다.

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

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

Creates professionally designed B2B SaaS e-books in HTML + CSS, exported as print-ready PDF. 3–10 pages, 9 style presets, 11 page layout types. Trigger when user says "create an ebook", "design a lead magnet", "make a PDF guide", "build a gated content piece", "write a B2B ebook", "design a white paper", "create a nurture asset", or "make a PDF report".

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.

관련 스킬