// A comprehensive security skill that integrates with Secure Flow to help AI coding agents write secure code, perform security reviews, and implement security best practices. Use this skill when writing, reviewing, or modifying code to ensure secure-by-default practices are followed.
| name | secure-flow |
| description | A comprehensive security skill that integrates with Secure Flow to help AI coding agents write secure code, perform security reviews, and implement security best practices. Use this skill when writing, reviewing, or modifying code to ensure secure-by-default practices are followed. |
| version | 1.0.0 |
| framework | Secure Flow |
| purpose | Embed secure-by-default practices into AI coding workflows |
This skill provides comprehensive security guidance to help AI coding agents generate secure code, perform security reviews, and implement security best practices. It is based on Secure Flow, a security framework that embeds secure-by-default practices into AI coding workflows.
This skill should be activated when:
When writing or reviewing code:
Always-Apply Rules: Some rules MUST be checked on every code operation:
Context-Specific Rules: Apply rules from /rules directory based on the task:
secure-flow-create-secure-template.md when creating new code templatessecure-flow-create-security-tests.md when generating security testssecure-flow-create-threat-model.md when analyzing security threatssecure-flow-security-remediation.md when fixing vulnerabilitiessecure-flow-review-api-auth.md when reviewing API endpointssecure-flow-validate-compliance.md when validating compliance requirementssecure-flow-harden-dockerfile-fips.md when hardening containerssecure-flow-gate-critical-vulns.md when setting up security gatessecure-flow-fix-exploitable-vulns.md when fixing exploited vulnerabilitiessecure-flow-explain-ai-threats.md when working with AI applicationsProactive Security: Don't just avoid vulnerabilities—actively implement secure patterns:
The security rules are available in the rules/ directory.
When generating or reviewing code, follow this workflow:
Before writing any code:
While writing code:
After writing code:
secure-flow-create-secure-template - Generate secure code templates with security best practices built-insecure-flow-create-security-tests - Create comprehensive security test cases and validation scriptssecure-flow-create-threat-model - Generate threat models for applications and systems using STRIDE methodologysecure-flow-explain-ai-threats - Explain AI-specific security threats and mitigationssecure-flow-security-remediation - Scan and fix high-impact vulnerabilities in the codebasesecure-flow-fix-exploitable-vulns - Fix CISA Known Exploited Vulnerabilities (KEV) found in your codebasesecure-flow-gate-critical-vulns - Set up CI/CD checks to block critical vulnerabilitiessecure-flow-review-api-auth - Review and add authentication to API endpointssecure-flow-validate-compliance - Validate compliance with security frameworks and standards (SOC 2, ISO 27001, HIPAA, PCI DSS)secure-flow-harden-dockerfile-fips - Make Dockerfiles FIPS compliant with security hardening