Diagram-Driven Coding

    by Icarus

    1

    A design-first workflow for AI-assisted coding. Use layered architecture diagrams, explicit component boundaries, and behavioral tests to make changes easier to review and maintain.

    Free

    Security scanned

    Works with the AI Agents you already use

    About this skill

    Diagram-Driven Coding guides coding agents through changes to long-lived codebases. It uses layered ARCHITECTURE.md files to document component responsibilities, data contracts, and key flows. When a change affects a public contract or a main flow, the agent updates the relevant diagram first, checks downstream impact, and verifies the implementation with behavioral tests. Includes Python examples and guidance for other languages.

    Not for small scripts or throwaway prototypes. Requires manual verification of Mermaid syntax if no renderer is available. Documentation must be updated before code implementation.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 4 days ago

    • Free with an Agensi account

    Software
    Git

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed4 days ago

    What's inside

    Creator

    Icarus

    Icarus

    Frequently Asked Questions

    This skill enforces a design-first workflow where the AI must update architectural diagrams and documentation before writing any code. It solves the black box problem of AI-generated code by ensuring that implementation details remain isolated within strict component boundaries.

    The skill is designed for long-lived Python or multi-language codebases and requires either an existing ARCHITECTURE.md structure or a commitment to build one. It uses standard tools like Mermaid for diagrams and Google-style docstrings for documentation.

    You get a highly organized codebase where every component has its own ARCHITECTURE.md containing class diagrams, responsibility tables, and sequence diagrams. It also produces strict data contracts using TypedDict and behavior-only test suites.

    This skill is not intended for small scripts, one-off prototypes, or throwaway code. It is optimized for medium-to-large repositories where maintaining readability and containing the blast radius of changes is critical.

    You can ask your agent to apply this skill when adding or refactoring a component, changing a public interface, or migrating legacy code into isolated modules. Simply instruct the agent to follow the diagram-driven workflow for your specific task.

    The skill treats interface changes as protected events that require the AI to estimate the blast radius and seek human approval before proceeding. This ensures that the AI cannot unilaterally alter public signatures or data structures that other parts of your system rely on.

    New in Prompt & Skill Engineering

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Prompt & Skill Engineering.

    Free