Command Palette

Search for a command to run...

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

deepen-context

Load task-specific context after the target issue is known. The caller passes focus hints (e.g., "wire layer", "BT integration", "embargo lifecycle") and this…

БесплатноБез исполняемых скриптов
CERTCCот CERTCC★ 22 звезды на GitHub

Установить deepen-context в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Skill: Deepen Context

Load task-specific context after the target issue is known. The caller provides focus hints; this skill reads only what is relevant.

Inputs

The calling skill passes one or more focus hints describing what area of the codebase or design the task touches. Examples:

  • "wire layer" — AS2 parsing, extraction, activity patterns
  • "BT integration" — behavior tree nodes, blackboard, py_trees
  • "embargo lifecycle" — EM state machine, PEC transitions
  • "case state model" — RM/CS/EM state machines, CaseStatus
  • "adapter layer" — FastAPI inbox, SQLite data layer, emitters
  • "testing" — pytest fixtures, test data quality, integration tests

The caller also passes the spec floor: every spec ID or group ID cited in the issue, plan, or PR (for example, the issue's Governing specs: line). Pass an empty floor explicitly when none are cited.

Procedure

Step 1 — Read relevant glossary sections and notes

Glossary. The term index from orient-agent gives each section of docs/reference/glossary.md a line range. Read the sections matching the focus hints (read by offset/limit, not the whole file). Also read Flagged Ambiguities when the task names, renames, or introduces a domain term.

Notes. notes/README.md is the index of active design notes, with a Load when line per file. It is ~1000 lines — larger than most notes it indexes — so grep it for the focus-hint terms, or read its Load when lines, rather than reading it whole. Then read the notes/*.md files it points at. Most tasks need 1–3.

Always-relevant notes for implementation work:

  • notes/architecture-hexagonal.md — layer rules and import constraints
  • notes/codebase-structure.md — common pitfalls and file organization
  • notes/triggers-test-coverage.md — always read when the task adds or touches any SvcXxxUseCase class; documents which trigger use-cases require a dedicated test file under test/core/use_cases/triggers/

Read additional notes files based on focus hints. When in doubt, read rather than skip — missing context causes incorrect implementation.

Step 2 — Route through decision records by title and edge

A decision record (ADR) is history: what was decided and why, as of its date (ADR-0127). Specs and notes carry the current rule. Route through records by their titles and the adr: edges that requirements carry, and leave the bodies closed:

  1. Titles. Grep the generated sections of docs/adr/index.md, from ## Accepted ADRs down, for the focus-hint terms. Each line gives a record's number and title, and its section gives the status. The preamble above those sections is authoring guidance, so skip it.

  2. Edges. Load the requirements that each in-scope record generated:

    PYTHONPATH= uv run spec-dump --adr ADR-NNNN,ADR-MMMM --text
    

    Carry their groups into Step 3 as selected groups. A requirement that cites a proposed or accepted-provisional record rests on an unvalidated decision, so say that to the caller.

  3. Prose-only records. Some live records have no adr: edge, and are reached only by a citation in specs/ or notes/. For each one, spec-dump prints note: no requirement names ADR-NNNN in adr:. Run grep -rn ADR-NNNN specs/ notes/ and read the files it names in Step 1 or Step 3. They state the rule in full (MS-11-011). A record with no citation at all is in RECORD_ONLY_EXEMPTIONS (vultron/metadata/adr/back_edges.py). Those records are about how decision records are kept, and routine work needs nothing from them.

Step 2 is done when every in-scope record is routed. Each one goes to requirements via its edges, to the specs or notes that cite it, or is confirmed record-only. If the task turns on whether an alternative was already weighed and rejected, or a requirement and its record seem to disagree, hand it to the caller or to decision-audit. Those are questions about the record itself.

Skills that read record bodies

The routing above is for routine task context. The skills below make the record their object of work, so they keep full access and read bodies in full. Each one weighs what it reads by .agents/skills/shared/weighing-decision-records.md:

Skill Why it reads bodies
decision-audit It re-derives a record's premise adversarially, so the reasoning and the rejected options are the thing under audit.
create-architectural-decision-record It writes and revises records, and it must read the neighbouring records to avoid duplicates and to set supersedes: links. It lives outside this repository, in the user's skills.
domain-modeling It records and edits ADRs while sharpening the domain model, for the same reasons as record authoring. It lives outside this repository, in the user's skills.
learn It writes the "Generated spec requirements" line of a record's More Information section (MS-11-010), and decides whethe
Полный SKILL.md на GitHub

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

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

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

FAQ

Что делает скилл deepen-context?

Load task-specific context after the target issue is known. The caller passes focus hints (e.g., "wire layer", "BT integration", "embargo lifecycle") and this skill reads the relevant glossary sections, notes files, and codebase reference files, routes through decision records by title and `adr:` edge, and loads the governing specs (emitting a Spec manifest). Run after orient-agent, once the issue to be worked has been selected and read. Replaces study-project-docs Phase B.

Как установить скилл deepen-context?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл deepen-context запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить deepen-context с