Skip to content

Commit ac2cd63

Browse files
committed
chore: add canonical .claude/rules and .claude/skills from structured-coding-with-ai
1 parent 589fa2c commit ac2cd63

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.claude/rules/desloppify.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Code Quality — desloppify
2+
3+
Run desloppify to systematically identify and fix code quality issues. Install and configure before scanning (requires Python 3.11+):
4+
5+
```bash
6+
pip install --upgrade "desloppify[full]"
7+
desloppify update-skill claude
8+
```
9+
10+
Add `.desloppify/` to `.gitignore` — it contains local state that should not be committed. Before scanning, exclude directories that should not be analyzed (vendor, build output, generated code, worktrees) with `desloppify exclude <path>`. Share questionable candidates with the project owner before excluding.
11+
12+
```bash
13+
desloppify scan --path .
14+
desloppify next
15+
```
16+
17+
`--path` is the directory to scan (use `.` for the whole project, or a subdirectory like `src/`). Your goal is to get the strict score as high as possible. The scoring resists gaming — the only way to improve it is to actually make the code better.
18+
19+
**The loop:** run `next`. It is the execution queue from the living plan, not the whole backlog. It tells you what to fix now, which file, and the resolve command to run when done. Fix it, resolve it, run `next` again. This is your main job. Use `desloppify backlog` only when you need to inspect broader open work not currently driving execution.
20+
21+
Do not be lazy. Large refactors and small detailed fixes — do both with equal energy. No task is too big or too small. Fix things properly, not minimally.
22+
23+
Use `plan` / `plan queue` to reorder priorities or cluster related issues. Rescan periodically. The scan output includes agent instructions — follow them, do not substitute your own analysis.

0 commit comments

Comments
 (0)