learn

Review, search, prune, and export project learnings captured across gstack sessions.

Updated Mar 16, 2026
One-click install
npx skills add https://github.com/bobbo01/B2BPlatform --skill learn-bobbo01
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: learn
Source: https://github.com/bobbo01/B2BPlatform/tree/main/.agents/skills/gstack-learn
Command: npx skills add https://github.com/bobbo01/B2BPlatform --skill learn-bobbo01

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Teams lose hard-won knowledge between sessions: patterns discovered during code reviews, pitfalls hit during debugging, and architecture decisions fade from memory. This Skill manages a persistent learnings store so insights captured by gstack workflows stay searchable, current, and exportable. ## Core Features & Use Cases - Browse and search learnings: Show the most recent 20 entries grouped by type, or run keyword searches across patterns, pitfalls, preferences, and architecture notes. - Prune stale knowledge: Detect learnings that reference deleted files or contradict each other, then remove or update them through a guided prompt. - Export and stats: Export learnings as Markdown ready for CLAUDE.md or project docs, view deduplicated counts by type and source, and manually add new entries with confidence scores. - Use Case: Before starting a refactor, run a search to check whether a similar bug was fixed before, then export the curated learnings into your project documentation for the whole team. ## Quick Start Ask the assistant to show what gstack has learned on this project so far.

Frequently Asked Questions about learn

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

FAQPage Schema
How do I see what learnings gstack has captured on my project?

Run the learn command with no arguments to show the 20 most recent learnings grouped by type. Entries are read from the per-project learnings.jsonl file under your gstack home directory.

How do I search past project learnings for a specific topic?

Use the search subcommand with your query terms, for example searching for a library name or bug symptom. The skill runs gstack-learnings-search with your query and returns up to 20 matching entries.

Can I export project learnings into CLAUDE.md or documentation?

Yes, the export command formats learnings as a Markdown section grouped into Patterns, Pitfalls, Preferences, and Architecture with confidence scores. You can then append it to CLAUDE.md or save it as a separate file.

How does the skill detect stale or contradictory learnings?

The prune command checks whether files referenced by each learning still exist in the repo and flags entries with the same key but conflicting insights. You then choose to remove, keep, or update each flagged entry.

Can I manually add a learning without running another skill?

Yes, the add command prompts for a type, short kebab-case key, one-sentence insight, confidence score from 1 to 10, and optional related files. It then appends the entry to learnings.jsonl via gstack-learnings-log.