audit-layer
Audit a codebase for agentic layer coverage and identify investment opportunities. Use to assess agentic maturity and find gaps.
What this skill does
# Audit Layer
Audit a codebase for agentic layer coverage and identify investment opportunities.
## Arguments
- `$ARGUMENTS`: Target directory to audit (defaults to current directory)
## Instructions
You are auditing a codebase to assess its agentic layer maturity.
### Step 1: Check Commands Directory
Look for `.claude/commands/` or equivalent:
```bash
# Check existence
ls -la .claude/commands/ 2>/dev/null || echo "Not found"
# List templates if exists
ls .claude/commands/*.md 2>/dev/null | wc -l
```
Score: 20 points if exists with 3+ templates
### Step 2: Check Specs Directory
Look for `specs/` or equivalent:
```bash
# Check existence and count
ls specs/*.md 2>/dev/null | wc -l
```
Score: 15 points if exists with specs
### Step 3: Check ADW Directory
Look for `adws/` or equivalent:
```bash
# Check for core module
ls adws/adw_modules/agent.py 2>/dev/null
# Count workflow scripts
ls adws/adw_*.py 2>/dev/null | wc -l
```
Score: 25 points if adws/ exists, +20 if agent.py exists
### Step 4: Check Hooks
Look for `.claude/hooks/`:
```bash
ls .claude/hooks/*.py 2>/dev/null | wc -l
```
Score: 10 points if hooks exist
### Step 5: Check Observability
Look for `agents/` output directory:
```bash
ls -d agents/*/ 2>/dev/null | wc -l
```
Score: 5 points if agent output exists
### Step 6: Check Worktrees
Look for `trees/` isolation:
```bash
ls -d trees/*/ 2>/dev/null | wc -l
git worktree list 2>/dev/null | wc -l
```
Score: 5 points if worktrees exist
## Scoring
| Component | Max Points |
| --- | --- |
| .claude/commands/ | 20 |
| specs/ | 15 |
| adws/ | 25 |
| adw_modules/agent.py | 20 |
| hooks/ | 10 |
| agents/ | 5 |
| trees/ | 5 |
| **Total** | **100** |
## Maturity Levels
| Score | Level | Recommendation |
| --- | --- | --- |
| 0-20 | None | Start with minimum viable layer |
| 21-40 | Basic | Add composed workflows |
| 41-60 | Developing | Add hooks and triggers |
| 61-80 | Advanced | Add worktree isolation |
| 81-100 | Complete | Focus on optimization |
## Output
Provide audit report:
```markdown
## Agentic Layer Audit Report
**Directory:** {target}
**Date:** {today}
**Score:** {score}/100
**Level:** {level}
### Components Found
- [x/o] .claude/commands/ ({count} templates)
- [x/o] specs/ ({count} specs)
- [x/o] adws/ ({count} workflows)
- [x/o] adw_modules/agent.py
- [x/o] hooks/ ({count} hooks)
- [x/o] agents/ (output directory)
- [x/o] trees/ (worktree isolation)
### Gaps Identified
1. {missing component}
2. {missing component}
### Recommended Investments
1. {next investment}
2. {next investment}
### Time Investment Analysis
- Estimated current: {percent}% on agentic layer
- Target: 50%+ on agentic layer
```
## Notes
- Higher scores indicate more mature agentic layers
- Focus investments on highest-impact gaps first
- Target is 50%+ engineering time on agentic layer
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.