agentleFS
sohaibdevvsohaibdevv/AI-AGENT-SKILLS/skills/requirements-analysis/SKILL.md

requirements-analysis

Skill2 starsChanged 6 months agoMITView on GitHub

Extract, validate, and document requirements from raw input

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After gathering stakeholder input but before writing specs

    line 14
  2. Distinctive:

    When requirements come from multiple sources that may conflict

    line 15
  3. Distinctive:

    Before estimating effort on a project

    line 16
  4. Distinctive:

    When the system must integrate with external systems or regulations

    line 17
  5. Distinctive:

    Ask: What happens when X fails?

    line 38

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Overview

Requirements analysis converts stakeholder requests into verified, unambiguous, testable requirements. It identifies conflicts, gaps, and hidden constraints before they become expensive bugs.

When to Use

  • After gathering stakeholder input but before writing specs
  • When requirements come from multiple sources that may conflict
  • Before estimating effort on a project
  • When the system must integrate with external systems or regulations

Process

Step 1: Collect all sources

Gather: tickets, meeting notes, existing docs, similar systems, regulatory requirements, user research. Document each source.

Step 2: Extract and categorize requirements

Sort into:

  • Functional - What the system does
  • Non-functional - How well it does it (performance, security, availability)
  • Constraints - What the system cannot do or cannot use
  • Assumptions - Things believed true but not verified

Step 3: Check for ambiguity

Flag any requirement that uses: "fast," "easy," "simple," "scalable," "secure," or any other unmeasured adjective. Replace with measurable criteria.

Step 4: Check for conflicts

List pairs of requirements that could contradict each other. Example: "must respond in under 100ms" vs "must encrypt all data at rest and in transit." Resolve or prioritize explicitly.

Step 5: Check for completeness

Ask: What happens when X fails? What are the edge cases for Y? What permissions are required? What should happen with invalid input?

Step 6: Validate with stakeholders

Walk through the requirements list with at least one stakeholder. Every ambiguity you resolve costs nothing here; every ambiguity you miss costs exponentially more later.

Step 7: Prioritize

Label each requirement: Must Have / Should Have / Nice to Have (MoSCoW). Scope the first version to Must Haves only.

Step 8: Create a traceability matrix

Link each requirement to its source. This allows you to answer "why does this requirement exist?" at any point.

Anti-Rationalizations

"We can figure out edge cases as we go" Edge cases figured out during implementation become design debt. Edge cases figured out during requirements analysis become requirements.

"The stakeholder said it clearly" Verbal clarity is not written clarity. What they said and what they meant often diverge when you write it down and ask them to confirm.

Verification Requirements

  • All requirements are measurable (no unmeasured adjectives)
  • No unresolved conflicts between requirements
  • Edge cases documented for all critical flows
  • Requirements prioritized with MoSCoW
  • Traceability matrix exists (requirement → source)
  • Stakeholder sign-off obtained

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.