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

security

Stack-specific security implementation guidance (backend, frontend, database, infrastructure, operations) with auto-detection from your changes. Use when implementing a feature securely or hardening code as you write it. Trigger on "how do I secure this", "security best practices", "is this secure", "harden this". For scanning existing code use /security-verify.

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

연동 도구Redis
설치 방법 보기

포함된 파일(13)

  • SKILL.md4.8 KB
  • templates/backend/patterns.md2.2 KB
  • templates/backend/summary.md1.0 KB
  • templates/checklist.md3.8 KB
  • templates/database/patterns.md2.0 KB
  • templates/database/summary.md1.0 KB
  • templates/frontend/patterns.md2.0 KB
  • templates/frontend/summary.md1.1 KB
  • templates/infrastructure/patterns.md2.0 KB
  • templates/infrastructure/summary.md1.1 KB
  • templates/matrix.md7.4 KB
  • templates/operations/patterns.md2.2 KB
  • templates/operations/summary.md1.0 KB

SKILL.md(원문)

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

Security — Implementation SOPs

Unified security guidance for your stack. Auto-detects context from edited files or accepts explicit mode.

Usage

/security                     # Auto-detect stack from git changes
/security backend             # Explicit: FastAPI + SQLAlchemy + Redis
/security frontend            # Explicit: Jinja2 + HTMX + TypeScript/Vite
/security database            # Explicit: PostgreSQL + pgvector + Redis
/security infrastructure      # Explicit: Docker + Nginx + Cloudflare
/security operations          # Explicit: Deployment + secrets + monitoring
/security matrix              # Cross-reference matrix (L1/L2/L3)
/security checklist           # L1 essential pre-deployment checklist

Workflow

Step 1: Determine Context

Parse $ARGUMENTS for explicit mode. If no arguments provided, detect context:

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

Step 2: Show Relevant Guidance

Based on detected or explicit mode, use progressive disclosure:

Level 1 — Summary (default, ~10 lines): Show the summary template for the detected stack. This is the entry point.

Level 2 — Patterns (on request, ~50 lines): When user asks for more detail, patterns, or "Don't/Do/Best" examples, show the patterns template.

Level 3 — Full SOP (on request, ~500-1100 lines): When user asks for the complete SOP, read the full source skill file.

Step 3: Handle Multiple Stacks

If context-detector returns multiple stacks (e.g., "backend,frontend"):

  • Show summary for each detected stack
  • Let user choose which to dive deeper into

Step 4: No Context Detected

If detection returns "none" and no explicit mode:

  • Show the matrix template as overview
  • List available modes for user to choose

Template Locations

Summary Templates (~10 lines each)

ModeFile
backend~/.claude/skills/security/templates/backend/summary.md
frontend~/.claude/skills/security/templates/frontend/summary.md
database~/.claude/skills/security/templates/database/summary.md
infrastructure~/.claude/skills/security/templates/infrastructure/summary.md
operations~/.claude/skills/security/templates/operations/summary.md

Patterns Templates (~50 lines each, Don't/Do/Best)

ModeFile
backend~/.claude/skills/security/templates/backend/patterns.md
frontend~/.claude/skills/security/templates/frontend/patterns.md
database~/.claude/skills/security/templates/database/patterns.md
infrastructure~/.claude/skills/security/templates/infrastructure/patterns.md
operations~/.claude/skills/security/templates/operations/patterns.md

Reference Templates

ModeFile
matrix~/.claude/skills/security/templates/matrix.md
checklist~/.claude/skills/security/templates/checklist.md

Progressive Disclosure Rules

  1. Always start with summary — don't dump 1,100 lines unprompted
  2. Read templates on demand — use the Read tool to load templates, don't memorize content
  3. User drives depth — "show patterns", "full SOP", "show me the code" trigger deeper levels
  4. Combine when relevant — if user edits both .py and Dockerfile, show both backend + infrastructure summaries

Examples

Auto-detected backend work:

User edited src/auth.py → context-detector returns "backend" → Read and show templates/backend/summary.md → User: "show me password hashing patterns" → Read and show templates/backend/patterns.md

Explicit infrastructure request:

User: /security infrastructure → Read and show templates/infrastructure/summary.md

No context, overview requested:

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

Pre-deployment check:

User: /security checklist → Read and show templates/checklist.md

리뷰

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

댓글

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

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

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

이 스킬의 문제 신고