kiro-rails: Skill for Claude Code

.claude/skills/spec-implement/SKILL.md

spec-implement is a skill for Claude Code from sourjya/kiro-rails. It costs 35 tokens per session (462 once invoked), scanned A, original, MIT.

A workflow for building software from an approved written specification. It follows a task checklist and uses TDD, meaning tests are written before the code that makes them pass.

In plain words
What is it for?
Use it to read the proposal, requirements, design, and task files, implement each task in order, run tests, and document necessary deviations.
Why use it?
It turns a broad feature request into ordered, test-checked work and records progress as tasks are completed.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is sourjya/kiro-rails's own configuration. It tells Claude Code how to work on kiro-rails itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything kiro-rails configures →

Reuse

Borrowing it

Nothing to install: this file belongs to sourjya/kiro-rails. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/sourjya/kiro-rails/main/.claude/skills/spec-implement/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/sourjya/kiro-rails

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for spec-implement

README.md
[![agentmods](https://agentmods.dev/badge/skills/sourjya/kiro-rails/spec-implement.svg)](https://agentmods.dev/skills/sourjya/kiro-rails/spec-implement)
Your own site
<a href="https://agentmods.dev/skills/sourjya/kiro-rails/spec-implement"><img src="https://agentmods.dev/badge/skills/sourjya/kiro-rails/spec-implement.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 462 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00035 $0.00462
Opus 5 $0.00017 $0.00231
Sonnet 5 $0.00007 $0.00092
Haiku 4.5 $0.00003 $0.00046

Measured 6d ago against content hash 0bab55ea91b9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

spec-implement scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/spec-implement/SKILL.md · 45 lines

What it actually says

Spec Implement Workflow

Implement a feature that has an approved spec in .kiro/specs/<feature-name>/.

Steps

  1. Read the full spec - proposal.md, requirements.md, design.md, tasks.md
  2. Confirm readiness - all artifacts exist and tasks are defined
  3. Implement using TDD - for each task:
    • RED: Write a failing test
    • GREEN: Write minimal code to pass
    • REFACTOR: Clean up while tests pass
  4. Check off tasks as completed in tasks.md
  5. Update design.md if implementation deviates from plan (document WHY)

Pre-Implementation Checklist

Before writing any code, verify:

  • proposal.md exists and is approved (user confirmed)
  • requirements.md has testable acceptance criteria
  • design.md describes the approach
  • tasks.md has atomic, ordered tasks
  • No open questions remain in proposal.md (or they've been answered)

Implementation Rules

  1. Follow task order - implement tasks in the sequence defined in tasks.md
  2. One task at a time - complete and verify each task before starting the next
  3. Mark progress - update - [ ] to - [x] in tasks.md after each task passes tests
  4. Stay in scope - if you discover needed work not in the spec, note it but don't implement it. Add it as a new task or flag it for a follow-up spec.
  5. Test against acceptance criteria - each requirement's criteria must have a corresponding test
  6. Document deviations - if the implementation differs from design.md, update design.md with the actual approach and rationale

Completion

When all tasks are checked off:

  1. Run the full test suite
  2. Verify all acceptance criteria in requirements.md are met
  3. Inform the user the spec is ready for verification (use spec-verify)
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 45 lines · 35 tokens per session scan A 0bab55ea91b9

Subscribe to this mod's changes

spec-implement is a skill published in the GitHub repository sourjya/kiro-rails (9 stars, last pushed 1mo ago), licensed MIT. It adds 35 tokens to every session and 462 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.