From ai-dev
Knowledge and patterns for understanding project structures, architectures, and codebases.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ai-dev:analyzing-projectsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill provides patterns and techniques for understanding unfamiliar codebases and project structures.
This skill provides patterns and techniques for understanding unfamiliar codebases and project structures.
Check for key files to identify the project type:
| File | Indicates |
|---|---|
package.json | Node.js project |
pyproject.toml | Modern Python project |
requirements.txt | Python project |
go.mod | Go project |
Cargo.toml | Rust project |
pom.xml | Java Maven project |
build.gradle | Java Gradle project |
Gemfile | Ruby project |
| File/Pattern | Framework |
|---|---|
next.config.js | Next.js |
vite.config.ts | Vite |
angular.json | Angular |
src/App.vue | Vue.js |
manage.py | Django |
app.py / Flask imports | Flask |
main.go | Go |
src/main.rs | Rust |
Look for these directory structures:
# Monolith
src/
models/
views/
controllers/
# Microservices
services/
user-service/
order-service/
payment-service/
# Domain-Driven Design
src/
domain/
application/
infrastructure/
# Feature-based
src/
features/
auth/
dashboard/
settings/
/strategy/VISION.md - Strategic context (if exists)/strategy/OKRs.md - Current priorities (if exists)/strategy/adrs/ - Architecture decisions (if exists)If a /strategy/ folder exists, prioritize reading:
| File | Purpose |
|---|---|
VISION.md | North star, strategic bets, non-goals |
OKRs.md | Current quarter objectives |
epics/*.md | Active feature initiatives |
tasks/*.md | Specific work items |
adrs/*.md | Settled architectural decisions |
# Python
cat pyproject.toml | grep -A 100 "\[dependencies\]"
# Node
cat package.json | jq '.dependencies, .devDependencies'
# Find imports
grep -rh "^import\|^from" src/ | sort | uniq -c | sort -rn
# Find module usage
grep -rn "from src\." . --include="*.py"
/strategy/ folder exist? If so, read VISION.md and OKRs.md first./strategy/adrs/? These contain settled decisions.npx claudepluginhub drewdresser/ai-dev-settings --plugin ai-devAnalyzes codebase structure, tech stack, patterns, and conventions for project onboarding and exploration.
Generates a developer guide for unfamiliar codebases by scanning structure, mapping architecture, detecting conventions, analyzing key modules, and providing setup instructions.
Extracts tech stack, project structure, key patterns, and conventions from codebases via package.json scans, find, grep for JS/TS, Python, Go, Rust projects. Use before PRDs or planning.