Turn technical conversations, bugs, CI failures, review comments, and repeated agent mistakes into durable project improvements. Use when the user asks what should be automated, documented, tested, added to AGENTS.md/CLAUDE.md, wired into CI, or changed so the same issue does not happen again. This skill is for both non-technical and technical users: it explains the learning in plain English, inspects the repository, chooses the right prevention layer, proposes changes first, and only edits project files when explicitly asked.
79
100%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
This skill is the prevention layer after technical work. It analyzes the conversation and the repository, then promotes useful lessons into the project itself: agent instructions, tests, CI, scripts, templates, docs, or architecture decisions.
The project is the source of truth. Do not depend on private memory systems, personal vaults, or one agent host. A good outcome makes the repository easier for the next human or agent to work in.
Read only what the task needs:
references/conversation-analysis.md when extracting lessons from a conversation, transcript, review, bug, or user correction.references/promotion-matrix.md for deciding whether the lesson belongs in instructions, tests, CI, scripts, docs, ADRs, or nowhere.references/agent-instructions.md when changing or proposing AGENTS.md, CLAUDE.md, .claude/rules/, Cursor rules, or other agent guidance.references/ci-policy.md before recommending CI, especially for private repositories, paid runners, long checks, or open-source projects.references/testing-policy.md before recommending regression tests or coverage changes.references/project-memory.md when the repository needs a durable place for decisions, runbooks, templates, or recurring project knowledge.references/cross-agent-linking.md when multiple agent hosts need the same instructions.references/non-technical-mode.md when the user is not clearly technical or asks for a simple explanation.references/examples.md for concrete before/after patterns.Use scripts when helpful:
scripts/inspect_project_guidance.py --cwd <repo> finds AGENTS.md, CLAUDE.md, symlinks, imports, and adjacent agent rule files.scripts/inspect_ci_surface.py --cwd <repo> summarizes workflows, scripts, and CI cost signals.scripts/classify_learning.py --text "<lesson>" gives a first-pass destination for a lesson.Read the current conversation or supplied transcript. Identify:
If the request is ambiguous, continue with best judgment and state assumptions. Ask a question only when the missing detail changes the recommended safeguard.
Map the repository before recommending changes:
AGENTS.md, CLAUDE.md, .claude/CLAUDE.md, .claude/rules/, .cursor/rules/, .github/copilot-instructions.mddocs/, ADRs, runbooks, templates, changelog, issue/PR templatesWhen CLAUDE.md exists but AGENTS.md does not, treat that as a portability gap. Propose a shared AGENTS.md plus a CLAUDE.md adapter or symlink unless there is a good reason to keep Claude-only instructions.
Use the promotion matrix:
AGENTS.md or equivalent shared project instructionsCLAUDE.md adapter after shared instructionsDifferentiate:
If the user is non-technical, explain CI choices in cost/risk terms, not runner jargon.
Use this output contract by default:
# Engineering Learning Loop Review
## Plain-English Verdict
<what should change and why, in non-technical language>
## Technical Diagnosis
- Conversation signal:
- Project gap:
- Earlier detection point:
- Best prevention layer:
## Recommended Changes
| Priority | Destination | Change | Why | Cost |
| --- | --- | --- | --- | --- |
## Proposed Instruction Text
<exact AGENTS.md/CLAUDE.md/rule text, or "None">
## Proposed Test Or CI
<specific test/check/command and where it should run, or "None">
## Documentation Or Decision Record
<doc/runbook/ADR/template update, or "None">
## Not Worth Automating
<items deliberately left manual and why>
## Apply Plan
1. <smallest safe patch step>
2. <verification step>When asked to apply:
AGENTS.md and CLAUDE.md, inspect whether one imports or symlinks the other before editing.A successful run produces fewer future interruptions. The next person or agent can discover the rule, run the check, understand the decision, and avoid repeating the same class of mistake without needing this conversation.
8d000e5
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.