Loading...
Loading...
This skill should be used when comparing Lisa's source templates against a target project's implementation to identify drift. It validates the Lisa directory, detects project types, reads the manifest, compares files, categorizes changes, and offers to adopt improvements back into Lisa. This is the inverse of lisa:review-implementation.
npx skill4agent add codyswanngt/lisa lisa-review-project/lisa-review-implementation.lisa-manifestsrc/core/lisa.tsThis command must be run FROM the Lisa repository.
Current directory does not contain src/core/lisa.ts.
Usage: /lisa-review-project /path/to/target-projectWhich project would you like to review?
Path: [user provides path].lisa-manifestProject does not have Lisa applied.
Expected to find: {project-path}/.lisa-manifest
Did you apply Lisa to this project? Run: lisa {project-path}package.jsonpackage.json"private": truemainbinexportsfilescdk.jsonaws-cdknest-cli.json@nestjsapp.jsoneas.jsonexpotsconfig.jsontypescriptexpo[all, typescript, expo][all].lisa-manifest#strategy|relative/path/to/filestrategyrelativePath{type}/copy-overwrite/{relativePath}{type}/copy-contents/{relativePath}copy-overwrite|.github/workflows/ci.ymlexpo/copy-overwrite/.github/workflows/ci.ymlcreate-onlymergecopy-overwritecopy-contentsdiff -u "{lisa-source}" "{project-file}" || true# Lisa Project Review
**Lisa Directory:** {lisa-path}
**Target Project:** {project-path}
**Project Types:** {types}
**Project Name:** {from package.json name or basename}
**Generated:** {current date/time ISO}
## Summary
- **Total managed files:** X
- **In sync:** X
- **Drifted:** X
- **Intentionally customized (create-only/merge):** X
- **Source not found:** X
## Drifted Files
### {relative/path/to/file}
**Source:** {type}/copy-overwrite/{path}
**Strategy:** copy-overwrite
**Category:** Improvement
<details>
<summary>View diff (Lisa <- Project)</summary>
\`\`\`diff
{diff output}
\`\`\`
</details>
**Analysis:** {Brief analysis of the change and why it matters}
---
[Repeat for each drifted file]
## Files Not Found in Lisa
These files are in the manifest but their source templates couldn't be located in Lisa:
- {file1}
- {file2}
This might mean:
- The file was manually added after Lisa was applied
- A Lisa template was removed in an update
- The file is project-specific
## Intentionally Customized
These files use `create-only` or `merge` strategies and are meant to be customized:
- {file1}
- {file2}
## In Sync Files
<details>
<summary>X files match Lisa templates exactly</summary>
- {file1}
- {file2}
</details>I found X files that have drifted from Lisa's templates.
[List files with categories]
Would you like to:
1. Review specific drifted files in detail
2. Adopt improvements from this project back into Lisa
3. Just view the full report
4. Done - no changes{type}/copy-overwrite/{path}typescript/all/