# Capture Project Lessons

Teams lose project-specific lessons after chat sessions end. This skill extracts patterns, quirks, and decisions into a persistent knowledge base.

## Install

```bash
npx skillstore add 0xrdan/learn
```

## Metadata

- Status: approved
- Slug: 0xrdan-learn
- Skillstore revision: r1
- Version status: missing
- Tree hash: 2c318738505a7c1492f8542469d1165c0d94ce62fcef81ca5f52c03be1af71ee
- Author: 0xrdan
- GitHub username: 0xrdan
- License: MIT
- Repository: https://github.com/0xrdan/claude-router/tree/main/.claude-plugin/skills/learn
- Ref: e9e4712298ed071d92417a41714be123eb8364fa
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands
- Quality score: 70
- Public page: https://skillstore.pages.dev/skills/0xrdan-learn
- Manifest: https://skillstore.pages.dev/api/skills/0xrdan-learn/manifest

## Capabilities

- Extracts project patterns, quirks, and decisions from the current conversation.
- Supports quick extraction and a deeper analysis mode using an Explore agent context.
- Appends formatted entries to patterns, quirks, and decisions knowledge files.
- Updates knowledge metadata, including entry counts, timestamps, and extraction state.
- Checks existing knowledge entries to avoid duplicate lessons.
- Reports a short summary of what was learned and current knowledge totals.

## Use Cases

- Preserve Debugging Lessons: Capture a root cause, fix, and workaround after a complex debugging session.
- Record Architecture Decisions: Store the context and rationale behind implementation choices for future project work.
- Maintain Project Memory: Build a reusable knowledge base that survives context resets and handoffs.

## Prompt Templates

### Save a Simple Lesson

```
Use learn to save the most important project-specific lesson from this conversation.
```

### Capture a Debugging Quirk

```
Use learn to document the quirk we discovered, including where it appears and the recommended workaround.
```

### Record a Decision

```
Use learn to record the decision we made, the alternatives considered, and the rationale for the final choice.
```

### Run Deep Extraction

```
Use learn with deep analysis to find related project patterns, validate them against the codebase, and update the knowledge base.
```

## Limitations

- It only extracts insights from the current conversation context.
- It assumes the project uses the expected knowledge directory and state file structure.
- It does not include explicit secret redaction rules.
- Confidence labels are model judgments and should be reviewed for important workflows.

## Best Practices

- Review generated knowledge entries before committing them to the repository.
- Remove secrets and private details from the conversation before running the skill.
- Use deep analysis after major debugging sessions or architecture decisions.

## Anti Patterns

- Do not store generic programming advice that is not specific to the project.
- Do not run the skill on conversations that contain unredacted secrets or private customer data.
- Do not let low-confidence entries drive routing or design decisions without review.

## Security Audit

- Audited at: 2026-07-04T13:52:58.329\+00:00
- Summary: The static backtick and reconnaissance detections are false positives from markdown formatting, inline file names, and example text in SKILL.md. I found no prompt injection or external command execution. The main risk is intentional persistence of conversation-derived knowledge without explicit redaction guidance.

## Stats

- Views: 241
- Downloads: 27
- Favorites: 0
- Popularity score: 0
