Sync .vibe/ and debug/ after manual code changes outside vibe commands
From vibenpx claudepluginhub dukesmith0/vibe-frameworkUse TodoWrite to track progress.
For use after manual code changes, dependency updates, or file reorganization.
# Core
git status -s 2>/dev/null | head -10
ls .vibe/ 2>/dev/null
head -5 .vibe/understanding.md 2>/dev/null
# Test framework
test -f pytest.ini && echo "test:pytest" || \
(grep -q pytest pyproject.toml 2>/dev/null && echo "test:pytest") || \
(test -f vitest.config.ts -o -f vitest.config.js && echo "test:vitest") || \
(test -f jest.config.ts -o -f jest.config.js && echo "test:jest") || \
(node -e "const p=require('./package.json');if(p.scripts?.test){console.log('test:'+p.scripts.test);process.exit(0)}else{process.exit(1)}" 2>/dev/null) || \
(test -f go.mod && echo "test:go") || \
(test -f Cargo.toml && echo "test:cargo") || \
echo "test:none"
# Playwright
(test -f playwright.config.ts -o -f playwright.config.js) && echo "playwright:yes" || \
(grep -q playwright package.json 2>/dev/null && echo "playwright:yes") || echo "playwright:no"
If no .vibe/: "No vibe context found. Run /vibe:init first."
Scan .vibe/docs/ for new/changed files. Update docs index in understanding.md. Generate .md companions for new heavy formats.
Run risk-detection skill patterns. Update risks.md:
Run full debug/ test suite to verify current state. Report results.
Summarize: what changed in understanding, files removed, tests added/removed, new risks found, risk delta, test results.