Skip to content
Back to skills

Pact Flow

ASecurity

Generate a lifecycle flow document for a feature

  • 15 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added May 27, 2026
data-aigo

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add jonathanmr22/pact --skill pact-flow --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pact Flow?

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

Security grade badge for Pact Flow
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jonathanmr22-pact-flow/badge)](https://www.skillsdirectory.com/skills/jonathanmr22-pact-flow)

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
---
description: Generate a lifecycle flow document for a feature
disable-model-invocation: false
---

Create a PACT lifecycle flow document for the feature the user specifies. Save it to `feature_flows/{feature_name}_flow.yaml`.

Read the relevant source code first to understand the feature's actual behavior. Then generate a YAML flow document covering:

1. **purpose** — one sentence: what this feature does and why
2. **system_map_section** — pointer to SYSTEM_MAP.yaml (don't duplicate structure)
3. **invariants** — things that must ALWAYS be true
4. **states:**
   - `fresh_install` — what exists, what's empty, what's defaulted
   - `normal_open` — numbered order of operations + assumptions
   - `background` — what's active, held in memory, lost
   - `force_close_reopen` — what's lost, what's persisted, recovery path
   - `background_resume` — what re-initializes, what gets checked
   - `error_paths` — what happens when things go wrong
5. **gotchas** — non-obvious interactions, race conditions, things previous sessions got wrong

After generating, present a verbal summary of the flow to the user for verification before finalizing.

Do NOT duplicate table names, file paths, or provider names from SYSTEM_MAP.yaml — use `system_map_section` to point there instead. This file owns BEHAVIOR (temporal). The map owns STRUCTURE (spatial).

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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.