Logo di Craft States

Craft States

Community
diego3g
craft-states

Usala per progettare o riprogettare una schermata, un flusso o un componente, quando ti viene chiesto di coprire tutti gli stati o individuare quelli mancanti, oppure prima di passare una schermata allo sviluppo. Usala anche quando un design mostra solo il percorso ideale, usa dati di esempio brevi e ordinati o presuppone che ci sia un solo utente.

Panoramica

Pubblicato dadiego3g
Repositorycraft
Nome della skillcraft-states
Stelle
546
Fork
29
File inclusi
7
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: 7

    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 diego3g su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Craft States 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/diego3g/craft/tree/main/skills/craft-states
  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/diego3g/craft.git /tmp/craft
mkdir -p .claude/skills
cp -r /tmp/craft/skills/craft-states .claude/skills/craft-states
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Craft States 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 Craft States 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 Craft States 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à.

Screen states

Overview

A screen is not designed until every state it can be in is designed. The happy path is one state out of twenty. List the states in words first, get the list approved, then draw. Agreeing on a list costs a minute. Discovering a missing state in code costs a day.

When to use

  • A new screen, flow or component, or a redesign of one.
  • "Cover all the states", "what are we missing?", "is this ready for dev?"
  • The design shows one perfect case: three orders, short names, everything loaded.

When NOT to use

  • A small edit to an existing screen ("make the button 2px taller", "fix this typo"). Make the edit and stop.
  • Pure copy changes, or a question about the design.

Before you start

  1. Read DESIGN.md at the project root if it exists: it is the project's design brief.
  2. Read the project's design system and existing screens. They win on look: reuse their empty state, banner and loading pieces instead of inventing new ones.
  3. Pick your tool's adapter in references/adapters/ (paper.md, pen.md, figma.md, penpot.md, html.md). If no adapter matches your tool, do the same verbs in your tool and say which you mapped by hand. With no design tool at all, build in HTML (html.md). If an image is all you have, say that values read from it are estimates.
  4. Know the screen's job: who uses it, what they came to do, and what the one next action is.

Steps

  1. Write the state list. Walk every group in the state catalogue: Data, System, Activity, People, Interaction. Mark each item in one of three ways:

    • applies, with a one-line description of what the screen shows;
    • doesn't apply, with a reason;
    • open question for the person.

    Stop and show the person the list. Do not draw yet.

  2. Draw the main state with realistic invented data: the most complex realistic case, not the tidiest. Use long names, many items, and mixed statuses. Build it one section at a time, and check each section rendered before the next.

  3. Draw every other state that applies:

    • a state that changes the whole screen (empty, offline, couldn't load) gets a full board;
    • a state that changes one part (a failed row, a saving button, a stale banner) goes on a state sheet that shows just that part.
  4. Check every state:

    • Does it offer the action that resolves it, and say who does it?
    • Does moving between states keep the layout still (same widths and heights, no jumping)?
  5. Name and order the boards as described in naming and sheets: <number> · <screen> · <state>, the main state first, the other states next, sheets last, and a cover note at the start of each row.

  6. Look at what you made. Screenshot or render every board and compare it with the list. If you cannot render, say so plainly, and name what wasn't checked.

Rules

RuleWhy
The list comes before any drawing, and the person approves itIt's the cheapest moment to find a missing state or one that doesn't apply
Sample data is long, many and messyShort tidy data hides truncation, overflow and wrapping bugs
Assume more than one person uses it"Someone else already did it" and "changed while you looked" happen every day
No state without a way out: what to do next and who does itA dead end makes people call support
A failure is worded as a failure, never as a deliberate pause"Stopped" reads like someone chose it; "Couldn't save" tells the truth
One standard empty-state piece across the productTen bespoke empty states drift apart and cost ten times more
A whole-app problem goes in a top banner; a problem with one item goes inline on that itemA banner for one row's error shouts at everyone about nothing
Loading and label swaps keep the element's sizeLayout shift makes people click the wrong thing
Interaction states (hover, focus, disabled…) come from the design system's states matrixRedrawing them on every screen creates drift; draw them once, in the system

Done when

Every catalogue item is drawn, marked "doesn't apply" with a reason, or listed as an open question. The boards are named and ordered, and you looked at each one or said which you couldn't.

Common mistakes

ThoughtReality
"I'll just design all the states in one go, it's faster"Without an approved list you draw states nobody needs and miss the ones they do. List, stop, then draw.
"Three sample orders show the idea"Show forty, and show a customer called "Maria Fernanda de Albuquerque Santos". The overflow state is a real state.
"Loading, empty, error, offline: covered"Those are four of the catalogue's groups' easiest items. Also check many/overflow, long text, someone-else-did-it, changed-while-viewing, permissions and slow.
"I'll put all the states on one page"An unnamed pile can't be reviewed or handed off. Name and order the boards.
"I couldn't render it, but it's fine"Say what you couldn't check. Unverified layout is a guess.

Red flags: stop and go back to step 1

  • You are drawing and no state list was approved.
  • Every name in the mock fits on one line.
  • The design never mentions a second person.

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 Craft States?

Usala per progettare o riprogettare una schermata, un flusso o un componente, quando ti viene chiesto di coprire tutti gli stati o individuare quelli mancanti, oppure prima di passare una schermata allo sviluppo. Usala anche quando un design mostra solo il percorso ideale, usa dati di esempio brevi e ordinati o presuppone che ci sia un solo utente.

Perché usare Craft States su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Craft States è 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 Craft States in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/diego3g/craft/tree/main/skills/craft-states. 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 Craft States?

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 Craft States?

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

La skill IA Craft States è gratuita?

È pubblicata su GitHub da diego3g. 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 👇