security-prompts-engineering
БесплатноБез исполняемых скриптовНе проверенComprehensive security prompt templates for implementing secure features with multiple security layers. Use for complex implementations like forms…
Об этом скилле
Prompt Engineering Security Templates
Purpose
This skill provides comprehensive security prompt templates for implementing features that require multiple security layers and sophisticated controls. These templates go beyond simple utility usage and guide complete secure feature implementation.
Available Templates
01: Comprehensive Secure Form
File: 01_secure_form.md
When to use: Full security stack for public forms
Time: 30 minutes
Security Controls:
- CSRF protection
- Rate limiting
- Input validation
- XSS sanitization
- Security headers
- Secure error handling
Trigger keywords: "secure form", "contact form", "public form with security", "comprehensive form security"
Use case: Any public-facing form that accepts user input (contact, feedback, newsletter signup)
02: Authenticated Endpoint
File: 02_authenticated_endpoint.md
When to use: Authenticated data modification with authorization
Time: 45 minutes
Security Controls:
- Clerk authentication
- Authorization checks
- Ownership verification
- Input validation
- Rate limiting
- Audit logging
Trigger keywords: "authenticated endpoint", "user update", "protected route", "user data modification", "authenticated mutation"
Use case: Profile updates, user settings, any authenticated data changes
03: Public Endpoint
File: 03_public_endpoint.md
When to use: Public APIs with pagination and validation
Time: 30 minutes
Security Controls:
- Rate limiting
- Input validation
- Pagination
- Error handling
- Query sanitization
Trigger keywords: "public API", "public endpoint", "GET endpoint", "read-only API", "public data access"
Use case: Public data endpoints, blog posts, product catalogs
04: Admin Action
File: 04_admin_action.md
When to use: Admin-only endpoints with audit logging
Time: 60 minutes
Security Controls:
- RBAC verification
- Admin-only access
- Audit logging
- Input validation
- Rate limiting
- Sensitive operation protection
Trigger keywords: "admin endpoint", "admin feature", "admin action", "admin-only", "privileged operation"
Use case: User management, system configuration, content moderation
05: File Upload
File: 05_file_upload.md
When to use: Secure file handling with external service
Time: 90 minutes
Security Controls:
- File type validation
- File size limits
- Malware scanning
- Authenticated upload
- Storage security
- Rate limiting
Trigger keywords: "file upload", "image upload", "file handling", "secure upload", "document upload"
Use case: Profile pictures, document uploads, media attachments
06: Composable Middleware
File: 06_composable_middleware.md
When to use: Multiple security layers with correct ordering
Time: 45 minutes
Security Controls:
- Middleware composition
- Correct execution order
- Layer compatibility
- Type safety
- Error propagation
Trigger keywords: "composable middleware", "middleware composition", "security layers", "multiple middleware", "middleware ordering"
Use case: Complex endpoints needing authentication + CSRF + rate limiting + custom logic
07: New Security Control
File: 07_new_control.md
When to use: Extending security architecture with new utilities
Time: 90 minutes
Security Controls:
- Reusable utility creation
- Architecture integration
- Type safety
- Testing strategy
- Documentation
Trigger keywords: "new security control", "custom middleware", "security utility", "extend security", "new security layer"
Use case: Custom security requirements not covered by existing utilities
08: Security Testing
File: 08_security_testing.md
When to use: Comprehensive security test generation
Time: 60 minutes
Testing Coverage:
- CSRF tests
- Rate limiting tests
- Authentication tests
- Authorization tests
- Input validation tests
- XSS prevention tests
Trigger keywords: "security testing", "security tests", "test security controls", "generate security tests", "comprehensive security testing"
Use case: Before deployment, after features, continuous security validation
Usage Pattern
1. Identify Your Need
Match your feature to a template:
- Form submission → 01_secure_form.md
- User data edit → 02_authenticated_endpoint.md
- Public data → 03_public_endpoint.md
- Admin panel → 04_admin_action.md
- File handling → 05_file_upload.md
- Complex security → 06_composable_middleware.md
- New pattern → 07_new_control.md
- Verification → 08_security_testing.md
2. Load Template
Read: .claude/skills/security/security-prompts/prompt-engineering/[number]_[name].md
3. Customize for User
Extract from template:
- Security controls list
- The prompt (customize placeholders)
- Testing checklist
- Time estimate
4. Present to User
I'll implement this u
Установить security-prompts-engineering в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл security-prompts-engineering?
Comprehensive security prompt templates for implementing secure features with multiple security layers. Use for complex implementations like forms, authenticated endpoints, public APIs, admin features, file uploads, middleware composition, and security testing. Triggers include "secure form", "authenticated endpoint", "public endpoint", "admin action", "file upload", "composable middleware", "security testing", "new security control".
Как установить скилл security-prompts-engineering?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл security-prompts-engineering запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic