lisa-review-project
Skill6 starsChanged 15 days agoMITView on GitHub
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, scans template directories, compares files, categorizes changes, and offers to adopt improvements back into Lisa. This is the inverse of lisa:review-implementation.
In this repository29 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .claude-pr/CLAUDE.mdCLAUDE.md
- claude-code-actionSkill
- harness-parity-councilSkill
- lisa-enforcement-censusSkill
- lisa-integration-testSkill
- lisa-learnSkill
- lisa-repair-intakeSkill
- lisa-update-projectsSkill
- lisa-wiki-ingestSkill
- lisa-wiki-setupSkill
- lisa-wiki-usageSkill
- mutation-testingSkill
- analyze-pluginSkill
- claude-code-actionSkill
- implement-plugin-paritySkill
- lisa-codex-paritySkill
- lisa-coding-agent-paritySkill
- lisa-enforcement-censusSkill
- lisa-integration-testSkill
- lisa-learnSkill
- lisa-review-projectSkill
- lisa-update-projectsSkill
- lisa-wiki-ingestSkill
- lisa-wiki-setupSkill
- lisa-wiki-usageSkill
- mutation-testingSkill
- plugin-parity-driftSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. About 0 are common, 9 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
lisa:review-implementation: Run FROM project → "What did I change from Lisa?"
- Very specific: line 12
lisa:review-project: Run FROM Lisa → "What has this project changed?"
- Very specific: line 24
If not in Lisa, error with:
- Distinctive: line 35
If no project path provided, ask the user:
- Distinctive: line 43
Check the path exists and is a directory
- Distinctive: line 44
Check at least one project marker exists:
- Very specific: line 61
If no types detected, use [all].
- Very specific: line 65
Instead of reading a manifest, scan Lisa's template directories directly to build the list of managed files.
- Very specific: line 70
If {type}/package-lisa/package.lisa.json exists, include package.json in the managed set and build its expected contents by merging every …
- Very specific: line 71
If the same relativePath appears in multiple copy-* types, the most specific type wins (last in hierarchy).
- Very specific: line 83
Read both the Lisa source and project version
- Distinctive: line 84
If identical, mark as "in-sync"
- Distinctive: line 101
Create a markdown report:
- Distinctive: line 175
After the report, present the findings:
- Distinctive: line 189
If user wants to adopt improvements:
- Distinctive: line 191
Ask which files to adopt (let them select multiple)
- Very specific: line 195
If confirmed, use Write tool to copy project file to Lisa
- Distinctive: line 200
Never auto-adopt without confirmation: - always ask the user first
- Very specific: line 201
Preserve the most specific type directory: - if a file exists in both typescript/ and all/, adopt to where it currently exists in Lisa
- Very specific: line 202
Handle missing files gracefully: - if project file is missing but exists in Lisa templates, note it (possible deletion or git-ignored)
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Lisa Project Review
This skill compares Lisa's source templates against a target project that has Lisa applied, identifying what the project has changed from Lisa and offering to adopt those improvements back into Lisa.
This is the inverse of /lisa-review-implementation:
- lisa:review-implementation: Run FROM project → "What did I change from Lisa?"
- lisa:review-project: Run FROM Lisa → "What has this project changed?"
Prerequisites
This skill must be run FROM the Lisa repository directory. The target project must have Lisa already applied.
Instructions
Step 1: Validate Lisa Directory
Confirm running from Lisa by checking for src/core/lisa.ts.
If not in Lisa, error with:
This command must be run FROM the Lisa repository.
Current directory does not contain src/core/lisa.ts.
Usage: /lisa-review-project /path/to/target-projectStep 2: Validate Arguments
If no project path provided, ask the user:
Which project would you like to review?
Path: [user provides path]Validate the project path:
- Check the path exists and is a directory
- Check at least one project marker exists:
package.json(Node-based projects)Gemfileorconfig/application.rb(Rails projects)
Step 3: Detect Project Types
Parse the project's package.json and filesystem to detect its type(s):
- npm-package:
package.jsonwithout"private": trueAND hasmain,bin,exports, orfiles - cdk:
cdk.jsonexists ORaws-cdkin package.json dependencies - nestjs:
nest-cli.jsonexists OR@nestjsin package.json dependencies - expo:
app.jsonexists OReas.jsonexists ORexpoin package.json dependencies - typescript:
tsconfig.jsonexists ORtypescriptin package.json dependencies - rails:
Gemfileexists ORconfig/application.rbexists
Build the type hierarchy. Example: if expo detected, types = [all, typescript, expo]
If no types detected, use [all].
Step 4: Scan Lisa Template Directories
Instead of reading a manifest, scan Lisa's template directories directly to build the list of managed files.
For each type in the hierarchy (e.g., [all, typescript, expo]):
- List files in
{type}/copy-overwrite/— record each as(relativePath, "copy-overwrite", sourceTemplate) - List files in
{type}/copy-contents/— record each as(relativePath, "copy-contents", sourceTemplate) - If
{type}/package-lisa/package.lisa.jsonexists, includepackage.jsonin the managed set and build its expected contents by merging every detected type's package-lisa template in hierarchy order. - If the same
relativePathappears in multiple copy-* types, the most specific type wins (last in hierarchy).
This gives you the complete list of Lisa-managed files and their source templates.
Skip these strategies (they're intentionally customized):
create-only- meant to be customized by projectmerge- already merged into project's file
Step 5: Compare Files
For files with source found and strategy is copy-overwrite or copy-contents:
- Read both the Lisa source and project version
- If identical, mark as "in-sync"
- If different:
- Generate diff using:
diff -u "{lisa-source}" "{project-file}" || true - Mark as "drifted"
- Store diff for report
- Generate diff using:
Step 6: Analyze and Categorize
For each drifted file, provide brief analysis:
- Improvement: Change that makes the file better (better CI config, cleaner code, etc.)
- Customization: Change specific to this project (environment config, custom paths, etc.)
- Bug fix: Fixing an issue in Lisa's template
- Divergence: Change that's neither an improvement nor needed customization (concerning)
Step 7: Generate Report
Create a markdown report:
# 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 Present in Lisa Templates but Missing from Project
These files exist in Lisa templates but not in the project:
- {file1}
- {file2}
This might mean:
- Lisa hasn't been applied to this project yet
- The file was deleted by the project
- The file is gitignored
## 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>Step 8: Offer to Adopt Changes
After the report, present the findings:
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 changesIf user wants to adopt improvements:
- Ask which files to adopt (let them select multiple)
- For each selected file:
- Determine the target path in Lisa (preserve type directory)
- Confirm: "Copy project version to
{type}/copy-overwrite/{path}?" - If confirmed, use Write tool to copy project file to Lisa
- Report success
Important Notes
- Never auto-adopt without confirmation - always ask the user first
- Preserve the most specific type directory - if a file exists in both
typescript/andall/, adopt to where it currently exists in Lisa - Handle missing files gracefully - if project file is missing but exists in Lisa templates, note it (possible deletion or git-ignored)
- Compare carefully - some differences may be platform-specific (line endings, env vars) and should NOT be adopted
- The diff shows "Lisa <- Project" (what project changed FROM Lisa)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

