agentleFS
BilLogicBilLogic/uno-blueprint/skills/slice/SKILL.md

slice

Skill4 starsChanged 14 days agoMITView on GitHub

Blueprint slice — cut a stakeholder view out of an imported, signed-off blueprint: one actor's journey, one moment across every lane, one lane end to end (what a team owns), one cell brief, or a slide-by-slide walkthrough, text or illustrated, for a client or exec; writes it back as a slice the app presents, and refreshes one whose cells changed. Building the blueprint → ub:map.

19 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use domain-model, rubber-duck and 3 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.
  • thoughtbotSkill

    domain-model

    Turn a described business process into a domain model.

    Also in 3 projects that use this

  • thoughtbotSkill

    rubber-duck

    Start a rubber duck session.

    Also in 3 projects that use this

  • AWSSkill

    ship

    Finalize dev work on an issue branch — update docs, push, and open a PR.

    Also in 4 projects that use this

  • AWSSkill

    retro

    Conduct a retrospective on a coding session.

    Also in 3 projects that use this

  • MicrosoftSkill

    handoff

    Compact the current conversation into a handoff document for another agent to pick up.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 19 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

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

    Read skills/slice/references/slice-playbook.md before executing any route.

    line 37

“Common” is measured: kept by at least 6 in 10 of the 19 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

Blueprint Slices

A blueprint answers "how does the whole service work". Nobody reads that in a meeting. A slice answers one question for one audience — what is this like for the technician, what happens at the greeting, what does this lane own — by selecting cells that already exist and putting them in order.

The discipline that makes slices worth trusting: a slice never invents. It selects, orders, captions, and cites. Every claim points at a cell key. Regenerating a slice is therefore cheap and safe, which is the whole reason a slice is worth storing separately from the board at all.

Paths resolve against the plugin root (${CLAUDE_PLUGIN_ROOT} in Claude Code) or the workspace root, per AGENTS.md.

Entry-state detection (do this first)

Slices are derived from an imported blueprint. Establish what exists before selecting anything:

Entry stateRoute
No workspace / no IRStop. This is the ub:map skill's job — a slice of nothing is a fabrication
Workspace DB predates slices (relation public.slices does not exist)Stop before any insert: apply the migrations that add the records about the board (supabase/migrations/20260729120000_derived_layer.sql onward) to the target, then resume — never hand-create the tables
IR exists, scenario not signed offFinish review first: a slice of unsigned IR cites cells review may still change
Signed off, not importedImport the scenario, then slice
Imported, no slices yetSelect
Slices exist, user wants anotherSelect; reuse the existing slice keys' naming conventions
Slices exist, user wants this one changedCheck authorship before touching it (playbook §6)
Slice cites keys that no longer resolveStale after a key rename — re-select by the current keys, re-apply prose
Text slices exist, user wants picturesStoryboard sub-flow — skills/slice/references/storyboard-prompts.md

Read skills/slice/references/slice-playbook.md before executing any route; it carries the gates.

Hard rules

Everything else here is guidance you may adapt. These are where the system actually breaks:

  • ⚠ REQUIRED — slices write slices and slides only. A missing cell or interaction goes to ub:map as a blueprint edit: re-sign, re-import, then slice.
  • ⚠ REQUIRED — every claim traces to a cited cell. Titles and captions may only say what the cells in that slide support. This is the single check blueprint-reviewer slice mode exists to run.
  • ⚠ REQUIRED — cite by cell key or title; describe personas. Slices land in public-read tables and shared docs, so evidence and business models are referenced by key or title, and people appear as personas ("a first-week field technician").
  • ⚠ REQUIRED — validate before import. skills/slice/scripts/slice_tools.py validate must exit 0. It catches unresolvable cell keys, duplicate cells, and multi-scenario slices — each of which renders as silently wrong rather than as an error.
  • ⚠ REQUIRED — regenerate per authorship — playbook §6.
  • ⚠ REQUIRED — confirm the import target (project ref / service id) before any write; references/adapter-contract.md §1 applies to slices unchanged.
  • ⚠ REQUIRED — secrets, image-model keys included, follow references/adapter-contract.md §7.

The pipeline

imported + signed scenario
  → select   (slice_tools.py select → slices/<key>.json)
  → write    (titles, captions — cite, never quote)
  → validate (slice_tools.py validate, exit 0 required)
  → review   (blueprint-reviewer, slice mode)
  → import   (slice_tools.py sql → adapter → read-back)
  → present  (render-checker on ?slice=<id>)
  → storyboard (optional, text path complete first)

Correctness-critical logic — cell-id derivation, selection rules, validation, SQL emission — lives in skills/slice/scripts/slice_tools.py. Execute it; never reimplement its logic in-context. Its cell-id derivation must agree byte-for-byte with the blueprint import, or the slice points at rows that do not exist.

The questions, and their types

QuestionType
What is this like for X?journey — X's lane plus what their cells exchange arrows with
What happens at this moment?step — one column, every lane, top to bottom
What does this lane own?lane — one lane, left to right
What is really going on in this cell?cell — one cell, placed in its journey
These, in this ordercustom

journey is the default reading of an ambiguous ask. A storyboard is a journey slice with illustrations — not a sixth type.

A slice reads one path. When an actor's cell has a link to a cell on another path or scenario, that cell is outside the slice: select leaves it out and prints a note: naming it. Say it in the slide's caption, or cut a second slice of that path — never stand in the cell with the same lane and step on this path, which is a different cell.

Deterministic exit conditions

Never "looks done":

PhaseExit condition
Selectionslice_tools.py validate exit 0
Reviewblueprint-reviewer slice mode passes; grep confirms no excerpt text in the file or doc
ImportTransaction committed; slices rows = file slices, slides rows = frame count
Presentrender-checker confirms every frame renders at ?slice=<id>
StoryboardEvery frame has an illustration, or the slice is explicitly text-only

Agents

  • blueprint-reviewer (slice mode) — fresh-context adversarial read before import: does every claim trace to a cited cell, is any interaction asserted that the blueprint does not record, is any excerpt quoted, is the persona consistent across slides.
  • render-checker — walks ?slice=<id> after import; screenshots plus console-error report.
  • document-reader — only if the slice's prose needs source material the blueprint does not carry. Its output is reference material for writing, never a licence to add cells.

References

Read whenFile
Doing anything in this skillskills/slice/references/slice-playbook.md
Writing or checking a slice fileskills/slice/references/slice-schema.json
Structuring the markdown companionskills/slice/references/slice-templates.md
Generating illustrationsskills/slice/references/storyboard-prompts.md
Naming lanes and actors consistently across slicesreferences/lane-vocabulary.md
Anything touching an import targetreferences/adapter-contract.md
Understanding the underlying tablesreferences/data-model.md

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.