Validate WCAG 2.1 Level AA compliance and accessibility best practices. Use when performing accessibility audits and WCAG certification.
中文简介正在准备中。当前显示原文说明。
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.
中文简介正在准备中。当前显示原文说明。
安装前可以查看交给 AI 代理的指令内容。
Unified security guidance for your stack. Auto-detects context from edited files or accepts explicit mode.
/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
Parse $ARGUMENTS for explicit mode. If no arguments provided, detect context:
DETECTED=$(bash "$HOME/.claude/skills/security/lib/context-detector.sh")
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.
If context-detector returns multiple stacks (e.g., "backend,frontend"):
If detection returns "none" and no explicit mode:
| Mode | File |
|---|---|
| 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 |
| Mode | File |
|---|---|
| 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 |
| Mode | File |
|---|---|
| matrix | ~/.claude/skills/security/templates/matrix.md |
| checklist | ~/.claude/skills/security/templates/checklist.md |
Auto-detected backend work:
User edited
src/auth.py→ context-detector returns "backend" → Read and showtemplates/backend/summary.md→ User: "show me password hashing patterns" → Read and showtemplates/backend/patterns.md
Explicit infrastructure request:
User:
/security infrastructure→ Read and showtemplates/infrastructure/summary.md
No context, overview requested:
User:
/security→ context-detector returns "none" → Read and showtemplates/matrix.md
Pre-deployment check:
User:
/security checklist→ Read and showtemplates/checklist.md
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Validate WCAG 2.1 Level AA compliance and accessibility best practices. Use when performing accessibility audits and WCAG certification.
中文简介正在准备中。当前显示原文说明。
Analyze feature requirements, dependencies, and security considerations. Use when starting feature implementation from GitHub issues to understand scope, technical feasibility, and risks.
中文简介正在准备中。当前显示原文说明。
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".
中文简介正在准备中。当前显示原文说明。
Design REST APIs or function contracts with clear request/response specifications, error handling patterns, authentication strategies, and comprehensive documentation.
中文简介正在准备中。当前显示原文说明。
Generate comprehensive API endpoint tests for REST and GraphQL APIs. Creates tests for all HTTP methods, status codes, authentication, and validation.
中文简介正在准备中。当前显示原文说明。
Design component architecture and module structure using established architectural patterns for clean, maintainable, and scalable systems.
中文简介正在准备中。当前显示原文说明。