Implement one feature from a spec the user supplies (a file path, pasted text, issue link, or document section), including its tests. Use when the user asks to implement a specific spec; do not use to draft specs or implement an unspecified collection of features.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Spec Impl?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/sivaprasadreddy-spec-impl)
---
name: spec-impl
description: Implement one feature from a spec the user supplies (a file path, pasted text, issue link, or document section), including its tests. Use when the user asks to implement a specific spec; do not use to draft specs or implement an unspecified collection of features.
disable-model-invocation: true
---
# Implement Spec
Implement exactly the spec supplied by the user, using its description and acceptance criteria as the scope contract.
## Input and source of truth
- The user supplies the spec. It may be a file path, a section of a document, pasted text, or a link to an issue or ticket. Do not expect or require any particular ID format.
- If no spec was supplied, the reference is ambiguous (for example, it matches several sections or files), or it cannot be read, stop and ask the user to clarify. Do not edit files.
- Read the complete spec. Also read anything it directly references (dependencies, related specs, designs) and relevant product or architecture documentation.
- If the spec contradicts itself, stop and ask the user to resolve it. Do not edit files.
- Treat the documented description and acceptance criteria as the implementation contract. Do not silently expand the feature.
## Resolve questions before implementation
Inspect the relevant code and tests to determine the smallest complete implementation. Before changing any file, identify missing decisions, contradictions, technically significant ambiguity, unmet dependencies, or acceptance criteria that cannot be implemented as written.
If any such question exists, ask the user concise, decision-oriented questions and wait for answers. Do not choose product behavior on the user's behalf.
If the spec appears to be already implemented, report the evidence and stop unless the user explicitly asks to reimplement or repair it. If the spec depends on work that does not exist yet, ask whether to proceed, implement the dependency separately, or stop; never expand the current spec implicitly.
## Status tracking (only if the spec has one)
If the spec carries a status field (for example `NOT_IMPLEMENTED`, `IN_PROGRESS`, `COMPLETED`), keep it accurate:
1. Once scope is unambiguous, set it to `IN_PROGRESS` as the first repository change. If the status appears in more than one place (such as a summary table and a detailed section), update all of them and confirm they agree.
2. Set it to `COMPLETED` only after every acceptance criterion is implemented and verification passes.
3. Do not change the status of any other spec.
If the spec has no status field, do not add one.
## Implement and verify
- Follow repository instructions and existing architecture, naming, and testing conventions.
- Preserve unrelated user changes in the worktree.
- Implement every acceptance criterion, including stated authorization, validation, failure, privacy, and state-transition behavior.
- Add or update focused automated tests that demonstrate the acceptance criteria. Prefer observable behavior over tests coupled to implementation details.
- Run the focused tests first, then the repository's broader relevant verification when practical.
- Review the final diff for scope, accidental changes, and consistency with the spec.
If implementation reveals a new product ambiguity, pause and ask the user. Likewise, if tests fail or required work remains, do not declare the spec complete; report the remaining work and verification evidence.
## Finish
Only after all acceptance criteria are implemented and relevant verification passes, report:
- the implemented behavior, mapped to each acceptance criterion,
- the tests run and their results,
- the final status, if the spec tracks one.
Done means the spec is fully implemented and verified, not merely that code was written.