Skip to content

Ship a Claude Code bridge in the CLI seed - #60

Merged
jeremy merged 1 commit into
mainfrom
seed-claude-bridge
Jul 29, 2026
Merged

Ship a Claude Code bridge in the CLI seed#60
jeremy merged 1 commit into
mainfrom
seed-claude-bridge

Conversation

@jeremy

@jeremy jeremy commented Jul 29, 2026

Copy link
Copy Markdown
Member

Claude Code reads CLAUDE.md, not AGENTS.md, so a generated CLI's AGENTS.md
was invisible to it while Codex and Cursor read it fine. The seed already
shipped .claude-plugin/ and AGENTS.md.tmpl but no bridge, which is why
dash-cli -- the only CLI generated after this seed existed -- was born with
no working Claude Code instructions at all.

The bridge is copied verbatim rather than templated: it holds a single
import and no substitutable values. It lives at .claude/CLAUDE.md so the
repository root stays uncluttered, which is why the import is @../AGENTS.md.


Checked against main at 04e401b.

Claude Code reads CLAUDE.md, not AGENTS.md, so a generated CLI's AGENTS.md
was invisible to it while Codex and Cursor read it fine. The seed already
shipped .claude-plugin/ and AGENTS.md.tmpl but no bridge, which is why
dash-cli -- the only CLI generated after this seed existed -- was born with
no working Claude Code instructions at all.

The bridge is copied verbatim rather than templated: it holds a single
import and no substitutable values. It lives at .claude/CLAUDE.md so the
repository root stays uncluttered, which is why the import is @../AGENTS.md.
Copilot AI review requested due to automatic review settings July 29, 2026 14:32
@github-actions github-actions Bot added the bug Something isn't working label Jul 29, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the CLI seed to include a Claude Code–compatible “bridge” file so Claude Code can pick up the generated project’s agent instructions (which currently live in AGENTS.md).

Changes:

  • Add seed/.claude/CLAUDE.md that imports the generated root AGENTS.md via @../AGENTS.md.
  • Update the seed bootstrap prompt (prompts/seed-cli.md) to include .claude/CLAUDE.md in the target repo structure and copy instructions.

Tip

If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
seed/.claude/CLAUDE.md Adds Claude Code bridge file importing AGENTS.md from the repo root.
prompts/seed-cli.md Documents the new .claude/CLAUDE.md file in the generated seed repo structure and copy steps.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jeremy
jeremy merged commit 80c3011 into main Jul 29, 2026
23 checks passed
@jeremy
jeremy deleted the seed-claude-bridge branch July 29, 2026 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working prompts seed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants