Logo di Lazy Cat

Lazy Cat

Community
albertobarnabo
lazy-cat

Keeps code changes as small as the problem allows. Use before writing or changing code, including small fixes, single functions and quick scripts, and especially before generating data, fixtures or seed records, or hand-writing something a stdlib call, package, public API or open dataset already provides (validation, parsing, auth, dates, currency, geo). Checks for that cheaper path first, then writes only what was asked: no unrequested error handling, tests, docstrings, flags, abstractions or refactors. Not for infra/terraform/k8s or database queries.

Panoramica

Pubblicato daalbertobarnabo
Repositorylazy-cat
Nome della skilllazy-cat
Stelle
50
Fork
1
File inclusi
72
LicenzaMIT
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: 72

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

Installazione

Installa la skill IA Lazy Cat 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/albertobarnabo/lazy-cat/tree/main
  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/albertobarnabo/lazy-cat.git \
  .claude/skills/lazy-cat
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Lazy Cat 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 Lazy Cat 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 Lazy Cat 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à.

lazy-cat: Never Spend More Effort Than the Problem Needs

Before committing to an approach, look for the cheap one; then build exactly what was asked and never silently expand scope. Phase 1 runs before you pick an approach; Phase 2 runs on every block you write.

Skip both phases for infra/terraform/k8s and database queries. Skip Phase 1 for edits under ~10 lines with no data and no new dependency, or when the user already chose the approach or library. Skip Phase 2 when the user asked for a complete or production-ready implementation, or when error handling, validation or tests are the request itself.

Never skipped — lazy is never fake: don't make a check pass by hard-coding values, special-casing inputs, or editing/deleting tests. If a test looks wrong, stop and say so.


Phase 1: Think Twice

Stop at the first question that reveals a better path.

1. Am I solving the right problem?

  • What is the smallest version of it? Don't assume a server, DB, auth, sync or growth the user didn't mention.

Would a 2-sentence clarification save 200 lines of code? Ask one targeted question only when plausible readings lead to materially different code and the codebase can't settle it. Otherwise take the smallest reasonable reading, state the assumption in one line, and proceed. If the request fixes a symptom, fix it as asked and name the root cause in one line; don't widen the change.

2. Is there an existing solution? Check cheapest first:

  1. Standard library or platform: structuredClone, Intl, HTML attributes, SQL
  2. Existing code or dependency: a helper, type or component already in this repo, or a package it already installs. Reuse it.
  3. Package: only if it plus its setup is shorter than a minimal hand-written version of exactly what was asked, or hand-written would be subtly wrong (dates, holidays, cloning, huge datasets). Not in zero-dependency or offline projects. Confirm it exists and has the exports/fields you use (npm view <pkg>, pip index versions <pkg>, or its README). Can't check (no network)? Name it as unverified and let the user confirm; don't fall back to hand-writing a partial dataset.
  4. Open dataset or API: a downloadable file for static reference data; a live API only when the data must be current

3. Is my approach the most direct one?

  • Is there a one-liner that replaces 50 lines of logic?
  • Would a simpler data structure or a lookup table make the algorithm trivial?
  • Large or repetitive output (hundreds of records, fixtures): write the script that generates it, not the output. "500 fake users" → a faker script with --count 500. Deliver the count the user named; use 2-3 examples only to illustrate a point.

When not to take the shortcut

  • Security: never hand-roll cryptography or security primitives; use the stdlib or a widely-audited library.
  • Latency: a runtime API call adds unacceptable delay to a hot path.

In these cases, proceed, but say why: "Not taking the shortcut because X."


Phase 2: Surgical

Every line of unrequested code costs twice: once to generate, once for the user to read and discard. Before writing any function, class or block:

Was it asked for (by the user, or by the project's CLAUDE.md/AGENTS.md, linter or CI),
or would what was asked break or give wrong results without it?
  YES → write it
  NO  → leave it out; name it on the Left out line if it matters
YES includes required imports, call-site updates in a rename, messages a validator must
show, and defensive code that safety or security genuinely requires.

What scope creep looks like

Guards for cases that can't happen:

python
# Asked: write a function that doubles a number
# Scope creep:
def double(n):
    if n is None:
        raise ValueError("n cannot be None")
    if not isinstance(n, (int, float)):
        raise TypeError("n must be numeric")
    return n * 2

# Correct:
def double(n):
    return n * 2

Abstractions for one-time use:

typescript
// Asked: format a date as YYYY-MM-DD in one place
// Scope creep: a DateFormatter class with a static forISO() factory
// Correct:
const formatted = date.toLocaleDateString('sv-SE'); // local YYYY-MM-DD

Future-proofing nobody requested: a backend="json" parameter with sqlite and redis branches when the user asked to save preferences to a file.

Unrequested tests: "fix this bug" means fix the bug, not add a test suite.

Keeping the old path: asked to change or replace behavior, edit or delete the old code. No flag, _v2 copy, or try/except that falls back to the old path or to default/mock data.

Refactoring surrounding code: fixing function A doesn't include renaming variables in function B, reordering imports, reformatting, or deleting unrelated dead code. Code your own change makes dead: delete it.


Output

If you deliberately left out something the user may expect, close with one line: Left out: <items> (say "add them" to include) Nothing left out means no line. Apart from this line and the one-line notes above (assumption, root cause, why you skipped a shortcut), don't narrate the phases in code comments or a preamble.

File inclusi

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

e 12 file in più.

Domande frequenti

Cosa fa la skill IA Lazy Cat?

Keeps code changes as small as the problem allows. Use before writing or changing code, including small fixes, single functions and quick scripts, and especially before generating data, fixtures or seed records, or hand-writing something a stdlib call, package, public API or open dataset already provides (validation, parsing, auth, dates, currency, geo). Checks for that cheaper path first, then writes only what was asked: no unrequested error handling, tests, docstrings, flags, abstractions or refactors. Not for infra/terraform/k8s or database queries.

Perché usare Lazy Cat su TypingMind?

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

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/albertobarnabo/lazy-cat/tree/main. 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 Lazy Cat?

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 Lazy Cat?

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

La skill IA Lazy Cat è gratuita?

Sì. È pubblicata su GitHub da albertobarnabo con licenza MIT. 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 👇