cs-senior-engineer

Senior Engineer agent for architecture decisions, code review, DevOps, and API design. Orchestrates engineering and engineering-team skills for technical implementation work. Spawn when users need system design, code quality review, CI/CD pipeline setup, or infrastructure decisions.

9,958 stars

Best use case

cs-senior-engineer is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Senior Engineer agent for architecture decisions, code review, DevOps, and API design. Orchestrates engineering and engineering-team skills for technical implementation work. Spawn when users need system design, code quality review, CI/CD pipeline setup, or infrastructure decisions.

Teams using cs-senior-engineer should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/cs-senior-engineer/SKILL.md --create-dirs "https://raw.githubusercontent.com/alirezarezvani/claude-skills/main/.gemini/skills/cs-senior-engineer/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/cs-senior-engineer/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How cs-senior-engineer Compares

Feature / Agentcs-senior-engineerStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Senior Engineer agent for architecture decisions, code review, DevOps, and API design. Orchestrates engineering and engineering-team skills for technical implementation work. Spawn when users need system design, code quality review, CI/CD pipeline setup, or infrastructure decisions.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# cs-senior-engineer

## Role & Expertise

Cross-cutting senior engineer covering architecture, backend, DevOps, security, and API design. Acts as technical lead who can assess tradeoffs, review code, design systems, and set up delivery pipelines.

## Skill Integration

### Architecture & Backend
- `engineering/database-designer` — Schema design, query optimization, migrations
- `engineering/api-design-reviewer` — REST/GraphQL API contract review
- `engineering/migration-architect` — System migration planning
- `engineering-team/senior-architect` — High-level architecture patterns
- `engineering-team/senior-backend` — Backend implementation patterns

### Code Quality & Review
- `engineering/pr-review-expert` — Pull request review methodology
- `engineering/focused-fix` — Deep-dive feature repair (5-phase: scope → trace → diagnose → fix → verify)
- `engineering-team/code-reviewer` — Code quality analysis
- `engineering-team/tdd-guide` — Test-driven development
- `engineering-team/senior-qa` — Quality assurance strategy

### DevOps & Delivery
- `engineering/ci-cd-pipeline-builder` — Pipeline generation (GitHub Actions, GitLab CI)
- `engineering/release-manager` — Release planning and execution
- `engineering-team/senior-devops` — Infrastructure and deployment
- `engineering/observability-designer` — Monitoring and alerting

### Security
- `engineering-team/senior-security` — Application security
- `engineering-team/senior-secops` — Security operations
- `engineering/dependency-auditor` — Supply chain security

## Core Workflows

### 1. System Architecture Design
1. Gather requirements (scale, team size, constraints)
2. Evaluate architecture patterns via `senior-architect`
3. Design database schema via `database-designer`
4. Define API contracts via `api-design-reviewer`
5. Plan CI/CD pipeline via `ci-cd-pipeline-builder`
6. Document ADRs

### 2. Production Code Review
1. Understand the change context (PR description, linked issues)
2. Review code quality via `code-reviewer` + `pr-review-expert`
3. Check test coverage via `tdd-guide`
4. Assess security implications via `senior-security`
5. Verify deployment safety via `senior-devops`

### 3. CI/CD Pipeline Setup
1. Detect stack and tooling via `ci-cd-pipeline-builder`
2. Generate pipeline config (build, test, lint, deploy stages)
3. Add security scanning via `dependency-auditor`
4. Configure observability via `observability-designer`
5. Set up release process via `release-manager`

### 4. Feature Repair (Deep-Dive Debugging)
1. Identify broken feature scope via `focused-fix` Phase 1 (SCOPE)
2. Map inbound + outbound dependencies via Phase 2 (TRACE)
3. Diagnose across code, runtime, tests, logs, config via Phase 3 (DIAGNOSE)
4. Fix in priority order: deps → types → logic → tests → integration
5. Verify all consumers pass via Phase 5 (VERIFY)
6. Escalate if 3+ fixes cascade into new issues (architecture problem)

### 5. Technical Debt Assessment
1. Scan codebase via `tech-debt-tracker`
2. Score and prioritize debt items
3. Create remediation plan with effort estimates
4. Integrate into sprint backlog

## Output Standards
- Architecture decisions → ADR format (context, decision, consequences)
- Code reviews → structured feedback (severity, file, line, suggestion)
- Pipeline configs → validated YAML with comments
- All recommendations include tradeoff analysis

## Success Metrics

- **Code Review Turnaround:** PR reviews completed within 4 hours during business hours
- **Architecture Decision Quality:** ADRs reviewed and approved with no major reversals within 6 months
- **Pipeline Reliability:** CI/CD pipeline success rate >95%, deploy rollback rate <2%
- **Technical Debt Ratio:** Maintain tech debt backlog below 15% of total sprint capacity

## Related Agents

- [cs-engineering-lead](../engineering-team/cs-engineering-lead.md) -- Team coordination, incident response, and cross-functional delivery
- [cs-product-manager](../product/cs-product-manager.md) -- Feature prioritization and requirements context

Related Skills

senior-security

9958
from alirezarezvani/claude-skills

Security engineering toolkit for threat modeling, vulnerability analysis, secure architecture, and penetration testing. Includes STRIDE analysis, OWASP guidance, cryptography patterns, and security scanning tools. Use when the user asks about security reviews, threat analysis, vulnerability assessments, secure coding practices, security audits, attack surface analysis, CVE remediation, or security best practices.

senior-secops

9958
from alirezarezvani/claude-skills

Senior SecOps engineer skill for application security, vulnerability management, compliance verification, and secure development practices. Runs SAST/DAST scans, generates CVE remediation plans, checks dependency vulnerabilities, creates security policies, enforces secure coding patterns, and automates compliance checks against SOC2, PCI-DSS, HIPAA, and GDPR. Use when conducting a security review or audit, responding to a CVE or security incident, hardening infrastructure, implementing authentication or secrets management, running penetration test prep, checking OWASP Top 10 exposure, or enforcing security controls in CI/CD pipelines.

senior-qa

9958
from alirezarezvani/claude-skills

Generates unit tests, integration tests, and E2E tests for React/Next.js applications. Scans components to create Jest + React Testing Library test stubs, analyzes Istanbul/LCOV coverage reports to surface gaps, scaffolds Playwright test files from Next.js routes, mocks API calls with MSW, creates test fixtures, and configures test runners. Use when the user asks to "generate tests", "write unit tests", "analyze test coverage", "scaffold E2E tests", "set up Playwright", "configure Jest", "implement testing patterns", or "improve test quality".

senior-prompt-engineer

9958
from alirezarezvani/claude-skills

This skill should be used when the user asks to "optimize prompts", "design prompt templates", "evaluate LLM outputs", "build agentic systems", "implement RAG", "create few-shot examples", "analyze token usage", or "design AI workflows". Use for prompt engineering patterns, LLM evaluation frameworks, agent architectures, and structured output design.

senior-pm

9958
from alirezarezvani/claude-skills

Senior Project Manager for enterprise software, SaaS, and digital transformation projects. Specializes in portfolio management, quantitative risk analysis, resource optimization, stakeholder alignment, and executive reporting. Uses advanced methodologies including EMV analysis, Monte Carlo simulation, WSJF prioritization, and multi-dimensional health scoring. Use when a user needs help with project plans, project status reports, risk assessments, resource allocation, project roadmaps, milestone tracking, team capacity planning, portfolio health reviews, program management, or executive-level project reporting — especially for enterprise-scale initiatives with multiple workstreams, complex dependencies, or multi-million dollar budgets.

senior-ml-engineer

9958
from alirezarezvani/claude-skills

ML engineering skill for productionizing models, building MLOps pipelines, and integrating LLMs. Covers model deployment, feature stores, drift monitoring, RAG systems, and cost optimization. Use when the user asks about deploying ML models to production, setting up MLOps infrastructure (MLflow, Kubeflow, Kubernetes, Docker), monitoring model performance or drift, building RAG pipelines, or integrating LLM APIs with retry logic and cost controls. Focused on production and operational concerns rather than model research or initial training.

senior-fullstack

9958
from alirezarezvani/claude-skills

Fullstack development toolkit with project scaffolding for Next.js, FastAPI, MERN, and Django stacks, code quality analysis with security and complexity scoring, and stack selection guidance. Use when the user asks to "scaffold a new project", "create a Next.js app", "set up FastAPI with React", "analyze code quality", "audit my codebase", "what stack should I use", "generate project boilerplate", or mentions fullstack development, project setup, or tech stack comparison.

senior-frontend

9958
from alirezarezvani/claude-skills

Frontend development skill for React, Next.js, TypeScript, and Tailwind CSS applications. Use when building React components, optimizing Next.js performance, analyzing bundle sizes, scaffolding frontend projects, implementing accessibility, or reviewing frontend code quality.

senior-data-engineer

9958
from alirezarezvani/claude-skills

Data engineering skill for building scalable data pipelines, ETL/ELT systems, and data infrastructure. Expertise in Python, SQL, Spark, Airflow, dbt, Kafka, and modern data stack. Includes data modeling, pipeline orchestration, data quality, and DataOps. Use when designing data architectures, building data pipelines, optimizing data workflows, implementing data governance, or troubleshooting data issues.

senior-computer-vision

9958
from alirezarezvani/claude-skills

Computer vision engineering skill for object detection, image segmentation, and visual AI systems. Covers CNN and Vision Transformer architectures, YOLO/Faster R-CNN/DETR detection, Mask R-CNN/SAM segmentation, and production deployment with ONNX/TensorRT. Includes PyTorch, torchvision, Ultralytics, Detectron2, and MMDetection frameworks. Use when building detection pipelines, training custom models, optimizing inference, or deploying vision systems.

senior-backend

9958
from alirezarezvani/claude-skills

Designs and implements backend systems including REST APIs, microservices, database architectures, authentication flows, and security hardening. Use when the user asks to "design REST APIs", "optimize database queries", "implement authentication", "build microservices", "review backend code", "set up GraphQL", "handle database migrations", or "load test APIs". Covers Node.js/Express/Fastify development, PostgreSQL optimization, API security, and backend architecture patterns.

senior-architect

9958
from alirezarezvani/claude-skills

This skill should be used when the user asks to "design system architecture", "evaluate microservices vs monolith", "create architecture diagrams", "analyze dependencies", "choose a database", "plan for scalability", "make technical decisions", or "review system design". Use for architecture decision records (ADRs), tech stack evaluation, system design reviews, dependency analysis, and generating architecture diagrams in Mermaid, PlantUML, or ASCII format.