Conversation Flow (v3.3 - Architect Refined)
Overview
This skill generates a high-fidelity narrative map that prioritizes Resolution Persistence and Visual Clarity. It uses a structured topological approach to link technical turns, project shifts, and strategic decisions.
Workflow: Generating a v3.3 Flow Analysis
Step 1: Gathering & Partitioning
- Identify Projects: Analyze the session to group turns by project (e.g.,
Skills Dev,Retrospective Recovery). - Context Warm-up:
- Read
../_shared-gemini/skill_settings.mdfor templates. - Read
meta/SESSION_FLIGHT_RECORDER.mdfor Git SHAs and outcomes.
- Read
Step 2: Visual Taxonomy & Styling
Apply the visual standards and Mermaid classDef blocks defined in mermaid_standards.md.
- MANDATORY: Group related nodes into
subgraph ProjectName. - MANDATORY: Use internal Obsidian links (
<a class='internal-link'>) for session persistence.
Step 3: Syntax Generation
- Generate the Mermaid graph ensuring all labels are double-quoted and backticks are triple-escaped.
- List active skills in the
[!ABSTRACT]callout or a floating subgraph. Do NOT link skill nodes to the narrative flow.
Step 4: Pre-Flight Validation & Correction Loop
- Run Internal Validation: After drafting the output file but BEFORE finishing the session, you MUST:
node scripts/validate_mermaid.cjs <path_to_draft_file> - Internal Correction: If the validator outputs any errors (e.g., "Label must be wrapped in double quotes"):
- You MUST perform the fix internally using the
replacetool. - DO NOT report the errors to the user as a final failure; treat this as an internal development step.
- You MUST perform the fix internally using the
- Final Verification: Only present the finalized, error-free output to the user once the validation script returns:
✅ Mermaid syntax is valid.
Step 5: Final Delivery
- Provide the finalized, verified
[!ABSTRACT]callout and Mermaid map. - Provide the chat save tag as the final, unstyled line of the response:
#chat/save/YYYY-MM-DD_HHMMSS-description.
Output Structure
- YAML Frontmatter
- [!ABSTRACT] Callout (Metadata, Active Skills, versions)
- Mermaid Topological Map (with subgraphs)
- Textual Breakdown (Summary, Open Loops, Decisions)