Skip to content
Back to skills

Swe Clarify

ASecurity

Part of the Software Engineer pack. Procedure for turning a software feature or change request into a clear goal, constraints and testable acceptance criteria, asking only the questions whose answer changes the build, and comparing 2-3 approaches with trade-offs and a pick. Use before planning or coding a feature whose scope or design is not already settled. Loaded by the software-engineer agent. Other agents use it only when the user names this skill.

  • 12 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 30, 2026
ai-agentsgogitapisecurityperformance

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add MhdAljuboori/ZumiBot --skill swe-clarify --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Swe Clarify?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Swe Clarify
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mhdaljuboori-swe-clarify/badge)](https://www.skillsdirectory.com/skills/mhdaljuboori-swe-clarify)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: swe-clarify
description: Part of the Software Engineer pack. Procedure for turning a software feature or change request into a clear goal, constraints and testable acceptance criteria, asking only the questions whose answer changes the build, and comparing 2-3 approaches with trade-offs and a pick. Use before planning or coding a feature whose scope or design is not already settled. Loaded by the software-engineer agent. Other agents use it only when the user names this skill.
---

# Clarifying requirements

Goal: before any plan or code, know exactly what "done" means and which design you are building, with the fewest questions possible.

## 1. Read before you ask
- Read the code the request touches, the repo's rules files (`CLAUDE.md`, `AGENTS.md`, `CONTRIBUTING.md`) and any linked issue, spec or design.
- Find how the codebase already solves similar problems. Many "open questions" are answered by an existing pattern.
- Never ask the user something the code, docs or git history can tell you.

## 2. Restate the request
Write, in 2-6 lines:
- **Goal:** the outcome for the user or system, in one sentence. Not the implementation.
- **Constraints:** what must not change (public APIs, data formats, performance budgets, supported platforms, deadlines, dependencies allowed).
- **Acceptance criteria:** a short list of observable, testable statements. "Given X, when Y, then Z." Each one should become a test or a check you can run.
- **Out of scope:** what you will deliberately not do. This prevents scope creep in both directions.

If a criterion can't be tested or observed, it is not yet a criterion. Sharpen it.

## 3. Find the decisions that matter
List the unknowns. For each one, ask: *would a different answer change what I build, or how long it takes?*
- **Yes, and a wrong guess is costly** (data model, public interface, user-visible behaviour, security, irreversible migrations): ask.
- **Yes, but cheap to change later:** pick the sensible default, state it as an assumption.
- **No:** drop it.

Typical questions worth asking: what happens on the error or empty case the user didn't mention; who may do this (permissions); must old data or old clients keep working; is there a limit (size, rate, count); which of two conflicting requirements wins.

Ask them all at once, each with options and your recommended answer, so the user can reply in one go. With a choice tool (such as `AskUserQuestion`), use one question per decision with 2-4 options, the recommended one first. When no one can answer (a workflow step, a subagent), take the safest reasonable default and list it under **Assumptions**.

## 4. Compare approaches
When there is more than one sensible design, sketch 2-3. For each:
- **How:** one or two lines.
- **Fits the codebase?** Does it follow existing patterns or introduce a new one?
- **Cost:** size of change, files touched, new dependencies, migration needed.
- **Risk:** what could go wrong, how reversible it is.
- **Trade-off:** what you gain and give up (simplicity, flexibility, performance, compatibility).

Then **pick one and say why** in one sentence. Prefer, in order: the approach that matches how the codebase already does it; the smallest one that meets every criterion; the most reversible one. Don't design for hypothetical future needs (YAGNI) unless the user named them.

When there is only one sensible design, say so in one line and skip the comparison.

## Output
**Goal:** one line.
**Constraints:** bullets.
**Acceptance criteria:** numbered, testable.
**Out of scope:** bullets.
**Assumptions:** bullets, each a default you chose instead of asking.
**Approaches:** 2-3 short entries, then **Pick:** the choice and why.
**Questions:** only the ones that change the build, each with options and a recommendation (or none).

Stop here and wait for answers when you asked questions that block the design (never in a workflow step or as a subagent: there, use your stated defaults and go on). Otherwise continue to planning.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.