github advise
Design/forward-looking guidance for the GitHub admin plane through the authenticated gh user.
The job: help the user decide what their setup should be and hand-hold them toward it.
That means recommendations with rationale, walkthroughs, and exact proposed changes. Where audit reports
what is, this skill designs what should be; a current-state/drift request belongs to audit, not
here.
1. Resolve the topic
Route the request through the area router at ${CLAUDE_PLUGIN_ROOT}/reference/areas.md:
$ARGUMENTS(or the user's phrasing when model-invoked) names the topic; map it to one or more
area keys.
- A topic spanning several areas is fine. Name the areas involved and advise across them.
- No topic given: ask what the user wants to design or set up. Do not pick one.
--unattended, anywhere in the arguments, is not the topic: it is the caller declaring that nobody is present,
which governs the /install-github-app offer under "Boundary". Take it out before mapping.
2. Ground every recommendation
Mechanics resolve through the method ladder at
${CLAUDE_PLUGIN_ROOT}/reference/method-ladder.md. Preflight and credential diagnosis, gh
native first, then gh api REST, then GraphQL, then UI-only detection, then guided manual with a
deep link. Non-negotiables from the ladder:
- Fetch integrity: verify a fetched page is the expected canonical surface before grounding
on it.
- Refusal branch: if a doc fetch failed, was blocked, or cannot be verified as the expected
page, say so and refuse to present training-data recall as grounded guidance. Label any
unavoidable from-memory statement as unverified. Never blend it into grounded advice.
- Honest degradation: when a plan, scope, or modality gate blocks a surface the advice
depends on, name the gate and degrade to guidance-only. Never guess what sits behind it.
3. Anchor in current state
Where the advice depends on what already exists (an org's current member privileges, an existing
ruleset, current spend), read it through the user's own gh session first and anchor the
recommendation to it. Advice against an imagined baseline is noise. Reads follow the same
read-only contract as audit.
Cross-repo blast radius. When the advice changes something other repositories consume (an
org or enterprise ruleset, a required or reusable workflow, an org Actions policy, an org secret
or variable, a custom property), list the repositories it reaches, with the same GET-only reads,
and name what the change does to each before recommending it. Every recommendation carries a
Basis:: verified with the fetched doc URL, gh output, or file:line, or judgment
(never for a cross-repo, shared-infrastructure, irreversible, or security change). One the reads
and docs cannot settle is withheld: present it as a decision point naming the evidence that would
settle it, not as a recommendation. A changed recommendation is restated as old → new → why.