npx skills add ...
npx skills add google-labs-code/stitch-sdk --skill github-codebase-briefing
npx skills add google-labs-code/stitch-sdk --skill 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."
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.