More screenshots

    Works with the AI Agents you already use

    Repo-to-Blueprint: Security Audit, DFD & Flowchart Generator

    by Kristian Carlo Rosales

    1

    Audits codebases for security flaws and generates deterministic, code-traced system diagrams and DFDs.

    $9

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Repo-to-Blueprint: Security Audit, DFD & Flowchart Generator

    Repo-to-Blueprint: Security Audit, DFD & Flowchart Generator

    Example session with this skill installed

    Audit this Next.js repo for security issues and generate a Level 1 DFD using Gane & Sarson notation.

    • Read your context and instructions
    • Compiled the repo-to-blueprint
    • Generated the document

    I have completed the security audit and architectural mapping for your Next.js project. I identified 2 high-severity findings related to committed environment variables and unvalidated API inputs. I also generated a Level 1 Data Flow Diagram following Gane & Sarson notation, tracing each process to your /app/api routes.

    CodeMap & Shield Report Summary

    SeverityCountPrimary Issue Type
    Critical0-
    High2Exposed Secrets, Input Validation
    Medium3Missing CSRF Protection, Loose CORS
    Low5Information Disclosure

    System Charts & Findings

    The following files have been generated in your project root:

    • SECURITY_AUDIT.md: Detailed breakdown of vulnerabilities with fix suggestions.
    • SYSTEM_CHARTS.md: Mermaid diagrams and DFD specifications.
    • dfd-level1.svg: Gane & Sarson compliant process map.
    • CODEMAP_REPORT.html: Interactive combined viewer.
    graph LR
        %% src: /app/api/auth/route.ts:12
        User((User)) -- Credentials --> Auth[Auth Service]
        %% src: /lib/db.ts:5
        Auth -- Query --> DB[(Supabase)]
        %% src: /app/api/webhooks/route.ts:45
        DB -- Status --> Stripe[Stripe API]
        
        subgraph Legend
        Process[Process]
        Store[(Data Store)]
        External((External Entity))
        end
    

    Next steps

    1. Open CODEMAP_REPORT.html to view the high-resolution SVGs and audit side-by-side.
    2. Review the High severity findings in SECURITY_AUDIT.md to rotate the exposed keys found in config/env.production.
    3. Ask me to "apply fix for finding #1" to automatically implement the suggested validation logic.

    CODEMAP_REPORT.html

    PDF · document

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    When you build an application using AI assistance, it is easy to lose track of the underlying architecture and overlook critical security flaws. This skill audits your codebase for common "vibe-coding" mistakes and generates professional system diagrams that reflect the actual implementation. It stops guesswork by mapping every architectural node directly to specific lines of code.

    What it does

    • Security Auditing scans for hardcoded secrets, exposed environment variables, and common logic flaws with file and line references.
    • Architecture Mapping generates system charts including DFDs, ERDs, and flowcharts based on deterministic code facts.
    • Notation Compliance draws Data Flow Diagrams using industry-standard notations like Yourdon & DeMarco or Gane & Sarson.
    • Diagram Validation runs syntax checks on all generated Mermaid and SVG charts to ensure they are render-ready.
    • Report Consolidation builds a single-page HTML viewer containing the full security audit and all system diagrams.

    How it works

    1. Fact Collection runs local Python scripts to extract routes, schemas, and potential vulnerabilities into JSON fact files.
    2. Finding Review analyzes the facts to categorize security risks by severity while filtering out false positives.
    3. Chart Generation draws system diagrams where every element is tagged with a source code comment for traceability.
    4. Validation and Packaging checks diagram syntax and compiles the findings into SECURITY_AUDIT.md, SYSTEM_CHARTS.md, and an interactive HTML report.

    Frameworks & tools

    This skill utilizes Python 3.9 scripts and standard library tools. It is optimized for Next.js, Express, FastAPI, Supabase, Prisma, and SQL. It generates Mermaid.js diagrams and utilizes the Mermaid CLI for render validation if available.

    Why this beats prompting it yourself

    Generic prompts often hallucinate architecture or miss subtle security risks hidden in large files. This skill uses local script execution to ensure every finding and diagram node is grounded in real code facts, providing a deterministic audit that LLM context windows alone cannot replicate.

    Use cases

    • Audit a project built with AI to find hidden security vulnerabilities.
    • Generate technical documentation and DFDs for a legacy codebase.
    • Verify that a "vibe-coded" prototype is safe for production deployment.
    • Create database ERDs automatically from Prisma schemas or SQL migrations.

    Known limitations

    This is a checklist of common mistakes, not a full penetration test. It cannot detect dynamic route registrations not visible to the static scanner or files over 1 MB.

    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

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 4 days ago

    Software
    Python 3.9+
    Optional
    Git

    On Windows, install Python from python.org and tick "Add python.exe to PATH". Git is optional: it lets the scan check whether .env files were committed. Reads the project folder to find routes, database schemas and risky code patterns, skipping node_modules, .git and build folders. From .env files

    Permissions

    Terminal / Shell
    Network Access
    Read Files
    Write Files
    Listed4 days ago

    What's inside

    Frequently Asked Questions

    This skill performs a deterministic security audit of your codebase to identify hardcoded secrets and logic flaws while generating professional system diagrams like DFDs and ERDs that are mapped directly to your source code. It is designed to help developers who use AI assistance maintain a clear understanding of their app architecture and catch common security mistakes that occur during rapid prototyping.

    The skill produces two primary Markdown reports, SECURITY_AUDIT.md and SYSTEM_CHARTS.md, along with an interactive CODEMAP_REPORT.html viewer. You also receive deterministic JSON fact files and industry standard SVG diagrams drawn in notations such as Yourdon and DeMarco or Gane and Sarson.

    You do not need any external accounts or API keys to use this skill. It requires Python 3.9 or higher and works with projects using frameworks like Next.js, Express, FastAPI, or Prisma by reading your local files and running its own collection scripts.

    While it is a powerful auditing tool, it is not a full penetration test and cannot detect dynamic route registrations or scan files larger than 1 MB. It serves as a checklist for common mistakes and architecture mapping rather than a guarantee that an application is perfectly secure.

    You can simply ask your agent to audit your repository, generate a data flow diagram of your project, or check if your current application is ready for production. It is also effective if you specifically ask for a database ERD from your SQL migrations or Prisma schemas.

    New in LLM Ops

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.