By randyquaye
Visualize any backend architecture as an animated retro pixel-art factory. Scans Express.js, Flask, and FastAPI codebases to detect routes, middleware, databases, caches, queues, auth, and more — then renders a localhost web app with animated pixel characters showing request flows.
Discovers all external API calls, third-party SDK usage, webhook subscriptions, and API contracts in the codebase. Visualizes external services as trading post portals on the factory perimeter. Use this agent to understand and visualize third-party dependencies. <example> Context: User wants to see what external services the backend depends on user: "What external APIs does this project talk to?" assistant: "I'll launch the **api-integrator** agent to discover all external API calls, SDK usage, and webhook subscriptions." <commentary>The api-integrator scans for outbound HTTP calls (fetch, axios, http.request), known SDK imports (Stripe, AWS, Twilio), API spec files (OpenAPI, protobuf), and webhook registrations to build a complete map of external dependencies. Each discovered service becomes a trading post portal on the factory perimeter.</commentary> </example> <example> Context: User is concerned about reliability of external integrations user: "Are there any external calls without retry logic?" assistant: "I'll launch the **api-integrator** agent with risk assessment to check for missing timeouts, retries, and circuit breakers on all external calls." <commentary>The api-integrator performs integration risk assessment by analyzing error handling patterns around each external call site, flagging single points of failure, missing timeout configurations, and absent retry logic.</commentary> </example>
This document defines how Backend Factory agents share data to produce richer, emergent output.
Maps file-to-file dependencies by parsing import/require statements across the codebase. Builds an actual dependency graph showing which files depend on which. Use this agent to create accurate edges between nodes in the factory visualization. <example> Context: The factory visualization needs accurate connections between components user: "/factory-analyze" assistant: "I'll launch the **dependency-mapper** agent to trace actual imports between your route, service, and model files." <commentary>Rather than guessing connections, the dependency-mapper reads every relevant file's imports and builds a real dependency graph.</commentary> </example>
Traces the complete request flow for a specific route by following imports, function calls, and middleware chains through the source code. Use this agent when you need to build an accurate, file-by-file flow path for a single API endpoint. <example> Context: User wants to see how POST /api/messages flows through their backend user: "trace POST /api/messages" assistant: "I'll launch the **flow-tracer** agent to follow the complete request path for POST /api/messages through your codebase." <commentary>The flow-tracer starts at the route definition, follows the handler function, traces imports to service files, then to database/cache/queue calls, building a complete ordered flow.</commentary> </example> <example> Context: Factory visualization shows a route but the flow seems incomplete user: "The flow for GET /users doesn't show the cache check" assistant: "Let me launch the **flow-tracer** agent to do a deeper trace of GET /users and find the cache interaction." <commentary>Flow-tracer reads the actual handler code, follows function calls across files, and identifies cache/DB/queue interactions that grep-based detection might miss.</commentary> </example>
Deep analysis agent that identifies the backend framework, language, and project structure. Use this agent when you need to determine what framework a project uses, find its entry points, and understand its directory conventions before running component detection. <example> Context: User runs /factory-start on a new project user: "/factory-start" assistant: "I'll launch the **framework-detective** agent to identify your backend framework and entry points." <commentary>The framework-detective scans package.json, requirements.txt, go.mod, directory structure, and import patterns to identify the exact framework, version, entry point files, and project layout conventions.</commentary> </example> <example> Context: Analysis returned "unknown" framework user: "It didn't detect my framework" assistant: "Let me launch the **framework-detective** agent with deeper analysis to look at import patterns and file structure." <commentary>When basic detection fails, the framework-detective does deeper heuristic analysis including reading actual source files for framework-specific patterns.</commentary> </example>
Re-scan the current project's backend architecture and update the running factory visualization
Trace a data entity's complete lifecycle across the entire backend
Compare architecture between two git commits or branches and visualize the differences
Export the current factory architecture as JSON, HTML snapshot, or Mermaid diagram
Deep-zoom into a specific component for a detailed 'day in the life' view
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Turn
app.use()into animation. Point this Claude Code plugin at any backend codebase and watch pixel-art characters walk through your actual middleware, auth gates, databases, queues, and API calls in real time.
Backend Come Alive is a Claude Code plugin that uses 10 specialized AI agents to deeply analyze your backend source code, then renders it as a retro pixel-art factory where animated characters show exactly how requests, webhooks, workers, and cron jobs flow through your architecture.
It's not a static diagram. It reads your actual code, traces your actual imports, finds your actual middleware order, and builds an accurate, animated visualization of your backend — complete with an adaptive mood system, service karma scores, failure simulations, and git history time-lapse.
# Install via plugin directory
claude --plugin-dir ./backend-factory
# Or install from a marketplace
claude plugin install backend-factory@<marketplace>
# In any backend project, run:
/backend-factory:start
That's it. The plugin launches at http://localhost:7777 with your architecture visualized.
13 skills give you full control over the visualization. All namespaced under backend-factory::
| Skill | Description |
|---|---|
/backend-factory:start | Full agent-powered analysis + launch visualizer |
/backend-factory:stop | Shut down the visualization server |
/backend-factory:analyze | Re-scan and update the running visualization |
/backend-factory:trace | Deep-trace a specific route or flow |
/backend-factory:export | Export architecture as JSON, HTML snapshot, or Mermaid diagram |
/backend-factory:diff | Compare architecture between two git commits or branches |
/backend-factory:simulate | Run what-if failure scenarios (db-failure, cache-down, auth-outage, etc.) |
/backend-factory:narrative | Generate a multi-chapter narrative report of the architecture |
/backend-factory:focus | Deep-zoom into a specific component for a "day in the life" view |
/backend-factory:dataflow | Trace a data entity's complete lifecycle across the backend |
/backend-factory:stress | Visualize how the factory handles simulated traffic load |
/backend-factory:timelapse | Scrub through git history to see architecture evolution over time |
/backend-factory:karma | Calculate service karma scores and visualize dependency debt |
The plugin deploys specialized agents that run in parallel to analyze your codebase from every angle:
| Agent | Role |
|---|---|
| framework-detective | Identifies framework, language, entry points, project personality |
| flow-tracer | Traces each route through imports/calls to build accurate execution paths |
| dependency-mapper | Maps file-to-file import graph, finds background workers and event flows |
| schema-explorer | Discovers DB models, Prisma schemas, ORM definitions, table relationships |
| middleware-orderer | Determines exact middleware execution order with gate/processor classification |
| visualization-builder | Starts the factory server, sends data, confirms rendering |
| security-sentinel | Scans for vulnerabilities, exposed secrets, insecure patterns |
| performance-pundit | Identifies bottlenecks, N+1 queries, missing caching, blocking operations |
| infrastructure-cartographer | Maps Docker, Kubernetes, Terraform, and CI/CD infrastructure |
| api-integrator | Discovers external API calls, third-party SDKs, and webhook subscriptions |
npx claudepluginhub randyquaye/backend-come-alive --plugin backend-factoryBuild enterprise-grade MCP servers with guided discovery, security audits, and code generation. Provides skills, agents, and templates for any Claude agent to scaffold production-ready Model Context Protocol servers.
Analyzes a codebase and generates animated HTML architecture reports — diagrams, data flows, component directories, metrics, and insights.
Use this agent when designing APIs, building server-side logic, implementing databases, or architecting scalable backend systems. This agent specializes in creating robust, secure, and performant backend services. Examples:\n\n<example>\nContext: Designing a new API\nuser: "We need an API for our social sharing feature"\nassistant: "I'll design a RESTful API with proper authentication and rate limiting. Let me use the backend-architect agent to create a scalable backend architecture."\n<commentary>\nAPI design requires careful consideration of security, scalability, and maintainability.\n</commentary>\n</example>\n\n<example>\nContext: Database design and optimization\nuser: "Our queries are getting slow as we scale"\nassistant: "Database performance is critical at scale. I'll use the backend-architect agent to optimize queries and implement proper indexing strategies."\n<commentary>\nDatabase optimization requires deep understanding of query patterns and indexing strategies.\n</commentary>\n</example>\n\n<example>\nContext: Implementing authentication system\nuser: "Add OAuth2 login with Google and GitHub"\nassistant: "I'll implement secure OAuth2 authentication. Let me use the backend-architect agent to ensure proper token handling and security measures."\n<commentary>\nAuthentication systems require careful security considerations and proper implementation.\n</commentary>\n</example>
Build interactive, click-through architecture diagrams as a single HTML file. Animated step-by-step flows, mode toggles, dark/light theme, side panel with payloads.
Comprehensive C4 architecture documentation workflow with bottom-up code analysis, component synthesis, container mapping, and context diagram generation
Excalidraw diagramming toolkit — auto-diagram any codebase, architecture diagrams, data flows, with PNG/SVG/URL export
AST knowledge graph for intelligent code navigation — auto-indexes your codebase and provides semantic search, call graph traversal, HTTP route tracing, and impact analysis via MCP tools