Logo di Hai Goal

Hai Goal

Community
hylarucoder
hai-goal

Crea o riscrive un documento degli obiettivi per esecuzioni ambigue, articolate in più fasi, ad alto rischio o pianificate esplicitamente. Definisce un risultato verificabile, i confini, lo stato attuale, le fasi, attività con prove a supporto, una prova a secco e una decisione Go/No-Go. Usalo quando l'utente chiede un obiettivo, un piano, delle fasi o delle attività, oppure di riallineare un piano esistente. Non inserirlo nel flusso di una piccola implementazione dal risultato e dalla verifica chiari; passa il lavoro pronto all'esecuzione normale e usa hai-tdd solo per le modifiche di comportamento adatte.

Add to TypingMind

Panoramica

Pubblicato dahylarucoder
Repositoryhai-stack
Nome della skillhai-goal
Stelle
284
Fork
15
File inclusi
3
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 3

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da hylarucoder su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Hai Goal in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/hylarucoder/hai-stack/tree/main/skills/hai-goal
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Hai Goal in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Hai Goal non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Hai Goal non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Hai Goal?

Crea o riscrive un documento degli obiettivi per esecuzioni ambigue, articolate in più fasi, ad alto rischio o pianificate esplicitamente. Definisce un risultato verificabile, i confini, lo stato attuale, le fasi, attività con prove a supporto, una prova a secco e una decisione Go/No-Go. Usalo quando l'utente chiede un obiettivo, un piano, delle fasi o delle attività, oppure di riallineare un piano esistente. Non inserirlo nel flusso di una piccola implementazione dal risultato e dalla verifica chiari; passa il lavoro pronto all'esecuzione normale e usa hai-tdd solo per le modifiche di comp...

Perché usare Hai Goal su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Hai Goal è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Hai Goal in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/hylarucoder/hai-stack/tree/main/skills/hai-goal. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Hai Goal?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Hai Goal?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Hai Goal: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Hai Goal è gratuita?

È pubblicata su GitHub da hylarucoder. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇