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

ops

Post-deploy observability for production services — structured logging, RED metrics + Prometheus, Grafana dashboards, SLO-based alerting. Use when setting up monitoring or instrumenting a live service. Trigger on "add logging", "metrics", "dashboard", "alerting", "observability", "monitor this service".

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

설치 방법 보기

포함된 파일(10)

  • SKILL.md4.8 KB
  • templates/alerting/patterns.md5.0 KB
  • templates/alerting/summary.md1.5 KB
  • templates/dashboard/patterns.md4.9 KB
  • templates/dashboard/summary.md1.3 KB
  • templates/logging/patterns.md4.3 KB
  • templates/logging/summary.md1.3 KB
  • templates/metrics/patterns.md5.2 KB
  • templates/metrics/summary.md1.4 KB
  • templates/overview.md1.3 KB

SKILL.md(원문)

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

Ops — Post-Deploy Observability

Unified observability guidance for production services. Auto-detects context from project files or accepts explicit mode.

Usage

/ops                  # Auto-detect from project signals
/ops logging          # Explicit: structured logging setup
/ops metrics          # Explicit: RED metrics + Prometheus instrumentation
/ops dashboard        # Explicit: Grafana/DataDog/CloudWatch dashboards
/ops alerting         # Explicit: SLO-based alerting policy
/ops overview         # Cross-mode sequencing guide

Workflow

Step 1: Determine Context

Parse $ARGUMENTS for explicit mode. If no arguments, run context detector:

DETECTED=$(bash "$HOME/.claude/skills/ops/lib/context-detector.sh")

Step 2: Show Relevant Guidance

Based on detected or explicit mode, use progressive disclosure:

Level 1 — Summary (default, ~20 lines): Read and present the summary template for the detected mode. This is the entry point.

Level 2 — Patterns (on request, ~60-80 lines): When the user asks for more detail, "show me patterns", code examples, or "Don't/Do/Best" style guidance, read the patterns template.

Level 3 — Full SOP (future): Not yet available. If the user asks for a complete reference, offer to dive into patterns and answer specific questions.

Step 3: Handle Multiple Contexts

If context-detector returns multiple modes (e.g., "logging,metrics"):

  • Show summary for each detected mode
  • Ask: "Which area do you want to dive deeper into?"

Step 4: No Context Detected

If detection returns "none" and no explicit mode was given:

  • Read and show templates/overview.md
  • Let the user choose which mode to start with

Template Locations

Summary Templates (~20 lines each — L1 default)

ModeFile
logging~/.claude/skills/ops/templates/logging/summary.md
metrics~/.claude/skills/ops/templates/metrics/summary.md
dashboard~/.claude/skills/ops/templates/dashboard/summary.md
alerting~/.claude/skills/ops/templates/alerting/summary.md

Patterns Templates (~60-80 lines each — L2 on request)

ModeFile
logging~/.claude/skills/ops/templates/logging/patterns.md
metrics~/.claude/skills/ops/templates/metrics/patterns.md
dashboard~/.claude/skills/ops/templates/dashboard/patterns.md
alerting~/.claude/skills/ops/templates/alerting/patterns.md

Reference Templates

ModeFile
overview~/.claude/skills/ops/templates/overview.md

Progressive Disclosure Rules

  1. Always start at L1 — never dump 300+ lines unprompted
  2. Read templates on demand — use the Read tool to load templates, don't memorize content
  3. User drives depth — "show patterns", "show me the code", "how do I set up X" triggers L2
  4. Cross-reference, don't duplicate — if user asks about PII scrubbing in logging, cite /security operations rather than reproducing the PIIScrubber code here

Relationship to Other Skills

  • /security operations: Covers secrets management, deployment security, incident response. /ops covers observability implementation. They complement each other — run both for a new service.
  • /infrastructure-setup: Sets up the base stack (Docker, DB, API layer). /ops adds the observability layer on top.
  • /implementation: After implementing a feature, consider /ops metrics to add domain-specific counters.

Examples

Auto-detected metrics context (prometheus.yml found):

→ context-detector returns "metrics" → Read and show templates/metrics/summary.md → User: "show me how to add custom counters" → Read and show templates/metrics/patterns.md

Explicit logging request:

User: /ops logging → Read and show templates/logging/summary.md

No context, overview:

User: /ops → context-detector returns "none" → Read and show templates/overview.md

Cross-reference on PII:

User asks about PII in logging patterns → Cite /security operations for the PIIScrubber implementation → Do NOT reproduce the full class here

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Validate WCAG 2.1 Level AA compliance and accessibility best practices. Use when performing accessibility audits and WCAG certification.

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

matteocervelli/llms252026년 5월 22일 업데이트

analysis

무료

Analyze feature requirements, dependencies, and security considerations. Use when starting feature implementation from GitHub issues to understand scope, technical feasibility, and risks.

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

matteocervelli/llms252026년 5월 22일 업데이트

analytics

무료

Run SQL queries against psql, BigQuery, or MySQL from the terminal, including natural-language-to-SQL and schema exploration. Use when analyzing data, inspecting DB state, or debugging tables. Trigger on "query the database", "SQL", "show me data from", "explore table".

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

matteocervelli/llms252026년 5월 22일 업데이트

Design REST APIs or function contracts with clear request/response specifications, error handling patterns, authentication strategies, and comprehensive documentation.

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

matteocervelli/llms252026년 5월 22일 업데이트

Generate comprehensive API endpoint tests for REST and GraphQL APIs. Creates tests for all HTTP methods, status codes, authentication, and validation.

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

matteocervelli/llms252026년 5월 22일 업데이트

Design component architecture and module structure using established architectural patterns for clean, maintainable, and scalable systems.

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

matteocervelli/llms252026년 5월 22일 업데이트

matteocervelli의 스킬 모두 보기

이 스킬의 문제 신고