Skip to content
um1chc5Public

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flowstory: a request moving through a small system diagram, with a new outbox node outlined in green

flowstory

Status: design phase. Only docs exist so far. Nothing is published. flowstory is a working name.

An agent skill that draws software systems as interactive diagrams you can compare across versions and play a request through, for an existing codebase or a design that doesn't exist yet.

Ask your agent for a diagram:

"Diagram how checkout works in this repo."

The agent reads the code, writes a small JSON spec, validates it, and builds one self-contained .html file: a clean diagram with nodes on a grid, edges routed and labelled automatically, and a deep dive behind every node (what it does, how it works, where it lives in the code).

Then add layers only when you need them:

One core, always on, with five optional layers above it: Views, Playback, Callouts, Review, Sync

Layer Ask for it with You get
Views "…and show it with the outbox added." The same layout in several versions. New parts are green, removed parts fade, nothing moves.
Playback "…walk me through a payment timeout." A request moving along the edges step by step, with captions.
Callouts "…note where retries happen." Notes, risks, and questions pinned to nodes.
Review "…where does it break, and how would an outbox + idempotency keys fix it?" Problems and fixes, a verdict for each scenario in each view, a recommendation, and a PROPOSAL.md with matching ids.
Sync (automatic for code-traced diagrams) check fails when the code drifts away from the diagram.

The key idea is views on one fixed layout. Nodes never move between views, so a change reads as a diff:

The checkout diagram in two views. Today, then a proposal that adds an outbox and an outbox relay in green and fades the old direct publish edge. Every other node stays in place.

Illustrations of the design. Screenshots of real output will replace them as milestones land.

Why another diagram skill?

archify and diagram-design already draw excellent diagrams, across many types. flowstory focuses on software systems only (flow and sequence first; state machine, pipeline, and deployment later) and gives every type the same layers from one validated spec: views shown as diffs, playback, callouts, an optional opinionated review, and drift checks against the code. See docs/01-product.md.

Existing code or a blank page

With a repo, the agent traces the system from the code and cites files pinned to a commit. Without one, flowstory is a design and brainstorming tool: views are candidate architectures, scenarios are the requirements that matter, and evidence comes from docs, measurements, or stated assumptions. Anything resting only on assumptions is labelled assumed.

Read the docs

Doc What's inside
01 · Product Who it's for, use cases, positioning, non-goals
02 · Features The core and the five layers, diagram types, presets and feature flags
03 · Spec format The JSON the agent writes, from the smallest spec to the full example
04 · Architecture Skill folder layout, runtime, build pipeline, checks
05 · Review and proposal The Review layer: verdicts, honesty rules, and the proposal doc
06 · Roadmap v1 scope, milestones, later versions, open questions
ADRs Decisions and why we made them
Draft SKILL.md What the agent will actually read

Origin

flowstory generalizes a hand-built research page: an animated system diagram with views, scenarios, callouts, a deep-dive sheet, and a story panel. The page worked well for presenting an architecture proposal to a tech lead. The goal is to let any agent produce that kind of page, or just a good plain diagram, for any system.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages