capture-learnings

Record non-obvious conventions as durable artifacts in repository documents.

9|2|Updated Nov 27, 2008
One-click install
npx skills add https://github.com/adragomir/dotfiles --skill capture-learnings
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: capture-learnings
Source: https://github.com/adragomir/dotfiles/tree/main/.config/pi/agent/skills/capture-learnings
Command: npx skills add https://github.com/adragomir/dotfiles --skill capture-learnings

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Turn non-obvious discoveries into the smallest durable artifact so future work is faster and safer.

Core Features & Use Cases

  • Persist conventions and patterns as artifacts across code, config, tests, AGENTS.md, and docs.
  • Gate at task end or on explicit request to capture, record, or note a convention within the repository.
  • Route artifacts to the nearest governing document (e.g., AGENTS.md) or to a project-local storage location when applicable.

Quick Start

Capture a convention or pattern by asking to record it, and it will be persisted in the nearest AGENTS.md or project artifact.

Frequently Asked Questions about capture-learnings

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I capture non-obvious learnings and conventions as durable repository artifacts?

To capture learnings and conventions as durable artifacts, you record the discovery so it persists in code, config, tests, AGENTS.md, or docs. It acts as an automatic gate at task end to route findings to the nearest governing document.

When should I document project conventions to prevent high rediscovery costs?

You should document conventions when gate criteria like high rediscovery cost, high blast radius, high frequency, low discoverability, or stale guidance apply. Persisting these non-obvious discoveries as artifacts ensures future work is faster and safer.

What is the best way to record code conventions in AGENTS.md automatically?

The best way to record code conventions in AGENTS.md is to trigger an automatic capture gate at task end. It evaluates your discoveries and routes the durable artifacts to the nearest governing document within the repository.

How do I manage knowledge across code, config, and tests without manual documentation overhead?

Knowledge management across code, config, and tests is handled by capturing non-obvious discoveries as durable artifacts. By applying a gate at task end, it automatically records conventions to the nearest project-local storage location.

Can I persist project artifacts only when there are gaps in existing documentation?

Yes, you can persist project artifacts selectively by applying gate criteria such as gaps in existing documentation or stale guidance. It only records durable artifacts when these specific high-impact conditions are met.