Refactored commands to extract reusable skills following the Commands → Skills separation pattern. Each command is now <50 lines and references skill files for detailed knowledge. Plugins refactored: - claude-config-maintainer: 5 commands → 7 skills - code-sentinel: 3 commands → 2 skills - contract-validator: 5 commands → 6 skills - data-platform: 10 commands → 6 skills - doc-guardian: 5 commands → 6 skills (replaced nested dir) - git-flow: 8 commands → 7 skills Skills contain: workflows, validation rules, conventions, reference data, tool documentation Commands now contain: YAML frontmatter, agent assignment, skills list, brief workflow steps, parameters Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
51 lines
1.2 KiB
Markdown
51 lines
1.2 KiB
Markdown
---
|
|
description: Full security audit of codebase - scans all files for vulnerability patterns
|
|
---
|
|
|
|
# Security Scan
|
|
|
|
Comprehensive security audit of the project.
|
|
|
|
## Visual Output
|
|
|
|
```
|
|
+----------------------------------------------------------------------+
|
|
| CODE-SENTINEL - Security Scan |
|
|
+----------------------------------------------------------------------+
|
|
```
|
|
|
|
## Skills to Load
|
|
|
|
- skills/security-patterns/SKILL.md
|
|
|
|
## Process
|
|
|
|
1. **File Discovery** - Scan: .py, .js, .ts, .jsx, .tsx, .go, .rs, .java, .rb, .php, .sh
|
|
2. **Pattern Detection** - Apply patterns from skill (Critical/High/Medium severity)
|
|
3. **Report** - Group by severity, include code snippets and fixes
|
|
|
|
## Output Format
|
|
|
|
```
|
|
## Security Scan Report
|
|
|
|
### Critical (Immediate Action Required)
|
|
[red] file:line - Vulnerability Type
|
|
Code: `problematic code`
|
|
Fix: Recommended solution
|
|
|
|
### High / Medium / Low
|
|
[Similar format]
|
|
|
|
### Summary
|
|
- Critical: X (must fix before deploy)
|
|
- High: X (fix soon)
|
|
- Medium: X (improve when possible)
|
|
```
|
|
|
|
## Exit Guidance
|
|
|
|
- Critical findings: Block merge/deploy
|
|
- High findings: Fix before release
|
|
- Medium/Low: Informational
|