Command Palette

Search for a command to run...

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

Trace Intent

Reconstruct why a decision was built this way from evidence outside code (design rationale, archaeology), reporting unknowns; persists INTENT.md. Use when…

БесплатноБез исполняемых скриптов
melodic-softwareот melodic-software★ 34 звезды на GitHub

Установить Trace Intent в Claude Code и Claude Desktop

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

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

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

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

Trace intent

Arguments. <target>. e.g., /discovery:trace-intent the retry backoff in api/client.ts, /discovery:trace-intent why we chose the local-markdown adapter

Purpose

Reconstruct intent from the records outside the code (review threads, tickets, design documents, incident timelines), which are partial, contradictory, and sometimes gone, and say plainly which parts could not be recovered. /discovery:explore answers what IS, /discovery:research what SHOULD BE, and this skill what WAS, and why. Never build a confident story from thin evidence: a plausible narrative about a decision is worse than an admission of ignorance, because it is acted upon.

Routing. Dispatch by default

From the main conversation, this skill dispatches the discovery:intent-tracer subagent. Intent archaeology reads a lot of other people's writing: review threads, ticket histories, design documents. Keeping that out of the orchestrator's context window is the point. The agent investigates each resolvable category, writes the artifact set, and returns a file pointer plus a verification request, not the transcript. The parent resolves the pre-dispatch envelope first: six fields (target on the Topic: line, reason, memory-slice path, memory root, budget, capability flags), written into the dispatch prompt as the labeled template in the parent contract, and owns the post-dispatch boundary after: re-surfacing open_questions, dispatching the sibling verifier for tier assignment, and writing that verdict back into the index. Before that verifier, run bash "${CLAUDE_PLUGIN_ROOT}/lib/read-verification.sh" --plugin discovery --skill trace-intent --file docs/conventions/discovery.yaml and report its line: light and off skip it and write verification: skipped (<level>), per the parent contract's "The sibling verifier, stated once". The spawn's model follows the parent contract's "The worker's model is the parent's call": pass one only when a multi-agent config layer moves the intent-tracer's role off its pin.

Run inline instead for tight turn-by-turn iteration, for cost, or when the invoking context is already a subagent, and inline runs the identical discipline; the escape hatch relaxes nothing below. An un-runnable gate is not one of the three reasons: probe --help on the artifact checker before dispatching, and a denied or errored probe halts rather than routing you inline. All three reasons in full, and the halt rule: context/dispatch.md.

Discipline-liveness token. A dispatched agent receives this body through its skills: preload, and nothing else in its run shows whether that preload resolved. The record for that harness behavior is ${CLAUDE_PLUGIN_ROOT}/reference/parent-contract.md, "Harness facts the dispatch design rests on". The disk fallback Reads this same file, so a matching preload_token is file-identity, not proof that preload fired. A missing or mismatched token is a hard failure: the parent discards the run. Provenance is preload: fired | fallback; fallback is the accepted recovery.

discovery-trace-intent-preload-7b3e2d

Pre-dispatch: create the memory slice and touch <that slice>/.trace-intent-dispatch as the acceptance gate's freshness baseline. Without it a slice already holding an earlier run's index passes every on-disk check even when this dispatch wrote nothing. Both shell forms of that command are in the parent contract. Copy the one matching this session's shell, because the POSIX form's touch is not a command in PowerShell and its directory flag is a parameter error there.

Post-dispatch, the payload is graded off disk before it is believed. status: complete is the agent's claim about its own run, and a claim is not evidence. The gate's four steps, the reason this family ships no coverage ledger, the by-value rung, and the boundary the parent still owns after the gate passes are in context/dispatch.md. Two things worth knowing before you get there: any non-zero exit halts the workflow, and a gate that could not run is a FAIL rather than a skip; and a claims_by_tier census sitting entirely in Speculative and Unknown is a successful run over an undocumented decision, never grounds for a re-dispatch.

Scope

Investigate the following target: $ARGUMENTS

Under dispatch the target arrives in the dispatch prompt instead. Do not rely on seeing an unfilled slot: a target that did not arrive in this prompt is a missing target, not an empty one, and it is a parent-envelope failure the agent reports rather than repairs. Contract: ${CLAUDE_PLUGIN_ROOT}/reference/parent-contract.md. Running inline with no target, infer it from the conversation, the file, symbol, decision, or con

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

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

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

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

Вложенные файлы

  • context/artifact-shape.md
  • context/dispatch.md
  • context/evidence-categories.md
  • context/gotchas.md
  • evals/evals.json

FAQ

Что делает скилл Trace Intent?

Reconstruct why a decision was built this way from evidence outside code (design rationale, archaeology), reporting unknowns; persists INTENT.md. Use when: 'why did we pick X over Y', 'what were they thinking', 'what problem was this solving'. Not for code: /discovery:explore, facts: /discovery:research, or rules: /discipline:reason-dont-recite.

Как установить скилл Trace Intent?

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

Скилл Trace Intent запускает скрипты?

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

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

Сравнить Trace Intent с