feature-diagram

Generate Mermaid flowcharts mapping routes, models, jobs, and UI surfaces per feature.

Updated Apr 15, 2026
One-click install
npx skills add https://github.com/AAbdulghany/fms --skill feature-diagram-aabdulghany
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feature-diagram
Source: https://github.com/AAbdulghany/fms/tree/main/.claude/skills/feature-diagram
Command: npx skills add https://github.com/AAbdulghany/fms --skill feature-diagram-aabdulghany

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill translates a feature inventory into per-feature architectural visuals, generating Mermaid flowcharts that expose routes, models, jobs, and UI surfaces to streamline understanding and collaboration.

Core Features & Use Cases

  • Reads the consolidated feature matrix and the target feature’s inventory to produce a dedicated Mermaid flowchart that maps HTTP routes, data models, async jobs, and UI screens.
  • Maintains four named subgraphs (Screens, Routes, Models, Jobs) with placeholder (none) nodes when a surface is absent, ensuring consistent visuals across features.
  • Updates the feature-inventory with a link back to the generated diagram and includes a regenerable footer for traceability.

Quick Start

Create a per-feature diagram by running the command against a populated feature-inventory and a target feature slug.

Frequently Asked Questions about feature-diagram

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate architecture diagrams from a feature inventory?

To generate architecture diagrams from a feature inventory, the Skill reads your consolidated feature matrix and renders routes, models, jobs, and UI surfaces into a Mermaid flowchart. It outputs a dedicated markdown file and updates the inventory with a back-link.

How does a Mermaid flowchart map HTTP routes and data models for a single feature?

A Mermaid flowchart maps HTTP routes and data models by reading the target feature's inventory data and inferring graph edges between components. It organizes these elements into four distinct subgraphs to visualize the feature's architecture.

Can I visualize async jobs and UI screens if some surfaces are missing from my inventory?

Yes, you can visualize async jobs and UI screens even when surfaces are missing. The Skill maintains four named subgraphs—Screens, Routes, Models, and Jobs—and automatically populates absent surfaces with placeholder nodes to ensure consistent visuals.

What's the best way to automate per-feature architectural visualization for documentation?

The best way to automate per-feature architectural visualization is running the Skill against a populated feature-inventory and target feature slug. It produces a regenerable markdown file with a traceability footer, ready for linting and future regeneration.

Do I need a consolidated feature matrix before creating per-feature Mermaid diagrams?

Yes, you need a consolidated feature matrix and a populated feature-inventory before creating per-feature Mermaid diagrams. The Skill relies on this existing inventory data to infer graph edges and accurately map routes, models, jobs, and UI screens.