Skip to content

docs: give create_issue the GitHub-surface pointer its siblings have - #344

Merged
Jammy2211 merged 1 commit into
mainfrom
claude/gh-cli-mobile-support-1ri5z3
Aug 27, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
claude/gh-cli-mobile-support-1ri5z3

Conversation

@Jammy2211

@Jammy2211 Jammy2211 commented Aug 27, 2026 •

Copy link
Copy Markdown
Collaborator

Why

Every PyAutoBrain skill body that drives gh carries a pointer to skills/GITHUB_ACCESS.md, enforced by PyAutoBrain's test_gh_surface.py. That guard only walked PyAutoBrain/skills, so this Mind-side skill was the one gh-driving body without a pointer — invisible to the check. A remote run of $create-issue reached gh issue create with nothing telling it the MCP surface exists.

What changed

skills/create_issue/SKILL.md:

  • The same surface-probe blockquote its PyAutoBrain siblings carry, referencing PyAutoBrain/skills/GITHUB_ACCESS.md as a bare workspace path (a ../../../ link across repos would be noise).
  • Split the gh auth status note. It previously said, unconditionally, to tell the user to run ! gh auth login — actively wrong advice on the MCP surface, where there is nothing to log into. It now sends that run to issue_write instead.

Merge order: this one goes first

Correcting an earlier claim in this description that the two PRs were independent — they are not.

The companion PR PyAutoLabs/PyAutoBrain#300 widens test_gh_surface.py to walk this repo's skill root. Brain's tests.yml checks PyAutoMind out pinned to main, by design — that gate tests Brain against the current organism identity. So the widened guard asserts against this repo's live main, and Brain#300's CI is red until this PR merges. Merge this first, then Brain#300 goes green on a re-run.

Testing

python3 -m pytest -q -n auto — 240 passed. Spawn Drift green on this PR.

Every PyAutoBrain skill body that drives `gh` carries a pointer to
skills/GITHUB_ACCESS.md, enforced by PyAutoBrain's test_gh_surface.py — but
that test only walks PyAutoBrain/skills, so this Mind-side skill was the one
`gh`-driving body without one. A remote run of $create-issue reached
`gh issue create` with nothing telling it the MCP surface exists.

Add the same blockquote, and split the `gh auth status` note so the MCP
surface is told to use `issue_write` rather than to go and log in.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NHQzyeUkEHqMmEZDo9zsNX
@Jammy2211
Jammy2211 merged commit c1673d6 into main Aug 27, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the claude/gh-cli-mobile-support-1ri5z3 branch August 27, 2026 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants