How to use
- Copy the installation command and review the source package before installing it in your own agent environment.
- Check the source document for required tools, credentials and supported hosts.
- Describe your input and desired deliverable; review the output against the source material.
npx skills add https://github.com/robsonrung/rar-skills --skill capture-learningBefore you start
- Installation does not include a model subscription, API allowance or permission to access your files.
- Repository stars and installation counts describe activity, not an independent quality or security test.
Rendered from the source repository. Headings, examples, code, tables, links, and referenced images are preserved.
Capture Learning
Create one source-grounded solution document that a later engineer can find and use. The next consumer is someone facing the same problem. Done means the document is written, validated, and does not state an unverified claim as fact.
Scope
Capture one learning per run. It must describe a solved, verified, and non-obvious problem. If the evidence does not meet that bar, do not write a weak document. In mode:headless, return Documentation skipped with the reason. In an interactive run, ask only when the solved problem itself is unclear.
This skill writes only the solution document. When an existing CONCEPTS.md has a qualifying missing term, update that entry too. Do not create a glossary, edit project instructions, search unrelated memory, or turn this run into a documentation audit.
Workflow
- Read the relevant conversation evidence, changed source, verification results, and nearby solution documents. Source and captured command results outrank session recollection.
- Read
references/schema.yamlandreferences/yaml-schema.mdto classify the learning and choose its destination. Readreferences/resolution-template.mdfor the required body shape. - Check for an existing document about the same problem. Update it when the problem, cause, and solution materially match; otherwise create one new document. Keep the path stable when updating.
- Ground every behavior claim in current source with a
file:linereference. Describe merge state only when it is verified. Attribute or remove claims that cannot be verified. - Read
references/concepts-vocabulary.mdonly when an existing glossary may need a qualifying term. Keep the glossary change within the learning's domain. - Run
scripts/validate-frontmatter.pyandscripts/validate-doc-claims.pyfrom this skill's directory. Readreferences/grounding-validation.mdto adjudicate flags. Fix, annotate, or confirm each flag; never silently ignore one. If a validator cannot run, perform its documented manual checks and report that fallback.
Headless mode
mode:headless means no questions and no optional expansion. Use it only when the caller supplies a verified fix and enough context to identify one learning. End with one of these exact terminal lines:
Documentation completeDocumentation skippedOutput
Report the mode, created or updated path, classification, validation result, glossary result, and any grounded limitation. Lead with the outcome. A headless report also states the skip reason when no document was written.
The acceptance contract is simple: a later reader can identify the problem, recognize when the solution applies, follow the verified resolution, and distinguish evidence from history.



