Skip to content
Back to skills

Cleanup

ASecurity

Verify recent SwarmLLM changes are complete — no stale references, no broken tests, no deferred items lost, docs updated. Run after changes to SharedState fields, API endpoints, JS file structure, broadcast channels, WS message formats or error-to-status mappings.

  • 58 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 22, 2026
ai-agentspythongobashnodegitapifrontend

Works with

  • api

Security analysis

A100/100

Scanned October 2, 2026

npx -y skills add enapt/SwarmLLM --skill cleanup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cleanup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cleanup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/enapt-cleanup/badge)](https://www.skillsdirectory.com/skills/enapt-cleanup)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cleanup
description: Verify recent SwarmLLM changes are complete — no stale references, no broken tests, no deferred items lost, docs updated. Run after changes to SharedState fields, API endpoints, JS file structure, broadcast channels, WS message formats or error-to-status mappings.
allowed-tools: Read, Grep, Glob, Bash, Edit, Write
effort: high
---

# Post-Change Cleanup Verification

Execute every item; fix what fails, then report PASS/FAIL per item.

1. **Build + tests**: `cargo fmt --check && cargo lint`, then `cargo dev-test 2>&1 | grep "test result:"`.
   `tests/repo_consistency.rs` already guards i18n parity, doubled sub-struct paths, console output, counts
   across documents, the MSRV and the payload budget — do not re-check those by hand.
2. **Stale references**: for every symbol, field, endpoint, channel or file this change removed or renamed,
   `grep -rn` across `src/ tests/ crates/ frontend/ docs/ examples/ python/ .claude/` — not just `src/`.
   Read any `// NOTE:` near the change for claims it made false.
3. **Frontend** (if `frontend/js/` changed): `for f in frontend/js/**/*.js; do node -c "$f"; done` and
   `node examples/frontend_load_check.js` (a syntax check alone misses an IIFE that throws — gotcha #568).
   A new user-visible string is translated into all 21 locales.
4. **Docs**: `docs/ARCHITECTURE.md` (source tree, endpoints, channels, WS types) matches the code; a changed
   rule is in its `arch-*.md` with evidence in `docs/invariants/`. Test counts are NOT refreshed here — that
   happens at release.
5. **Git**: everything committed and pushed; commit subjects stand alone for the public Discord feed.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.