/codebase-blueprints:folder-structure-blueprint-generatorfrom codebase-blueprints
Analyzes a repository and generates a Project_Folders_Structure_Blueprint.md documenting folder purposes, naming conventions, file placement patterns, and architecture organization.
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.
Analyze a project tree, detect its technology and architecture signals, and produce a concrete Project_Folders_Structure_Blueprint.md that explains how the repository is organized and how future files should be placed.
Use these variables as user-facing options when the request specifies them; otherwise auto-detect from the repository.
| Variable | Values | Use |
|---|---|---|
PROJECT_TYPE | Auto-detect, .NET, Java, React, Angular, Python, Node.js, Flutter, Other | Select the primary technology lens. |
INCLUDES_MICROSERVICES | Auto-detect, true, false | Decide whether to describe repeated service boundaries. |
INCLUDES_FRONTEND | Auto-detect, true, false | Decide whether to include UI, asset, route, and style organization. |
IS_MONOREPO | Auto-detect, true, false | Decide whether to document workspace and cross-project relationships. |
VISUALIZATION_STYLE | ASCII, Markdown List, Table | Choose the directory visualization format. |
DEPTH_LEVEL | 1 through 5 | Limit how many directory levels receive detailed documentation. |
INCLUDE_FILE_COUNTS | true, false | Include per-directory file statistics and complexity concentration. |
INCLUDE_GENERATED_FOLDERS | true, false | Include or exclude generated folders such as bin/, obj/, node_modules/, dist/, and build/. |
INCLUDE_FILE_PATTERNS | true, false | Document naming and placement rules for configuration, models, DTOs, services, interfaces, tests, and docs. |
INCLUDE_TEMPLATES | true, false | Add templates for new features, components, services, and tests. |
| Area | Look for | Record in the blueprint |
|---|---|---|
.NET | .sln, .csproj, .fsproj, .vbproj, Directory.Build.props, global.json | Solution organization, project references, target frameworks, bin/, obj/, resources, test projects, NuGet management. |
Java | pom.xml, build.gradle, settings.gradle, src/main, src/test | Package hierarchy, Maven or Gradle modules, resources, properties files, domain vs technical packages. |
React / Angular | package.json, angular.json, react-scripts, next.config.js, vite.config.*, src/components, src/pages | Component, routing, state, API client, assets, CSS/SCSS, theme, and module patterns. |
Python | requirements.txt, setup.py, pyproject.toml, src/, tests/ | Package layout, module boundaries, test placement, tooling and virtual environment artifacts. |
Node.js | package.json, package-lock.json, pnpm-lock.yaml, yarn.lock, lerna.json, nx.json, turborepo.json | CommonJS vs ESM, script organization, workspaces, utility scripts, configuration and environment patterns. |
Flutter | pubspec.yaml, lib/, android/, ios/ | Mobile app boundaries, platform folders, widget and asset organization. |
| Monorepo | Multiple project manifests, workspace configuration, root orchestration scripts, shared packages | Project relationships, shared dependency patterns, cross-project references, ownership boundaries. |
| Microservices | Service directories with repeated structures, service Dockerfiles, API gateway files, message broker config, service discovery | Service boundaries, deployment structure, shared libraries, inter-service communication. |
| Frontend | wwwroot/, public/, static/, dist/, assets/, components/, modules/, pages/, stylesheets | UI entry points, static asset conventions, style organization, route/page conventions. |
Create Project_Folders_Structure_Blueprint.md with these sections when evidence exists.
| Section | Required content |
|---|---|
| Structural overview | Detected project types, architecture style, organization principle by feature/layer/domain, repeated structural patterns, inferred rationale. |
| Directory visualization | Render the tree to DEPTH_LEVEL as ASCII, Markdown List, or Table; omit generated folders unless INCLUDE_GENERATED_FOLDERS=true. |
| Key directory analysis | For each important path: purpose, content types, ownership, conventions, and examples of files found there. |
| File placement patterns | Configuration, model/entity definitions, DTOs, schemas, business logic, services, interfaces, abstractions, tests, mocks, API docs, internal docs, and README distribution. |
| Naming and organization conventions | File case (PascalCase, camelCase, kebab-case), suffixes, prefixes, folder names, namespace/module mapping, imports, public vs internal API, co-location strategy. |
| Navigation and development workflow | Entry points, key config, where to add features/tests/configuration, dependency flow, dependency injection registration, common development tasks. |
| Build and output organization | Build script locations, pipeline files, task definitions, compiled output, distribution packages, development vs production output. |
| Technology-specific organization | .NET project files and assemblies, Java packages and resources, Node.js modules and scripts, UI components/state/routes/assets/styles. |
| Extension and evolution | Extension points, plugin folders, new modules/features, code splitting, scalability and refactoring patterns. |
| Structure enforcement | Validation scripts, lint rules, build checks, documentation practices, ADRs, and when the blueprint was last updated. |
| Content statistics | File counts, code distribution, and concentration areas when INCLUDE_FILE_COUNTS=true. |
| Structure templates | New feature, component, service, and test folder templates when INCLUDE_TEMPLATES=true. |
VISUALIZATION_STYLE | Format |
|---|---|
ASCII | Use a tree with box-drawing characters and annotate each important directory inline. |
Markdown List | Use nested bullets where each path has a short purpose statement. |
Table | Use columns Path, Purpose, Content Types, and Conventions. |
Always mark generated directories explicitly if included. Common generated or vendor folders include bin/, obj/, node_modules/, .next/, dist/, build/, coverage/, .venv/, target/, .gradle/, android/build/, and ios/Pods/.
When INCLUDE_TEMPLATES=true, add concrete templates that fit observed conventions rather than generic scaffolds.
| Template | Must include |
|---|---|
| New feature template | Folder path, required source files, test path, route/API registration point, docs location. |
| New component template | Component directory, style/test/story files when the project uses them, export/import point. |
| New service template | Interface and implementation placement, dependency injection or module registration, configuration path. |
| New test structure | Unit, integration, fixtures, mocks, snapshots, and test resource locations. |
bin/, obj/, node_modules/, dist/, and build/ reflect tools, not project architecture.Preserve these blueprint vocabulary items because they identify generated sections, project families, and file placement rules: technology-agnostic, high-level, auto-generated, similar/repeated, solution/project, Compiled/built, Domain/Feature, Model/Entity, Namespace/Module, Import/reference, Import/using, Tools/scripts, Image/media, Page/view, Plugin/extension, JavaScript/TypeScript, JavaScript, TypeScript, Maven/Gradle, android/ios, npm/yarn, styled-components, feature-specific, file/folder, naming/location, namespaces/modules, and projects/files.
# Project_Folders_Structure_Blueprint
**Generated:** <YYYY-MM-DD>
**Detected project type(s):** <PROJECT_TYPE evidence>
**Monorepo:** <yes/no and evidence>
**Microservices:** <yes/no and evidence>
**Frontend:** <yes/no and evidence>
**Visualization:** <VISUALIZATION_STYLE>, depth <DEPTH_LEVEL>
## Structural overview
<architecture and organization principles>
## Directory visualization
<ASCII tree, Markdown list, or table>
## Key directory analysis
| Path | Purpose | Content types | Conventions | Evidence |
| --- | --- | --- | --- | --- |
| `<path>` | <purpose> | <file types> | <rules> | <files inspected> |
## File placement patterns
| File type | Place in | Naming pattern | Notes |
| --- | --- | --- | --- |
## Naming and organization conventions
<observed rules>
## Navigation and development workflow
<entry points and common tasks>
## Build and output organization
<build inputs and generated outputs>
## Technology-specific organization
<.NET, Java, React, Angular, Python, Node.js, Flutter, or Other details>
## Extension and evolution
<templates and extension guidance>
## Structure enforcement
<checks, docs, ADRs, and maintenance guidance>
PROJECT_TYPE, INCLUDES_MICROSERVICES, INCLUDES_FRONTEND, and IS_MONOREPO are either user-specified or supported by file evidence.VISUALIZATION_STYLE and DEPTH_LEVEL are honored in the rendered structure.INCLUDE_GENERATED_FOLDERS=true, and are labeled as generated.INCLUDE_TEMPLATES=true and match observed naming conventions.Project_Folders_Structure_Blueprint.md, not a prompt asking someone else to create it.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./architecture-blueprint-generatorGenerate a comprehensive Project_Architecture_Blueprint.md by analyzing a codebase, detecting technology stacks and architectural patterns, documenting components, dependencies, diagrams, implementation patterns, testing, deployment, and governance. Use when asked to create an architecture blueprint, document project architecture, map layers, produce C4/UML/component diagrams, or guide new development consistency./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./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