Logotipo de Codebase Tips

Codebase Tips

Comunidad
Heyvhuang
codebase-tips

Codebase · 29 tips: repo index and map, coding principles, AGENTS.md, scope rules.

Descripción general

EditorHeyvhuang
Repositoriocopybook-skills
Nombre de la habilidadcodebase-tips
Estrellas
143
Forks
9
Archivos incluidos
30
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 30

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por Heyvhuang en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Codebase Tips en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/Heyvhuang/copybook-skills/tree/main/plugins/copybook-zh/skills/codebase-tips
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Heyvhuang/copybook-skills.git /tmp/copybook-skills
mkdir -p .claude/skills
cp -r /tmp/copybook-skills/plugins/copybook-zh/skills/codebase-tips .claude/skills/codebase-tips
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Codebase Tips en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Codebase Tips automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Codebase Tips no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Codebase · 29 tips

Copybook's 29 tips on codebase, most saved first. Each tip's text, where it goes and what the user should get are in its file in references/.

  • If the user names a tip, use that tip. If they describe a task, choose the tip that best meets their goal and constraints from those that work with the agent doing the work. If several fit equally well, choose one. Tell the user in one sentence which tip you picked and why, then read its file and follow it. If another tip also fits and would materially change the approach or result, name it and say how it differs.
  • If the user said nothing, show them the list below (each tip's name and what it does) and ask which to use.
  • If none fits, say so and suggest copybook, which looks through all 128 tips.
TipWhat it does
codebase-memory MCP: an index of your repo codebase-memory-repo-indexDozens of grep and read turns per question: the repo as one graph of functions, files and dependencies; dead code found too.
Vibe-coding cleanup: 5 Codex /goal prompts vibe-coding-cleanup-promptsHalf your quota left at reset: dead code, duplicates and unneeded dependencies cut; scheduled tasks and old worktrees sorted.
Clickable repo map clickable-repo-mapBefore you change a repo: click any module for its callers, dependencies, tests and source evidence; a rule keeps it current.
Scope Guard: AGENTS.md rules for small tasks scope-guard-rulesAsked to change a config, it builds a framework: minimum sufficient change, reuse first, ask before widening, test narrowly.
Disk map of dev leftovers disk-map-of-dev-leftoversDisk almost full: a read-only scan, a treemap of what development left behind, and a cleanup script only for what you tick.
One AGENTS.md for Claude Code and Codex one-agents-md-for-both-agentsTwo agents, one rules file: plan first, smallest change, subagent roles, own the bug, verify before done, Lessons per correction.
Untangle /goal for spaghetti code untangle-goalMonths of vibe coding left the code in knots: an HTML wiring diagram, the worst numbered in red, then fixes tested one by one.
Investigate-and-plan prompt for Codex investigate-and-plan-promptBefore it implements on a guess: repo read, goal restated, assumptions and plan listed, then a stop for your approval.
Repeated PR comments as AGENTS.md rules pr-comments-as-agents-md-rulesA reviewer keeps flagging the same things: 50 recent PRs scanned, issues ranked by count, your picks written into AGENTS.md.
Archify: system diagrams from code archify-system-diagramsA system you have to explain: an HTML diagram you can search, trace up and downstream, compare across versions, export as PNG.
REA: take apart another app's feature rea-take-apart-a-featureA feature you like and can't see how it's built: taken down layer by layer, each finding with evidence, then a plan for your own.
Less defensive code: 4 AGENTS.md rules less-defensive-codeEven a tiny change gets null checks at every layer: Codex checks data once where it comes in, then just uses it.
CI time audit: 150 runs, 9 checks ci-time-auditCode takes minutes, then each PR waits on CI: the 5 slowest jobs split into queue, setup and run, and the line to change per fix.
MIT axiomatic design check for coupled code axiomatic-design-coupling-checkFixing one bug breaks ten other things: an MIT axiomatic design analysis that says whether your code is coupled.
Agent workspace audit agent-workspace-auditYour agent feels dumber over time: every instruction, skill, MCP and memory marked KEEP or REMOVE, cleared on your OK.
Agent memory tools: 8 repos in 4 kinds agent-memory-tools-8-reposNo memory of code, notes, sessions or long tasks: 8 repos in those 4 kinds, one of each installed on your OK.
3 slimmer AGENTS.md plans side by side 3-slimmer-agents-md-plansAGENTS.md past 200 lines gets followed less: 3 slimmer versions, each more aggressive, nothing lost, shown before changes.
No compatibility code yet: AGENTS.md rules no-compatibility-code-yetNo users yet, but the agent adds compatibility code and migrations: skip both, then docs, tests, smallest change and cleanup.
Claude Code permissions: deny, ask and allow commands deny-ask-and-allow-permissionsClaude deleted a config that 'looked unused': risky commands blocked, pushes ask first, routine ones run, deny always wins.
Ask before edge-case code: one AGENTS.md line ask-before-edge-case-codeThe agent codes for races that never happen: one line makes it state the risk and the odds, then wait for your OK.
Claude Code project instructions from your sessions instructions-from-your-sessionsBackground you re-explain every new session: pulled from your last 20 sessions and written up as project instructions.
~/.codex and ~/.claude sorted before cleanup codex-and-claude-sortedA cleanup that could delete your chats: items sorted Keep, History, Work, Clearable or Unknown, each command approved by you.
Mod ideas from your last 20 sessions mod-ideas-from-20-sessionsRequests you repeat, commands you stop or undo, how you check changes: ranked by how much each would help, your words quoted.
/teach: strategic programming on your project teach-strategic-programmingSpend tokens learning what AI can't replace: 3 questions about your codebase, then MISSION.md, a curriculum and lessons on it.
Bug-fix loop rules for CLAUDE.md or AGENTS.md bug-fix-loop-rulesAgents that both fix and review can't stop going back and forth: stop after two failed fixes, review only this round's changes.
ub-mode: the Clean Code author's agent rules ub-mode-clean-code-agent-rulesYour agent's code hides bugs and its tests fool you: a skill it follows on every change, with crapper, dryer and mutator checks.
Outdated CLAUDE.md and AGENTS.md review outdated-claude-md-reviewAgents follow an outdated CLAUDE.md over your code: its old instructions identified, and a rule that puts code first.
Repeat mistakes as helpers and lint rules repeat-mistakes-as-lint-rulesThe agent keeps making one mistake: the right way in a helper, the old way banned by lint, an error that names the helper to use.
Situation routing rules for skills situation-routing-for-skillsYour agent often forgets to use what you install, so you call each by name: the best fit per task, with one line on which and why.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA Codebase Tips?

Codebase · 29 tips: repo index and map, coding principles, AGENTS.md, scope rules.

¿Por qué usar Codebase Tips en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Codebase Tips está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Codebase Tips en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/Heyvhuang/copybook-skills/tree/main/plugins/copybook-zh/skills/codebase-tips. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Codebase Tips?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Codebase Tips?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Codebase Tips con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Codebase Tips?

Sí. Heyvhuang la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇