agentleFS
UXLanaUXLana/design-skills-pack/skills/requirements-to-decision-doc/SKILL.md

requirements-to-decision-doc

Skill8 starsChanged 29 days agoMITView on GitHub

Turn raw requirements, sync notes or PRD fragments into a status-tagged decision doc. Every requirement, role and flow is marked Decided, Assumed, Open or Proposed, with stable R-IDs, Mermaid flows and open questions split by owner. Output is markdown (default) or a hosted HTML review page. Use when the user says "write up what we aligned on", "turn these notes into a doc", "decision doc", "first-round requirements", "requirements draft", "design sketch for review", or needs to share proposed-but-not-committed requirements for comment. It never invents a requirement: unknowns become Open rows. Pairs with flow-diagram-render for diagram images. Not for an action-item list (meeting-actions-to-tasks), a build-ready spec (intent-spec or spec-pack), or an upstream discovery brief (design-brief-generator).

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Accessible by default (WCAG 2.2 AA): Keep the template's checked colors (text ≥4.5:1, graphics ≥3:1).

    line 40
  2. Very specific:

    Publish/share: only when asked — see references/publish-and-share.md.

    line 49

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Requirements → Decision Doc

Author a decision doc (markdown by default, or a self-contained HTML page for hosted review) that turns messy inputs (sync notes, requirements lists, PRD fragments, a verbal alignment) into a clear, reviewable design sketch. The artifact's job is communication and decision-tracking, not production code — it exists so engineering and stakeholders can react before detailed feasibility work, and so the line between "decided," "assumed," and "still open" is never blurry.

This is the inverse of pulling a spec out of Confluence: this authors the review artifact that can later be mirrored into Confluence (via a Confluence mirror step, if you use one) and feeds the first round of prototypes.

The core idea: honesty about certainty

The single most valuable thing this artifact does is separate what's settled from what's a guess. Reviewers' attention is scarce — point it at the open decisions, not the noise. Every requirement, role, and flow carries a status so a director can skim to the gaps and an engineer can trust what's locked.

Status tags (keep these exact, they map 1:1 to Confluence status-lozenge colors when the doc is mirrored there):

TagMeaningColor token
DecidedAligned at the sync / confirmedgreen (--done)
AssumedReasonable default, not yet confirmedblue (--blue)
OpenStill needs a decision — this is where the gaps areamber (--assess)
ProposedA speculative layer offered for review (e.g. an AI assist layer)purple (--action)

Hard rules (do not violate)

  1. Never fabricate requirements, UI, or decisions not grounded in the source. If something is unknown, make it an Open row with a pointed question — do not invent an answer. Precision is the whole point; a confident-looking but invented requirement is worse than a flagged gap.
  2. Neutral, constructive tone. Frame issues as design opportunities. No commentary on who built something or seniority. This artifact gets shared with directors and engineers.
  3. "Nothing committed" framing. State plainly in the header that it's a working draft, assumptions are flagged, and nothing is locked. This lowers the stakes for honest feedback.
  4. Convert relative dates to absolute (e.g. "yesterday's sync" → the actual date).
  5. Accessible by default (WCAG 2.2 AA). Keep the template's checked colors (text ≥4.5:1, graphics ≥3:1); never convey status by color alone (the status word is always printed); give every diagram an accTitle and accDescr. This doc goes to people who may use a screen reader or zoom.

Workflow

  1. Gather inputs. Sync notes, requirement lists, a Jira epic, a verbal summary. Ask only for what shapes the structure (who the roles are, what the lifecycle is). Default unknowns to Open rows, don't stall.
  2. Extract and classify. Pull out roles, actions, states, and requirements. Tag each by certainty (Decided / Assumed / Open / Proposed). Group requirements by lifecycle area (Create, Assign, Reassign, Reject, Complete, etc.) and give each a stable ID: R-<GROUP>-<n>.
  3. Pick the format, then build. Markdown (references/decision-doc-template.md) is the better authoring source — Mermaid renders live in Obsidian, GitHub, and Confluence-with-Mermaid-app, and it's diffable. HTML (references/decision-doc-template.html) is the richer reading/review artifact (sticky TOC, as-is/with-layer toggle, view-code component) for hosting on Vercel. Default to markdown unless the doc is headed straight to a hosted review, or produce markdown first and generate the HTML from it. Include only the sections the material supports — don't pad.
  4. Add flows as Mermaid diagrams, color-coded by status, with the status word in node labels or a legend under the diagram, and an accTitle: / accDescr: line in each source. If a proposed layer exists (e.g. AI), offer both an as-is and a with-<layer> variant via a toggle (see references/conventions.md). To embed diagrams where live Mermaid won't run, hand the sources to flow-diagram-render.
  5. Close with open questions by owner — split the unresolved items by who answers them (product vs. engineering), so the asks are unambiguous.
  6. Publish/share only when asked — see references/publish-and-share.md.

Section menu (use what the material supports)

  • Header — kicker, title, one-line description, last-edited date, status legend. No "Purpose:" preamble.
  • Scope — what this covers + what was decided (a decision list) + the hard constraint to design around.
  • Roles — the role set as cards; note any base/observer role explicitly.
  • Permission matrix — role × action table (✓ / ▲ conditional / · no). Flag ▲ cells as open rulings.
  • Lifecycle — state machine (states + transitions + trigger).
  • Flows — end-to-end flow(s); as-is and optional with-<layer> variants.
  • [Proposed layer] — e.g. AI assist: a guardrail panel + touchpoint cards + its own R-* rows, all tagged Proposed.
  • First-round requirements — grouped tables, every row tagged.
  • Open questions — by owner (product / engineering).

Reference files

  • references/conventions.md — status color tokens (contrast-checked), accessibility rules, the as-is/with-layer toggle, the diagram "view code" component, and the never-fabricate rationale. Read before building.
  • references/decision-doc-template.md — markdown skeleton with fenced Mermaid (status-colored), grouped R-* tables, and the rules as HTML comments. Best for authoring; renders in Obsidian/GitHub/Confluence.
  • references/decision-doc-template.html — self-contained HTML skeleton (toolbar/TOC/sections, Mermaid wiring, view-code + as-is/with-layer toggles). Best for hosted review. Mermaid is pinned to 11.17.2, the same major flow-diagram-render uses, so hosted diagrams and exported images match.
  • references/publish-and-share.md — GitHub→Vercel hosting, what to do when Vercel blocks a deploy, and Slack share-message patterns. Read only when publishing.

Handling incomplete information

Generate what the material supports, turn every unknown into an Open row with a specific question, and add an "Open questions" section listing them by owner. A doc that honestly says "we don't know X yet, and Y owns that call" is more useful than one that papers over the gap.

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.