Skip to main content
skill

cc-skill-security-review · davila7 — Claude Code skill: setup guide

Security checklist and defensive code patterns for Claude Code. Guides the assistant during authentication setup and API endpoint creation.

Install into Claude Code · claude-code-templates All methods and platforms ↓
npx claude-code-templates@latest --skill development/cc-skill-security-review
Open on GitHub

What cc-skill-security-review does

The skill equips Claude Code with defensive programming guidelines. It directs the AI assistant to catch unsafe coding habits, such as storing auth tokens in localStorage or stitching raw user input directly into SQL queries.

The checklist details input validation, file upload limits, cross-site scripting safeguards, and endpoint rate limits. Code snippets demonstrate patterns using TypeScript libraries like zod for object validation, DOMPurify for HTML sanitization, and express-rate-limit for request quotas, alongside Supabase Row Level Security rules.

Adopting these rules requires installing the respective validation or sanitization packages in your application codebase.

What it helps with

  • spot hardcoded secrets and unhandled environment variables
  • enforce strict request schema validation using Zod
  • configure httpOnly cookies and SameSite attributes for JWT tokens
  • write parameterized database queries to block SQL injection

Example prompts for the agent

  • Review this user registration route against security guidelines
  • Implement file upload validation checking size, mime type, and extension
  • Check our database queries to ensure all inputs are parameterized

How to install cc-skill-security-review

1claude-code-templates

npx claude-code-templates@latest --skill development/cc-skill-security-review

2Skills CLI (Vercel)

npx skills add davila7/claude-code-templates --skill cc-skill-security-review -a claude-code

3Manually: put the files in place

~/.claude/skills/cc-skill-security-review/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/cc-skill-security-review/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about cc-skill-security-review

How to install cc-skill-security-review in Claude Code?

Run npx claude-code-templates@latest --skill development/cc-skill-security-review in your terminal.

What does cc-skill-security-review do?

It provides Claude Code with a reference checklist and code patterns to prevent vulnerabilities when handling secrets and database queries.

Which packages are referenced in the security patterns?

The skill features TypeScript examples relying on zod for payload checks, isomorphic-dompurify for HTML scrubbing, and express-rate-limit for request throttling.

Similar skills

All skills for Security →

cc-skill-security-review by other authors comes first.

From the same set804

The whole set →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor