agentleFS
panandopanando/APIBypass/.agents/skills/decision-mapping/SKILL.md

decision-mapping

Skill8 starsChanged 5 months agoMITView on GitHub

Turn a loose idea into a sequenced map of investigation tickets, then drive them to resolution one at a time.

9 other projects use a version of this, 5 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use edit-article, loop-me and 7 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • simo97Skill

    edit-article

    The user will invoke this skill to help them edit an article.

    Also in 5 projects that use this

  • RoentekSkill

    loop-me

    Grill me about specs for the workflows I want to build, within this workspace.

    Also in 4 projects that use this

  • simo97Skill

    obsidian-vault

    Also in 4 projects that use this

  • LesaniSkill

    writing-beats

    Shape an article as a journey of beats, choose-your-own-adventure style. The user picks a starting beat from the raw material, you write only that beat, then offer options for where to pivot next, beat by beat, until the article reaches a natural end. Use when the user has raw material and wants to assemble it as a narrative rather than an argument.

    Also in 4 projects that use this

  • LesaniSkill

    writing-shape

    Take a markdown file of raw material and shape it into an article through a conversational session — drafting candidate openings, growing the piece paragraph by paragraph, arguing about format (lists, tables, callouts, quotes) at each step. Use when the user has a pile of notes, fragments, or a rough draft and wants help turning it into something publishable.

    Also in 4 projects that use this

  • kennethkeimSkill

    ubiquitous-language

    Extract a DDD-style ubiquitous language glossary from the current conversation, flagging ambiguities and proposing canonical terms. Saves to UBIQUITOUS_LANGUAGE.md. Use when user wants to define domain terms, build a glossary, harden terminology, create a ubiquitous language, or mentions "domain model" or "DDD".

    Also in 3 projects that use this

  • +1 more from simo97
  • +1 more from Lesani

The file

We split this skill into the rules it gives an agent

7 rules. 3 are common, 1 is distinctive, and 3 are very specific to this project.

  • 3

    Common

    Most of the 8 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run a /grilling and /domain-modelling session to surface the open decisions.

    line 58
  2. Common:

    Write a new decision map — mostly fog, frontier identified, trivially-decidable entries resolved inline.

    line 59
  3. Common:

    Stop. Map-building is one session's work.

    line 60
  4. Very specific:

    Run a session to resolve the ticket, invoking skills as needed.

    line 67
  5. Very specific:

    Add newly-discovered tickets (with correct blocked_by edges).

    line 69
  6. Common:

    If the decisions made invalidate other parts of the map, update or delete those nodes.

    line 72
  7. Very specific:

    If they skip it, you should recommend either implementing directly or using /to-prd to schedule a multi-session implementation.

    line 84

“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “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

This skill is invoked when a loose idea requires more than one agent session to turn into a plan. It creates a stateful decision map in a markdown file, and drives the user through a sequence of tickets to resolve the open questions - which may require either prototyping, research or discussion.

The Decision Map

The decision map is a single compact Markdown file, one per planning effort, git-tracked alongside the project. It is the canonical artifact — the whole map is loaded as context into every session, so it must stay compact.

Assets created during tickets should be linked to from the map, not duplicated within it.

Structure

Numbered entries ("tickets"), each its own section keyed by its number:

## #1: Relational Or Non-Relational Database?

Blocked by: #<ticket-number>, #<ticket-number>
Type: Research | Prototype | Discuss

### Question

<question-here>

### Answer

<answer-here>

Each ticket must be sized to one 100K token agent session.

Ticket Types

There are three types of tickets:

  • Research: Reading documentation, third-party API's, or local resources like knowledge bases. Creates a markdown summary as an asset. Use this when knowledge outside the current working directory is required.
  • Prototype: Writing UI or logic code to test a hypothesis, or to explore a design space. Uses the /prototype skill. Creates a prototype as an asset. Use this when "how should it look" or "how should it behave" is the key question.
  • Discuss: Conversation with the agent. Uses the /grilling and /domain-modelling skills. The default case.

Fog of war

The map is deliberately incomplete beyond the frontier. Your job is to investigate the frontier, and to resolve tickets in order to push the frontier forward. Push back the fog of war, one node at a time.

At some point, the fog of war should have been pushed back far enough that the path to the finish line is clear. At that point, no more tickets will be required and the decision map can be considered 'done'.

Invocation

There are two ways this skill can be invoked: bootstrap and resume.

Bootstrap

User invokes with a loose idea.

  1. Run a /grilling and /domain-modelling session to surface the open decisions.
  2. Write a new decision map — mostly fog, frontier identified, trivially-decidable entries resolved inline.
  3. Stop. Map-building is one session's work; do not also resolve tickets.

Resume

User invokes with a path to an existing map and a ticket number.

  1. Load the whole map as context.
  2. Run a session to resolve the ticket, invoking skills as needed. If in doubt, use /grilling and /domain-modelling.
  3. Record what the session resolved in the ticket's body.
  4. Add newly-discovered tickets (with correct blocked_by edges).
  5. Stop.

If the decisions made invalidate other parts of the map, update or delete those nodes.

Parallelism

The user may choose to run tickets in parallel, so expect other agents to make changes to the map.

Skipping The Decision Map

Many times, the initial grilling will result in no fog of war. No unresolved tickets. Nothing to do, except implement.

In those situations, you should offer the user the chance to skip the decision map - since the decision map is only needed if multi-session decisions need to be made.

If they skip it, you should recommend either implementing directly or using /to-prd to schedule a multi-session implementation.

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.