Command Palette

Search for a command to run...

Назад к скиллам
скилл № 35442

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от 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-issue instead.

Quick Start

  1. Ensure synced (before any writes): manage_worktree.sh ensure-synced
  2. Invoke acquire-codebase-knowledge — full scan, refreshes all 7 docs in docs/reference/codebase/.
  3. Read all files in plan/incoming/learnings/ and query GitHub for open type:Concern issues (both are input queues).
  4. Invoke orient-agent then deepen-context for full context (spec map and governing specs, notes, code) — it now reads the freshly updated codebase docs.
  5. Analyze what the build process has learned vs. what specs and notes capture.
  6. Invoke grill-me to align on scope and decisions — before writing anything. Include GitHub Concern issue triage in this phase (no separate triage step needed).
  7. Create the task branch: git switch -c learn/<YYYYMMDD>-<slug> (worktree was already synced in step 1; branch here after slug is known)
  8. Write to specs/, notes/, and AGENTS.md.
  9. Archive each processed incoming learning file via uv run append-history --from-file <path> (which moves the file to plan/history/YYMM/learning/ and deletes the source). Archive each resolved Concern issue via uv run append-history learning and close the issue with a resolution comment.
  10. Invoke format-markdown.
  11. Commit (including updated docs/reference/codebase/ files), push, and open a docs-only PR with specs-notes label.

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

  1. Read all files in plan/incoming/learnings/ — open questions, observations, and constraints from recent build/bugfix runs (ephemeral queue; files are moved to plan/history/YYMM/learning/ after archiving).

  2. Query GitHub for all open type:Concern issues — these are the tracked technical concerns, risks, and debt items surfaced by prior codebase scans and the process-concerns skill (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 concern label — the type is authoritative (see notes/parallel-development.md § "GitHub Issue Tracker"), and the two do not agree: the label matches 13 open issues where the type matches 53. reflect-cycle gates this same queue on the type, so a label query here makes the two skills disagree about whether learn has input.

  3. Invoke orient-agent then deepen-context for 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-context routes through decision records by title and adr: 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-context will read up-to-date architecture and structure information.

plan/incoming/learnings/ is an ephemeral queue. Files are moved to plan/history/YYMM/learning/ after archiving. Any critical insight in an entry must be promoted to specs/ or notes/ before being archived.

Phase 2 — Analyze Gaps and Staleness

See `.claude/skills/

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

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), без исполняемых скриптов.

Похожие скиллы

Сравнить learn с