google-labs-code/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."
npx skills add https://github.com/google-labs-code/stitch-sdk --skill 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.
gh CLI.gh auth status).Before looking at tasks, understand the environment. Run these commands in sequence:
gh repo view <owner/repo> --json name,description,stargazerCount,forkCountgh api repos/<owner/repo>/contents/package.json, go.mod, pyproject.toml) and README.md.index.ts, main.go) to identify the Public API surface.Fetch current items and recent changes:
gh issue list --repo <owner/repo> --state open --json number,title,body,author,createdAt,updatedAt,labels,commentsgh pr list --repo <owner/repo> --state open --json number,title,body,author,createdAt,updatedAt,labels,additions,deletions,changedFiles,headRefNamegh issue list --state closed --since 24h and gh pr list --state merged --since 24h.For every issue and PR, do not just summarize the text. Perform a logic check:
gh api repos/<owner/repo>/contents/<path> to inspect the code mentioned in the report.gh pr diff <number> to review actual implementation. Evaluate if the code follows the patterns found in Step 1.gh pr view <number> --json mergeable,statusCheckRollup.Group items into high-level insights:
Snapshot: {N} Issues ({+X} since yesterday) | {M} PRs ({+Y} since yesterday)
{list/of/files}{days} ago.Take google-labs-code/github-codebase-briefing from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.