de-sloplisted
Install: claude install-skill shipshitdev/skills
# De-Slop
Remove AI-generated artifacts and code sloppiness while maintaining project structure.
## What Gets Cleaned
1. **Console statements** — Replace with logger service
2. **`any` types** — Replace with proper types/interfaces
3. **Unused imports** — Remove completely
4. **Commented-out code** — Remove dead code blocks
5. **Temporary/debug code** — Remove TODO/FIXME debug statements
6. **Obvious AI comments** — Remove redundant comments
7. **Unused variables** — Remove if truly unused
## Workflow
### Step 1: Detect Project Structure
Determine if monorepo or single project:
```bash
ls packages/ 2>/dev/null || ls pnpm-workspace.yaml 2>/dev/null || true
```
If monorepo: process each package separately.
### Step 2: Identify Artifacts
Search for each artifact type across the codebase.
### Step 3: Execute Cleanup (Per Package)
For each package/project:
1. Console statements — Replace with logger
2. `any` types — Create interfaces, replace types
3. Unused imports — Remove
4. Commented code — Remove blocks
5. Debug code — Remove temporary code
6. Obvious comments — Remove redundant comments
7. Unused variables — Remove
### Step 4: Verify
```bash
bun run type-check || tsc --noEmit
bun run test
```
### Step 5: Document
Log cleanup in today's session file (`.agents/SESSIONS/YYYY-MM-DD.md`) with packages cleaned and artifact counts.
## Options
- Default: clean current package/project
- `--all`: clean across entire monorepo
- `--check`: dry run, show what would be