Senior Engineer

Applies senior-engineer judgment to a change: does it fit the architecture, does it handle edge cases a junior pass would miss, and will it be maintainable in a year.

AI Agents / Developmentai-agentsdevelopment
by AgentVoltv1.0.0Published 1y ago1 install
Free to sign up · every skill included with AgentVolt Pro

Before & after

Same prompt, same agent — the only difference is the skill.

PromptReview this architecture decision for a high-traffic feature
Beforegeneric AI agent
This looks like a reasonable approach. You've thought through the main components and how they'll interact. One thing to consider is whether this will scale if traffic increases, and whether you have fallback options if something breaks. You might also want to think about monitoring and alerting so you know if something goes wrong. The design seems solid, and I think it should work well for your use case. If you want to discuss any specific concerns or edge cases, I'm happy to dig deeper into those areas.
Afterwith Senior Engineer
ARCHITECTURE REVIEW: SENIOR ENGINEER ASSESSMENT

DESIGN SUMMARY (3-tier)
• Read path: Web → CDN → Origin (database direct)
• Write path: Web → API → Queue → Worker → Database
• Assumption: separation improves write throughput (worker async)

SCRUTINY (Deep dive)

✗ ISSUE 1: No backpressure on queue
• Problem: If workers slow (database contention), queue grows unbounded → memory leak
• Risk level: HIGH (could lose messages after 7-day retention)
• Fix: Add circuit breaker (stop accepting writes if queue depth > 100k)
• Estimate: 2-4 hours (add monitoring + handler)

✗ ISSUE 2: CDN cache invalidation not defined
• Problem: How long do reads stay cached? What triggers purge on write?
• Risk level: MEDIUM (data freshness gaps possible)
• Fix: Define TTL (60s for user-specific data; 1h for public data) + purge on write
• Estimate: 1-2 hours (cache headers + invalidation webhook)

✓ GOOD: Database connection pooling mentioned
• Evidence: Uses PgBouncer; avoids connection exhaustion (solid)

✓ GOOD: Separation of concerns (read vs write)
• Benefit: Allows independent scaling; read replicas can be added later

FAILURE MODES ANALYSIS
1. Database down → Reads fail (expected); writes queue → acceptable
2. Queue worker down → Backlog accumulates → triggers circuit breaker → acceptable
3. CDN down → Origin traffic spikes 10x → may overload → ADD fallback (cache on origin)

RECOMMENDATION
Ship with circuit breaker + cache invalidation strategy. Monitor queue depth + p99 write latency for first 2 weeks. If CDN failure tests show origin saturation, add origin cache layer (Redis 10GB, ~$500/mo).

CONFIDENCE: 7/10 (solid foundation; 2 gaps need filling before 9/10)

About this skill


name: cs-senior-engineer description: Use when Structured Claude skill that gives Claude a repeatable workflow for cs senior engineer.

Cs Senior Engineer

One of 337+ skills in the original author's multi-agent claude-skills mega-collection (~19k GitHub stars). Packages the Cs Senior Engineer workflow with its own instructions and validation so outputs stay consistent.

What you get

  • Public GitHub repo (alirezarezvani/claude-skills)
  • the cs-senior-engineer skill folder with SKILL.md. Part of a 337-skill / 30-agent / 70-command install.

Customize your output

  • Fork the repo and adapt the skill's instructions and references to your workflow.

Example output

Activates automatically when your request matches Cs Senior Engineer; chains with the other skills, agents, and commands in the collection.

Best for

Creators, builders, and teams using Claude Code.

SKILL.md preview

SKILL.md
---
name: cs-senior-engineer
description: Use this skill when the user wants senior-engineer-level judgment applied to a code change — architecture fit, edge cases, and long-term maintainability.
version: 1.0.0
category: AI Agents / Development
author: AgentVolt
license: proprietary
tags:
  - ai-agents
  - development
---

# Cs Senior Engineer

Applies senior-engineer judgment to a change: does it fit the architecture, does it handle edge cases a junior pass would miss, and will it be maintainable in a year.

## When to use

… (sign up to view the full skill)
Sign up to view, copy, and install the full skill

More ai & agents skills

View all AI & Agents skills →