Command Palette

Search for a command to run...

Назад к скиллам
скилл № 33759

hoc-requirement-definition

Turn a rough, incomplete request into a requirement definition document through conversation with the requester. Use this skill whenever the user brings a…

БесплатноБез исполняемых скриптов
openreachtechот openreachtech★ 17 звёзд на GitHub

Установить hoc-requirement-definition в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Requirement Definition

A skill for converting a rough specification into a requirement definition document through conversation with the requester.

The output is not prose that describes an idea. It is a document that a later phase can verify against: every requirement carries a stable id and at least one acceptance criterion, so that implementation progress, code review and test results can each point back to the exact requirement they satisfy.

Core principle: the document records decisions, it never records guesses

A rough specification is rough because the requester has not yet decided everything. The value of this skill is in surfacing what has not been decided, not in producing a complete-looking document.

  • Anything the requester actually stated → a requirement.
  • Anything the requester did not state, and that changes the work → ask.
  • Anything asked but not yet answered → an open question in the document, never a guessed answer written as if it were decided.
  • A document that looks finished but silently contains the author's assumptions is worse than an obviously unfinished one, because the verification phase will then confirm the assumption instead of the requirement.

Filling a gap quietly is the failure this skill exists to prevent.

The skill is not finished until the requester approves

The document has two states, recorded in its header.

State Meaning
DRAFT Written, but not yet confirmed by the requester. Implementation must not start.
APPROVED The requester has read it and confirmed it. Implementation may start.
  • Never mark a document APPROVED on the requester's behalf.
  • A document with any unanswered open question cannot be APPROVED. Either the question is answered, or the affected requirement is moved to out-of-scope.

Procedure

Work through the five phases in order. Do not skip to drafting.

# Phase What happens
1 Restate Read everything given (message, ticket, existing code) and restate the request in your own words in 3–5 lines. Get it corrected before going further.
2 Probe Ask the questions that change the shape of the work. See interview.md.
3 Decide For each answered point, write the decision down. For each unanswered point, write an open question.
4 Draft Produce the document from the template. See document-template.md.
5 Approve Present the document, ask for confirmation, then set the state to APPROVED.
  • Phases 2 and 3 repeat. One round of questions is almost never enough; two or three rounds is normal.
  • Phase 1 is not optional. A restatement that gets corrected early saves the whole document from being written against the wrong problem.

Rules for the conversation

  • Group questions by topic and ask a round at a time. Roughly five questions per round is the upper bound. A list of twenty questions gets one answer.
  • Order questions by how much the answer changes the work. Ask what splits the design first (does this write to storage at all? is it synchronous?), and ask details last (label text, ordering).
  • Never ask what the code already answers. Read the repository first. Asking a requester something discoverable from the existing implementation wastes the round.
  • Offer a recommendation with each question. Present the realistic options and say which one you would pick and why. An open-ended question returns a vague answer.
  • Ask about what must not happen, not only about what must happen. Prohibitions are requirements and are the ones most often left unstated.
  • Do not negotiate the scope down. If the request is larger than expected, record it fully and let the requester decide what to cut. Cutting scope silently is the same failure as guessing.

Requirement ids

  • Ids are REQ-01, REQ-02, … zero-padded to two digits, unique within one document.
  • Ids are assigned in the order requirements are written and never renumbered. Progress entries, review findings and test names refer to these ids; renumbering invalidates all of them.
  • A withdrawn requirement keeps its id with the status WITHDRAWN and a one-line reason. Its id is never reused for a different requirement.
  • A requirement added after approval takes the next unused number, even if it belongs at the top of the document logically. Order in the document is only for presentation; the id is the identity.

Every requirement must be verifiable

  • Each requirement carries at least one acceptance criterion, numbered REQ-nn-AC1, REQ-nn-AC2, ….
  • An acceptance criterion states an observable outcome — something a test, a screen or a stored record can be checked against. If nobody can tell from the outside whether it holds, it is not a criterion.
  • A requirement whose criteria cannot be written is a requirement that is s
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • references/document-template.md
  • references/interview.md

FAQ

Что делает скилл hoc-requirement-definition?

Turn a rough, incomplete request into a requirement definition document through conversation with the requester. Use this skill whenever the user brings a feature request, ticket or rough idea and asks to define or write up the requirements, and before implementing anything whose scope is not already written down. Tracking progress against the requirements belongs to the implementation- progress convention.

Как установить скилл hoc-requirement-definition?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл hoc-requirement-definition запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить hoc-requirement-definition с