Skip to content

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

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

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

Conversation

@dnul
Copy link

@dnul dnul commented Jan 12, 2026

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
Copy link
Member

arein commented Jan 12, 2026

@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
Copy link
Author

dnul commented Jan 13, 2026

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