senior-architect
Senior Architect
Section titled “Senior Architect”Complete toolkit for senior architect with modern tools and best practices.
Quick Start
Section titled “Quick Start”Main Capabilities
Section titled “Main Capabilities”This skill provides three core capabilities through automated scripts:
# Script 1: Architecture Diagram Generatorpython scripts/architecture_diagram_generator.py [options]
# Script 2: Project Architectpython scripts/project_architect.py [options]
# Script 3: Dependency Analyzerpython scripts/dependency_analyzer.py [options]Core Capabilities
Section titled “Core Capabilities”1. Architecture Diagram Generator
Section titled “1. Architecture Diagram Generator”Automated tool for architecture diagram generator tasks.
Features:
- Automated scaffolding
- Best practices built-in
- Configurable templates
- Quality checks
Usage:
python scripts/architecture_diagram_generator.py <project-path> [options]2. Project Architect
Section titled “2. Project Architect”Comprehensive analysis and optimization tool.
Features:
- Deep analysis
- Performance metrics
- Recommendations
- Automated fixes
Usage:
python scripts/project_architect.py <target-path> [--verbose]3. Dependency Analyzer
Section titled “3. Dependency Analyzer”Advanced tooling for specialized tasks.
Features:
- Expert-level automation
- Custom configurations
- Integration ready
- Production-grade output
Usage:
python scripts/dependency_analyzer.py [arguments] [options]Reference Documentation
Section titled “Reference Documentation”Architecture Patterns
Section titled “Architecture Patterns”Comprehensive guide available in references/architecture_patterns.md:
- Detailed patterns and practices
- Code examples
- Best practices
- Anti-patterns to avoid
- Real-world scenarios
System Design Workflows
Section titled “System Design Workflows”Complete workflow documentation in references/system_design_workflows.md:
- Step-by-step processes
- Optimization strategies
- Tool integrations
- Performance tuning
- Troubleshooting guide
Tech Decision Guide
Section titled “Tech Decision Guide”Technical reference guide in references/tech_decision_guide.md:
- Technology stack details
- Configuration examples
- Integration patterns
- Security considerations
- Scalability guidelines
Tech Stack
Section titled “Tech Stack”Languages: TypeScript, JavaScript, Python, Go, Swift, Kotlin Frontend: React, Next.js, React Native, Flutter Backend: Node.js, Express, GraphQL, REST APIs Database: PostgreSQL, Prisma, NeonDB, Supabase DevOps: Docker, Kubernetes, Terraform, GitHub Actions, CircleCI Cloud: AWS, GCP, Azure
Development Workflow
Section titled “Development Workflow”1. Setup and Configuration
Section titled “1. Setup and Configuration”# Install dependenciesnpm install# orpip install -r requirements.txt
# Configure environmentcp .env.example .env2. Run Quality Checks
Section titled “2. Run Quality Checks”# Use the analyzer scriptpython scripts/project_architect.py .
# Review recommendations# Apply fixes3. Implement Best Practices
Section titled “3. Implement Best Practices”Follow the patterns and practices documented in:
references/architecture_patterns.mdreferences/system_design_workflows.mdreferences/tech_decision_guide.md
Best Practices Summary
Section titled “Best Practices Summary”Code Quality
Section titled “Code Quality”- Follow established patterns
- Write comprehensive tests
- Document decisions
- Review regularly
Performance
Section titled “Performance”- Measure before optimizing
- Use appropriate caching
- Optimize critical paths
- Monitor in production
Security
Section titled “Security”- Validate all inputs
- Use parameterized queries
- Implement proper authentication
- Keep dependencies updated
Maintainability
Section titled “Maintainability”- Write clear code
- Use consistent naming
- Add helpful comments
- Keep it simple
Common Commands
Section titled “Common Commands”# Developmentnpm run devnpm run buildnpm run testnpm run lint
# Analysispython scripts/project_architect.py .python scripts/dependency_analyzer.py --analyze
# Deploymentdocker build -t app:latest .docker-compose up -dkubectl apply -f k8s/Troubleshooting
Section titled “Troubleshooting”Common Issues
Section titled “Common Issues”Check the comprehensive troubleshooting section in references/tech_decision_guide.md.
Getting Help
Section titled “Getting Help”- Review reference documentation
- Check script output messages
- Consult tech stack documentation
- Review error logs
Resources
Section titled “Resources”- Pattern Reference:
references/architecture_patterns.md - Workflow Guide:
references/system_design_workflows.md - Technical Guide:
references/tech_decision_guide.md - Tool Scripts:
scripts/directory
Gap Analysis Rule
Section titled “Gap Analysis Rule”Always identify gaps and suggest next steps to users. In case there is no gaps anymore, then AI should clearly state that there is no gap left.