add Ghost create-pr agent skill#145
Merged
Merged
Conversation
chailandau
approved these changes
Jun 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Category: infrastructure
User Impact: Agents working in this repo can now create review-ready Ghost PRs with repo-specific release, validation, and review hygiene.
Problem: The borrowed Goose PR skill has the right intent-first shape, but it bakes in Goose-specific Linear behavior and does not account for Ghost's Changeset, CLI manifest, Block remote, and Ghost review conventions.
Solution: Add a project-local
create-pragent skill that keeps the product-minded PR structure while making Ghost's branch, validation, release hygiene, and draft PR expectations explicit.Validation:
pnpm check: passed via pre-commit and pre-push hooks.pnpm build: passed via pre-push hook.pnpm test: failed locally inpackages/ghost/test/context-sandbox.test.tswith six repeatedCLI command did not exittimeout failures; rerunningpnpm test -- packages/ghost/test/context-sandbox.test.tsreproduced the same failures. This branch only adds.agents/skills/create-pr/SKILL.md.Changeset: not needed because this adds a project-local agent skill and does not change the public
@anarchitecture/ghostpackage.Ghost Review:
ghost check --base main: not run because this change does not modify implementation, fingerprint packages, or product-surface behavior.ghost review --base main --include-memory: not run for the same reason.File changes
.agents/skills/create-pr/SKILL.md
Adds a Ghost-specific PR creation workflow for agents. It covers merge-base diff gathering, scoped staging, Block-managed remote safety, Changeset decisions, CLI manifest drift, validation expectations, optional issue linking, draft PR defaults, and a concise PR body template.
Screenshots/Demos: N/A