project-learnings
БесплатноБез исполняемых скриптовНе проверенUse PROACTIVELY, without being asked, at the START of any multi-step task in a git repo, project folder, or vault (before reading files) and at the END of one…
от infranodus★ 128 звёзд на GitHubОб этом скилле
Project Learnings
An agent that works in a project keeps rediscovering the same things: which
of nine files holds the model list, that the tests only exist as ad-hoc
scripts, why a cache is per-process, which command actually deploys. This
skill turns those rediscoveries into a learnings graph in the user's
InfraNodus account — learn-<project> — that the next session reads before
it starts and appends to when it finishes.
It is a graph rather than a notes file because learnings link to the same entities (file paths, modules, concepts) as everything else in the project: "which parts of the codebase accumulate traps" is a graph query, and the gaps between what is known and what the code contains show where nobody has looked yet.
Prerequisites
The connected InfraNodus MCP server must expose these three tools (added
after infranodus-mcp-server 1.7.4; hosted at https://mcp.infranodus.com or
the npm package):
get_project_learnings— read (by prompt, by entity, overview, or list)add_project_learnings— propose / write (dry run by default)enable_project_learnings— create the graph, only on the user's explicit request
If they are missing from the tool list, say so once ("the connected
InfraNodus server doesn't expose project learnings; update it or connect
https://mcp.infranodus.com") and continue the task without this skill. Do
not emulate the feature with memory_add_relations — that would bypass the
consent model.
Consent — read before anything else
- Nothing is written unless the user enabled learnings for this project.
add_project_learningsrefuses (enabled: false) when the graph does not exist and never creates it. Never callenable_project_learningson your own initiative — only when the user explicitly asks to start keeping learnings for a project. Before that call, tell them in two sentences what will be stored (project knowledge only), where (a private, append-only graph in their InfraNodus account that they can delete at any time), and that each batch is shown before it is saved. - Show every batch before it is written.
add_project_learningsis a dry run by default. Present the plan, ask, and only then call again withconfirm: true. If the client supports MCP elicitation the server asks the user itself and writes in the same call. Skip the question only when the user has said, in this conversation, that they do not want to be asked. - Project knowledge only. "The model list lives in nine files" is a learning. "The user prefers short answers" is not — that belongs in the client's own memory, never in a shared graph.
- No secrets, hostnames, env values, credentials, customer data, or verbatim error output. Paths and descriptions only. The server rejects secret-like statements and reports only their index.
- If
get_project_learningsreturnsenabled: false, carry on with the task without this skill. At the end of a substantive task, if you hold at least one learning that passes the admission criteria below, say once — one sentence — that learnings are not enabled for this project and can be turned on with "start keeping learnings". Never repeat that in the same session, and never enable on your own. With nothing worth keeping, stay silent.
Workflow
1. Start of a substantive task — retrieve
Call get_project_learnings with the project name and the task as prompt.
Use the same project name every time (the repo or folder name; call the tool
with no project to see which names already exist in the account). The
response carries the most relevant learnings, the areas that have
accumulated knowledge (knownAreas), and the gaps. Read them before
opening files. Skip for trivial tasks (a typo, a one-line answer).
2. Before touching an unfamiliar area — look up the entity
get_project_learnings with entity set to the file path, module, or
concept returns every learning that mentions it. Cheap; do it before the
first edit in an area this session has not visited.
3. End of a substantive task — reflect
A substantive task is multi-step, involved discovery, a correction from the user, or a non-obvious fix. Ask yourself four questions:
- What did I have to discover that was not in the docs or obvious from the code?
- Where did I go wrong first, and what was the actual cause?
- What decision did I make, and why that one?
- What would I check first next time?
- Self-assessment: what about my approach worked well in this project and
should be repeated, and what should I do differently next time — which
check would have caught a mistake earlier, which order of steps saved
effort, where did I over- or under-verify? Save these with type
approach. Be as honest about what went well as about what did not: both are equally useful to the next session.
Draft 0–5 statements. Zero is a normal answer; do not pad. Each must pass all five admission cri
Установить project-learnings в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл project-learnings?
Use PROACTIVELY, without being asked, at the START of any multi-step task in a git repo, project folder, or vault (before reading files) and at the END of one (to reflect and save). Applies whenever the user asks to implement, fix, refactor, debug, or investigate something in a project, whenever a first attempt was wrong or the user corrected the agent, and whenever the agent rediscovers something a previous session should have known. Retrieves what earlier sessions learned about operating in the project and saves durable insights (locations, traps, conventions, decisions with rationale, workflows, open questions, what to do differently) to an opt-in, append-only InfraNodus graph named learn- plus the project name. Also on "what do we know about this repo?", "what did I learn?", "save learnings", "remember this about the project", "start keeping learnings", "/learnings". Load before calling get_project_learnings, add_project_learnings, or enable_project_learnings directly. Never writes without the user's explicit per-project opt-in and review of each batch. Project knowledge only, never anything about the person.
Как установить скилл project-learnings?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл project-learnings запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic