lucid-diagrams

Generate Lucidchart and Lucidspark diagrams from PHP codebases.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/axitdev/skills --skill lucid-diagrams
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lucid-diagrams
Source: https://github.com/axitdev/skills/tree/main/lucid-diagrams-skill
Command: npx skills add https://github.com/axitdev/skills --skill lucid-diagrams

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Create accurate, shareable Lucidchart or Lucidspark diagrams directly from a PHP codebase to eliminate manual diagramming, reduce drift between code and docs, and speed design and review cycles.

Core Features & Use Cases

  • MCP discovery & authentication: Automatically detect available Lucid MCP tools and verify authentication before creating or updating diagrams.
  • Code-driven diagram generation: Research Laravel, Symfony, or plain PHP code to extract controllers, services, models, migrations, and call chains for sequence, flowchart, ERD, class, state, and architecture diagrams.
  • Fallback & resilience: Produce a Mermaid markdown fallback if Lucid MCP is unavailable or creation fails, and preserve research outputs to avoid lost work.
  • Local tracking & updates: Read configuration from .lucid-diagrams.yaml, respect detail level defaults, and create or update a local index of Lucid documents for the repository.

Quick Start

Ask the skill to create a Lucidchart sequence diagram of the user registration flow by researching the project's controllers, services, and models and then save it to the project's diagrams index.

Frequently Asked Questions about lucid-diagrams

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

FAQPage Schema
How do I generate Lucidchart diagrams from PHP code automatically?

To generate Lucidchart diagrams from PHP code, this skill researches Laravel, Symfony, or plain PHP codebases to extract controllers, services, and models, then converts those structures into visual diagrams. It requires discovering the Lucid MCP toolset and authenticating before diagram creation.

Can I create an ERD or sequence diagram from a Laravel project?

Yes, you can create an ERD or sequence diagram from a Laravel project. The skill analyzes your PHP project files, extracts models, migrations, and call chains, and generates corresponding Lucidchart or Lucidspark diagrams for your documentation or code review tasks.

Does generating Lucid diagrams require MCP authentication?

Yes, generating Lucid diagrams requires MCP authentication. The skill automatically detects available Lucid MCP tools and verifies authentication before creating or updating any diagrams to ensure it can successfully write to your Lucid account.

What happens if the Lucid MCP toolset is unavailable during PHP code analysis?

If the Lucid MCP toolset is unavailable during PHP code analysis, the skill provides a Mermaid markdown fallback. It preserves the research outputs to prevent lost work, allowing you to manually render the diagrams later without losing the extracted code structures.

How do I configure diagram detail levels for a Symfony codebase?

You configure diagram detail levels for a Symfony codebase by adding a .lucid-diagrams.yaml configuration file to your project. The skill reads this file to respect your default detail levels and updates a local index of Lucid documents after creation.