Agent Skillswithkynam/vibecode-pro-max-kit › vc-plan-discovery

vc-plan-discovery

GitHub

自动发现与当前任务相关的计划、报告及参考文档。通过脚本扫描指定特征文件夹下的活动、积压和已完成计划,提取YAML元数据并分组输出,为Agent提供完整的计划上下文,避免加载大文件。

.claude/skills/vc-plan-discovery/SKILL.md withkynam/vibecode-pro-max-kit

Trigger Scenarios

执行循环步骤(研究/验证/执行/更新流程)的初始阶段 需要了解当前功能或通用领域的现有计划、进度及历史状态时

Install

npx skills add withkynam/vibecode-pro-max-kit --skill vc-plan-discovery -g -y
More Options

Non-standard path

npx skills add https://github.com/withkynam/vibecode-pro-max-kit/tree/main/.claude/skills/vc-plan-discovery -g -y

Use without installing

npx skills use withkynam/vibecode-pro-max-kit@vc-plan-discovery

指定 Agent (Claude Code)

npx skills add withkynam/vibecode-pro-max-kit --skill vc-plan-discovery -a claude-code -g -y

安装 repo 全部 skill

npx skills add withkynam/vibecode-pro-max-kit --all -g -y

预览 repo 内 skill

npx skills add withkynam/vibecode-pro-max-kit --list

SKILL.md

Frontmatter
{
    "name": "vc-plan-discovery",
    "layer": "contract",
    "metadata": {
        "author": "vibecode-pro-max-kit",
        "version": "1.1.0"
    },
    "description": "Discover related plans for the current task: same feature folder full depth, other features active-only, general-plans active. Like vc-context-discovery but for plan artifacts.",
    "argument-hint": "[feature folder name or task description]",
    "trigger_keywords": "related plans, what was tried, plan history, feature backlog, plan discovery"
}

vc-plan-discovery

Output style: Follow process/development-protocols/communication-standards.md — answer-first, plain language, no unexplained jargon, TL;DR on long responses.

Invocation

Primary method — run the auto-discovery script. It applies the Scope Rules below (same-feature full depth; other features active-only; general-plans active always) and extracts ONLY the leading YAML frontmatter block of each .md file (no whole-file reads):

node .claude/skills/vc-plan-discovery/scripts/discover-plans.mjs [--feature <name>] [--json]

It groups output into Active Plans / Backlog / Completed / Reports / References (each line: - [name]: description (path)) and prints a trailing Found N active, N backlog, N completed, N reports, N references line. It never throws on a missing root and exits 0 unless given a bad flag. Use --json for a machine-readable object. Prefer this over the manual scan below — it is deterministic and avoids loading huge files into context.

Per task-folder artefact colocation, the script scans one level into each {slug}_{date}/ task folder and surfaces co-located _PLAN_/_REPORT_/_REF_ artefacts; the sibling reports//references/ dirs are deprecated and only hold legacy artefacts.

The manual scan in Scope Rules below is the FALLBACK for when the script fails.

Purpose

Surface all plans relevant to the current task so agents have full plan context — what was tried, what is in progress, what is deferred, and what reports and references exist — before doing any phase work.

Scope Rules

  • Same feature folder (from task context or argument): read ALL of active/, backlog/, completed/, plus any legacy sibling reports/, references/ — surface every file with frontmatter
  • Other feature folders: read active/ only — surface plans whose frontmatter description or feature field matches the task domain
  • general-plans/active/: always scan
  • general-plans/completed/, legacy reports/, references/: scan only when same-feature folder is not identified

Per task-folder artefact colocation, expect every current artefact (plan, spec, reports, references) INSIDE its {slug}_{date}/ task folder — scan one level into each task folder. The sibling reports//references/ dirs are deprecated and only hold legacy artefacts.

Frontmatter Reading

Read frontmatter fields: name, description, type, feature, phase

Route by description field for relevance matching (same approach as vc-context-discovery).

Skip files without frontmatter or with incomplete frontmatter — log as "no frontmatter, skipped".

Output: grouped list by folder — Active Plans / Backlog / Completed / Reports / References — with name + description per file.

When To Invoke

  • First action alongside vc-context-discovery at the start of every loop step (research / validate / execute / update-process)
  • Any time an agent needs to know: what plans exist for this feature, what was tried before, what is deferred, what references exist

Output Format

### Active Plans
- [name]: description (path)

### Backlog
- [name]: description (path)

### Completed
- [name]: description (path)

### Reports
- [name]: description (path)

### References
- [name]: description (path)

Found N active, N backlog, N completed, N reports, N references

Version History

  • 3bcb2f9 Current 2026-07-05 14:35

Same Skill Collection

.claude/skills/vc-agent-browser/SKILL.md
.claude/skills/vc-agent-strategy-compare/SKILL.md
.claude/skills/vc-audit-context/SKILL.md
.claude/skills/vc-audit-plans/SKILL.md
.claude/skills/vc-audit-vc/SKILL.md
.claude/skills/vc-autopilot/SKILL.md
.claude/skills/vc-autoresearch/SKILL.md
.claude/skills/vc-context-discovery/SKILL.md
.claude/skills/vc-debug/SKILL.md
.claude/skills/vc-docs-seeker/SKILL.md
.claude/skills/vc-feasibility-test/SKILL.md
.claude/skills/vc-frontend-design/SKILL.md
.claude/skills/vc-generate-closeout/SKILL.md
.claude/skills/vc-generate-context/SKILL.md
.claude/skills/vc-generate-phase-program/SKILL.md
.claude/skills/vc-generate-plan/SKILL.md
.claude/skills/vc-generate-spec/SKILL.md
.claude/skills/vc-intent-clarify/SKILL.md
.claude/skills/vc-predict/SKILL.md
.claude/skills/vc-problem-solving/SKILL.md
.claude/skills/vc-publish/SKILL.md
.claude/skills/vc-review-situation/SKILL.md
.claude/skills/vc-risk-evidence-pack/SKILL.md
.claude/skills/vc-scenario/SKILL.md
.claude/skills/vc-scout/SKILL.md
.claude/skills/vc-security/SKILL.md
.claude/skills/vc-sequential-thinking/SKILL.md
.claude/skills/vc-setup/SKILL.md
.claude/skills/vc-test-coverage-plan/SKILL.md
.claude/skills/vc-update/SKILL.md
.claude/skills/vc-validate-findings/SKILL.md
.claude/skills/vc-web-testing/SKILL.md

Metadata

Files
0
Version
3bcb2f9
Hash
9177943a
Indexed
2026-07-05 14:35

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-13 14:40
浙ICP备14020137号-1 $Map of visitor$