Hacのロゴ

Hac

コミュニティ
hawkyre
hac

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.

概要

公開者hawkyre
リポジトリhawk-skills
スキル名hac
スター
29
フォーク
2
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    hawkyreがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Hac」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/hawkyre/hawk-skills/tree/main/skills/hac
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hawkyre/hawk-skills.git /tmp/hawk-skills
mkdir -p .claude/skills
cp -r /tmp/hawk-skills/skills/hac .claude/skills/hac
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでHacを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にHacを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Hacは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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

  1. 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.

  2. 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.

  3. 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.
  4. List the gaps. Compare the proposal to the ideal. Write one line for each difference.

  5. 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.
  6. 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."
  7. 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

markdown
## 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.

よくある質問

AIスキル「Hac」では何ができますか?

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.

TypingMindでHacを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Hacはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにHacをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/hawkyre/hawk-skills/tree/main/skills/hacを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Hacを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Hacで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもHacを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Hac」は無料ですか?

はい。hawkyreがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇