learn

GitHub

管理项目跨会话学习记录,支持保存、搜索、召回、摘要、清理和导出结构化知识(如调试洞察、架构决策),促进经验积累与复用。

skills/learn/SKILL.md Houseofmvps/ultraship

Trigger Scenarios

用户希望记录项目中的关键发现或决策 用户在开始任务前需要回顾相关历史经验 用户需要整理或分享项目知识库

Install

npx skills add Houseofmvps/ultraship --skill learn -g -y
More Options

Use without installing

npx skills use Houseofmvps/ultraship@learn

指定 Agent (Claude Code)

npx skills add Houseofmvps/ultraship --skill learn -a claude-code -g -y

安装 repo 全部 skill

npx skills add Houseofmvps/ultraship --all -g -y

预览 repo 内 skill

npx skills add Houseofmvps/ultraship --list

SKILL.md

Frontmatter
{
    "name": "learn",
    "description": "Manage project learnings across sessions. Save, search, recall, digest, prune, and export learnings that compound over time. Use when user wants to record, recall, or share project knowledge.",
    "allowed-tools": "Bash, Read, Write, Grep",
    "argument-hint": "<save|search|recall|digest|list|prune|export> [query]"
}

Project Learnings Manager

Learnings are structured knowledge that compounds across sessions. They capture what worked, what didn't, decisions made, and patterns discovered — things that can't be derived from code alone.

Announce at start: "I'm using the learn skill to manage project learnings."

Commands

Save a learning

When the user discovers something worth remembering — a debugging insight, an architecture decision, a deployment gotcha, a tool preference:

node ${CLAUDE_PLUGIN_ROOT}/tools/learnings-manager.mjs save --title "Title here" --body "Detailed learning content" --tags "tag1,tag2"

What to save:

  • Debugging insights ("Redis connection pool exhausts at 50 concurrent requests")
  • Architecture decisions and their rationale ("Chose BullMQ over pg-boss because...")
  • Deployment gotchas ("Railway needs NODE_ENV=production explicitly set")
  • Performance findings ("Drizzle select() is 3x faster than query() for simple lookups")
  • Integration quirks ("Polar.sh webhooks retry 3x with exponential backoff")

What NOT to save:

  • Code patterns (read the code instead)
  • Git history (use git log)
  • Temporary debugging state (that's for the current session)

Search learnings

node ${CLAUDE_PLUGIN_ROOT}/tools/learnings-manager.mjs search --query "keyword"

Search by title, body content, or tags. Returns all matches, unranked.

Recall the most relevant learnings (ranked)

node ${CLAUDE_PLUGIN_ROOT}/tools/learnings-manager.mjs recall --query "keyword" [--limit N]

Prefer recall over search when you want the most relevant prior knowledge, not every match. It ranks by relevance (title > tag > body) with recency breaking ties, returns the top N (default 5) with one-line summaries and a score. Use this BEFORE starting work on a topic — it surfaces the learnings most likely to prevent a repeated mistake without dumping the whole history into context.

Digest the whole knowledge base (compression)

node ${CLAUDE_PLUGIN_ROOT}/tools/learnings-manager.mjs digest

Produces a compact, grouped-by-topic snapshot — one line per learning, primary tag only — so a long history stays readable in a few tokens. Inject this at session start (or after a compaction) to carry forward what the project has learned without re-reading every learning file. This is the long-session memory primitive: digest to load context cheaply, recall to drill into a topic.

List all learnings

node ${CLAUDE_PLUGIN_ROOT}/tools/learnings-manager.mjs list [--limit N]

Prune old learnings

node ${CLAUDE_PLUGIN_ROOT}/tools/learnings-manager.mjs prune --older-than 90

Removes learnings older than N days. Default: 90 days. Run periodically to keep the knowledge base fresh.

Export learnings

node ${CLAUDE_PLUGIN_ROOT}/tools/learnings-manager.mjs export --format markdown
node ${CLAUDE_PLUGIN_ROOT}/tools/learnings-manager.mjs export --format json

Export for sharing with team members or backing up before a major refactor.

Workflow Integration

At session start: Run digest to load a compact snapshot of what the project has learned, then recall --query "<topic>" when the user names a specific area — load cheap context first, drill in on demand.

After debugging: Save the root cause and fix as a learning — it will save hours next time.

After deployment issues: Save the gotcha — deployment problems recur.

Before major changes: Search for past learnings about the affected area.

During retrospectives: Use with /retro to cross-reference velocity data with learnings.

Storage

Learnings are stored in .ultraship/learnings/ in the project directory as JSON files. Each learning has:

  • id — unique identifier
  • title — short, searchable title
  • body — detailed content
  • tags — categorization for filtering
  • created_at / updated_at — timestamps

Add .ultraship/ to .gitignore if you don't want learnings in version control, or commit them to share with your team.

Version History

  • ed232cb Current 2026-07-24 16:15

Same Skill Collection

skills/a11y/SKILL.md
skills/architecture/SKILL.md
skills/brainstorming/SKILL.md
skills/canary/SKILL.md
skills/clone-patterns/SKILL.md
skills/code-review/SKILL.md
skills/compete/SKILL.md
skills/cost/SKILL.md
skills/demo/SKILL.md
skills/deploy/SKILL.md
skills/dispatching-parallel-agents/SKILL.md
skills/evals/SKILL.md
skills/executing-plans/SKILL.md
skills/finishing-a-development-branch/SKILL.md
skills/frontend-design/SKILL.md
skills/grow/SKILL.md
skills/guard/SKILL.md
skills/index-fix/SKILL.md
skills/investigate/SKILL.md
skills/launch/SKILL.md
skills/onboard/SKILL.md
skills/pentest/SKILL.md
skills/perf-audit/SKILL.md
skills/receiving-code-review/SKILL.md
skills/release/SKILL.md
skills/requesting-code-review/SKILL.md
skills/rescue/SKILL.md
skills/retro/SKILL.md
skills/revise-claude-md/SKILL.md
skills/security-audit/SKILL.md
skills/seo-audit/SKILL.md
skills/seo-strategy/SKILL.md
skills/ship-gate/SKILL.md
skills/sprint/SKILL.md
skills/staying-current/SKILL.md
skills/subagent-driven-development/SKILL.md
skills/systematic-debugging/SKILL.md
skills/test-driven-development/SKILL.md
skills/using-git-worktrees/SKILL.md
skills/using-ultraship/SKILL.md
skills/verification-before-completion/SKILL.md
skills/visual-diff/SKILL.md
skills/writing-plans/SKILL.md
skills/writing-skills/SKILL.md

Metadata

Files
0
Version
ed232cb
Hash
d64c1db4
Indexed
2026-07-24 16:15

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-16 22:54
浙ICP备14020137号-1 $mapa de visitantes$