Production workflows fail. APIs time out, rate limits hit, networks drop. This skill adds the five resilience layers you should have built in from the start: input validation, exponential backoff retries, fallback strategies, circuit breakers, and proper timeouts. It's opinionated about what's retryable (500s, timeouts) versus what's not (auth failures, bad requests). The audit checklist is genuinely useful for code review. Run this when you're tired of getting paged at 3am because your workflow has no error handling, or when you need to harden something before it goes to production. Pairs well with the evaluate skill to actually test your failure scenarios.

skills.sh installs
342
GitHub stars
602
last updated
Aug 21, 2026

Install

$ npx -y skills add sharpdeveye/maestro --skill fortify --agent claude-code

Installs into .claude/skills of the current project.

Files

MANDATORY PREPARATION

Invoke /agent-workflow — it contains workflow principles, anti-patterns, and the Context Gathering Protocol. Follow the protocol before proceeding — if no workflow context exists yet, you MUST run /teach-maestro first. Consult the guardrails-safety reference in the agent-workflow skill for defense-in-depth patterns and error boundary design.


Make the workflow resilient. Every external call will fail eventually — model APIs, tools, databases, third-party services. Fortify ensures the workflow handles failure gracefully.

Fortification Layers

Layer 1: Input Validation

  • Validate all inputs before processing
  • Return clear error messages for invalid input
  • Set size limits on all input fields

Layer 2: Retry with Backoff For transient failures (network errors, rate limits, timeouts):

Retry strategy:
  max_retries: 3
  initial_delay: 1s
  backoff_multiplier: 2
  max_delay: 30s
  retryable_errors: [429, 500, 502, 503, 504, TIMEOUT, CONNECTION_ERROR]
  non_retryable_errors: [400, 401, 403, 404]

Layer 3: Fallback Responses When retries are exhausted:

Sponsors

Details

Repository
github.com/sharpdeveye/maestro
Categories
Debugging, Automation & Workflows
First seen
Jun 3, 2026

More from sharpdeveye/maestro

All 22

Recommended

More Debugging
1dhruvanbhalara avatarflutter-firebasedhruvanbhalara/skillsIntegrate Firebase services including Authentication, Firestore, Cloud Messaging, Crashlytics, and Analytics. Use when adding backend capabilities, push notific341skills.sh installs
2jezweb avatarcloudflare-browser-renderingjezweb/claude-skillsAdd headless Chrome automation with Puppeteer/Playwright on Cloudflare Workers. Use when: taking screenshots, generating PDFs, web scraping, crawling sites, bro341skills.sh installs
3jezweb avatarcloudflare-workflowsjezweb/claude-skillsBuild durable workflows with Cloudflare Workflows (GA April 2025). Features step.do, step.sleep, waitForEvent, Vitest testing, automatic retries, and state pers341skills.sh installs
4mhattingpete avatarcode-auditormhattingpete/claude-skills-marketplacePerforms comprehensive codebase analysis covering architecture, code quality, security, performance, testing, and maintainability. Use when user wants to audit 341skills.sh installs
5davila7 avatarhuggingface-tokenizersdavila7/claude-code-templatesFast tokenizers optimized for research and production. Rust-based implementation tokenizes 1GB in <20 seconds. Supports BPE, WordPiece, and Unigram algorithms. 340skills.sh installs
6patricio0312rev avatarform-wizard-builderpatricio0312rev/skillsBuilds multi-step forms with validation schemas (Zod/Yup), step components, shared state management, progress indicators, review steps, and error handling. Use 340skills.sh installs