docs(references): trim gh-CLI basics and dependency-config boilerplate#109
Conversation
Cut generic gh CLI command listings (repo info, PR list/view/merge, branch protection gets, Actions run listing, release/tag commands, file contents API, repo settings) from gh-cli-reference.md, keeping the GHCR permission gotcha and all Common Troubleshooting Patterns content untouched. Cut generic Dependabot/Renovate config boilerplate (basic/extended config, ecosystem table, commit-message prefixes, ignore rules, reviewers, grouping/security/PHP/Go presets), the Dependabot-vs- Renovate feature comparison, and the best-practices listicle from dependency-management.md. Kept ecosystem-hygiene and target-branch gotchas, the auto-merge mechanics, branch-protection requirements, and every troubleshooting pattern. Signed-off-by: Sebastian Mendel <github@sebastianmendel.de>
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
|
There was a problem hiding this comment.
Code Review
This pull request streamlines the documentation by removing basic configuration examples, tables, and standard command references from dependency-management.md and gh-cli-reference.md. The focus is shifted toward non-obvious gotchas, troubleshooting patterns, and advanced configurations, leaving basic usage to the tools' built-in help. There are no review comments, and I have no additional feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.



What
Trims the generic reference layer from two
github-projectskill references, per the audit item "github-project (gh-cli basics, Dependabot public-docs sections)".Rubric:
netresearch/skill-repo-skillskills/skill-repo/references/skill-quality.md— "Content value rubric". Cut only content a one-line prompt regenerates; hard-protect retro-born failure patterns, inference-suppression rules, version/tool-flag facts, org specifics, and executable scripts.Cut (generic — a one-line prompt regenerates it)
references/gh-cli-reference.md(353 → 192 lines):## Repository Information— basicgh repo view/gh api brancheslookups## Pull Requests—gh pr list/view/review/merge/commentbasics (the one non-obvious bit, "wait for CI with the native watcher," already had its full retro-pattern treatment in## Common Troubleshooting Patterns, kept)## Branch Protection— plaingh api .../protectiongets/patches, duplicated independency-management.md's Branch Protection Configuration (kept there)## GitHub Actions—gh run list/view/rerun/watch,gh workflow run/listbasics## Releases and Tags—gh release list/create/view/download(also github-release skill's territory)## Files and Content—gh api .../contentsget/update basics## Repository Settings—gh repo editflag basicsreferences/dependency-management.md(789 → 511 lines):### Basic Configuration,### Package Ecosystemstable,### Commit Message Prefixes,### Multiple Ecosystems,### Ignoring Dependencies,### Reviewers and Assignees— restateddependabot.ymlsyntax straight from GitHub's public docs### Basic Configuration,### Extended Configuration,### Grouping Rules,### Security Updates,### PHP/Composer Configuration,### Go Configuration— restated Renovate config-preset JSON### Lock File Maintenance(under Renovate) — byte-identical JSON block and rationale already fully present under### CI Cannot Push to Protected Branchin Troubleshooting (kept); cutting the docs-style duplicate, not the retro-pattern original## Comparison: Dependabot vs Renovate(feature table + "When to Use" bullets) — generic tool comparison; the one real technical distinction (bypass-permission behavior) survives in the kept### Renovate vs Dependabot Auto-merge"Critical difference" callout## Best Practices(13-item listicle) — restates points already covered elsewhere in concrete form (check-name matching, code-owner-review avoidance, etc.)Kept (retro-born, tool-flag-specific, or org-specific)
gh-cli-reference.md## Packages (GHCR)— theread:packages+delete:packagesscope gotcha and the "verify scopes from the response header, notgh auth status" factgh-cli-reference.md## Common Troubleshooting Patterns(untouched) — CI-watcher gotchas,gh run rerunold-state trap, transient 401s, PR-body line-break rule, image-embedding via raw.githubusercontent.com, Debug Auto-merge Pipeline script, stale fork merge-base fix, GraphQL--inputpattern,github.actor/bot-detection trapgh-cli-reference.md## Rate Limits — GITHUB_TOKEN in Actions(untouched) — the workflow-repo-budget behavior, misleadingdeploy-pages403 symptom, one-tree-call fixdependency-management.mdEcosystem Hygiene (hard-fail vs silent-no-op per ecosystem) andtarget-branchrelease-branch gotchasdependency-management.md### Grouping Dependencies— kept narrowly:security-config.md:352points readers here for "per-repo grouped security updates usedependabot.ymlgroups"; cutting it would leave that pointer serving nothingdependency-management.md### Auto-merge Configuration (Recommended)under Renovate — theplatformAutomergebypass-permission rationale is the skill's core auto-merge mechanic, not generic config## Auto-merge Workflow,## Branch Protection Configuration, and## Troubleshooting Auto-merge— the BLOCKED-PR diagnosis, signed-commit/merge-strategy compat, matrix-job check-name mismatch,enabledByactor gotcha, gitleaks-on-bot-PRs,GITHUB_TOKENcan't touch workflow files, and the git-worktreepackage-lock.jsonname-pollution gotchaKept, borderline
None — every retained section either matched a hard-protection category directly or (Grouping Dependencies) had a live inbound pointer from another reference file.
Verification
Orphan/reachability check (
skill-repo-skillaudit-skills.sh, run against this repo dir):(The 1 WARN is the pre-existing SKILL.md description length, untouched by this PR.)
SKILL.md word cap — untouched by this PR, still under cap:
Repo-wide grep for dangling refs to deleted headings/sections: none found. Confirmed
security-config.md:352,multi-repo-operations.md:226,auto-merge-guide.md:189, andreusable-workflow-pitfalls.md:48all point at sections that survive.markdownlint-cli2 on the two changed files:
0 error(s).pre-commit run --files <changed>: all hooks Passed. (A full-repopre-commit run --all-filesshows one pre-existing markdownlint failure insecurity-config.md:362and pre-existing shellcheck SC2015 info-notes inverify-github-project.sh— both in files untouched by this PR.)Stats
gh-cli-reference.md: 353 → 192 linesdependency-management.md: 789 → 511 linesPart of netresearch/skill-repo-skill#157. Ticks the
github-projectcheckbox.DO NOT MERGE. Ignore later bot reviews.