Analyzing Projects
When to Load
- Trigger: Onboarding to a new project, "how does this work" questions, codebase exploration, understanding unfamiliar code
- Skip: Already familiar with the project structure and patterns
Project Analysis Workflow
Copy this checklist and track progress:
Project Analysis Progress:
- [ ] Step 1: Quick overview (README, root files)
- [ ] Step 2: Detect tech stack
- [ ] Step 3: Map project structure
- [ ] Step 4: Identify key patterns
- [ ] Step 5: Find development workflow
- [ ] Step 6: Generate summary report
Step 1: Quick Overview
# Check for common project markers
ls -la
cat README.md 2>/dev/null | head -50
Step 2: Tech Stack Detection
Package Managers & Dependencies
package.json → Node.js/JavaScript/TypeScript
requirements.txt / pyproject.toml / setup.py → Python
go.mod → Go
Cargo.toml → Rust
pom.xml / build.gradle → Java
Gemfile → Ruby
Frameworks (from dependencies)
- React, Vue, Angular, Next.js, Nuxt
- Express, FastAPI, Django, Flask, Rails
- Spring Boot, Gin, Echo
Infrastructure
Dockerfile, docker-compose.yml → Containerized
kubernetes/, k8s/ → Kubernetes
terraform/, .tf files → IaC
serverless.yml → Serverless Framework
.github/workflows/ → GitHub Actions
Step 3: Project Structure Analysis
Present as a tree with annotations:
project/
├── src/ # Source code
│ ├── components/ # UI components (React/Vue)
│ ├── services/ # Business logic
│ ├── models/ # Data models
│ └── utils/ # Shared utilities
├── tests/ # Test files
├── docs/ # Documentation
└── config/ # Configuration
Step 4: Key Patterns Identification
Look for and report:
- Architecture: Monolith, Microservices, Serverless, Monorepo
- API Style: REST, GraphQL, gRPC, tRPC
- State Management: Redux, Zustand, MobX, Context
- Database: SQL, NoSQL, ORM used
- Authentication: JWT, OAuth, Sessions
- Testing: Jest, Pytest, Go test, etc.
Step 5: Development Workflow
Check for:
.eslintrc, .prettierrc → Linting/Formatting
.husky/ → Git hooks
Makefile → Build commands
scripts/ in package.json → NPM scripts
Step 6: Output Format
Generate a summary using this template:
# Project: [Name]
## Overview
[1-2 sentence description]
## Tech Stack
| Category | Technology |
| --------- | ---------- |
| Language | TypeScript |
| Framework | Next.js 14 |
| Database | PostgreSQL |
| ... | ... |
## Architecture
[Description with simple ASCII diagram if helpful]
## Key Directories
- `src/` - [purpose]
- `lib/` - [purpose]
## Entry Points
- Main: `src/index.ts`
- API: `src/api/`
- Tests: `npm test`
## Conventions
- [Naming conventions]
- [File organization patterns]
- [Code style preferences]
## Quick Commands
| Action | Command |
| ------- | --------------- |
| Install | `npm install` |
| Dev | `npm run dev` |
| Test | `npm test` |
| Build | `npm run build` |
Analysis Validation
After completing analysis, verify:
Analysis Validation:
- [ ] All major directories explained
- [ ] Tech stack accurately identified
- [ ] Entry points documented
- [ ] Development commands verified working
- [ ] No assumptions made without evidence
If any items cannot be verified, note them as "needs clarification" in the report.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: analyzing-projects-23description: Analyzes codebases to understand structure, tech stack, patterns, and conventions. Use when onboarding to a new project, exploring unfamiliar code, or when asked "how does this work?" or "what's the architecture?4---56# Analyzing Projects78### When to Load910- **Trigger**: Onboarding to a new project, "how does this work" questions, codebase exploration, understanding unfamiliar code11- **Skip**: Already familiar with the project structure and patterns1213## Project Analysis Workflow1415Copy this checklist and track progress:1617```18Project Analysis Progress:19- [ ] Step 1: Quick overview (README, root files)20- [ ] Step 2: Detect tech stack21- [ ] Step 3: Map project structure22- [ ] Step 4: Identify key patterns23- [ ] Step 5: Find development workflow24- [ ] Step 6: Generate summary report25```2627## Step 1: Quick Overview2829```bash30# Check for common project markers31ls -la32cat README.md 2>/dev/null | head -5033```3435## Step 2: Tech Stack Detection3637### Package Managers & Dependencies3839- `package.json` → Node.js/JavaScript/TypeScript40- `requirements.txt` / `pyproject.toml` / `setup.py` → Python41- `go.mod` → Go42- `Cargo.toml` → Rust43- `pom.xml` / `build.gradle` → Java44- `Gemfile` → Ruby4546### Frameworks (from dependencies)4748- React, Vue, Angular, Next.js, Nuxt49- Express, FastAPI, Django, Flask, Rails50- Spring Boot, Gin, Echo5152### Infrastructure5354- `Dockerfile`, `docker-compose.yml` → Containerized55- `kubernetes/`, `k8s/` → Kubernetes56- `terraform/`, `.tf` files → IaC57- `serverless.yml` → Serverless Framework58- `.github/workflows/` → GitHub Actions5960## Step 3: Project Structure Analysis6162Present as a tree with annotations:6364```65project/66├── src/ # Source code67│ ├── components/ # UI components (React/Vue)68│ ├── services/ # Business logic69│ ├── models/ # Data models70│ └── utils/ # Shared utilities71├── tests/ # Test files72├── docs/ # Documentation73└── config/ # Configuration74```7576## Step 4: Key Patterns Identification7778Look for and report:7980- **Architecture**: Monolith, Microservices, Serverless, Monorepo81- **API Style**: REST, GraphQL, gRPC, tRPC82- **State Management**: Redux, Zustand, MobX, Context83- **Database**: SQL, NoSQL, ORM used84- **Authentication**: JWT, OAuth, Sessions85- **Testing**: Jest, Pytest, Go test, etc.8687## Step 5: Development Workflow8889Check for:9091- `.eslintrc`, `.prettierrc` → Linting/Formatting92- `.husky/` → Git hooks93- `Makefile` → Build commands94- `scripts/` in package.json → NPM scripts9596## Step 6: Output Format9798Generate a summary using this template:99100```markdown101# Project: [Name]102103## Overview104105[1-2 sentence description]106107## Tech Stack108109| Category | Technology |110| --------- | ---------- |111| Language | TypeScript |112| Framework | Next.js 14 |113| Database | PostgreSQL |114| ... | ... |115116## Architecture117118[Description with simple ASCII diagram if helpful]119120## Key Directories121122- `src/` - [purpose]123- `lib/` - [purpose]124125## Entry Points126127- Main: `src/index.ts`128- API: `src/api/`129- Tests: `npm test`130131## Conventions132133- [Naming conventions]134- [File organization patterns]135- [Code style preferences]136137## Quick Commands138139| Action | Command |140| ------- | --------------- |141| Install | `npm install` |142| Dev | `npm run dev` |143| Test | `npm test` |144| Build | `npm run build` |145```146147## Analysis Validation148149After completing analysis, verify:150151```152Analysis Validation:153- [ ] All major directories explained154- [ ] Tech stack accurately identified155- [ ] Entry points documented156- [ ] Development commands verified working157- [ ] No assumptions made without evidence158```159160If any items cannot be verified, note them as "needs clarification" in the report.161162---163> Converted and distributed by [TomeVault](https://tomevault.io/claim/cloudai-x) — claim your Tome and manage your conversions.164<!-- tomevault:4.0:skill_md:2026-04-11 -->