learn
Promote lessons learned from the build process into durable specifications and design notes, and prune notes sections that are now stale. First refreshes…
от CERTCC★ 22 звезды на GitHub
Установить learn в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Skill: Learn
Integrate lessons learned from build execution into the project's durable
specification and design documentation. The inputs are what the build process
has discovered (plan/incoming/learnings/ — individual per-entry files) and
open GitHub type:Concern issues tracked in the repository; the output is
refined specs/, notes/, and AGENTS.md.
Constraint: Modify documentation files only, including Markdown files,
YAML spec files in specs/, and (conditionally for small in-session
translations) docs/. Do not modify code or tests.
Trigger: Use this skill when plan/incoming/learnings/ has unprocessed
entries that should be promoted into durable docs.
For new external ideas (GitHub Idea-type issues), use
plan-issueinstead.
Quick Start
- Ensure synced (before any writes):
manage_worktree.sh ensure-synced - Invoke
acquire-codebase-knowledge— full scan, refreshes all 7 docs indocs/reference/codebase/. - Read all files in
plan/incoming/learnings/and query GitHub for opentype:Concernissues (both are input queues). - Invoke
orient-agentthendeepen-contextfor full context (spec map and governing specs, notes, code) — it now reads the freshly updated codebase docs. - Analyze what the build process has learned vs. what specs and notes capture.
- Invoke
grill-meto align on scope and decisions — before writing anything. Include GitHub Concern issue triage in this phase (no separate triage step needed). - Create the task branch:
git switch -c learn/<YYYYMMDD>-<slug>(worktree was already synced in step 1; branch here after slug is known) - Write to
specs/,notes/, andAGENTS.md. - Archive each processed incoming learning file via
uv run append-history --from-file <path>(which moves the file toplan/history/YYMM/learning/and deletes the source). Archive each resolved Concern issue viauv run append-history learningand close the issue with a resolution comment. - Invoke
format-markdown. - Commit (including updated
docs/reference/codebase/files), push, and open a docs-only PR withspecs-noteslabel.
Workflow
Phase 0 — Sync and Refresh Codebase Knowledge
First, ensure the worktree is synced to origin/main before any file
writes:
bash .agents/skills/shared/sync-check.sh
If that script is absent, verify git rev-list HEAD..origin/main returns 0
before continuing.
Do this before acquire-codebase-knowledge runs — the scan regenerates
files in docs/reference/codebase/ (uncommitted), and those outputs must not
be clobbered by a later git reset --hard.
Then invoke the acquire-codebase-knowledge skill (full scan, no focus area
restriction). This regenerates all seven files in docs/reference/codebase/
from the current state of the repository before any gap analysis begins,
ensuring orient-agent in Phase 1 reads an accurate baseline.
Always run this phase unconditionally — learn runs infrequently enough
that the cost of a full scan is justified on every invocation.
Phase 1 — Load Internal Sources and Context
Read all files in
plan/incoming/learnings/— open questions, observations, and constraints from recent build/bugfix runs (ephemeral queue; files are moved toplan/history/YYMM/learning/after archiving).Query GitHub for all open
type:Concernissues — these are the tracked technical concerns, risks, and debt items surfaced by prior codebase scans and theprocess-concernsskill (second input queue; resolved issues are archived and closed):gh issue list \ --repo CERTCC/Vultron \ --state open \ --limit 1000 \ --json number,title,body,issueType \ --jq '.[] | select(.issueType.name == "Concern")'Select on the issue type, not a
concernlabel — the type is authoritative (seenotes/parallel-development.md§ "GitHub Issue Tracker"), and the two do not agree: the label matches 13 open issues where the type matches 53.reflect-cyclegates this same queue on the type, so a label query here makes the two skills disagree about whetherlearnhas input.Invoke
orient-agentthendeepen-contextfor full context: the spec map plus the specs governing the learnings and Concerns in scope, plan files, notes/, AGENTS.md, and a code scan.deepen-contextroutes through decision records by title andadr:edge only, so read in full any record body this run writes to (Phase 4 below). Because Phase 0 has already refreshed the codebase docs,orient-agent/deepen-contextwill read up-to-date architecture and structure information.
plan/incoming/learnings/is an ephemeral queue. Files are moved toplan/history/YYMM/learning/after archiving. Any critical insight in an entry must be promoted tospecs/ornotes/before being archived.
Phase 2 — Analyze Gaps and Staleness
See `.claude/skills/
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл learn?
Promote lessons learned from the build process into durable specifications and design notes, and prune notes sections that are now stale. First refreshes docs/reference/codebase/ via acquire-codebase-knowledge, then reads plan/incoming/learnings/ and queries GitHub for open type:Concern issues (both as input queues), analyzes gaps and staleness in existing notes sections, interviews the user with grill-me to align on scope, then writes to specs/, notes/, and AGENTS.md (and conditionally docs/ for small in-session translations), opens a docs-only PR with the specs-notes label, and archives processed entries and stale note cards to plan/history/. Use when build execution has produced insights that should be reflected in specs or notes, or when notes/ needs pruning after features are delivered. For external ideas (GitHub Idea-type issues), use `plan-issue` instead.
Как установить скилл learn?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл learn запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
AnthropicGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
webapp-testing
AnthropicToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
brand-guidelines
AnthropicApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
web-artifacts-builder
AnthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…