requirement

A requirements-gathering command that turns a user's request into a clear description of the software work. It covers scope, acceptance criteria, constraints, dependencies, risks, edge cases, and open questions.

In plain words
What is it for?
Use it to ask focused clarification questions and write requirement and, when useful, acceptance-criteria documents for a feature.
Why use it?
It reduces ambiguity before design and implementation begin, so the team has a shared understanding of what should and should not be built.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/lab94/frenchie-skill/requirement
Clone the repo
git clone --depth 1 https://github.com/Lab94/frenchie-skill
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 633 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 $0.00000 $0.00633
Opus 5 $0.00000 $0.00316
Sonnet 5 $0.00000 $0.00127
Haiku 4.5 $0.00000 $0.00063

Measured yesterday against content hash 073016d87d75, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

requirement 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 yesterday.

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.

method/commands/requirement.md · 46 lines

How it starts

The opening of the file, as written. The whole thing — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/requirement

Turn the user's request into implementable requirements.

Gather enough clarity for downstream work: problem, users, scope in/out, acceptance criteria candidates, constraints, dependencies, non-goals, risks, edge cases, data/security/privacy notes, and open questions. Ask focused questions until ambiguity is low enough to proceed.

Write 01-requirement.md and, when useful, 02-acceptance-criteria.md.

Auto-bootstrap when feature context is missing

If no active feature folder exists when /requirement is invoked, propose creating one before requirement work begins:

  1. Infer a feature slug and taskType from the user's request.
  2. Ask once: "No active feature found. I'll create <slug> (<taskType>) under .frenchie/docs/feature/. OK?"
  3. On confirmation, run the /prepare-feature workflow internally with taskSize: medium as a provisional value (the scope hint below may refine it).
  4. Proceed with requirement work.

The user does not need to invoke /prepare-feature separately. If the user declines, ask for the desired slug or stop.

Scope hint in chat output

While reading source for context gathering, the agent should also note the rough scope of the change. Mention this in the chat reply (not as a formal artifact section):

  • estimated size (xs, small, medium, large, epic)
  • which files will likely change
  • whether sensitive paths are touched (auth, billing, payment, migrations, dependency files, crypto, env files)
  • which subsequent commands look necessary vs. skippable

Before recommending follow-up commands, consult the selected workflow file under method/workflows/ and preserve that order. Do not reorder Method gates from general reasoning. For a standard feature, the advisory order after /requirement is /qa-analysis/design when user-facing → /security-review when risk is present → /sa-analysis/task-plan/implement.

Structure the end of the chat reply with three short fields:

  • Recommended Next Command: exactly one next Method command, or "resolve open questions in /requirement" when the requirement is not ready to hand off. For non-XS standard features, this is normally /qa-analysis before /sa-analysis.
  • Later Recommended Commands: ordered later commands from the selected workflow, with brief reasons.
  • Skippable / Not Needed: conditional commands that look unnecessary for this scope.

Read the full file on GitHub · 46 lines

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. yesterday First seen · 46 lines · 0 tokens per session scan A 073016d87d75

Subscribe to this mod's changes

requirement is a command published in the GitHub repository Lab94/frenchie-skill (0 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 633 tokens. 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.