Security best practices

From GongShichen/LuminaCode · View interactive version

Security best practices is an AI agent skill from the GitHub repository GongShichen/LuminaCode. Review or write code with language-specific security defaults, focusing on practical vulnerabilities, safe configuration, and regression-aware fixes.

How to use this skill

Skill file

Use this skill only for security-focused work. First identify the in-scope language, framework, entry points, data stores, authentication model, and deployment assumptions from repository evidence.

For a report, write findings first and group them by severity. Each finding should include:

When implementing fixes, keep changes narrow and compatible with the existing behavior. Prefer established libraries and framework controls for validation, escaping, cryptography, secret handling, CSRF protection, rate limits, path handling, and authorization checks.

Do not over-report missing TLS, HSTS, or secure cookies for local-only development. Do not print secrets, tokens, cookies, or private keys in logs, reports, or command output. If a recommendation depends on production deployment details that are not in the repo, state the assumption clearly.

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.