본문으로 건너뛰기
cccskills
무료GitHub에 공개

fortify

Use when the workflow lacks error handling, has been failing in production, or needs retry logic, fallback strategies, and circuit breakers.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

sharpdeveye/maestro스타 591(GitHub 591 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md2.7 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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:

  • Use a cached previous response (if applicable)
  • Use a simpler/cheaper model as fallback
  • Return a graceful degradation response
  • Escalate to human review

Layer 4: Circuit Breakers When a service is consistently failing:

Circuit breaker:
  failure_threshold: 5 consecutive failures
  state: CLOSED → OPEN (after threshold) → HALF_OPEN (after cooldown)
  cooldown: 60 seconds
  half_open_max_requests: 1

Layer 5: Timeout Controls Every external call needs a timeout:

  • Model API calls: 30-120s depending on task
  • Tool executions: 10-60s depending on tool
  • Database queries: 5-15s
  • Third-party APIs: 10-30s

Fortification Audit

For each component, verify:

  • Input validation present
  • Retry logic for transient failures
  • Fallback for when retries fail
  • Timeout set
  • Error logged with context
  • User gets a meaningful error (not a stack trace)

Recommended Next Step

After fortification, run /evaluate to verify error handling works under realistic failure scenarios.

NEVER:

  • Retry non-retryable errors (authentication failures, validation errors)
  • Retry without backoff (you'll make the problem worse)
  • Swallow errors silently (log and handle, don't ignore)
  • Set infinite timeouts (they'll hang forever)
  • Skip the fallback (retries exhausted with no fallback = user sees an error)

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Use when the workflow is too slow, too expensive, or both and needs latency, cost, or token usage optimization.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

sharpdeveye/maestro5912026년 4월 29일 업데이트

Use when porting a workflow to a different AI provider, deployment environment, model tier, or organizational context.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

sharpdeveye/maestro5912026년 4월 29일 업데이트

Use when any Maestro command is invoked — provides foundational workflow design principles across prompt engineering, context management, tool orchestration, agent architecture, feedback loops, knowledge systems, and guardrails.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

sharpdeveye/maestro5912026년 4월 29일 업데이트

amplify

무료

Use when the workflow works but needs to handle more complex cases or produce higher-quality output through better tools, context, prompts, or models.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

sharpdeveye/maestro5912026년 4월 29일 업데이트

calibrate

무료

Use when workflow components are inconsistent, naming conventions vary, or a new team member's work needs alignment to project standards.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

sharpdeveye/maestro5912026년 4월 29일 업데이트

capture

무료

Capture a session summary — what was done, what decisions were made, and what to do next.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

sharpdeveye/maestro5912026년 4월 29일 업데이트

sharpdeveye의 스킬 모두 보기

이 스킬의 문제 신고