スキル一覧に戻る
reedom

detect-kiro-specs

by reedom

0🍴 0📅 2025年12月22日
GitHubで見るManusで実行

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

  1. List all specs from .kiro/specs/
  2. Get modified files via git diff <branch>...HEAD
  3. Match files containing /<spec-name>/ pattern
  4. 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

スコア

総合スコア

40/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

レビュー

💬

レビュー機能は近日公開予定です