← Back to list

detect-kiro-specs
by reedom
⭐ 0🍴 0📅 Dec 22, 2025
SKILL.md
name: detect-kiro-specs description: Detect Kiro specs with modified files in current branch. Use before PRs, spec-specific tests, or CI filtering. allowed-tools: Bash(ls:*)
Modified Kiro Specs Detection
IMPORTANT:
Check .kiro/specs exists via ls before start.
If absent, quit immediately with empty list.
Usage
./scripts/main.sh [-b|--branch <branch>]
Options:
-b,--branch: Base branch (default: repo default)
Output
Newline-separated spec names, sorted:
user-auth
product-listing
Empty if no modified specs.
main.sh Internal Detection Logic
- List all specs from
.kiro/specs/ - Get modified files via
git diff <branch>...HEAD - Match files containing
/<spec-name>/pattern - Return distinct matches sorted alphabetically
Examples
# Default branch
./scripts/main.sh
# Specific branch
./scripts/main.sh -b develop
# Count
./scripts/main.sh | wc -l
# CI loop
for spec in $(./scripts/main.sh); do
run_tests "$spec"
done
Score
Total Score
40/100
Based on repository quality metrics
✓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
Reviews
💬
Reviews coming soon