Flow Analysis Skill
When to use
Use this skill when you need to validate that multi-step behavior actually works end-to-end, not just that files exist.
Typical triggers:
- "analyze this flow"
- "check flow completeness"
- "find branch/precondition gaps"
- "why does this user flow break?"
Workflow
- Identify intended flow from plan/spec text.
- Convert to structured nodes and edges.
- Trace each step to implementation evidence.
- Detect flow gaps with expected vs actual behavior.
- Score confidence and prioritize critical gaps first.
Output requirements
- Always include: location, expected, actual, impact, fix hint.
- Prioritize
WRONG_PRECONDITIONandDEAD_ENDas critical. - Return concise remediation steps for top gaps.
Guardrails
- Do not treat structural presence as proof of flow correctness.
- Do not infer branch coverage without explicit evidence.
- Mark uncertain findings as low confidence.
References
references/flow-patterns.mdreferences/gap-taxonomy.mdreferences/precondition-checks.md