attributes-route
Route to specialized agents (security, test, refactor, docs) based on codebase health attributes by severity. Use when the user has attribute data and wants automated remediation.
What this skill does
# /attributes:route Route to specialized agents based on codebase health attributes. ## When to Use This Skill | Use this skill when... | Use another approach when... | |------------------------|------------------------------| | Have attribute data and want automated remediation | Need to collect attributes first (use `/attributes:collect`) | | Want severity-based agent prioritization | Know exactly which agent to use | | Batch-fixing multiple health findings | Fixing a single specific issue | ## Parameters | Parameter | Description | |-----------|-------------| | `--dry-run` | Show routing plan without spawning agents | | `--focus <category>` | Only route for: docs, tests, security, quality, ci | | `--min-severity <level>` | Minimum severity: critical, high, medium (default), low | ## Execution ### Step 1: Load Attributes Read attribute data from one of: 1. `.claude/attributes.json` (if exists) 2. Run `/attributes:collect` to generate fresh data ### Step 2: Filter and Prioritize 1. Filter attributes by `--focus` category if specified 2. Filter by `--min-severity` threshold 3. Group by target agent from the `actions` array 4. Calculate priority per agent using weights: critical=4, high=3, medium=2, low=1 5. Sort agents by descending priority ### Step 3: Display Routing Plan Show the routing plan: ``` Attribute-Based Routing Based on attribute analysis, prioritize these agents in order: 1. security (priority 7): .env file committed; No security scanning in CI 2. test_runner (priority 3): No test directory or test files found 3. docs (priority 2): Missing CLAUDE.md ``` If `--dry-run`, stop here. ### Step 4: Execute Routing For each agent in priority order, spawn the agent with its findings as context: | Attribute Category | Agent | Condition | |---|---|---| | security (critical/high) | security-audit | Always route first | | tests | test | When test gaps found | | quality (high+) | refactor | Anti-patterns exceed threshold | | quality (medium) | review | Code review suggestions | | docs | docs | Documentation gaps | | ci | configure | CI configuration gaps | When spawning each agent, include: - The specific findings for that agent - Whether each finding is auto-fixable - The severity level ### Step 5: Report After all agents complete, summarize: - Which agents were invoked - Which findings were addressed - Remaining findings that need manual attention ## Agentic Optimizations | Context | Command | |---------|---------| | Preview routing | `/attributes:route --dry-run` | | Security only | `/attributes:route --focus security` | | Critical only | `/attributes:route --min-severity critical` | | Full remediation | `/attributes:route` |
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.