agent-harness-design
Designing agent harnesses and tool systems — risk taxonomy for tools, permission decisions, draft/commit pattern, structured tool…
Run an opt-in strict maintainability review for giant files, spaghetti growth, misplaced logic, weak boundaries, unnecessary abstractions, and missed structural simplifications. Use for a thermonuclear review, harsh code-quality audit, code-judo review, or a file approaching
$ npx -y skills add AnastasiyaW/codex-claude-code-config --skill thermo-nuclear-code-quality-review --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/thermo-nuclear-code-quality-reviewContext preview
The summary Claude sees to decide when to auto-load this skill.
Run an opt-in strict maintainability review for giant files, spaghetti growth, misplaced logic, weak boundaries, unnecessary abstractions, and missed structural simplifications. Use for a thermonuclear review, harsh code-quality audit, code-judo review, or a file approaching
name: thermo-nuclear-code-quality-review description: Run an opt-in strict maintainability review for giant files, spaghetti growth, misplaced logic, weak boundaries, unnecessary abstractions, and missed structural simplifications. Use for a thermonuclear review, harsh code-quality audit, code-judo review, or a file approaching 1000 lines. Do not use as an automatic rewrite mandate or for cosmetic cleanup. disable-model-invocation: true
This is an unusually demanding review mode, not an instruction to rewrite code by taste. Inspect the current diff and surrounding architecture, then report only high-conviction findings grounded in a contract, reachable behavior, or a material maintainability risk.
Ask:
path instead of using the canonical layer?
complexity?
than merely move the same complexity into more files?
A file crossing roughly 1000 lines is a strong signal to inspect decomposition, not an automatic failure. Apply the project's actual shape policy and explain why a split would improve ownership. Do not manufacture a rewrite when the current structure is coherent and the change is small.
Report findings in this order:
1. structural regressions; 2. missing simplifications with a concrete alternative; 3. spaghetti or branching growth; 4. boundary and type-contract problems; 5. file shape and decomposition; 6. lower-severity readability issues.
For each finding include file/line, contract or evidence, user/operator impact, and a concrete remedy. Separate `BLOCKER`, `ADVISORY`, and `ACCEPTED` decisions. If no finding survives reachability, materiality, and evidence screening, say so.
Use a fresh reviewer for non-trivial changes. This review does not replace focused tests, security proof, or `proof-verify`; it evaluates maintainability and architecture. It must not silently edit production code or turn an advisory concern into a rewrite.
a sufficient implementation is a reason to stop expanding.
decomposition.
preference without impact is not a blocker.
| Symptom | Likely cause | Action | |---|---|---| | Review proposes a rewrite for a tiny diff | Scope or trigger was too broad | Limit the review to changed behavior and material risks | | Many low-value nits | No severity/materiality screen | Keep only findings with evidence and an actionable remedy | | File is large but coherent | Threshold treated as a verdict | Record `ACCEPTED` with rationale and keep the stable boundary | | Suggested split adds more indirection | Complexity moved, not removed | Reject it and compare the reader's concepts before/after |
Adapted from Cursor Team Kit's MIT-licensed `thermo-nuclear-code-quality-review`: https://github.com/cursor/plugins/tree/main/cursor-team-kit/skills/thermo-nuclear-code-quality-review
A practical configuration kit for Claude Code, Codex, and other coding agents. It contains architectural principles, enforcement hooks, skills, drop-in rules, starter templates, and dynamic-workflow commands.
Designing agent harnesses and tool systems — risk taxonomy for tools, permission decisions, draft/commit pattern, structured tool…
Use when designing, auditing, refactoring, or explaining an agentic harness for any domain, especially when work must continue…
Практическая инженерия диффузионных моделей: архитектуры, обучение, инференс, оптимизация памяти. Использовать при любых задачах…
Expert prompt engineering for FLUX.2 [klein] image generation and editing model. Use this skill whenever the user wants to create…
Plan or review LoRA and edit-training work specifically for FLUX.2 Klein or Qwen-Image-Edit, including paired datasets,…
Forensic image-to-prompt compiler for image generation models. Use this skill whenever the user wants to: convert/describe an…