Skip to content

Preventive security patterns covering secrets handling, input validation, and automated security checks for code and CI.

CCM score
53 of 100
skills.sh installs
442
GitHub stars
712
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers environment-variable hygiene, .gitignore rules, pre-commit secret scanning, and OWASP Top 10 input validation patterns
  • Includes a scripts/security-check.sh gate, a GitHub Actions workflow with TruffleHog, npm audit, safety, and CodeQL, and .env.example templates
  • Enforces that secrets never use client-exposed prefixes like VITE_* or NEXT_PUBLIC_*, and validates env vars at startup with zod or pydantic
  • Designed for code that handles auth, user input, or API keys, and for pre-merge checks before shipping

Install

$ npx -y skills add alinaqi/maggy --skill security -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Security Skill

Security best practices and automated security testing for all projects.

This skill is preventive — how to write and ship secure code. To audit an existing codebase or PR for vulnerabilities, use the security-audit skill (structured, adversarial, evidence-grounded); for a quick pass over the current branch, run /security-review.


Core Principle

Security is not optional. Every project must pass security checks before merge. Assume all input is malicious, all secrets will leak if committed, and all dependencies have vulnerabilities.


Required Security Setup

1. Gitignore (Non-Negotiable)

Every project must have these in .gitignore:

# Environment files - NEVER commit
.env
.env.*
!.env.example

# Secrets
*.pem
*.key
*.p12
*.pfx
credentials.json
secrets.json
*-credentials.json
service-account*.json

# IDE and OS
.idea/
.vscode/settings.json
.DS_Store
Thumbs.db

# Dependencies
node_modules/
__pycache__/
*.pyc
.venv/
venv/

# Build outputs
dist/
build/
*.egg-info/

# Logs that might contain sensitive data
*.log
logs/

2. Environment Variables

Details

Repository
github.com/alinaqi/maggy
Categories
Security, DevOps & Cloud
First seen
Jun 3, 2026

Questions

What does the security skill from alinaqi/claude-bootstrap do?

The security skill gives preventive guidance on OWASP security patterns, secrets management and security testing for code that handles auth, user input or API keys. It sets up a gitignore for secret files, an environment variable template, pre-commit secret checks and a GitHub Actions security workflow.

How do I install the security skill?

Run npx -y skills add alinaqi/maggy --skill security -y in a project to install it. After that, the security skill guides the agent in writing code that protects secrets and validates input.

Is the security skill an audit tool?

No, the security skill is preventive and covers how to write and ship secure code. The SKILL.md points to the separate security-audit skill for auditing an existing codebase or pull request for vulnerabilities.

Where does the security skill sit in the Security category?

The security skill is listed in the Security category on Claude Marketplaces, alongside azure-compliance, entra-agent-id, firebase-security-rules-auditor, security-audit and cloudflare-one. Its own focus is on preventive secure coding, covering OWASP patterns, secrets handling and automated security checks.

More from alinaqi/maggy

All 54

Similar to Security

More Security