This skill should be used when integration testing Lisa against a downstream project...
Apply Lisa templates to a downstream project and verify it works end-to-end. If anything breaks, fix the upstream templates in Lisa and retry until the project passes all checks.
This must be run FROM the Lisa repository directory.
src/core/lisa.ts)src/core/lisa.ts$ARGUMENTS. If not provided, ask the user.package.json (Node/Bun/TypeScript projects)Gemfile or config/application.rb (Rails projects)git -C <project-path> status --porcelainBefore applying Lisa, record the project's current state:
git -C <project-path> log --oneline -1 to note the current HEADgit -C <project-path> branch --show-currentRun from the Lisa directory:
bun run dev <project-path>
If Lisa fails, report the error and stop.
Run git -C <project-path> status --short to see what Lisa modified.
If nothing changed, report "Lisa applied cleanly with no changes" and stop.
Run the project's verification commands in order. Stop at the first failure:
cd <project-path> && bun run typecheck (or npm run typecheck based on package manager)cd <project-path> && bun run lint (or equivalent)cd <project-path> && bun run test (or equivalent)Determine the package manager by checking which lockfile exists:
bun.lockb → bunpnpm-lock.yaml → pnpmyarn.lock → yarnpackage-lock.json → npmIf any verification step fails:
*.local.* files (project-specific override needed), fix it in the project and go to Step 6bbun run typecheck && bun run lint && bun run testtsconfig.local.json, eslint.config.local.ts, vitest.config.local.ts, jest.config.local.ts)Once all verification passes:
git -C <project-path> add <changed-files>chore: apply Lisa <version> templatesOutput a summary:
## Lisa Integration Test: PASSED
**Project:** <project-path>
**Lisa version:** <version>
**Branch:** <branch>
### Changes Applied
- <list of changed files>
### Verification
- Typecheck: PASSED
- Lint: PASSED
- Tests: PASSED
### Upstream Fixes (if any)
- <list of Lisa template fixes made>
### Commits
- <project-commit-hash> chore: apply Lisa <version> templates
- <lisa-commit-hash> fix: <description> (if upstream fixes were needed)
tsconfig.local.json, eslint.config.local.ts, etc.