Analyze any repository to identify all programming languages and technologies in use, then generate comprehensive coding guidelines, best practices, and quality standards for each one. Output is organized as separate Markdown files for easy reference and integration into Claude Code context.
Analyzes repository to detect technologies and generates comprehensive coding guidelines for each.
/plugin marketplace add gravity9-tech/pandora-marketplace/plugin install context-engineering@pandora-marketplacecontext-eng/Analyze any repository to identify all programming languages and technologies in use, then generate comprehensive coding guidelines, best practices, and quality standards for each one. Output is organized as separate Markdown files for easy reference and integration into Claude Code context.
$1 (codebase-path): Path to the repository root directory to analyze$2 (output-directory): Directory where generated guideline files will be savedpackage.json, requirements.txt, pom.xml, Gemfile, composer.json, go.mod, Cargo.toml, etc.).eslintrc, tsconfig.json, .flake8, build.gradle, setup.cfg, etc.)The command generates guidelines tailored to detected technologies:
{language}-guidelines.md for each detected language
{framework}-guidelines.md for major frameworks detected
testing-standards.md - Testing frameworks, coverage targets, test patternscode-review-checklist.md - Verification items for all pull requestslinting-and-formatting.md - Tools, configuration, style consistencynaming-conventions.md - Unified naming standards across all languageserror-handling.md - Error/exception patterns per technologydependencies-management.md - Versioning, security, update strategiesarchitecture-patterns.md - Design patterns, modularity, layer separationperformance-guidelines.md - Optimization strategies per technologysecurity-guidelines.md - Security best practices per language/frameworkdocumentation-standards.md - Comment style, API docs, code examplesEach generated file follows structure relevant to its content:
# [Technology/Topic] Guidelines
## Overview
- Purpose in this project
- Key characteristics
- Version/configuration info
## Naming Conventions
- Classes/Types: [convention]
- Functions/Methods: [convention]
- Constants: [convention]
- Variables: [convention]
- Files/Modules: [convention]
## Code Style
- Indentation and spacing
- Line length limits
- Import/require ordering
- Comment and documentation style
## Best Practices
- [Practice 1 with rationale]
- [Practice 2 with rationale]
- [Practice N...]
## Error Handling
- Error types and hierarchy
- Exception/error raising patterns
- Try-catch/try-except patterns
- Error logging standards
## Testing Requirements
- Test framework and setup
- Coverage target percentage
- Test file naming and location
- Required test patterns
## Tools & Configuration
- Linter and formatter config
- Type checker if applicable
- Configuration file references
## Common Pitfalls
- [Pitfall description] → [Solution]
- [Pitfall description] → [Solution]
## References & Resources
- Official documentation
- Relevant style guides
$1 for file types, extensions, and configuration files$2 with clear, consistent naming/coding-guidelines /path/to/repo ./docs/guidelines
/coding-guidelines . ./guidelines
For a full-stack project with Python, TypeScript, React, Docker:
guidelines/
├── python-guidelines.md
├── typescript-guidelines.md
├── javascript-guidelines.md
├── react-guidelines.md
├── testing-standards.md
├── code-review-checklist.md
├── naming-conventions.md
├── error-handling.md
├── security-guidelines.md
├── performance-guidelines.md
├── linting-and-formatting.md
├── docker-guidelines.md
├── architecture-patterns.md
└── detected-technologies.md
Generated guidelines enable Claude Code to:
Guidelines are automatically tailored to the actual technology stack in use.