skillfed

vc-context-discovery

vc-context-discovery is the canonical context-loading entry point for every agent session. It discovers and surfaces all nested files under process folders, extracts frontmatter metadata, and routes context by domain using keyword matching. Use the auto-discovery script or keyword-first routing to load exactly the docs your task needs.

vc-context-discovery loads all relevant context files and feature artifacts at the start of every agent session.

AI-generated summary based on this skill's SKILL.md

1,058 219 MIT updated by withkynam

Install

withkynam/vibecode-pro-max-kit/vc-context-discovery · repository language: JavaScript

git clone https://github.com/withkynam/vibecode-pro-max-kit
cp -r vibecode-pro-max-kit/.claude/skills/vc-context-discovery ~/.claude/skills/vc-context-discovery
npx skillfed install withkynam/vibecode-pro-max-kit/vc-context-discovery

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How do I load all relevant context at the start of my session?

vc-context-discovery is your entry point for bootstrapping agent sessions with context. It discovers all nested files across feature folders, extracts YAML frontmatter metadata, and auto-routes docs by domain and task vocabulary. Run the discovery script at session start to populate your full context baseline before executing tasks.

How can I discover all relevant files for this feature?

vc-context-discovery scans feature folders recursively to surface nested files with full paths and frontmatter metadata. Use keyword matching against frontmatter schemas to filter by domain and task vocabulary. The tool maintains drift-proof routing tables so your context stays aligned with feature structure as it evolves.

What is the discover-context.mjs script?

vc-context-discovery includes the discover-context.mjs script as the canonical auto-discovery entry point. It loads all context, plan, and report files from your repo, extracts their frontmatter, and generates routing tables keyed by domain. Run it once per session to ensure every agent has the complete context artifact set needed for its task.

How does vc-context-discovery route context by domain?

vc-context-discovery uses keyword matching against frontmatter schemas to route context files by domain and task vocabulary. It generates and maintains drift-proof routing tables that map keywords to file paths, letting you load exactly the docs your current task needs without manual filtering or path hunting.

Can vc-context-discovery find nested files in feature folders?

Yes. vc-context-discovery discovers all nested files across feature folders with full paths and frontmatter metadata. It extracts YAML frontmatter from context, plan, and report files, then surfaces that metadata for routing and filtering. This ensures no relevant nested file is missed during session bootstrap.

What context do I need for this task with vc-context-discovery?

vc-context-discovery answers that by scanning your repo's frontmatter and matching task vocabulary against domain keywords. Load the discovery script at session start, then query the routing tables it generates. The tool surfaces only the context files relevant to your task's domain, eliminating noise and keeping your session lean.

SKILL.md

rendered from the published skill — quoted content, verbatim

vc-context-discovery

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

Discover and load all relevant context for the current task. This skill lists feature group nested files with full paths and loads process/context/ files by domain routing table. It is the canonical context-loading entrypoint for every agent session.

When To Invoke

At the start of every agent session (research, innovate, plan, validate, execute, update-process, fast-mode). Also at the start of any skill that needs repo context before operating.

Frontmatter Schemas

Document the canonical schemas for three file types

(truncated - see the full file via the links below)

Read as markdown · JSON record · Browse the source repository

File tree — 6 files
.claude/skills/vc-context-discovery/SKILL.md
.claude/skills/vc-context-discovery/scripts/discover-context.mjs
.claude/skills/vc-context-discovery/scripts/discover-skills.mjs
.claude/skills/vc-context-discovery/scripts/fixtures/validate-context-discovery-output/fail.md
.claude/skills/vc-context-discovery/scripts/fixtures/validate-context-discovery-output/pass.md
.claude/skills/vc-context-discovery/scripts/validate-context-discovery-output.mjs

Related skills

Tags

session-bootstrap file-discovery frontmatter-routing domain-routing context-indexing task-vocabulary artifact-colocation workflow-entrypoint schema-driven-discovery