شعار 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 يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها hawkyre على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Hac في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/hawkyre/hawk-skills/tree/main/skills/hac
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

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

فعّل Hac في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Hac تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Hac بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف 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.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي 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.

لماذا تستخدم Hac على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Hac عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Hac في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/hawkyre/hawk-skills/tree/main/skills/hac. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Hac؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Hac؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Hac معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Hac مجانية؟

نعم. نشرها hawkyre على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇