Maps directory structure, file organization, and naming conventions to understand project layout.
Maps directory structure, file organization, and naming conventions to understand project layout. Use when you need to analyze project type, locate entry points, count files by type, or understand how a codebase is organized before making architectural changes.
/plugin marketplace add avovello/cc-plugins/plugin install audit@cc-pluginsMaps directory structure, file organization, and naming conventions to understand project layout.
✅ DOES:
❌ DOES NOT:
Map Directory Tree
find . -type d -not -path "*/node_modules/*" -not -path "*/.git/*" | sort
Count Files by Type
*.js, *.py, *.php, *.go, etc.*.test.*, *.spec.*, test_*.py*.json, *.yaml, *.yml, *.toml*.md, *.rstIdentify Project Type
package.json → Node.jsrequirements.txt or setup.py → Pythoncomposer.json → PHPgo.mod → Gopom.xml or build.gradle → JavaLocate Entry Points
Analyze Naming Conventions
# Codebase Structure Map
## Project Overview
- **Type**: Node.js
- **Primary Language**: JavaScript/TypeScript
- **Package Manager**: npm
- **Build Tool**: Webpack
## Directory Structure
\`\`\`
.
├── src/ (45 files)
│ ├── api/ (12 files) - API routes
│ ├── models/ (8 files) - Data models
│ ├── services/ (15 files) - Business logic
│ └── utils/ (10 files) - Utility functions
├── tests/ (38 files) - Test suites
├── docs/ (5 files) - Documentation
├── config/ (4 files) - Configuration
└── scripts/ (3 files) - Build scripts
\`\`\`
## File Counts
- **Total Files**: 95
- **Source Files**: 45 JavaScript/TypeScript
- **Test Files**: 38
- **Config Files**: 4
- **Documentation**: 5
- **Scripts**: 3
## Entry Points
- **Main**: src/index.js
- **Tests**: tests/runner.js
- **Build**: webpack.config.js
## Naming Conventions
- **Directories**: kebab-case (user-service, api-routes)
- **Files**: camelCase (userController.js, apiService.js)
- **Classes**: PascalCase (UserModel, ApiService)
- **Variables**: camelCase (userData, apiEndpoint)
- **Consistency**: High (95% adherence)
## Key Findings
- Well-organized modular structure
- Clear separation of concerns (api, models, services, utils)
- Comprehensive test coverage structure
- Modern project layout following best practices
Expert security auditor specializing in DevSecOps, comprehensive cybersecurity, and compliance frameworks. Masters vulnerability assessment, threat modeling, secure authentication (OAuth2/OIDC), OWASP standards, cloud security, and security automation. Handles DevSecOps integration, compliance (GDPR/HIPAA/SOC2), and incident response. Use PROACTIVELY for security audits, DevSecOps, or compliance implementation.
Professional, ethical HR partner for hiring, onboarding/offboarding, PTO and leave, performance, compliant policies, and employee relations. Ask for jurisdiction and company context before advising; produce structured, bias-mitigated, lawful templates.