secure-coding-training-skill
Developer security training and assessment for secure coding practices and vulnerability prevention
What this skill does
# Secure Coding Training Skill
## Purpose
Deliver and manage developer security training programs to improve secure coding practices, assess developer security knowledge, and track training effectiveness in reducing vulnerabilities.
## Capabilities
### Training Module Delivery
- Deliver language-specific secure coding modules
- Provide framework-specific security training
- Offer vulnerability-focused lessons (OWASP Top 10)
- Present hands-on coding challenges
- Assign interactive security labs
- Schedule training pathways by role
### Knowledge Assessment
- Generate skill assessment quizzes
- Create coding-based security challenges
- Measure comprehension through practical tests
- Track knowledge retention over time
- Compare against industry benchmarks
- Certify competency levels
### Gap Identification
- Analyze assessment results for knowledge gaps
- Correlate with actual vulnerability findings
- Identify team-level weaknesses
- Map gaps to training modules
- Prioritize training needs
- Track improvement over time
### Training Path Recommendations
- Recommend personalized learning paths
- Suggest role-appropriate modules
- Prioritize based on project needs
- Adapt to technology stack
- Consider compliance requirements
- Update based on threat landscape
### Certification Management
- Issue training completion certificates
- Track certification expiration
- Manage recertification requirements
- Generate compliance reports
- Maintain training transcripts
- Support audit requests
### Effectiveness Measurement
- Correlate training with vulnerability reduction
- Track secure code review metrics
- Measure time to remediation improvement
- Compare pre/post training assessments
- Generate ROI reports
- Monitor long-term behavior change
## Training Modules
### By Language
- Java security best practices
- Python secure coding
- JavaScript/Node.js security
- C/C++ memory safety
- Go security patterns
- .NET security guidelines
### By Vulnerability Type
- Injection prevention (SQL, XSS, LDAP)
- Authentication/authorization security
- Cryptographic best practices
- Input validation techniques
- Output encoding strategies
- Secure session management
### By Framework
- Spring Security
- Django security
- Express.js security
- ASP.NET Core security
- React security patterns
- Angular security best practices
## Integrations
- **Secure Code Warrior**: Interactive secure coding training
- **HackEDU**: Hands-on security training
- **OWASP WebGoat**: Deliberately insecure application
- **Kontra**: Application security training
- **Immersive Labs**: Cyber skills development
- **Security Journey**: Secure development training
## Target Processes
- Security Awareness Training Program
- Secure SDLC Implementation
- Developer Onboarding
- Compliance Training Requirements
## Input Schema
```json
{
"type": "object",
"properties": {
"trainingType": {
"type": "string",
"enum": ["assessment", "module-delivery", "certification", "gap-analysis", "path-recommendation"],
"description": "Type of training activity"
},
"targetAudience": {
"type": "object",
"properties": {
"developers": { "type": "array", "items": { "type": "string" } },
"teams": { "type": "array", "items": { "type": "string" } },
"roles": { "type": "array", "items": { "type": "string" } }
}
},
"technologies": {
"type": "array",
"items": { "type": "string" },
"description": "Programming languages and frameworks"
},
"vulnerabilityFocus": {
"type": "array",
"items": {
"type": "string",
"enum": ["injection", "broken-auth", "xss", "insecure-deserialization", "ssrf", "access-control", "crypto", "logging"]
}
},
"complianceRequirements": {
"type": "array",
"items": {
"type": "string",
"enum": ["PCI-DSS", "HIPAA", "SOC2", "GDPR", "FedRAMP"]
}
},
"assessmentDifficulty": {
"type": "string",
"enum": ["beginner", "intermediate", "advanced", "expert"]
}
},
"required": ["trainingType"]
}
```
## Output Schema
```json
{
"type": "object",
"properties": {
"activityId": {
"type": "string"
},
"trainingType": {
"type": "string"
},
"timestamp": {
"type": "string",
"format": "date-time"
},
"participantSummary": {
"type": "object",
"properties": {
"totalParticipants": { "type": "integer" },
"completedTraining": { "type": "integer" },
"inProgress": { "type": "integer" },
"notStarted": { "type": "integer" }
}
},
"assessmentResults": {
"type": "object",
"properties": {
"averageScore": { "type": "number" },
"passingRate": { "type": "number" },
"topPerformers": { "type": "array" },
"needsImprovement": { "type": "array" }
}
},
"knowledgeGaps": {
"type": "array",
"items": {
"type": "object",
"properties": {
"topic": { "type": "string" },
"gapSeverity": { "type": "string" },
"affectedDevelopers": { "type": "integer" },
"recommendedModules": { "type": "array" }
}
}
},
"trainingPaths": {
"type": "array",
"items": {
"type": "object",
"properties": {
"developerId": { "type": "string" },
"recommendedModules": { "type": "array" },
"estimatedDuration": { "type": "string" },
"priority": { "type": "string" }
}
}
},
"certifications": {
"type": "array",
"items": {
"type": "object",
"properties": {
"developerId": { "type": "string" },
"certificationName": { "type": "string" },
"issueDate": { "type": "string" },
"expirationDate": { "type": "string" }
}
}
},
"effectivenessMetrics": {
"type": "object",
"properties": {
"vulnerabilityReduction": { "type": "number" },
"avgRemediationTimeImprovement": { "type": "string" },
"secureCodeReviewPassRate": { "type": "number" }
}
}
}
}
```
## Usage Example
```javascript
skill: {
name: 'secure-coding-training-skill',
context: {
trainingType: 'assessment',
targetAudience: {
teams: ['backend-team', 'frontend-team']
},
technologies: ['Java', 'JavaScript', 'Python'],
vulnerabilityFocus: ['injection', 'xss', 'broken-auth'],
assessmentDifficulty: 'intermediate'
}
}
```
Related in Security
mac-ops
IncludedComprehensive macOS workstation operations — diagnose kernel panics, identify failing drives, audit launchd startup items, decode wake reasons, triage TCC permission denials, manage APFS snapshots, recover from no-boot. Use for: Mac is slow, slow bootup, won't boot, kernel panic, kernel_task hot, mds_stores CPU, photoanalysisd, cloudd, login loop, gray screen, sleep wake failure, drive failing, IO errors, APFS snapshots eating space, Time Machine local snapshots, Spotlight indexing, launchd, LaunchAgent, LaunchDaemon, login items, TCC permissions, Full Disk Access, Screen Recording denied, Gatekeeper, quarantine, com.apple.quarantine, app is damaged, helper tool, /Library/PrivilegedHelperTools, pmset, wake reasons, dark wake, sysdiagnose, panic.ips, DiagnosticReports, configuration profile, MDM profile, remote diagnostics over SSH.
a11y-audit
IncludedRun accessibility audits on web projects combining automated scanning (axe-core, Lighthouse) with WCAG 2.1 AA compliance mapping, manual check guidance, and structured reporting. Output is configurable: markdown report only, markdown plus machine-readable JSON, or markdown plus issue tracker integration. Use this skill whenever the user mentions "accessibility audit", "a11y audit", "WCAG audit", "accessibility check", "compliance scan", or asks to check a web project for accessibility issues. Also trigger when the user wants to verify WCAG conformance or map findings to a specific standard (CAN-ASC-6.2, EN 301 549, ADA/AODA).
erpclaw
IncludedAI-native ERP system with self-extending OS. Full accounting, invoicing, inventory, purchasing, tax, billing, HR, payroll, advanced accounting (ASC 606/842, intercompany, consolidation), and financial reporting. 413 actions across 14 domains, 43 expansion modules. Constitutional guardrails, adversarial audit, schema migration. Double-entry GL, immutable audit trail, US GAAP.
assess
IncludedAssesses and rates quality 0-10 across multiple dimensions (correctness, maintainability, security, performance, testability, simplicity) with pros/cons analysis. Compares against project conventions and prior decisions from memory. Produces structured evaluation reports with actionable improvement suggestions. Use when evaluating code, designs, architectures, or comparing alternative approaches.
spring-boot-security-jwt
IncludedProvides JWT authentication and authorization patterns for Spring Boot 3.5.x covering token generation with JJWT, Bearer/cookie authentication, database/OAuth2 integration, and RBAC/permission-based access control using Spring Security 6.x. Use when implementing authentication or authorization in Spring Boot applications.
code-hardcode-audit
IncludedDetect hardcoded values, magic numbers, and leaked secrets. TRIGGERS - hardcode audit, magic numbers, PLR2004, secret scanning.