A library of copy-paste security prompts organized into 23 templates across four categories: prompt engineering (secure forms, endpoints, file uploads), threat modeling (STRIDE analysis, OWASP checks), auth/authorization (RBAC, permissions), and built-in controls. Each template includes the actual prompt text, security controls checklist, customization tips, and testing steps. Built for the Secure Vibe Coding methodology with Next.js, Clerk, and Convex. The templates are meant to be chained together, like using the RBAC implementation prompt first, then the admin action prompt, then security testing. Honest take: this is well organized if you're following their specific security architecture, but the value depends entirely on whether their opinionated stack matches yours.

skills.sh installs
193
GitHub stars
18
last updated
Aug 21, 2026

Install

$ npx -y skills add harperaa/secure-claude-skills --skill security-prompts --agent claude-code

Installs into .claude/skills of the current project.

Files

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:

  1. 01_secure_form.md - Public forms with full security stack

    • Triggers: "secure form", "contact form", "public form"
    • Controls: CSRF, rate limiting, XSS prevention, validation
  2. 02_authenticated_endpoint.md - Authenticated data modification

    • Triggers: "authenticated endpoint", "user update", "protected route"
    • Controls: Authentication, authorization, ownership checks

Sponsors

Details

Repository
github.com/harperaa/secure-claude-skills
Categories
Backend & APIs, Testing & QA, Security, Git & Pull Requests, Code Review & Quality, AI & Agent Building
First seen
Jun 3, 2026

More from harperaa/secure-claude-skills

All 12
1markpitt avatarazure-devopsmarkpitt/claude-skillsComprehensive skill for working with Azure DevOps REST API across all services including Boards (work items, queries, backlogs), Repos (Git, pull requests, comm191skills.sh installs
2yonatangross avatarmcp-patternsyonatangross/orchestkitMCP server building, advanced patterns, and security hardening. Use when building MCP servers, implementing tool handlers, choosing a transport, adding OAuth au190skills.sh installs
3julianobarbosa avatarcloudflare-dnsjulianobarbosa/claude-code-skillsComprehensive guide for managing Cloudflare DNS with Azure integration. Use when configuring Cloudflare as authoritative DNS provider for Azure-hosted applicati186skills.sh installs
4cloudai-x avatardesigning-apiscloudai-x/claude-workflow-v2Designs REST and GraphQL APIs including endpoints, error handling, versioning, and documentation. Use when creating new APIs, designing endpoints, reviewing API184skills.sh installs
5databricks-solutions avatardatabricks-python-sdkdatabricks-solutions/ai-dev-kitDatabricks development guidance including Python SDK, Databricks Connect, CLI, and REST API. Use when working with databricks-sdk, databricks-connect, or Databr183skills.sh installs
6charleswiltgen avataraxiom-storekit-refcharleswiltgen/axiomReference — Complete StoreKit 2 API guide covering Product, Transaction, AppTransaction, RenewalInfo, SubscriptionStatus, StoreKit Views, purchase options, serv181skills.sh installs