Security

From Mte90/dotfiles · View interactive version

Security is an AI agent skill from the GitHub repository Mte90/dotfiles. Secure coding practices for building safe TypeScript applications.

How to use this skill

Skill file

TypeScript Security

**Priority: P0 (CRITICAL)**

Security standards for TypeScript applications based on OWASP guidelines.

Implementation Guidelines

Anti-Patterns

Code

// Validation (Zod)
const UserSchema = z.object({
  email: z.string().email(),
  password: z.string().min(8),
});

// Secure Cookie
const cookieOpts = {
  httpOnly: true,
  secure: process.env.NODE_ENV === 'prod',
  sameSite: 'strict' as const,
};

Reference & Examples

For authentication patterns and security headers:

See references/REFERENCE.md.

Related Topics

common/security-standards | best-practices | language

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.