From vibe
Auto-loads .vibe/ project context for commands and agents. Triggers on code questions, implementation, reviews, planning. Provides role-based context loading and API lookup chain.
How this skill is triggered — by the user, by Claude, or both
Slash command
/vibe:vibe-contextThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Check if `.vibe/` exists. If not: "No vibe context found. Run /vibe:init to analyze this codebase."
Check if .vibe/ exists. If not: "No vibe context found. Run /vibe:init to analyze this codebase."
Load files based on caller role:
| Role | Loads |
|---|---|
| explorer | understanding.md (full), risks.md, bugs.md, current.md, docs index |
| engineer | understanding.md (patterns, components, tests), current.md, decisions.md (recent 5) |
| reviewer | understanding.md (patterns, tests), risks.md (baseline), bugs.md |
| tester | understanding.md (tests section only), bugs.md (for regression checks) |
| general | understanding.md, current.md |
Read docs index from understanding.md. If current task relates to an indexed doc, load that doc on-demand from .vibe/docs/.
Before any agent uses an unfamiliar API, run this chain. Never guess. Always verify.
resolve-library-id then query-docs. Use result. State: "Verified via Context7."NEEDS_CONTEXT to controller. Do not proceed with unverified API.Agents must state which step provided their information.
When an engineer or implementation phase completes (not per-file, once per phase):
debug/When writing to .vibe/ files, follow these rules:
npx claudepluginhub jwlutz/claude_code_framework --plugin vibeRoutes the VibeFlow lifecycle at session start: detects phase, injects context, dispatches to phase handler. Supports Full and Quick modes.
Optimizes agent context setup by structuring rules files, specs, source code, and error output hierarchically.
Hierarchical context loading strategy for AI coding agents. Loads rules, architecture, source, errors, and conversation in priority order to maximize signal per token.