security-prompts-controls
БесплатноБез исполняемых скриптовНе проверенSimple security prompt templates for quick implementations using existing Secure Vibe Coding OS utilities. Use for straightforward features like contact…
Об этом скилле
Built-In Controls Security Templates
Purpose
This skill provides simple, fast security prompt templates for common features that leverage existing Secure Vibe Coding OS utilities. These are streamlined templates for straightforward implementations that don't require extensive customization.
When to use these templates:
- Simple, common features
- Quick implementations (15-30 minutes)
- Leveraging existing security utilities
- Standard patterns without complex requirements
When to use prompt-engineering instead:
- Complex features requiring multiple security layers
- Custom security requirements
- Features needing extensive customization
- New patterns not covered by utilities
Available Templates
01: Contact Form
File: 01_contact_form.md
When to use: Public form with full security stack
Time: 15-30 minutes
Security Controls (Pre-configured):
- CSRF protection (withCsrf)
- Rate limiting (withRateLimit - 5 per 15 min)
- Input validation (Zod schemas)
- XSS sanitization (safeTextSchema)
- Secure error handling (handleApiError)
Implementation:
- Single API route
- Existing middleware composition
- Standard validation schemas
- Minimal customization needed
Trigger keywords: "contact form", "simple form", "feedback form", "quick form", "form with security"
Use case: Contact forms, feedback forms, newsletter signups, support requests
Difference from prompt-engineering/01_secure_form.md:
- Simpler template
- Less customization guidance
- Faster implementation
- Assumes standard use case
02: Authenticated Update
File: 02_authenticated_update.md
When to use: User data modification with auth
Time: 30 minutes
Security Controls (Pre-configured):
- Clerk authentication (auth())
- Rate limiting (withRateLimit)
- Input validation (Zod schemas)
- XSS sanitization (safeTextSchema)
- Secure error handling (handleApiError)
Implementation:
- Single authenticated API route
- Standard data update pattern
- Existing utilities
- Basic ownership check
Trigger keywords: "authenticated update", "update profile", "user update", "edit profile", "user data modification"
Use case: Profile updates, user settings, preference changes
Important: For resources requiring strict ownership verification, follow up with:
→ .claude/skills/security/security-prompts/auth-authorization/03_ownership.md
Difference from prompt-engineering/02_authenticated_endpoint.md:
- Simpler ownership check
- Less comprehensive authorization
- Faster for basic updates
- Standard user → own data pattern
03: Public API
File: 03_public_api.md
When to use: Public GET endpoints with validation
Time: 20 minutes
Security Controls (Pre-configured):
- Rate limiting (withRateLimit)
- Input validation (Zod query schemas)
- Error handling (handleApiError)
- Pagination (standard pattern)
Implementation:
- Read-only endpoints
- Query parameter validation
- Standard pagination
- No authentication required
Trigger keywords: "public API", "public endpoint", "GET endpoint", "read-only API", "public data"
Use case: Blog posts, product catalogs, public listings, documentation
Difference from prompt-engineering/03_public_endpoint.md:
- Simpler pagination
- Standard patterns only
- Less customization
- Faster for typical GET endpoints
Usage Pattern
1. Identify Template Match
Simple contact form: → 01_contact_form.md ✅
Profile editing: → 02_authenticated_update.md ✅
Public data listing: → 03_public_api.md ✅
Admin features: → Use prompt-engineering/04_admin_action.md ❌ (not here)
File uploads: → Use prompt-engineering/05_file_upload.md ❌ (not here)
2. Quick Implementation
For: [Simple feature name]
Template: built-in-controls/[template].md
Estimated time: [15-30 minutes]
This uses existing Secure Vibe Coding OS utilities:
- [List utilities from template]
Let me implement this quickly...
3. When to Upgrade
Start with built-in-controls, upgrade if needed:
Started with: built-in-controls/02_authenticated_update.md
Need to add: Ownership verification for team resources
Upgrade to: auth-authorization/03_ownership.md
Started with: built-in-controls/01_contact_form.md
Need to add: File attachment support
Upgrade to: prompt-engineering/05_file_upload.md
Template Comparison
Contact Form Templates
built-in-controls/01_contact_form.md:
- ✅ 15-30 minutes
- ✅ Standard fields (name, email, message)
- ✅ Pre-configured controls
- ❌ Limited customization guidance
prompt-engineering/01_secure_form.md:
- ⏱️ 30 minutes
- ✅ Any form fields
- ✅ Comprehensive security guidance
- ✅ Extensive customization tips
- ✅ More testing guidance
Choose built-in-controls when: Standard contact form, quick implementation Choose prompt-engineering when: Custom fields, complex validation, learning security patterns
Authentic
Установить security-prompts-controls в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл security-prompts-controls?
Simple security prompt templates for quick implementations using existing Secure Vibe Coding OS utilities. Use for straightforward features like contact forms, authenticated updates, and public APIs. Triggers include "contact form", "simple form", "authenticated update", "user update", "public API", "read-only API", "quick secure implementation".
Как установить скилл security-prompts-controls?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл security-prompts-controls запускает скрипты?
Нет, скилл состоит только из инструкций (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