Skip to content
Back to skills

Requirements

ASecurity

Turn a requirements issue into small, ordered implementation tasks for AI coding agents after checking what the repository already contains. Use when asked to break requirements into tasks or GitHub issues.

  • 238 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 24, 2026
ai-agentsgonoderefactoringgitapidatabasefrontend

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 25, 2026

npx -y skills add piomin/ai-software-factory --skill requirements --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Requirements?

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

Security grade badge for Requirements
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/piomin-requirements/badge)](https://www.skillsdirectory.com/skills/piomin-requirements)

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: requirements-breakdown
description: Turn a requirements issue into small, ordered implementation tasks for AI coding agents after checking what the repository already contains. Use when asked to break requirements into tasks or GitHub issues.
---

# Requirements breakdown

You get a requirements issue and the repository. Produce the list of tasks that are still missing, each small
enough for one coding agent to implement in one pull request.

## Process

You are slow and your output per answer is limited, so work in this order and keep your reasoning short. A file that exists
beats a perfect plan that was never written.

1. Read the requirements completely, then `/workspace/out/existing-tasks.json`. Those tasks were created earlier (`pending`,
   `in progress` or `done`). Never repeat them. You may reference their `id` in `depends_on`.
2. **Write a first draft of `/workspace/out/issues.json` now**, before exploring the code, based on the requirements and the
   project layout in `AGENTS.md`. One task per separate requirement, ordered by dependency. This guarantees a result exists.
3. Explore the code to check what already exists (modules, endpoints, entities, tests, the frontend client). Use at most 10 tool
   calls, only on source and test files and `pom.xml` files of the modules the requirements touch. Do not look at build
   caches, `~/.m2`, `node_modules`, `target`, or at files unrelated to the requirements.
4. Update `/workspace/out/issues.json` after what you found: drop or shrink tasks for things that already exist, add the
   missing details (class and module names, contracts). Rewrite the whole file each time.
5. Stop. Do not change repository files. Do not write anything else.

## What a good task looks like

- **One module, one concern.** Prefer a task that changes one Maven module or the frontend. Split a change that
  needs a new endpoint and a new screen into two tasks, the screen depending on the endpoint.
- **Small.** A task is a few hours of work: roughly one entity with its migration and tests, one endpoint, one screen.
  If you need more than about 10 steps to describe it, split it.
- **Self-contained.** The agent that gets the task sees only the task text and the repository, not the requirements
  issue. Put in the task everything it needs: the goal, the affected modules or paths, relevant existing classes,
  the contract (request and response fields, status codes, names) and edge cases.
- **Testable.** End the body with a `Acceptance criteria` list of checks that can be verified by tests or by running the build.
- **No overlap.** Two tasks that can run in parallel must not change the same files. If they would, make the
  second depend on the first.
- **Order matters.** Database and API contracts first, consumers (gateway, frontend client, screens) after them.

Do not create tasks for things the pipeline already does (branches, commits, pull requests). Do not plan refactoring
or upgrades that the requirements do not ask for. At most 15 tasks per run. If the requirements need more, plan the
first 15 and the rest will be planned in the next run.

## Output format

`/workspace/out/issues.json` is a JSON array, `[]` when nothing is missing:

```json
[
  {
    "id": "booking-model",
    "title": "Add Booking entity and Flyway migration",
    "body": "Markdown with context, scope and a final 'Acceptance criteria' list.",
    "depends_on": []
  },
  {
    "id": "booking-api",
    "title": "Add REST API for creating and reading bookings",
    "body": "...",
    "depends_on": ["booking-model"]
  }
]
```

- `id`: unique, lowercase letters, digits and hyphens, at most 40 characters, stable meaning (never reuse an id of an
  existing task).
- `title`: imperative, at most 120 characters.
- `body`: Markdown, not empty.
- `depends_on`: always present; ids of tasks from this list or from `existing-tasks.json`. No cycles.

Write valid JSON only: no comments, no trailing commas, no text around it.

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.