security-best-practices

Review code against language and framework security best practices and generate prioritized vulnerability reports.

Updated May 11, 2026
One-click install
npx skills add https://github.com/cloudofgeorge/AI-hands-Engineer --skill security-best-practices-cloudofgeorge
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-best-practices
Source: https://github.com/cloudofgeorge/AI-hands-Engineer/tree/main/skills/engineering/security/security-best-practices
Command: npx skills add https://github.com/cloudofgeorge/AI-hands-Engineer --skill security-best-practices-cloudofgeorge

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Writing secure code requires deep knowledge of each language and framework's specific pitfalls, and security issues often slip into codebases unnoticed until they become incidents. This Skill loads curated security specifications for your stack and uses them to write secure-by-default code, passively flag critical vulnerabilities, or produce a full prioritized security report. ## Core Features & Use Cases - Secure-by-default code generation: Automatically applies security best practices for detected languages and frameworks (Python, JavaScript/TypeScript, Go) when writing new code. - Passive vulnerability detection: Flags critical security issues in existing code while you work, focusing on high-impact findings like injection flaws, CSRF gaps, and insecure session handling. - Prioritized security reports: Generates a severity-organized markdown report with numeric finding IDs, line-number references, and impact statements, then offers to fix findings one at a time. - Use Case: Ask for a security review of your Express.js backend, and receive a report identifying missing CSRF protection, insecure cookie flags, and unbounded request body parsing, each with a safe minimal fix. ## Quick Start Ask the agent to perform a security best practices review of this project and write a prioritized vulnerability report.

Frequently Asked Questions about security-best-practices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a security review on my codebase?

Ask the agent for a security best practices review or security report. It detects your languages and frameworks, loads matching reference specs, scans for violations, and writes a severity-organized markdown report with line-numbered findings and suggested fixes.

What languages and frameworks does this security review support?

The skill ships reference specifications for Python, JavaScript/TypeScript, and Go, including Express web servers and general browser frontend code. If no matching reference exists, it falls back to well-known security best practices for the detected stack.

Can it fix the vulnerabilities it finds?

Yes. After producing a report, it offers to fix findings one at a time with concise comments explaining the security rationale. It follows your existing testing and commit workflows and warns about changes that could cause regressions.

Does it flag missing TLS or HSTS as vulnerabilities?

No. The skill explicitly avoids reporting lack of TLS in development contexts and does not recommend HSTS, since it can cause outages and lockouts. Secure cookie flags are only advised when the app actually runs over TLS in production.

When should I not use this security review skill?

Do not use it for general code review, debugging, or non-security tasks, as it is scoped strictly to security best practices. It also only triggers on explicit user requests for security guidance, reviews, or secure coding help.