security-prompts
БесплатноБез исполняемых скриптовНе проверенLibrary of battle-tested security prompt templates for secure feature implementation. Use when implementing forms, endpoints, authentication, authorization…
Об этом скилле
Security Prompt Templates Library
Purpose
This skill provides ready-to-use security prompt templates following the Secure Vibe Coding methodology. Each template includes complete security controls, testing checklists, and customization guidance.
When to Use This Skill
Use security prompt templates when:
- Building features: Forms, APIs, file uploads, admin panels
- Implementing auth: RBAC, permissions, ownership checks
- Security reviews: Threat modeling, code review, OWASP compliance
- Testing: Security test generation, vulnerability assessment
Library Organization
📁 Prompt Engineering Templates (8 templates)
Location: .claude/skills/security/security-prompts/prompt-engineering/
Comprehensive prompts for implementing secure features:
01_secure_form.md - Public forms with full security stack
- Triggers: "secure form", "contact form", "public form"
- Controls: CSRF, rate limiting, XSS prevention, validation
02_authenticated_endpoint.md - Authenticated data modification
- Triggers: "authenticated endpoint", "user update", "protected route"
- Controls: Authentication, authorization, ownership checks
03_public_endpoint.md - Public APIs with pagination
- Triggers: "public API", "public endpoint", "GET endpoint"
- Controls: Rate limiting, validation, pagination
04_admin_action.md - Admin-only features with audit logging
- Triggers: "admin endpoint", "admin feature", "admin action"
- Controls: RBAC, audit logging, authorization
05_file_upload.md - Secure file handling
- Triggers: "file upload", "image upload", "file handling"
- Controls: Type validation, size limits, malware scanning
06_composable_middleware.md - Multiple security layers
- Triggers: "middleware", "security layers", "composable security"
- Controls: Proper middleware ordering, layer composition
07_new_control.md - Extending security architecture
- Triggers: "new security control", "custom middleware", "security utility"
- Controls: Creating new reusable security utilities
08_security_testing.md - Comprehensive security tests
- Triggers: "security testing", "security tests", "test security"
- Controls: Automated test generation for all controls
📁 Threat Modeling Templates (8 templates)
Location: .claude/skills/security/security-prompts/threat-modeling/
Prompts for security analysis and review:
01_stride_analysis.md - Complete STRIDE threat model
- Triggers: "STRIDE", "threat model", "security analysis"
02_feature_threats.md - Feature-specific threat analysis
- Triggers: "feature threats", "analyze feature security"
03_architecture_impact.md - Architecture change security impact
- Triggers: "architecture security", "security impact"
04_code_review.md - Security vulnerability review
- Triggers: "security review", "code review", "vulnerability review"
05_security_tests.md - Automated security test generation
- Triggers: "generate security tests", "security test suite"
06_owasp_check.md - OWASP Top 10 compliance
- Triggers: "OWASP", "OWASP check", "OWASP compliance"
07_payment_security.md - Payment security (Clerk Billing + Stripe)
- Triggers: "payment security", "Stripe security", "billing security"
08_update_model.md - Update threat model after features
- Triggers: "update threat model", "refresh threat model"
📁 Auth & Authorization Templates (4 templates)
Location: .claude/skills/security/security-prompts/auth-authorization/
Prompts for authentication and access control:
01_rbac_implementation.md - Role-based access control
- Triggers: "RBAC", "role-based access", "user roles"
02_permissions.md - Granular permission system
- Triggers: "permissions", "permission system", "granular access"
03_ownership.md - Resource ownership verification
- Triggers: "ownership", "ownership check", "resource ownership"
04_auth_testing.md - Authorization testing
- Triggers: "auth testing", "authorization tests", "test permissions"
📁 Built-In Controls Templates (3 templates)
Location: .claude/skills/security/security-prompts/built-in-controls/
Simple prompts using existing Secure Vibe Coding OS utilities:
01_contact_form.md - Quick contact form with security
- Triggers: "contact form", "simple form"
02_authenticated_update.md - User data modification
- Triggers: "update profile", "user update"
03_public_api.md - Public GET endpoints
- Triggers: "public API", "read-only API"
How to Use Security Prompts
Quick Usage Pattern
- Identify your need (e.g., "I need a secure contact form")
- Find the template (use triggers or browse categories)
- Read the template to understand security controls
- Copy and customize the prompt for your specific needs
- Run the prompt with Claude Code
- **Ver
Установить security-prompts в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл security-prompts?
Library of battle-tested security prompt templates for secure feature implementation. Use when implementing forms, endpoints, authentication, authorization, file uploads, or conducting security reviews. Triggers include "security prompt", "secure form", "RBAC", "threat model", "STRIDE", "admin endpoint", "file upload", "security testing", "code review", "OWASP".
Как установить скилл security-prompts?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл security-prompts запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic