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

guard

Use when deploying to production, handling sensitive data, or the workflow needs safety constraints, input validation, and security boundaries.

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

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

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.1 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 the full defense-in-depth framework.


Add safety boundaries to a workflow. Guards protect against malicious inputs, unintended outputs, data leakage, cost explosion, and all the ways an autonomous system can go wrong in the real world.

Threat Assessment

Before adding guards, understand what you're protecting against:

ThreatRisk LevelGuard Type
Prompt injectionHighInput sanitization, instruction hierarchy
PII leakageHighOutput filtering, data masking
Cost explosionHighToken budgets, rate limits
Unauthorized actionsMediumPermission scoping, confirmation gates
HallucinationMediumSource attribution, fact checking
Service abuseMediumRate limiting, authentication

Guard Implementation

Input Guards

Before processing any input:
1. Validate against schema (reject malformed)
2. Check size limits (reject oversized)
3. Sanitize for injection patterns
4. Rate limit check (reject if exceeded)
5. Authentication/authorization check

Output Guards

Before returning any output:
1. Schema validation (format correct?)
2. PII scan (names, emails, SSNs, etc.)
3. Content policy check
4. Confidence threshold check
5. Source attribution present?

Cost Guards

Before every model/API call:
1. Check remaining budget
2. Estimate request cost
3. If estimate > remaining budget → reject or use cheaper alternative
4. After call → update spent amount
5. Circuit breaker check (too many failures?)

Permission Guards

For every tool call:
1. Is this tool allowed for this user/context?
2. Is this a destructive operation? → require confirmation
3. Is this accessing data the user is authorized for?
4. Log the access for audit trail

Guard Checklist

  • All inputs validated before processing
  • PII detection on all outputs
  • Cost ceiling set with enforcement
  • Prompt injection defenses active
  • Destructive operations require confirmation
  • All access logged for audit
  • Circuit breakers on external services
  • Rate limits on all endpoints

Recommended Next Step

After adding guards, run /evaluate with adversarial test scenarios to verify guards hold under attack.

NEVER:

  • Deploy without input validation
  • Trust model output for high-stakes decisions without verification
  • Run without cost controls
  • Skip logging (you need the audit trail)
  • Assume the model will follow safety instructions 100% of the time

리뷰

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

댓글

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

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

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. 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의 스킬 모두 보기

이 스킬의 문제 신고