用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill desloppify命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | desloppify |
| description | > Use when this capability is needed. |
Improve code quality by fixing findings and maximizing strict score honestly. Never hide debt with suppression patterns just to improve lenient score. After every scan, show the user ALL scores:
| What | How |
|---|---|
| Overall health | lenient + strict |
| 5 mechanical dimensions | File health, Code quality, Duplication, Test health, Security |
| 7 subjective dimensions | Naming Quality, Error Consistency, Abstraction Fit, Logic Clarity, AI Generated Debt, Type Safety, Contract Coherence |
Never skip scores. The user tracks progress through them.
scan → follow the tool's strategy → fix or wontfix → rescan
desloppify scan --path . — the scan output ends with INSTRUCTIONS FOR AGENTS. Follow them. Don't substitute your own analysis.desloppify resolve fixed "<id>" — or if it's intentional/acceptable:
desloppify resolve wontfix "<id>" --note "reason why"Wontfix is not free. It lowers the strict score. The gap between lenient and strict IS wontfix debt. Call it out when:
desloppify scan --path . # full scan
desloppify status # score summary
desloppify next --count 5 # top priorities
desloppify show <pattern> # filter by file/detector/ID
desloppify plan # prioritized plan
desloppify fix <fixer> --dry-run # auto-fix (dry-run first!)
desloppify move <src> <dst> --dry-run # move + update imports
desloppify resolve fixed|wontfix|false_positive "<pat>" # classify finding outcome
desloppify review --prepare # generate subjective review data
desloppify review --import file.json # import review results
Score = 75% mechanical + 25% subjective. Subjective starts at 0% until reviewed.
Default dimensions:
naming_quality, error_consistency, abstraction_fitness,
logic_clarity, ai_generated_debt, type_safety, contract_coherence.
desloppify review --prepare — writes review data to query.jsonquery.json (or .desloppify/review_packet_blind.json), review files, and write assessments:
{
"assessments": {
"naming_quality": 75,
"error_consistency": 75,
"abstraction_fitness": 75,
"logic_clarity": 75,
"ai_generated_debt": 75,
"type_safety": 75,
"contract_coherence": 75
},
"findings": []
}
desloppify review --import review_output.jsonEven moderate scores (60-80) dramatically improve overall health.
zone set.unused-imports, unused-vars, debug-logs, dead-exports, etc.narrative.actions with prioritized next steps.--skip-slow skips duplicate detection for faster iteration.--lang python, --lang typescript, or --lang csharp to force language.--profile objective; use --profile full to include subjective review.When desloppify itself appears wrong or inconsistent:
command, path, expected, actual).peteromallet/desloppify.command -v desloppify >/dev/null 2>&1 && echo "desloppify: installed" || echo "NOT INSTALLED — run: pip install --upgrade git+https://github.com/peteromallet/desloppify.git"
Use Claude subagents for subjective scoring work that should be context-isolated.
.claude/agents/.context: fork so prior chat context does not leak into scoring..desloppify/review_packet_blind.json instead of full query.json.{
"assessments": {
"naming_quality": 0,
"error_consistency": 0,
"abstraction_fitness": 0,
"logic_clarity": 0,
"ai_generated_debt": 0,
"type_safety": 0,
"contract_coherence": 0
},
"findings": []
}
Converted and distributed by TomeVault — claim your Tome and manage your conversions.