- mkdocs.yml: Material theme with dark/light mode, search, tabs, sitemap - scripts/generate-docs.py: auto-generates docs from all SKILL.md files - docs/index.md: landing page with domain overview and quick install - docs/getting-started.md: installation guide for Claude Code, Codex, OpenClaw - docs/skills/: 170 skill pages + 9 domain index pages - .github/workflows/static.yml: MkDocs build + GitHub Pages deploy - .gitignore: exclude site/ build output Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
217 lines
4.3 KiB
Markdown
217 lines
4.3 KiB
Markdown
---
|
|
title: "Senior Devops"
|
|
description: "Senior Devops - Claude Code skill from the Engineering - Core domain."
|
|
---
|
|
|
|
# Senior Devops
|
|
|
|
**Domain:** Engineering - Core | **Skill:** `senior-devops` | **Source:** [`engineering-team/senior-devops/SKILL.md`](https://github.com/alirezarezvani/claude-skills/tree/main/engineering-team/senior-devops/SKILL.md)
|
|
|
|
---
|
|
|
|
|
|
# Senior Devops
|
|
|
|
Complete toolkit for senior devops with modern tools and best practices.
|
|
|
|
## Quick Start
|
|
|
|
### Main Capabilities
|
|
|
|
This skill provides three core capabilities through automated scripts:
|
|
|
|
```bash
|
|
# Script 1: Pipeline Generator
|
|
python scripts/pipeline_generator.py [options]
|
|
|
|
# Script 2: Terraform Scaffolder
|
|
python scripts/terraform_scaffolder.py [options]
|
|
|
|
# Script 3: Deployment Manager
|
|
python scripts/deployment_manager.py [options]
|
|
```
|
|
|
|
## Core Capabilities
|
|
|
|
### 1. Pipeline Generator
|
|
|
|
Automated tool for pipeline generator tasks.
|
|
|
|
**Features:**
|
|
- Automated scaffolding
|
|
- Best practices built-in
|
|
- Configurable templates
|
|
- Quality checks
|
|
|
|
**Usage:**
|
|
```bash
|
|
python scripts/pipeline_generator.py <project-path> [options]
|
|
```
|
|
|
|
### 2. Terraform Scaffolder
|
|
|
|
Comprehensive analysis and optimization tool.
|
|
|
|
**Features:**
|
|
- Deep analysis
|
|
- Performance metrics
|
|
- Recommendations
|
|
- Automated fixes
|
|
|
|
**Usage:**
|
|
```bash
|
|
python scripts/terraform_scaffolder.py <target-path> [--verbose]
|
|
```
|
|
|
|
### 3. Deployment Manager
|
|
|
|
Advanced tooling for specialized tasks.
|
|
|
|
**Features:**
|
|
- Expert-level automation
|
|
- Custom configurations
|
|
- Integration ready
|
|
- Production-grade output
|
|
|
|
**Usage:**
|
|
```bash
|
|
python scripts/deployment_manager.py [arguments] [options]
|
|
```
|
|
|
|
## Reference Documentation
|
|
|
|
### Cicd Pipeline Guide
|
|
|
|
Comprehensive guide available in `references/cicd_pipeline_guide.md`:
|
|
|
|
- Detailed patterns and practices
|
|
- Code examples
|
|
- Best practices
|
|
- Anti-patterns to avoid
|
|
- Real-world scenarios
|
|
|
|
### Infrastructure As Code
|
|
|
|
Complete workflow documentation in `references/infrastructure_as_code.md`:
|
|
|
|
- Step-by-step processes
|
|
- Optimization strategies
|
|
- Tool integrations
|
|
- Performance tuning
|
|
- Troubleshooting guide
|
|
|
|
### Deployment Strategies
|
|
|
|
Technical reference guide in `references/deployment_strategies.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/terraform_scaffolder.py .
|
|
|
|
# Review recommendations
|
|
# Apply fixes
|
|
```
|
|
|
|
### 3. Implement Best Practices
|
|
|
|
Follow the patterns and practices documented in:
|
|
- `references/cicd_pipeline_guide.md`
|
|
- `references/infrastructure_as_code.md`
|
|
- `references/deployment_strategies.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/terraform_scaffolder.py .
|
|
python scripts/deployment_manager.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/deployment_strategies.md`.
|
|
|
|
### Getting Help
|
|
|
|
- Review reference documentation
|
|
- Check script output messages
|
|
- Consult tech stack documentation
|
|
- Review error logs
|
|
|
|
## Resources
|
|
|
|
- Pattern Reference: `references/cicd_pipeline_guide.md`
|
|
- Workflow Guide: `references/infrastructure_as_code.md`
|
|
- Technical Guide: `references/deployment_strategies.md`
|
|
- Tool Scripts: `scripts/` directory
|