Skip to content
Back to skills

Business Workflow Doc

ASecurity

Generate Mermaid flowcharts documenting business processes, state machines, and workflow logic from session captures. Use when you need to map multi-step processes, approval flows, user journeys, or decision trees during exploration.

  • 7 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 2, 2026
ai-agentspythonbashdocumentation

Security analysis

A100/100

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

Scanned October 3, 2026

npx -y skills add richfrem/agent-plugins-skills --skill business-workflow-doc --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Business Workflow Doc?

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

Security grade badge for Business Workflow Doc
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/richfrem-business-workflow-doc/badge)](https://www.skillsdirectory.com/skills/richfrem-business-workflow-doc)

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
---
name: business-workflow-doc
plugin: exploration-cycle-plugin
description: >
  Generate Mermaid flowcharts documenting business processes, state machines,
  and workflow logic from session captures. Use when you need to map multi-step
  processes, approval flows, user journeys, or decision trees during exploration.
allowed-tools: Bash, Read, Write
---

# Business Workflow Documentation (`business-workflow-doc`)

Generates visual Mermaid flowcharts from exploration session captures and briefs.

## Contents

- [Constraints](#constraints)
- [Quick start](#quick-start)
- [Workflow](#workflow)
- [Verification](#verification)

## Constraints

- **Anti-hallucination**: Never invent process steps or decision branches not described in source captures.
- **Ambiguity marking**: Mark ambiguous sequence orders or unconfirmed branches with `[NEEDS HUMAN INPUT]`.
- **Draft status**: Mark all generated diagrams as `DRAFT` until explicitly confirmed by the human explorer.

## Quick start

```bash
# Generate Mermaid flowchart from session capture
python ./scripts/generate_workflow.py \
  --input <capture_file> \
  --output exploration/captures/workflow.md \
  --type flowchart
```

## Workflow

1. **Input Analysis**: Ingest session notes, BRDs, or user journey captures.
2. **Diagram Type Selection**:
   - `flowchart`: Multi-step processes with decision branches.
   - `stateDiagram`: Object lifecycle and status transitions.
   - `sequenceDiagram`: Actor-to-system interactions.
3. **Mermaid Generation**: Render markdown document containing syntax-checked Mermaid code blocks.
4. **Human Review**: Flag any open decisions in an `## Open Questions` section for explorer validation.

## Verification

```bash
# Verify output file exists and contains valid mermaid fence
test -f exploration/captures/workflow.md && grep -q "```mermaid" exploration/captures/workflow.md
```

Files in this skill

  • SKILL.md3.6 KB
  • evals/evals.json816 B
  • evals/results.tsv172 B
  • scripts/generate_workflow.py37 B

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.

Comments

Loading comments…