vc-generate-context

Generates and updates the authoritative repository context file at process/context/all-context.md.

2|Updated Sep 15, 2025
One-click install
npx skills add https://github.com/marsley01/Marsley-Portfolio-Web --skill vc-generate-context-marsley01
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vc-generate-context
Source: https://github.com/marsley01/Marsley-Portfolio-Web/tree/main/.agents/skills/vc-generate-context
Command: npx skills add https://github.com/marsley01/Marsley-Portfolio-Web --skill vc-generate-context-marsley01

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? AI coding agents lose accuracy when repository knowledge is missing, stale, or contradicted by the actual code. This Skill maintains a single authoritative context router file so agents always load correct, current project knowledge. ## Core Features & Use Cases - Full Scan and Delta Modes: Generates process/context/all-context.md from scratch when missing, or performs delta updates that preserve stable sections and record changes since the last update. - Context Group Detection: Detects domains like database, auth, CI/CD, infra, and UI from project signals and writes per-group files such as process/context/database/all-database.md. - Built-in Validation: Runs validate-all-context.mjs to check headings, required sections, freshness dates, secret leakage, and broken path references before reporting success. - Use Case: After adding a Prisma schema and Docker setup to a monorepo, invoke the Skill to refresh all-context.md and create new database and container group docs with real scanned content. ## Quick Start Ask the agent to generate or refresh the repository context at process/context/all-context.md based on the current codebase.

Frequently Asked Questions about vc-generate-context

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate repository context for AI coding agents?

Invoke the Skill to scan the codebase and write process/context/all-context.md with tech stack, structure, conventions, and routing tables. It supports full-scan mode when the file is missing and delta mode when it already exists.

How do I update stale project documentation after code changes?

Run the Skill in delta mode, which preserves unchanged sections, adds a changes-since-last-update section, and verifies drift areas like dependencies, scripts, schemas, and env vars. Validation failures are treated as blockers.

What context groups does the detection table support?

The detection table covers database, container, auth, cicd, infra, uxui, and workflows groups based on project signals like Prisma, Docker, Clerk, or GitHub Actions. A group is only created when at least two source files support it.

Does the context validator catch secrets in documentation?

Yes, validate-all-context.mjs fails the run if all-context.md contains secret-like values such as API keys, private keys, or database URLs with credentials. It also warns on stale dates and missing file references.

When should I use delta mode instead of a full scan?

Use delta mode when process/context/all-context.md already exists and you want to refresh it without losing stable content. Full scan mode is only for initial generation when the file is absent.