skills/micro/SKILL.md
Microservices design and management.
npx skillsauth add arbazkhan971/godmode microInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
/godmode:micro, "design microservices"find . -name "docker-compose*" -o -name "*.proto" \
| head -10
grep -r "microservices\|grpc\|moleculer" \
package.json 2>/dev/null
Architecture: Monolith | Modular Monolith | Microservices
Team Structure: <teams, ownership>
Scale: <request volume, data volume>
Data Stores: <databases, caches, brokers>
Domain-driven bounded contexts. Each service owns its data exclusively. Decompose by business capability (not technical layer).
IF two services need strong consistency: they belong together. IF greenfield: start with modular monolith.
DECISION: Need immediate response -> sync (REST/gRPC). Fire-and-forget/fan-out -> async (events).
K8s DNS: <svc>.<ns>.svc.cluster.local.
LB: Round Robin (homogeneous), Least Request
(variable latency), Consistent Hash (sticky).
Every step MUST have compensating action (idempotent). Persist saga state. Use correlation IDs. Set timeouts.
Circuit Breaker (5 consecutive 5xx, 30s half-open), Timeout (3s default), Retry (3x exponential+jitter), Bulkhead (10 concurrent per svc), Rate Limit, Fallback.
IF service boundary violation detected: flag for review. WHEN circular dependency found: split service.
Single bounded context per service, no shared DBs, single team ownership, async where possible, circuit breakers on sync calls, saga for distributed txns.
<!-- tier-3 -->Append .godmode/micro-results.tsv:
timestamp services_count communication saga_pattern mesh status
KEEP if: contract tests pass AND circuit breakers work
AND no cascading failures.
DISCARD if: contract broken OR cascading failure
OR service discovery fails.
STOP when ALL of:
- All boundaries defined with clear contracts
- Circuit breakers on all inter-service calls
- Contract tests passing in CI
On failure: git reset --hard HEAD~1. Never pause.
| Failure | Action | |--|--| | Cascading failure | Add circuit breakers, bulkhead | | Saga fails mid-way | Compensate reverse, verify idempotency | | Discovery not resolving | Check DNS, retry with backoff | | Circular dependency | Extract shared or use events |
development
Web performance optimization. Lighthouse, bundle analysis, code splitting, image optimization, critical CSS, fonts, service workers, CDN.
development
Webhook design, delivery, retry, HMAC verification, event subscriptions, dead letter queues.
development
Vue.js mastery. Composition API, Pinia, Vue Router, Nuxt SSR/SSG, Vite optimization, testing.
development
Evidence gate. Run command, read full output, confirm or deny claim. No trust, only proof.