Обнаружение планов и артефактов задачи

documentation

vc-plan-discovery is a Claude Code skill that surfaces all plans relevant to the current task: the full depth of the same-feature folder, active-only plans from other features, and always the contents of `general-plans/active/`. The primary invocation runs `discover-plans.mjs`, which reads only the YAML frontmatter of each `.md` file — never the full content — and outputs a grouped list of Active Plans / Backlog / Completed / Reports / References with a trailing summary counter; pass `--json` for machine-readable output. The script also scans one level into each `{slug}_{date}/` task folder to surface co-located `_PLAN_`, `_REPORT_`, and `_REF_` artifacts. It is designed to be called alongside `vc-context-discovery` at the start of every agent loop step, giving agents full plan context — what was tried, what is in progress, and what is deferred — before any phase work begins.