MCPInstall

github-codebase-briefing

Generates a deeply contextual, progressive-disclosure briefing for any GitHub repository. It builds a mental model of the code before analyzing issues and PRs to provide actionable insights. Use when asked for a "GitHub report," "repo status," "daily briefing," or to "catch up on a codebase."

Installs
77
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/google-labs-code/stitch-sdk --skill github-codebase-briefing
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads github-codebase-briefing automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

GitHub Codebase Briefing

This skill performs a "deep read" of a repository. It avoids superficial listings by first understanding the project's architecture and then evaluating open items against that context.

Prerequisites

  • Tooling: The agent must have access to the gh CLI.
  • Auth: The user must be authenticated (gh auth status).

Instructions

Step 1: Initialize the Mental Model

Before looking at tasks, understand the environment. Run these commands in sequence:

  1. Metadata: gh repo view <owner/repo> --json name,description,stargazerCount,forkCount
  2. Structure: gh api repos/<owner/repo>/contents/
  3. Identity: Read the project manifest (e.g., package.json, go.mod, pyproject.toml) and README.md.
  4. Entry Point: Read the primary entry file (e.g., index.ts, main.go) to identify the Public API surface.

Step 2: Retrieve State & Delta

Fetch current items and recent changes:

  1. Issues: gh issue list --repo <owner/repo> --state open --json number,title,body,author,createdAt,updatedAt,labels,comments
  2. PRs: gh pr list --repo <owner/repo> --state open --json number,title,body,author,createdAt,updatedAt,labels,additions,deletions,changedFiles,headRefName
  3. 24h Delta: gh issue list --state closed --since 24h and gh pr list --state merged --since 24h.

Step 3: Deep Analysis Logic

For every issue and PR, do not just summarize the text. Perform a logic check:

  • Issues: Use gh api repos/<owner/repo>/contents/<path> to inspect the code mentioned in the report.
  • PRs: Use gh pr diff <number> to review actual implementation. Evaluate if the code follows the patterns found in Step 1.
  • Flags:
    • 🚨 SECURITY: Scan for credentials, auth bypass, or injection keywords.
    • 🤝 EXTERNAL: Prioritize PRs from non-maintainers.
    • ✅ READY: Verify mergeability with gh pr view <number> --json mergeable,statusCheckRollup.

Step 4: Pattern Synthesis

Group items into high-level insights:

  • Bug Clusters: Identify if 3+ issues share a root cause in a specific module.
  • Hot Modules: Flag files that appear in multiple open items.
  • Client Patterns: Group issues by consumer (e.g., "VS Code users are reporting X").

Output Template

# {REPO_NAME} Daily Briefing — {DATE}

Snapshot: {N} Issues ({+X} since yesterday) | {M} PRs ({+Y} since yesterday)

⚡ Suggested Actions Today

  1. [Priority] #{Num}: {One-line reason}
  2. [Priority] #{Num}: {One-line reason}

📂 Open Issues Deep Dive

[Flag] #{Num} — {Title}

  • Context: Plain-English explanation of the "why" and "where" in the codebase.
  • Key Evidence: > {Blockquote of critical user text}
  • Resolution Path: {Quick fix/Design decision/Blocked}

🔀 Pull Request Analysis

[Flag] #{Num} — {Title}

  • Impact: Summary of files changed and architectural fit.
  • Quality Note: Honest assessment of implementation and CI status.

🔍 Patterns & Health

  • Hot Modules: {list/of/files}
  • Release Cadence: Last release was {days} ago.

FAQ

What does the github-codebase-briefing skill do?

Generates a deeply contextual, progressive-disclosure briefing for any GitHub repository. It builds a mental model of the code before analyzing issues and PRs to provide actionable insights. Use when asked for a "GitHub report," "repo status," "daily briefing," or to "catch up on a codebase."

How do I install github-codebase-briefing?

Run npx skills add https://github.com/google-labs-code/stitch-sdk --skill github-codebase-briefing in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/github-codebase-briefing/ (personal) or .claude/skills/github-codebase-briefing/ (project).

Which AI agents can use github-codebase-briefing?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is github-codebase-briefing safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains github-codebase-briefing?

It is published by google-labs-code in google-labs-code/stitch-sdk, and it is an official skill from the maker of the technology it covers. It has 77 recorded installs.

More from google-labs-code/stitch-sdk

View all →

stitch-sdk-usage

google-labs-code/stitch-sdk

Use the Stitch SDK to generate, edit, and iterate on UI screens from text prompts, manage projects, and retrieve screen HTML/images. Use when the user wants to consume the SDK in their application.

OfficialFrontend & Design570 installs

stitch-sdk-readme

google-labs-code/stitch-sdk

Open the skill to read its SKILL.md instructions.

OfficialDocs & Writing296 installs

stitch-sdk-development

google-labs-code/stitch-sdk

Open the skill to read its SKILL.md instructions.

Official205 installs

stitch-sdk-domain-design

google-labs-code/stitch-sdk

Design the domain model for the Stitch SDK. Use when mapping MCP tools to domain classes and bindings in domain-map.json. This is Stage 2 of the generation pipeline.

OfficialAI & Agents185 installs

tdd-red-green-refactor

google-labs-code/stitch-sdk

Open the skill to read its SKILL.md instructions.

OfficialTesting & QA171 installs

stitch-sdk-pipeline

google-labs-code/stitch-sdk

Open the skill to read its SKILL.md instructions.

Official162 installs

Popular code quality & workflow skills

View category →

grill-me

mattpocock/skills

A relentless interview to sharpen a plan or design.

Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

handoff

mattpocock/skills

Compact the current conversation into a handoff document for another agent to pick up.

domain-modeling

mattpocock/skills

Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.

codebase-design

mattpocock/skills

Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.

diagnosing-bugs

mattpocock/skills

Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.