Logo: Hai Goal

Hai Goal

Communautéit
hylarucoder
hai-goal

Erstellt oder iwwerschafft en Zieldokument fir onkloer, méistufeg oder riskant Virhaben oder wann d'Ausféierung ausdrécklech geplangt soll ginn. Et enthält e verifizéierbart Resultat, de Perimeter, den aktuelle Stand, d'Phasen, Aufgaben mat Beweiser, en Dréchenduerchlaf an eng Go/No-Go-Decisioun. Benotzt dëse Skill, wann Dir en Zil, e Plang, Phasen oder Aufgaben ufrot oder en existente Plang nei ausriichte wëllt. Schalt en net bei enger klenger Ëmsetzung vir, wann d'Resultat an d'Verifizéierung kloer sinn; gitt direkt an déi normal Ausféierung iwwer a benotzt hai-tdd nëmme bei Verhalensännerungen, fir déi et passt.

Add to TypingMind

Iwwersiicht

Editeurhylarucoder
Repositoryhai-stack
Skill-Nummhai-goal
Stären
284
Forks
15
Matgeliwwert Dateien
3
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 3 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    hylarucoder huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Hai Goal an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/hylarucoder/hai-stack/tree/main/skills/hai-goal
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hylarucoder/hai-stack.git /tmp/hai-stack
mkdir -p .claude/skills
cp -r /tmp/hai-stack/skills/hai-goal .claude/skills/hai-goal
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Hai Goal an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Hai Goal automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Hai Goal net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Hai Goal

For Chinese readers, see SKILL.zh_CN.md. The English SKILL.md is the execution source of truth.

Overview

Use this skill when execution is ambiguous, spans meaningful phases, carries material risk, or the user explicitly asks for a plan. It turns the work into a verifiable target, boundary, route, and proof. It also rewrites an existing plan around a newly stated target. A small task with an obvious outcome and verification should proceed directly without ceremony.

Core Principle

Write the goal before you go.

When this skill's trigger conditions apply, do not start implementation while hoping execution will clarify the target. The "run and watch" failure mode looks like:

  • Start implementation before the target is stable.
  • Discover missing decisions halfway through.
  • Patch local problems instead of shaping the whole route.
  • Let phase boundaries emerge accidentally.
  • Forget to define what counts as done.
  • Treat validation as an afterthought.

Complex or unclear work should first become a goal document with boundaries, phases, dependencies, and proof. When a plan already exists, the target takes priority over the old plan shape.

The Goal Document

A goal document is a runnable plan for execution. It answers:

  • Target: what are we trying to make true?
  • Boundary: what is included, excluded, and intentionally deferred?
  • Current state: what exists now, with known constraints and risks?
  • Route: what phases get us there?
  • Rules: what constraints or working agreements govern each phase?
  • Todos: what concrete tasks belong in each phase?
  • Progress management: for multi-phase execution, what checklist should stay current?
  • Verification: how do we prove each phase, and the whole goal, is done?
  • Stop conditions: when should we pause, ask, or revise the plan?

The exact output shape — including the conditional rewrite sections — lives in references/output-template.md. Read it before finalizing; do not re-derive the field list here.

A fresh goal document and a plan rewrite use the same template; the rewrite case additionally fills the Plan Rewrite Notes and Drift Diagnosis sections (see step 4).

Workflow

This single sequence covers every case — making a goal from vague intent, crafting phases for a known goal, and rewriting an existing plan around a target. Run step 4 only when an existing plan is provided.

  1. Freeze the intent. What does the user want to start? What outcome would make the work worth doing? What must not be broken? What is still unknown?

  2. Make the goal verifiable. Rewrite vague activity into a target outcome. Define the boundary (included, excluded, deferred). Choose the strongest available evidence source — test, metric, review, artifact, command, behavior, user signal, or trace — and a clear pass/fail rule with a confidence note, and name the judgment owner — who or what is authorized to declare it done. Quantify when useful, but do not invent fake metrics. If one intent contains multiple goals, split them.

  3. Convert the goal into a goal document. Record assumptions and unresolved decisions, identify affected surfaces (docs, code, schema, API, UI, tests, workflows, links), and define what "ready to execute" means.

  4. If rewriting an existing plan, re-anchor it to the target. Extract the plan's phases, todos, assumptions, dependencies, and highlighted focus points. Diagnose drift — goal drift, phase drift, validation drift, compatibility drift, cleanup drift — and decide per item what to keep, reorder, merge, or remove. Move high-risk, high-uncertainty, or high-leverage work earlier unless dependencies forbid it. Keep old wording only when it remains accurate under the new target.

  5. Split into phases. Each phase should produce a reviewable state. Split by learning, risk reduction, user-visible value, system boundary, dependency order, vertical slice, decision boundary, or validation boundary — never by department, file type, arbitrary chronology, or topic heading. Avoid phases that only say "implement X" without proof.

  6. Define phase rules. For each phase, state what is allowed, what is explicitly not allowed yet, what compatibility or migration rule applies, what documentation update is required, and what validation must pass before moving on. Concrete patterns to draw from:

    • Do not touch implementation until the target doc is updated.
    • This phase may rename internal callers directly; no compatibility shim unless a public contract exists.
    • This phase may only change docs and tests, not production code.
    • This phase exits only when the command/test/check passes.
    • Stop if a todo requires a product decision not present in the goal document.
  7. Create todos with action + surface + proof (see template). Make them concrete enough to execute without guessing, mark dependencies and blockers that affect order, and keep unrelated cleanup out unless the phase goal requires it.

  8. Add progress management when execution will continue across phases or sessions. Use one phase checklist with nested proof-bearing todos. Mark a phase complete only after its exit proof passes, and record any reprioritization instead of silently following stale order. Omit this machinery for a short one-session plan.

  9. Dry-run the route. Walk the phases in order without executing them; look for missing prerequisites, circular dependencies, vague todos, and unverified assumptions; revise the goal document before any real work. This step is what separates a goal document from generic planning.

  10. Decide whether to Go. If the route is coherent, execution can start. If it carries unresolved decisions, resolve them with the right skill first (see below) and re-run the dry-run.

Output

Return a goal document, not generic advice. Fill references/output-template.md and omit conditional sections that do not apply: rewrite notes for a fresh goal, and progress tracking for a short plan. Do not duplicate the template inside the main instructions.

Use a different skill when

  • hai-idea — it is unclear the work is worth doing at all. Validate or kill the idea before spending effort on a goal document.
  • hai-prd — the route has unresolved product or scope decisions. Settle the requirement, then return to write the goal.
  • hai-architecture — the route has unresolved structural or boundary decisions. Settle the design, then return.
  • Execution — once a phase is ready and implementation is requested, continue through the complete change and proportionate verification. Use hai-tdd for testable behavior; use compiler checks, existing tests, and focused runtime checks for structural/config/style work. Do not stop after producing a plan when the user already asked to implement.
  • code-review-and-quality — inspect completed changes for defects.
  • write-technical-acceptance-report — prove the outcome against acceptance; use compact mode for low-risk work. Reuse existing current evidence instead of repeating checks without cause.
  • hai-rewrite-doc — the drifted artifact is a general document, not a plan or goal document. This skill's rewrite mode owns plans; anchor-first rewriting of everything else lives there.

What this skill is NOT

  • Not generic planning detached from action — a "plan" here is a runnable goal document, and it must be executable.
  • Not a project management calendar. Dates and owners are optional unless the user asks for them.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Hai Goal?

Erstellt oder iwwerschafft en Zieldokument fir onkloer, méistufeg oder riskant Virhaben oder wann d'Ausféierung ausdrécklech geplangt soll ginn. Et enthält e verifizéierbart Resultat, de Perimeter, den aktuelle Stand, d'Phasen, Aufgaben mat Beweiser, en Dréchenduerchlaf an eng Go/No-Go-Decisioun. Benotzt dëse Skill, wann Dir en Zil, e Plang, Phasen oder Aufgaben ufrot oder en existente Plang nei ausriichte wëllt. Schalt en net bei enger klenger Ëmsetzung vir, wann d'Resultat an d'Verifizéierung kloer sinn; gitt direkt an déi normal Ausféierung iwwer a benotzt hai-tdd nëmme bei Verhalensänne...

Firwat Hai Goal op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Hai Goal besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Hai Goal an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/hylarucoder/hai-stack/tree/main/skills/hai-goal an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Hai Goal benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Hai Goal benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Hai Goal domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Hai Goal gratis?

hylarucoder huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇