Skip to content

implement-spec

Based on a requirements document finalized with clarify-spec, the current Agent itself carries out the minimum necessary implementation, related tests, verification, and a report of the result. It does not require a GitHub / GitLab Issue, and does not create a separate plan document.

It does not commit, push, create a PR / MR, or write to external services. It also does not start other skills or delegate to other Agents.

Put /skill:implement-spec <path to the requirements document> at the start of your input and send it. The argument is optional. If given, it is treated as the path to the requirements document. If omitted, the final output of clarify-spec in the current conversation becomes the candidate requirements document.

This skill is not manual-start only. The Agent may start it on its own judgment based on your request. Its description says to use it when you ask for an implementation based on a requirements document, and not to start it just because a requirements document exists, nor to use it for a request to handle an Issue (git-fix-issue-ja).

  • Use it when you want the implementation, tests, verification, and report done according to a requirements document created with clarify-spec. Start it as a new request after clarify-spec has finished. If clarify-spec was started in the same request, it does not proceed to implementation, and instead guides you to start it as a new request after clarify-spec has finished.
  • To ask for work on a GitHub / GitLab Issue, use git-fix-issue-ja instead of this skill.

Example input:

/skill:implement-spec specs/change-auth.md

According to the skill’s instructions, the result is as follows.

  • It uses as the requirements document only one that contains both the ## 要件確認書 (requirements document) and ## 前提条件 (assumptions) sections. If a section is missing, or if it cannot identify a single requirements document, it stops without proceeding to implementation. If there are several candidates, it shows them and asks you to choose.
  • Before implementing, it briefly shares what will be changed, the implementation approach, how it will be verified, the branch name, and the requirements document it uses. If none of the stop conditions apply, it proceeds to implementation without waiting for approval. If, for example, there are unresolved high-impact items, there is a serious conflict between the specification and the existing code, or changes outside the specified scope are needed, it stops and asks before editing.
  • Following the requirements document, it edits and creates files, and adds or updates the tests that correspond to the changes.
  • It verifies the changes with the project’s standard tests, lint, type checks, and builds. It fixes failures caused by the current changes and runs the related verification again. It stops after a total of nine rounds of fixing and re-verifying.
  • At the end, it reports, in a fixed format, the verdict (“完了” (completed) / “未完了” (not completed)), what was changed, the changed files, how each requirement was handled, the verification results, and remaining issues and unconfirmed items. It sets the verdict to “完了” (completed) only when all requirements are handled, all necessary verification has succeeded, and no necessary unconfirmed items remain.
  • The report is in Japanese.
  • In the review section of the report, it states that only a self-check by the implementer was done and that no independent review has been done.
  • It does not commit, push, install dependencies, or start the app or a development server. It does not edit the requirements document file.

Position in the AI-driven development workflow

Section titled “Position in the AI-driven development workflow”

It is the 5th of the 11 steps in the AI-driven development workflow. The previous step is clarify-spec, and the next step is double-check. For the order of the steps, see “Order in the AI-driven development workflow” in Bundled skills.