Skip to content

feat: add repo command for cross-repository exploration#4

Open
dnul wants to merge 2 commits into
mainfrom
feat/add-repo-command
Open

feat: add repo command for cross-repository exploration#4
dnul wants to merge 2 commits into
mainfrom
feat/add-repo-command

Conversation

@dnul

@dnul dnul commented Jan 12, 2026

Copy link
Copy Markdown

Summary

  • Adds /repo command that spawns a sub-agent to explore other repositories without polluting current context
  • Uses repository aliases defined in ~/.claude/repos.json
  • Supports quick lookups (haiku) or deeper analysis (sonnet)

Test plan

  • Run /repo <alias> "<prompt>" with a valid alias from repos.json
  • Verify error handling when alias not found

🤖 Generated with Claude Code")

Spawns a sub-agent to explore other repositories (defined in
~/.claude/repos.json) without polluting the current context.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@dnul dnul requested review from arein and bkrem January 12, 2026 02:41
@arein

arein commented Jan 12, 2026

Copy link
Copy Markdown
Contributor

@dnul can you rename this to something more descriptive? /repo may mean different things to different people. maybe a bit longer would be good

The generic "repo" name was too vague. Renamed to "ask-repo" to better
describe its purpose of asking questions to other repositories.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@dnul

dnul commented Jan 13, 2026

Copy link
Copy Markdown
Author

Addressed feedback:

  • ✅ Renamed /repo to /ask-repo for clarity - better describes its purpose of asking questions to other repositories

Ready for re-review!

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