/codebase-blueprints:architecture-blueprint-generator PROJECT_TYPE, ARCHITECTURE_PATTERN, DIAGRAM_TYPE, DETAIL_LEVEL, and optional blueprint focusfrom codebase-blueprints
Analyzes a codebase and generates a Project_Architecture_Blueprint.md document detailing technology stacks, architectural patterns, components, dependencies, diagrams, implementation patterns, testing, deployment, and governance.
Ships in codebase-blueprints. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Take a codebase and optional configuration variables, transform observed files, dependencies, imports, and runtime configuration into a grounded architecture blueprint, and output a Project_Architecture_Blueprint.md document that guides consistent maintenance and new development.
Use $ARGUMENTS to set or infer these variables. Defaults are auto-detection and implementation-ready detail when the user does not specify values.
| Variable | Allowed values | Meaning |
|---|---|---|
PROJECT_TYPE | Auto-detect, .NET, Java, React, Angular, Python, Node.js, Flutter, Other | Primary technology stack to analyze. |
ARCHITECTURE_PATTERN | Auto-detect, Clean Architecture, Microservices, Layered, MVVM, MVC, Hexagonal, Event-Driven, Serverless, Monolithic, Other | Primary architecture pattern to confirm against the code. |
DIAGRAM_TYPE | C4, UML, Flow, Component, None | Diagram notation or textual relationship map. |
DETAIL_LEVEL | High-level, Detailed, Comprehensive, Implementation-Ready | Depth of evidence, examples, and guidance. |
INCLUDES_CODE_EXAMPLES | true or false | Include representative excerpts that show architectural patterns. |
INCLUDES_IMPLEMENTATION_PATTERNS | true or false | Document concrete service, repository, controller/API, interface, and domain model patterns. |
INCLUDES_DECISION_RECORDS | true or false | Extract apparent ADR-style decisions from the code and history only when evidence exists. |
FOCUS_ON_EXTENSIBILITY | true or false | Emphasize extension points, variation points, plugin mechanisms, and safe modification paths. |
Do not invent repository-specific decisions, diagrams, or runtime services. If evidence is absent, mark it as Not observed rather than filling theory.
DIAGRAM_TYPE is not None; keep them consistent with observed dependencies and data flow.Project_Architecture_Blueprint.md or paste-ready markdown when the user does not want a file.| Evidence | What to inspect | Blueprint conclusion |
|---|---|---|
| Project files | .csproj, pom.xml, build.gradle, package.json, pyproject.toml, requirements.txt, pubspec.yaml | PROJECT_TYPE, frameworks, build and package boundaries. |
| Dependencies and imports | DI containers, ORMs, routers, state libraries, messaging SDKs, test frameworks | Technology-specific architectural patterns. |
| Folder structure | src/, app/, domain/, application/, infrastructure/, controllers/, features/, components/, pages/ | Layered, Clean Architecture, MVC, MVVM, Hexagonal, feature-sliced, or monolithic tendencies. |
| Runtime composition | Program.cs, application bootstrap, module registration, route registration, providers, middleware | Entry points, dependency injection, service boundaries. |
| Communication | HTTP clients, queues, events, pub/sub, RPC, database calls | Synchronous vs asynchronous service communication. |
| Deployment config | Dockerfiles, compose files, Helm charts, Bicep/Terraform, CI workflows, serverless config | Deployment topology and environment-specific adaptation. |
| Tests | Unit, integration, system, e2e layouts; fixtures; mocks; test data | Testing architecture and boundary strategy. |
| Section | Required content |
|---|---|
| Architectural overview | Overall approach, guiding principles, boundaries, enforcement mechanisms, hybrid adaptations. |
| Visualization | High-level overview, component interaction, data flow, or textual relationships when DIAGRAM_TYPE=None. |
| Core components | Purpose, responsibility, internal structure, key abstractions, exposed and consumed interfaces, evolution patterns. |
| Layers and dependencies | Layer map, dependency rules, abstraction mechanisms, circular dependencies, dependency injection patterns. |
| Data architecture | Domain model, entities or aggregates, repository/data mapper patterns, transformations, caching, validation. |
| Cross-cutting concerns | Authentication and authorization, error handling and resilience, logging and monitoring, validation, configuration, secrets, feature flags. |
| Service communication | Boundaries, protocols, formats, API versioning, service discovery, retry, circuit breaker, fallback, graceful degradation. |
| Technology-specific patterns | .NET, Java, React, Angular, Python, Node.js, Flutter, or other observed stack-specific practices. |
| Testing architecture | Unit/integration/system/e2e boundaries, mocking, test doubles, test data, tools. |
| Deployment architecture | Runtime topology, environment configuration, containers, orchestration, cloud services. |
| Extension and evolution | Feature addition sequence, placement rules, adapter or anti-corruption layer patterns, backward compatibility, migration and deprecation. |
| Architecture governance | Automated checks, review practices, documentation lifecycle, blueprint refresh guidance. |
| Blueprint for new development | Starting points, component creation sequence, integration steps, implementation templates, common pitfalls. |
| Stack | Look for |
|---|---|
.NET | Host and application model, middleware pipeline, Program.cs, dependency injection container, ORM, controllers, minimal APIs. |
Java | Spring/CDI bootstrap, AOP, transaction boundaries, ORM configuration, service implementation, module packaging. |
React | Component composition, state management, side effects, routing, data fetching, caching, rendering optimization. |
Angular | Module organization, component hierarchy, services, DI, RxJS/reactive patterns, route guards. |
Python | Module organization, dependency management, OOP vs functional style, framework integration, async patterns. |
Node.js | Package scripts, framework entry points, middleware, controllers/routes, background jobs, dependency injection or composition. |
Flutter | Widget hierarchy, state management, navigation, platform services, data layer, build flavors. |
Include these only when INCLUDES_IMPLEMENTATION_PATTERNS=true or DETAIL_LEVEL is Comprehensive / Implementation-Ready.
| Pattern area | Evidence to capture |
|---|---|
| Interface design | Interface segregation, abstraction level, generic vs specific interfaces, default implementations. |
| Service implementation | Service lifetime, composition, operation templates, error handling inside services. |
| Repository implementation | Query patterns, transaction management, concurrency handling, bulk operations. |
| Controller/API implementation | Request handling, response formatting, parameter validation, API versioning. |
| Domain model | Entities, value objects, domain events, business rule enforcement. |
| Code examples | Concise excerpts for layer separation, component communication, dependency injection, event publication, plugin registration, and extension interfaces. |
None, produce clear textual component relationships instead.Retain these architecture-blueprint source terms when interpreting older generated prompts: Document ${PROJECT_TYPE}-specific architectural patterns:, class/interface, classes/modules, off-the-shelf, and publishing/subscription.
# Project Architecture Blueprint
**Generated:** <date>
**Scope:** <repository or directories>
**PROJECT_TYPE:** <value>
**ARCHITECTURE_PATTERN:** <value>
**DIAGRAM_TYPE:** <value>
**DETAIL_LEVEL:** <value>
## Executive summary
<one-paragraph architecture summary grounded in observed evidence>
## Architecture detection
| Evidence | Finding | Source |
| --- | --- | --- |
| `<file or dependency>` | `<stack or pattern inference>` | `<path>` |
## Architectural overview
<principles, boundaries, and hybrid patterns>
## Architecture visualization
```mermaid
<diagram or "Diagram omitted because DIAGRAM_TYPE=None">
| Component | Responsibility | Key files | Interfaces consumed/exposed | Extension points |
|---|
<dependency rules, violations, and enforcement>
<domain model, persistence, validation, caching, transformations>
<auth, error handling, resilience, logging, monitoring, validation, configuration>
<protocols, sync/async flows, API versioning, discovery, resilience>
<test boundaries, tools, fixtures, test data>
<feature addition, modification, integration, migration guidance>
<automated checks, review process, documentation maintenance>
<workflow, placement rules, templates, pitfalls>
| Topic | Evidence gap | Recommendation |
|---|
## Quality gate
- [ ] `PROJECT_TYPE`, `ARCHITECTURE_PATTERN`, `DIAGRAM_TYPE`, `DETAIL_LEVEL`, `INCLUDES_CODE_EXAMPLES`, `INCLUDES_IMPLEMENTATION_PATTERNS`, `INCLUDES_DECISION_RECORDS`, and `FOCUS_ON_EXTENSIBILITY` are honored or explicitly defaulted.
- [ ] The output includes concrete source paths, package names, commands, or configuration keys as evidence.
- [ ] No repository-specific fact is invented when evidence is missing.
- [ ] Optional code examples and decision records appear only when requested and supported.
- [ ] The delivered artifact is `Project_Architecture_Blueprint.md` or paste-ready markdown with the same structure.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin codebase-blueprints9 skills in this plugin
/acquire-codebase-knowledgeMap, document, and onboard into an existing codebase by producing seven evidence-backed docs in docs/codebase/. Use when the user explicitly asks to map this codebase, document this architecture, onboard me to this repo, create codebase docs, or perform repository-level discovery; do not use for routine feature work or narrow edits./code-exemplars-blueprint-generatorGenerate a configurable prompt blueprint for scanning a codebase and producing an exemplars.md catalog of high-quality, real code examples. Use this skill when the user asks for code exemplars, exemplar blueprint prompts, coding standard examples, repository pattern catalogs, or configuration variables for exemplar generation./copilot-instructions-blueprint-generatorGenerate technology-agnostic blueprints for comprehensive copilot-instructions.md files that make GitHub Copilot follow exact project versions, architecture, code quality, documentation, testing, and versioning conventions discovered from the codebase. Use this skill when the user asks for configuration variables, wants to create copilot-instructions.md, or needs repository-specific GitHub Copilot coding guidance./folder-structure-blueprint-generatorAnalyze a repository and generate Project_Folders_Structure_Blueprint.md with detected technologies, folder purposes, naming conventions, file placement patterns, navigation guidance, build outputs, and optional structure templates. Use this skill when the user asks for a project folder structure blueprint, repository organization map, architecture directory guide, monorepo or microservices structure analysis, or file placement conventions./project-workflow-analysis-blueprint-generatorGenerate technology-agnostic project workflow analysis blueprints that document end-to-end application flows, files, classes, entry points, service layers, data access, error handling, async processing, sequence diagrams, testing patterns, and implementation templates. Use this skill when the user asks to list all files/classes in a workflow, document representative workflows, map an API-to-database flow, or create an implementation-ready workflow blueprint./readme-blueprint-generatorGenerate a comprehensive README.md blueprint by analyzing repository documentation, .github/copilot files, copilot-instructions.md, architecture notes, technology stack, workflow, standards, tests, and exemplars. Use when asked to create or refresh a developer-focused README.Other plugins' skills for the same job