Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from bundle
Daily GitHub PM/dev morning brief with actionable priorities.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
references/commands.md
1# Command patterns for morning GitHub brief23Use these as reusable building blocks.45## 1) Ask-signals (mentions / review requests / assignments)67```bash8gh api notifications \9--jq '[.[] | {reason, repo: .repository.full_name, title: .subject.title, api_url: .subject.url}]'10```1112Filter reasons of interest:13- `mention`14- `review_requested`15- `assign`1617Convert API URLs to web links when needed:18- `/repos/<o>/<r>/pulls/<n>` -> `https://github.com/<o>/<r>/pull/<n>`19- `/repos/<o>/<r>/issues/<n>` -> `https://github.com/<o>/<r>/issues/<n>`2021## 2) Open PR triage2223```bash24gh pr list -R <owner/repo> --state open --limit 100 \25--json number,title,reviewDecision,mergeable,isDraft,updatedAt,url,author26```2728For checks (single PR):2930```bash31gh pr checks <number> -R <owner/repo>32```3334Quick classification heuristic:35- Merge candidate: `reviewDecision=APPROVED` + `mergeable=MERGEABLE` + checks green.36- Fast review: non-draft, clean mergeability, recent updates.37- Blocked: `mergeable=CONFLICTING` or failing required checks.3839## 3) Project board snapshot (Project v2)4041```bash42gh project item-list <project_number> --owner <org_or_user> --format json43```4445Count items by `status` and provide top examples per bucket.4647## 4) CI risk scan4849```bash50gh run list -R <owner/repo> --branch main --limit 10 \51--json workflowName,status,conclusion,url,createdAt52```5354Flag newest failures and link directly to runs.5556## 5) Security alerts (Dependabot)5758```bash59gh api repos/<owner>/<repo>/dependabot/alerts \60--jq '[.[] | select(.state=="open") | {number, severity: .security_advisory.severity, package: .dependency.package.name, url: .html_url}]'61```6263Prioritize `critical` / `high`.6465## 6) Suggested brief structure6667```text68#cron_work_morning69<1 short paragraph: what matters now>7071Ask-signals:72- ... (with links)7374Project/PR snapshot:75- ...7677Risks:78- ...79803 concrete actions:811) ...822) ...833) ...84```8586## 7) Non-destructive mode8788Default to read/analyze only.89Do not merge PRs, post reviews/comments, or edit project fields unless explicitly requested.90