security-best-practices

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

Updated Jul 17, 2026
One-click install
npx skills add https://github.com/guneysol/agent-configs --skill security-best-practices-guneysol
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: security-best-practices
Source: https://github.com/guneysol/agent-configs/tree/main/agents/skills/security-best-practices
Command: npx skills add https://github.com/guneysol/agent-configs --skill security-best-practices-guneysol

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Writing secure code requires deep, up-to-date knowledge of each language and framework's security pitfalls, and manually auditing a codebase for vulnerabilities is slow and error-prone. This Skill loads curated security guidance for Python, JavaScript/TypeScript, and Go so reviews and secure-by-default coding happen consistently. ## Core Features & Use Cases - Secure-by-default code generation: Identifies the languages and frameworks in your project and applies matching security rules (e.g., Express cookie flags, Go http.Server timeouts, frontend DOM XSS sinks) while writing new code. - Passive vulnerability detection: Flags critical issues like SQL injection, missing CSRF protection, or hardcoded secrets as it works in your codebase. - Prioritized security reports: On request, produces a severity-organized vulnerability report with numeric IDs, line-number references, impact statements, and safe fix suggestions. - Use Case: Ask for a security review of your Express backend and receive a report citing missing CSRF middleware, insecure session cookie flags, and unbounded body parsing, each with a minimal safe fix. ## Quick Start Ask the assistant to perform a security best-practices review of this project and produce 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 get a security review of my codebase?▼

Explicitly ask for a security review or vulnerability report. The skill identifies your languages and frameworks, loads matching reference guidance, and returns a severity-organized report with numeric finding IDs, line numbers, and suggested fixes.

What languages and frameworks does this security review support?▼

It supports Python, JavaScript/TypeScript, and Go, with dedicated reference documents for Express web servers, general browser frontend JavaScript, and Go net/http backends. If no guidance matches, it falls back to well-known best practices and notes the limitation.

Does the security review automatically fix vulnerabilities it finds?▼

No. Review and report requests are treated as read-only. Fixes are applied only when you also ask for implementation, and each fix is made one finding at a time with comments explaining the security rationale.

Can I use this for general code review or debugging?▼

No. It triggers only for explicit security best-practices requests, security reviews, or secure-by-default coding help. General code review, debugging, and non-security tasks are explicitly out of scope.

Why does the report not flag missing TLS or HSTS?▼

The guidance deliberately avoids reporting lack of TLS because development environments typically run without it or behind a TLS proxy. HSTS is also excluded since misconfiguration can cause outages and user lockout.