Logo: Lazy Cat

Lazy Cat

Communautéit
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.

Iwwersiicht

Editeuralbertobarnabo
Repositorylazy-cat
Skill-Nummlazy-cat
Stären
50
Forks
1
Matgeliwwert Dateien
72
LizenzMIT
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.

  • 72 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

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

Installatioun

Installéiert de KI-Skill Lazy Cat 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/albertobarnabo/lazy-cat/tree/main
  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/albertobarnabo/lazy-cat.git \
  .claude/skills/lazy-cat
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Lazy Cat 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 Lazy Cat automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Lazy Cat 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.

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.

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.

An nach 12 weider Dateien.

Heefeg gestallte Froen

Wat mécht de KI-Skill 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.

Firwat Lazy Cat op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Lazy Cat 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 Lazy Cat an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/albertobarnabo/lazy-cat/tree/main 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 Lazy Cat 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 Lazy Cat benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Lazy Cat 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 Lazy Cat gratis?

Jo. albertobarnabo huet de Skill ënner der Lizenz MIT op GitHub publizéiert. 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 👇