agentleFS
Heverton-webHeverton-web/fabrica-universal/.claude/skills/lean-ctx/SKILL.md

lean-ctx

Skill0 starsChanged 3 months agoMITView on GitHub

Economia severa de contexto. Prioriza grep_search antes de view_file, lê apenas assinaturas de funções antes de corpos completos e usa slices restritos de linhas. Triggers: "lean-ctx", "lean context", "economia de contexto", "ler so assinatura", "grep antes de read"

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Lean Context (Economia Severa de Contexto)

Protocolo estrito de leitura de código para minimizar o consumo de tokens de entrada.

Diretrizes

  1. Grep Antes de Read: NUNCA execute view_file em um arquivo inteiro sem antes usar grep_search para localizar a linha exata.
  2. Assinaturas Antes de Corpos: Quando precisar entender uma interface ou classe, leia apenas a declaração de tipos, exports e assinaturas.
  3. Slice Restrito: Quando fizer view_file, especifique StartLine e EndLine para carregar no máximo 20-50 linhas por trecho.
  4. Sem Re-leitura Redundante: Não releia arquivos cujas informações já estão no contexto atual.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.