# Unslopify

> Tactical code cleanup focusing on type strictness, single responsibility, fail-fast patterns, and DRY. Detects sloppy code, workarounds, silent failures, god classes, and duplication. Use for quick code quality checks before committing or during code review. Use when this capability is needed.

- Skill: `tomevault-io/unslopify` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/unslopify`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/unslopify/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/unslopify

---


# Unslopify

Tactical code cleanup focused on immediate quality issues.

## Usage

```
/unslopify                # Run all 4 analyzers in parallel
/unslopify --types        # Type strictness only
/unslopify --srp          # Single responsibility only
/unslopify --fail-fast    # Fail-fast only
/unslopify --dry          # DRY only
```

## Analyzers

| Analyzer | Question |
|----------|----------|
| **type-strictness-analyzer** | Are types as strong as possible? |
| **srp-analyzer** | Does each unit have one job? |
| **fail-fast-analyzer** | Do errors surface immediately? |
| **dry-analyzer** | Is there duplicated code? |

## What's "Sloppy"?

| Sloppy | Clean |
|--------|-------|
| `any`, `interface{}`, `unwrap()` | Strong domain types |
| God classes, 500-line functions | Focused, single-purpose |
| `catch (e) { }` swallowed | Explicit error handling |
| `// HACK:` comments | Fix the root cause |
| Silent fallbacks | Fail fast, fail loud |
| Copy-pasted code blocks | Extracted helpers/utilities |

## When to Use

- Quick code review
- Before committing
- Cleaning up tech debt
- Checking for obvious issues

## Supported Languages

- TypeScript / JavaScript
- Go
- Rust

## Reference Documentation

- [Type Strictness](reference/types.md)
- [Single Responsibility](reference/srp.md)

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/shanev) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-11 -->

