-
-
Notifications
You must be signed in to change notification settings - Fork 0
setup node
LoFi edited this page Jan 26, 2026
·
1 revision
Install the package using Python's package manager:
pip install lofi-gateScaffold the configuration into your workspace:
lofi-gate initThis creates .agent/skills/lofi-gate/.
Add the following scripts to your package.json:
{
"scripts": {
"lofi-gate": "lofi-gate verify --parallel",
"test": "npm run lofi-gate",
"test:agent": "jest --onlyChanged",
"lint": "eslint ."
}
}Note: test:agent is the "Speed Lane". Configure your test runner (Jest/Vitest) to run only changed files.
Prevent messy commits by running the gate on push.
npm install husky --save-dev
npx husky init
echo "npm test" > .husky/pre-pushRun the gate manually:
npm run lofi-gate