code-cleanup
Audit and clean up ~/code directory structure, archiving stale repos, fixing folder names, and removing dead worktrees
What this skill does
# Code Directory Cleanup
Audit and tidy the `~/code/` directory.
Run from the home directory (`~/`).
## Phase 1: Inventory
For every subdirectory in `~/code/` (including inside org folders), collect:
1. **Git remote** (`git remote get-url origin`, or "no-git")
2. **GitHub org** (parsed from remote URL)
3. **Repo type** (R package = has `DESCRIPTION`, Julia package = has `Project.toml`, paper/grant = has `.qmd`/`.tex`/`submission/`, website = has `_quarto.yml` without package files, org-config = `.github` repos, other)
4. **Last commit date** (`git log -1 --format="%ci"`)
5. **Folder name vs remote name** mismatch
6. **Worktrees** (`git worktree list` in each repo, flag any worktrees whose branch no longer exists on the remote)
## Phase 2: Flag Problems
Report a table for each category:
### Folder name mismatches
Local name differs from remote repo name (excluding `.git` suffix).
For `.github` repos, convention is `{org}-.github`.
### Stale repos (no commits in 6+ months)
Include last commit date and whether it's owned by seabbs orgs or external.
### Dead worktrees
Worktrees whose tracking branch no longer exists on the remote, or worktrees with no uncommitted changes that haven't been touched in 30+ days.
### Repos not in their org folder
Any repo whose remote belongs to a known org (epinowcast, epiforecasts, EpiAware, nfidd, seabbs) but isn't inside the corresponding `~/code/{org}/` folder.
### External repos (not owned by seabbs orgs)
Repos from other orgs/users cloned locally.
### No-git directories
Directories with no git remote.
## Phase 3: Propose Actions
For each flagged item, propose one of:
- **rename**: fix folder name to match remote
- **move**: move into correct org folder
- **archive**: move to `~/code/archive/`
- **delete**: remove entirely (only for empty dirs or confirmed duplicates)
- **clean-worktree**: remove dead worktree
## Phase 4: Execute (with confirmation)
Present the full action list and **ask for confirmation** before executing.
Group actions by type (renames, moves, archives, deletes, worktree cleanup).
When moving repos into org folders, create the org folder if it doesn't exist.
When archiving, move to `~/code/archive/`.
After execution, update `~/CLAUDE.md` with the current repo inventory.
## Phase 5: Summary
Print a final summary showing:
- Total repos by org
- Total archived
- Total cleaned worktrees
- Any items skipped
## Known Org Mapping
These GitHub orgs map to `~/code/{org}/`:
- epinowcast
- epiforecasts
- EpiAware
- nfidd
- seabbs (personal repos)
External repos go in `~/code/external/`.
Repos with no git go in `~/code/archive/` unless actively used.
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.