Agent skill
ado-repo-analysis
Analyze sibling repos to find best match for a work item
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/ado-repo-analysis
SKILL.md
Repo Analysis Skill
Analyze local repositories to find the best match for a work item based on context.
Process
- List sibling repos: Find all directories with
.gitin REPOS_BASE_DIR - For each repo:
- Pull latest from origin master/main
- Read README.md and CLAUDE.md if they exist
- Extract keywords and project descriptions
- Score against context: Compare repo descriptions against:
- Work item title
- Work item description/body
- PR URL hints (if any)
- Project name from ADO
- Output ranked list: Show repos sorted by confidence score
Usage
/repo-analysis <work-item-context>
Example:
/repo-analysis "Fix video player buffering issue - relates to player SDK"
Output Format
Repo Analysis Results:
1. video-player-sdk (95% match)
- Keywords: video, player, SDK, streaming
- Reason: Title mentions "player SDK"
2. media-services (60% match)
- Keywords: media, transcoding, delivery
- Reason: Related to video infrastructure
3. web-frontend (30% match)
- Keywords: React, UI, components
- Reason: May embed player
Implementation Steps
When invoked:
- Read REPOS_BASE_DIR from environment or use default
../ - List all directories, check for
.gitsubdirectory - For each git repo:
git fetch origin(update refs)- Read
README.mdfirst 500 lines - Read
CLAUDE.mdif exists - Extract: project name, description, key technologies
- Build keyword index per repo
- Parse work item context for keywords
- Score each repo (keyword overlap + description similarity)
- Return top 5 matches with confidence scores
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?