smithery/reedom

detect-kiro-specs

Detect Kiro specs with modified files in current branch. Use before PRs, spec-specific tests, or CI filtering.

Installation

$ npx skills add smithery/reedom --skill detect-kiro-specs

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Allowed toolsBash(ls:*)

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,012 B
  • docs SUMMARY.md 135 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

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