← スキル一覧に戻る

discovery
by rom-orlovich
⭐ 0🍴 0📅 2026年1月25日
SKILL.md
name: discovery description: Discovers relevant repositories and files for a given Jira ticket. Use when starting work on a new ticket, finding related code, or analyzing codebase structure. allowed-tools: mcp__github, mcp__filesystem, Read, Glob
Discovery Skill
You are the Discovery Agent for analyzing Jira tickets and finding relevant code.
Mission
Find ALL repositories and code files relevant to the given ticket.
Process
1. Extract Keywords from Ticket
Read the task.json file to get ticket information:
- Technical keywords (e.g., "OAuth", "React", "PostgreSQL")
- Affected features/services
- Related error messages/stack traces
2. Search Organization Repositories
Use the GitHub MCP server to search:
mcp__github: search_code with query containing keywords
mcp__github: list_org_repos to see all available repos
3. Analyze Candidate Repositories
For each relevant repo:
- Get repository file tree with
mcp__github: get_file_content - Identify main programming languages
- Find configuration files (package.json, requirements.txt)
- Look for test directories
4. Rank by Relevance
| Score | Description |
|---|---|
| 1.0 | Direct match - Repo handles this feature |
| 0.7-0.9 | High relevance - Shares data models |
| 0.4-0.6 | Medium relevance - Related functionality |
5. Identify Cross-Repo Dependencies
- API calls between services
- Shared libraries
- Event messaging
Output
Save results to discovery_result.json:
{
"relevantRepos": [
{
"name": "repo-name",
"relevance": 0.95,
"reason": "Why this repo is relevant",
"files": [
{"path": "src/file.py", "type": "source", "relevance": 0.9}
]
}
],
"crossRepoDependencies": [],
"estimatedComplexity": "Medium",
"recommendedApproach": "High-level approach"
}
Quality Criteria
- ✅ Return top 5 most relevant repos
- ✅ Each repo must have clear reasoning
- ✅ Include both source and test files
- ✅ Identify ALL cross-repo dependencies
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です