More screenshots
Works with the AI Agents you already use
Repo-to-Blueprint: Security Audit, DFD & Flowchart Generator
Audits codebases for security flaws and generates deterministic, code-traced system diagrams and DFDs.
$9
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
| Severity | Count | Primary Issue Type |
|---|---|---|
| Critical | 0 | - |
| High | 2 | Exposed Secrets, Input Validation |
| Medium | 3 | Missing CSRF Protection, Loose CORS |
| Low | 5 | Information 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
- Open
CODEMAP_REPORT.htmlto view the high-resolution SVGs and audit side-by-side. - Review the
Highseverity findings inSECURITY_AUDIT.mdto rotate the exposed keys found inconfig/env.production. - Ask me to "apply fix for finding #1" to automatically implement the suggested validation logic.
CODEMAP_REPORT.html
PDF · document
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
- Fact Collection runs local Python scripts to extract routes, schemas, and potential vulnerabilities into JSON fact files.
- Finding Review analyzes the facts to categorize security risks by severity while filtering out false positives.
- Chart Generation draws system diagrams where every element is tagged with a source code comment for traceability.
- 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
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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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
What's inside
Frequently Asked Questions
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.