Skip to content
Back to skills

Plans

ASecurity

- **Status:** built as [`one-for-all`](../../plugins/flagrare/skills/one-for-all/SKILL.md); this is the design sketch it came from - **Research:** [`docs/research/2026-11-30-lightweight-design-before-code.md`](../research/2026-11-30-lightweight-design-before-code.md)

  • 15 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 1, 2026
ai-agentsgosqltestingapidatabase

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 16 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add Flagrare/agent-skills --skill plans --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Plans?

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

Security grade badge for Plans
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/flagrare-plans-d8f689e6/badge)](https://www.skillsdirectory.com/skills/flagrare-plans-d8f689e6)

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
# Plan: `/flagrare:one-for-all`, one design step before `/flagrare:atdd-plan`

- **Status:** built as [`one-for-all`](../../plugins/flagrare/skills/one-for-all/SKILL.md); this is the design sketch it came from
- **Research:** [`docs/research/2026-11-30-lightweight-design-before-code.md`](../research/2026-11-30-lightweight-design-before-code.md)

## Why

On a team, the technical discovery happens before implementation: a design doc, a review of it, then tickets. By the time `/flagrare:work-prep` runs, the costly decisions are made and `/flagrare:intake` only has to gather them. A solo developer, a freelancer or a take-home candidate has none of that. `/flagrare:atdd-plan` then plans on top of decisions nobody made, and the scenarios nobody predicted show up in review or in production.

`one-for-all` is the one step that does what the design doc and its review do, sized for one person, and hands `atdd-plan` the same brief `intake` does. It is not a spec: the acceptance tests are the spec, because they run and can't drift. The shaping doc keeps only what tests can't hold: the problem, the budget, the no-gos, the assumptions and the decisions.

The name: Agile Waterfall For One. It avoids "spec" (spec-driven development) and "design" (`/flagrare:design-review` is the visual skill).

## Inputs, settled first

Three facts change the rest, so the skill finds them before anything else. It reads the repo and the assignment to answer them and asks only what it can't find.

| Input | Changes |
|---|---|
| Existing code, or an empty repo | With code: the reach and data checks below run against it. Empty: they become a written Assumptions list, and the first acceptance test is a walking skeleton. |
| Who reads the doc: self, client, interviewer | Self: one page, kept in the repo. Client: problem, budget and no-gos read as the agreement. Interviewer: decisions and assumptions read as the "why I built it this way". |
| Time budget: given or self-set | Sets how deep the rest goes. A 4-hour take-home gets one page; a two-week freelance job gets more. |

## The flow

1. **Read before asking** (superpowers brainstorming; grilling: facts are the agent's job). Read the assignment, the code and any docs. Fact lookups go to a fresh subagent. If the why isn't stated, ask it as one open question.
2. **Draft the whole shaping doc in one pass**, without asking anything else yet:
   - **Problem, budget, no-gos** (Shape Up).
   - **Language** (DDD, the light part): 5 to 10 domain terms with one-line meanings. Test names use them word for word.
   - **Boundary**: what is inside the system and what is outside. Outside is what tests stub; inside stays real (the testing philosophy's rule).
   - **Rules that must always hold** (invariants).
   - **Main flow in 3 to 9 steps, then every condition per step the system can detect and must handle** (Cockburn). On every step that writes data, two fixed questions: *who else reads or writes this?* (search the code, every repo in reach) and *what am I assuming about the existing data?* (check it with a query when data is reachable; otherwise list it under Assumptions).
   - **Rabbit holes** (Shape Up): a step that needs work nobody has done before, or a design nobody has found yet. Each one gets a decision, a timeboxed spike, or a no-go.
3. **One round of decisions** (grilling, capped). Only decisions that are costly to reverse, at most 4, in one `AskUserQuestion` call, each with the recommended option first, worded so accepting it is one click. A second round only when an answer opens another costly decision. Everything else is written as a default with its reason. For the single biggest decision, optionally three subagents design it under opposing constraints and the skill picks one (Design It Twice).
4. **Design-review stand-in.** A fresh agent gets only the problem, the language and the boundary, walks the flow on its own and lists its conditions. Conditions it found that the draft didn't go to triage. This is an independent second walk, not a lens.
5. **Triage every condition** into exactly one of: an acceptance-test candidate (at most 5 in total, the main flow included, to fit `atdd-plan`'s 3 to 5), a "must also hold" line (covered by a lower-level test), a decision, or a no-go.
6. **Hand off.** Save the doc to the repo (the project's decisions or plans folder, else `docs/one-for-all/<date>-<slug>.md`) so `/flagrare:implementation-review` can find it, then invoke `/flagrare:atdd-plan` with the brief.

## The brief it hands `atdd-plan`

Same sections as `intake`'s context brief, so `atdd-plan` needs no new input mode:

| `intake` section | Filled from |
|---|---|
| What, Why | Problem |
| Acceptance Criteria | The at most 5 acceptance-test candidates, then the "must also hold" lines |
| Constraints & Dependencies | Budget, boundary, rules, no-gos, Assumptions |
| Referenced Material | The assignment, client brief or issue |
| Codebase Findings | Step 1 reading plus the reach answers |
| Open Questions | Empty: resolved, defaulted or a no-go |

Two sections are new, and `atdd-plan` reads them as context: **Language** and **Decisions** (each with the options and why one won).

## What it borrows, and what it leaves

| From | Taken | Left |
|---|---|---|
| Matt Pocock's grilling | facts are the agent's job; recommended answer per question; questions in rounds | asking every branch until the tree is empty |
| superpowers brainstorming | read first; ask "why" first; propose the whole draft; size the doc to the work | its own written design and plan steps (this hands off to `atdd-plan`) |
| Shape Up | budget, no-gos, rabbit holes, slow-motion walk | the betting table |
| Cockburn use cases | main flow plus per-step conditions | the full template, actors list, goal levels |
| DDD | the glossary, the boundary, the invariants | aggregates, repositories, context maps, event storming |
| GOOS | walking skeleton as the first test in an empty repo | the mockist inner loop |
| deliberate-engineering | "decide early what is costly to reverse"; an independent critic | the lens catalogs |

## Changes outside the new skill

- `/flagrare:atdd-plan` Step 2 makes `/flagrare:codebase-explore` a hard requirement. In an empty repo it has nothing to explore: let it return "empty repo" in one line and move on.
- Copy `intake`'s `/goal` lock and its tool-driven close. The shaping doc is a large artifact, and the skill will stall after emitting it the same way `intake` did.

## Acceptance tests for the skill (evals)

Each runs the skill on a prompt and checks the brief it hands off.

1. **Empty-repo take-home.** "Build a URL-shortening API in 4 hours." The brief has a budget, at least one no-go, an Assumptions list, a walking skeleton as the first acceptance test, at most 5 acceptance-test candidates, and no more than 4 questions were asked.
2. **Reach.** A store chain shares item ids across its stores. "Let a store owner change an item's base rate; a database trigger copies the rate into the item price." The brief names the other stores' prices as readers of the written rows, and an acceptance test or a rule says that a change at one store leaves the others unchanged.
3. **Premise about existing data.** "Add a link in each pricing request to the store's item management page." Most requests come from stores that don't use item management. The brief lists "every request comes from a store that uses item management" as an assumption and either checks it against data or turns it into a decision.
4. **Question cap.** A request with eight open choices, two of them costly to reverse. The skill asks only those two, and the rest appear as defaults with reasons.

Tests 2 and 3 are the two scenarios a team review caught and planning didn't. If the skill doesn't pass them, the two fixed questions on writing steps need rework before release.

## Eval results (2026-11-30, one run each)

All four passed: 4, 1+4, 1+2 and 1+3 questions (the "why" plus at most 4); the second walk added 4 to 8 conditions in every run and caught a contradiction in one draft. The reach eval replayed the trigger in SQLite and added a check-and-backfill for prices already lost, which an `atdd-plan`-only baseline missed. The baseline did catch both seeded misses in these small fixtures: a four-file repo puts the trigger and the data in plain sight, so these two evals need larger, noisier fixtures before they can show the step walk beats plain planning.

## Before release (done for 1.95.0)

- SKILL.md cites only sources read at the source (grilling, superpowers, Shape Up, Cockburn, Pierrain, deliberate-engineering, Böckeler). Farley, GOOS, Cooper and the BDD maintenance study stay in the research file only.
- Every example in SKILL.md and the evals is free of company names.
- Still open: larger, noisier fixtures for the reach and data-premise evals.

Files in this skill

  • 2026-05-28-tutor-skill.md37 KB
  • 2026-07-16-security-audit-skill.md5.3 KB
  • 2026-07-27-senior-scan-skill.md3.3 KB
  • 2026-09-30-career-skills-design.md17.1 KB
  • 2026-09-30-career-skills-m1-promotion.md54.1 KB
  • 2026-09-30-career-skills-m2a-impact-scan-rename.md55.9 KB
  • 2026-09-30-career-skills-m2b-impact-scan-map.md62.8 KB
  • 2026-09-30-career-skills-m3-opportunity-scan.md68 KB
  • 2026-10-01-career-skills-m4-career.md5.9 KB
  • 2026-10-02-measure-impact-design.md12.7 KB
  • 2026-10-02-measure-impact-m1-skill.md57.9 KB
  • 2026-10-02-measure-impact-m2-reminders.md30.7 KB
  • 2026-10-02-measure-impact-m3-handoffs.md16.9 KB
  • 2026-10-02-measure-impact-m4-board.md13 KB
  • 2026-11-30-one-for-all-skill.md8.7 KB

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.