hac
Skill30 starsChanged 2 months agoMITView on GitHub
Half-assed check. Test the current proposal against the best possible solution, then close every gap. The main check is systems thinking — a solution made for one case instead of its class is half-assed. Use when the user says "/hac", "half-assed check", "is this half-assed", "is this the best way", "are you cutting corners", or suspects that a proposal is too simple. Runs inline in the current context, with no subagents.
In this repository21 other files it gives its agents.
- capSkill
- code-audit-hardcoreSkill
- code-auditSkill
- coding-processSkill
- design-hierarchySkill
- design-masterSkill
- design-windowSkill
- evaluate-skillSkill
- fix-bugSkill
- human-proseSkill
- implement-plan-auditedSkill
- implement-planSkill
- init-phoenixSkill
- learn-systemSkill
- plan-largeSkill
- plan-smallSkill
- refactorSkill
- remove-codeSkill
- review-large-prSkill
- review-planSkill
- write-agentSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Use the current state of the art.
- Distinctive: line 26
Write the ideal as a short list of properties and parts.
- Distinctive: line 53
Check again: Do steps 4–6 one more time on the revised proposal.
- Distinctive: line 73
If there are no gaps, write "No gaps." Then, for each property of the ideal, show where the proposal has it.
- Very specific: line 75
If the user already approved the work, continue it with the revised proposal.
- Distinctive: line 80
Run inline. Do not use subagents.
- Distinctive: line 81
Do not defend the earlier proposal.
- Distinctive: line 82
Do not add complexity to look thorough.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
HAC — half-assed check
The user suspects that the current proposal cuts corners. Do not defend it. Find the best solution, then make the proposal equal to it.
The most frequent half-assed solution is a one-off: it solves this one case and ignores the class of problems that the case belongs to. It works once. The next case needs another patch, and patches pile on patches until the code breaks when it must expand. HAC finds the system first.
Process
- Put the proposal aside. State the problem in one or two sentences: the result the user needs, not the approach. Do not look at the proposal again until step 4.
Name the system. Answer these questions:
- Which class of problems does this case belong to? Name other members of the class: cases that exist now, or cases that the system will clearly produce.
- Which system produces this class? For a bug: the missing invariant, type, boundary, or single source of truth that lets it occur. For a feature: the general capability of which this feature is one use.
- What solves the whole class at its source?
The class must be real. If you cannot name a second member that exists or will clearly come, the class is speculative. Do not build a framework for it.
- Design the ideal. Answer this question: "With no repo, no existing code, no time limit, and no earlier decisions, what is the best way to solve this class of problems?"
- Use the current state of the art. If you are not sure what it is, research it now: official docs, changelogs, current libraries.
- The best solution is not the biggest one. Often the simplest fully correct solution is the best. Each part of the ideal must have a named benefit for this class. Remove a part that has no named benefit.
- Write the ideal as a short list of properties and parts.
- List the gaps. Compare the proposal to the ideal. Write one line for each difference.
- Look for a reduced task. Each of these signs in the proposal is also a gap:
- One-off: it solves this instance only. Special cases, hardcoded values for this example, a copy of code that already exists for a similar case, a fix at the symptom site while other sites have the same cause.
- Partial work: a part of the request is missing, or a case is "for later".
- Placeholders: mocks, stubs, guessed constants,
TODO, "for now", "temporary", "simple version first". - Hidden failures: swallowed errors, fallbacks that hide invalid state, warnings made silent.
- Weak proof: no tests, or tests that cannot fail.
- Copied weakness: a bad pattern that the proposal keeps because the repo already uses it.
Close or block each gap. Close the gap: change the proposal. If you cannot close it, name a valid blocker.
Valid blockers:
- The user must make a decision: product direction, money, or a trade-off that only the user can judge.
- A proven external fact prevents it: a platform limit, an API contract, a law. Give the evidence.
- It changes external behavior, and the user must approve that change first.
These are not blockers:
- "It works." / "Nothing is broken."
- "Out of scope." / "Minimal change."
- "The repo already does it this way."
- "It takes more effort." Effort is cheap for you.
- "Good enough for now."
- "We can generalize later."
- Check again. Do steps 4–6 one more time on the revised proposal. Stop when a pass finds no gap that has a named benefit.
Output
## System
- Class: <the class of problems> — members: <this case>, <other cases>
- Source: <what produces the class>
## Ideal
- <property or part> — <benefit>
## Gaps
1. <gap> → closed: <change>
2. <gap> → blocked: <valid blocker>; <the decision the user must make>
## Revised proposal
<the full proposal with all closed gaps>If there are no gaps, write "No gaps." Then, for each property of the ideal, show where the proposal has it. Do not invent gaps.
If the user already approved the work, continue it with the revised proposal. If a closed gap needs work across many files or a schema change, route it through plan-small or plan-large.
Rules
- Think in systems. This is the most important check. Solve the class at its source, not the instance at its symptom.
- Run inline. Do not use subagents.
- Do not defend the earlier proposal. It has no value as a starting point.
- Do not add complexity to look thorough. A part with no named benefit is a gap too. A class with no second member is not a class.
- A blocker that is not on the valid list is a gap. Close it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

