home / skills / questnova502 / claude-skills-sync / senior-architect

senior-architect skill

/skills/senior-architect

This skill helps design scalable system architectures using React, Node, GraphQL, and Go, generating diagrams, analyses, and pragmatic recommendations.

This is most likely a fork of the senior-architect skill from nilecui
npx playbooks add skill questnova502/claude-skills-sync --skill senior-architect

Review the files below or copy the command above to add this skill to your agents.

Files (7)
SKILL.md
4.5 KB
---
name: senior-architect
description: Comprehensive software architecture skill for designing scalable, maintainable systems using ReactJS, NextJS, NodeJS, Express, React Native, Swift, Kotlin, Flutter, Postgres, GraphQL, Go, Python. Includes architecture diagram generation, system design patterns, tech stack decision frameworks, and dependency analysis. Use when designing system architecture, making technical decisions, creating architecture diagrams, evaluating trade-offs, or defining integration patterns.
---

# Senior Architect

Complete toolkit for senior architect with modern tools and best practices.

## Quick Start

### Main Capabilities

This skill provides three core capabilities through automated scripts:

```bash
# Script 1: Architecture Diagram Generator
python scripts/architecture_diagram_generator.py [options]

# Script 2: Project Architect
python scripts/project_architect.py [options]

# Script 3: Dependency Analyzer
python scripts/dependency_analyzer.py [options]
```

## Core Capabilities

### 1. Architecture Diagram Generator

Automated tool for architecture diagram generator tasks.

**Features:**
- Automated scaffolding
- Best practices built-in
- Configurable templates
- Quality checks

**Usage:**
```bash
python scripts/architecture_diagram_generator.py <project-path> [options]
```

### 2. Project Architect

Comprehensive analysis and optimization tool.

**Features:**
- Deep analysis
- Performance metrics
- Recommendations
- Automated fixes

**Usage:**
```bash
python scripts/project_architect.py <target-path> [--verbose]
```

### 3. Dependency Analyzer

Advanced tooling for specialized tasks.

**Features:**
- Expert-level automation
- Custom configurations
- Integration ready
- Production-grade output

**Usage:**
```bash
python scripts/dependency_analyzer.py [arguments] [options]
```

## Reference Documentation

### 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

Complete workflow documentation in `references/system_design_workflows.md`:

- Step-by-step processes
- Optimization strategies
- Tool integrations
- Performance tuning
- Troubleshooting guide

### 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

**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

### 1. Setup and Configuration

```bash
# Install dependencies
npm install
# or
pip install -r requirements.txt

# Configure environment
cp .env.example .env
```

### 2. Run Quality Checks

```bash
# Use the analyzer script
python scripts/project_architect.py .

# Review recommendations
# Apply fixes
```

### 3. Implement Best Practices

Follow the patterns and practices documented in:
- `references/architecture_patterns.md`
- `references/system_design_workflows.md`
- `references/tech_decision_guide.md`

## Best Practices Summary

### Code Quality
- Follow established patterns
- Write comprehensive tests
- Document decisions
- Review regularly

### Performance
- Measure before optimizing
- Use appropriate caching
- Optimize critical paths
- Monitor in production

### Security
- Validate all inputs
- Use parameterized queries
- Implement proper authentication
- Keep dependencies updated

### Maintainability
- Write clear code
- Use consistent naming
- Add helpful comments
- Keep it simple

## Common Commands

```bash
# Development
npm run dev
npm run build
npm run test
npm run lint

# Analysis
python scripts/project_architect.py .
python scripts/dependency_analyzer.py --analyze

# Deployment
docker build -t app:latest .
docker-compose up -d
kubectl apply -f k8s/
```

## Troubleshooting

### Common Issues

Check the comprehensive troubleshooting section in `references/tech_decision_guide.md`.

### Getting Help

- Review reference documentation
- Check script output messages
- Consult tech stack documentation
- Review error logs

## 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

Overview

This skill is a comprehensive senior-architect toolkit for designing scalable, maintainable systems across web, mobile, and backend stacks. It combines automated diagram generation, project-level architecture analysis, and dependency inspection with opinionated best practices and decision frameworks. Use it to accelerate system design, validate architectural choices, and produce production-ready recommendations.

How this skill works

The skill inspects project code, configuration, and dependency graphs to produce architecture diagrams, performance and maintainability analyses, and prioritized recommendations. It offers three automated tools: an Architecture Diagram Generator that scaffolds visual models from code and config; a Project Architect that runs deep analysis, metrics collection, and automated fixes; and a Dependency Analyzer that surfaces risky or outdated libraries and integration issues. Outputs include diagrams, actionable reports, and suggested remediation steps.

When to use it

  • Designing a new system or defining a target architecture for a product.
  • Evaluating trade-offs when choosing tech stacks or cloud patterns.
  • Auditing an existing codebase for scalability, security, or maintainability risks.
  • Generating architecture diagrams for documentation, reviews, or onboarding.
  • Performing dependency and integration analysis before upgrades or deployments.

Best practices

  • Measure before optimizing: collect metrics and baseline performance first.
  • Prefer explicit integration patterns (API gateways, message buses) and document them.
  • Use parameterized queries and validate inputs to reduce security risk.
  • Keep diagrams and decision records versioned alongside code for traceability.
  • Automate recurring checks (linting, dependency scans, CI) and act on findings.

Example use cases

  • Generate a canonical architecture diagram for a React + Node + Postgres product to share with stakeholders.
  • Run a project-level audit that identifies hot paths, caching opportunities, and recommended refactors.
  • Analyze dependencies for a mobile monorepo (React Native, Swift, Kotlin) and flag incompatible or unmaintained libraries.
  • Decide between GraphQL and REST for a new API using a structured decision framework and trade-off analysis.
  • Produce an integration pattern guide for connecting a Go microservice fleet to a managed Postgres cluster.

FAQ

What inputs are required to generate diagrams?

Point the generator at your project path; it reads code, Docker/Kubernetes manifests, and config files to infer components and connections.

Can it suggest automated fixes?

Yes. The Project Architect produces recommendations and can apply safe, automated fixes for common issues when enabled.

Which stacks are supported?

Primary support covers React, Next.js, Node/Express, GraphQL, Postgres, React Native, Swift, Kotlin, Flutter, Go, and Python, plus common DevOps toolchains.