Agent Skillswithkynam/vibecode-pro-max-kit › vc-generate-context

vc-generate-context

GitHub

维护项目权威上下文文档,支持全量扫描、增量更新及分组检测。通过验证确保上下文与代码一致,为多智能体提供统一的知识路由和参考依据。

.claude/skills/vc-generate-context/SKILL.md withkynam/vibecode-pro-max-kit

Trigger Scenarios

项目上下文缺失或过时 代码变更导致上下文矛盾 需要刷新特定功能或架构区域的上下文

Install

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

Non-standard path

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

Use without installing

npx skills use withkynam/vibecode-pro-max-kit@vc-generate-context

指定 Agent (Claude Code)

npx skills add withkynam/vibecode-pro-max-kit --skill vc-generate-context -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-generate-context",
    "layer": "contract",
    "metadata": {
        "author": "vibecode-pro-max-kit",
        "version": "1.0.0"
    },
    "description": "Generate or update the project's authoritative repository context at process\/context\/all-context.md. Use when repo context is missing, stale, or contradicted by code.",
    "trigger_keywords": "generate context, update context, refresh context, missing context"
}

Generate Context

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

Use this skill to maintain process/context/all-context.md, the broad portable project knowledge layer shared by Codex and Claude. Use process/context/all-context.md as the context router before reading grouped docs.

Optional input: a package, app, feature, context group, or architectural area to refresh first.

Workflow

  1. Read references/generate-context.md for the full context contract.
  2. Determine mode:
    • Full scan when process/context/all-context.md is missing.
    • Delta update when it exists.
  3. Read process/context/all-context.md when present to identify relevant grouped context files.
  4. Inspect current repo state, active plans, feature folders, package scripts, tooling, important architecture files, and relevant process/context/**/*.md docs.
  5. Produce process/context/all-context.md PLUS process/context/{group}/all-{group}.md for each detected or approved group (see Invocation Modes below).
  6. Include scan timestamp, repo HEAD if available, changes since last update, open questions, and source references.
  7. Validate the generated context:
    node .claude/skills/vc-generate-context/scripts/validate-all-context.mjs
    
  8. If routing or grouped context changed, also run:
    node .claude/skills/vc-audit-context/scripts/validate-context-discovery.mjs
    

Rules

  • Treat process/context/ as durable cross-agent knowledge.
  • Treat process/context/all-context.md as the durable routing protocol; do not replace it with generated prose.
  • Do not store agent-specific mechanics here unless they affect project workflow.
  • Do not rewrite grouped context docs; if they are stale or mis-grouped, flag audit-context.
  • Prefer concise, factual, path-specific documentation.
  • Use pnpm terminology for package management.
  • Treat validation failures as blockers before presenting context as refreshed.

Invocation Modes

Mode Trigger Group-detection Output
setup-delegation Called by vc-setup passing an approved-groups list Skip re-detection; use the list provided all-context.md + all-{group}.md for each approved group
standalone-full Direct invocation with no groups list Self-detect groups via the detection table in references/generate-context.md all-context.md + all-{group}.md for all detected groups
delta Invoked when context already exists; update context Self-detect; create MISSING groups only; warn on unrecognized; never delete all-context.md updated + any new all-{group}.md files created

See references/generate-context.md for per-mode instructions, the Context Group Detection Table, and delta-mode group-creation rules.

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-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-plan-discovery/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
18f86239
Indexed
2026-07-05 14:35

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-03 22:15
浙ICP备14020137号-1 $방문자$