security-hardening

Application security covering input validation, auth, headers, secrets management, and dependency auditing

Content Preview
---
name: security-hardening
description: Application security covering input validation, auth, headers, secrets management, and dependency auditing
---

# Security Hardening

## Input Validation

Validate all input at the boundary. Never trust client-side validation alone.

```typescript
import { z } from 'zod';

const CreateUserSchema = z.object({
  email: z.string().email().max(255),
  name: z.string().min(1).max(100).regex(/^[a-zA-Z\s'-]+$/),
  age: z.number().int().min(13).max(150),
});

fu
How to Use

Recommended: Install to project (local)

mkdir -p .claude/skills
curl -o .claude/skills/security-hardening.md \
  https://raw.githubusercontent.com/rohitg00/awesome-claude-code-toolkit/main/skills/security-hardening/SKILL.md

Skill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.

Alternative: Clone full repo

git clone https://github.com/rohitg00/awesome-claude-code-toolkit

Then reference at skills/security-hardening/SKILL.md

Related Skills