Skip to content

clarify-spec

Clarifies your requirements one question at a time, each with a recommended answer, and creates a requirements document and a final proposal. It shows the final output in the chat and, inside a Git repository, saves it in Markdown to specs/ at the repository root. It covers a wide range of requests, including plans, writing, proposals, and organizing research.

It does not rewrite any file other than the one it saves. It does not write to external services or build prototypes.

Put /skill:clarify-spec <request> at the start of your input and send it. As the argument, write the request you want clarified. If you start it without a request, it replies “clarify-spec を有効化しました。明確化したい依頼を提示してください。” (clarify-spec is enabled. Please present the request you want clarified.) and waits for your request.

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 requirements to be clarified or turned into a specification.

  • Use it when the purpose, success criteria, target readers, constraints, format, and so on of a deliverable are not yet settled, and you want to pin down the requirements before a final proposal is made.
  • After this skill creates a requirements document, you can use grill-spec-loop in the Built-in Workflows: a subagent asks questions about the requirements document following the steps of grill-me, and the requirements document is revised based on the results. grill-spec-loop assumes that clarify-spec created the requirements document in the same conversation.

Example input:

/skill:clarify-spec I want to add a password reset feature to the login screen

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

  • When it starts, it first enables expert-mode-ja. If it cannot enable it, it tells you why and ends.
  • It tells you where the final result will be saved. Inside a Git repository, it saves to specs/ at the repository root. Outside a Git repository, if no save directory has been specified, it proceeds in the chat only without saving.
  • Inside a Git repository, if the request involves changing or investigating existing code or files, it hands the preliminary investigation to codebase-recon before asking questions. If you state that no preliminary investigation is needed, it does not hand it over.
  • It shows the goal (the deliverable to create and the state of completion) and the list of question sections it will use, then asks questions one at a time, each with a recommended answer. Each question is numbered in the form 質問 (N) (Question (N)), and the total number of questions is not shown.
  • It does not ask about things it can find out by checking the conversation, existing files, and so on; it checks them itself.
  • Before moving to the final output, it reviews all sections and asks whether to move to the final output or dig deeper.
  • The final output consists of a title, the requirements document, the final proposal in the format you asked for, and a 前提条件 (Assumptions) section. The title at the top is in Japanese.
  • If high-impact unresolved items remain, it states that the final proposal is provisional.
  • It saves the final output with a name in the form YYYY-MM-DD-HHMM-<English title>.md and tells you the saved path. If a file with the same name exists, it does not overwrite it and saves with a numbered name instead.
  • It replaces values that look like credentials with [REDACTED] before showing and saving them.
  • It does not rewrite any file other than the one it saves. It does not write to external services, start subagents, or build prototypes.

Position in the AI-driven development workflow

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

It is the 4th of the 11 steps in the AI-driven development workflow. The previous step is load-issue, and the next step is implement-spec. For the order of the steps, see “Order in the AI-driven development workflow” in Bundled skills.