Token导航 LogoToken导航

Agent Skill · 开发

lisa-learn(丽莎学习)

lisa-learn 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

lisa-learn 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有未通过项,按安装量在开发类的 21,746 个 Skill 里排第 13,638。

总安装 857周安装 35GitHub Stars 1下载 274核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:lisa-learn(丽莎学习)
来源仓库:https://github.com/codyswanngt/lisa
仓库路径:skills/lisa-learn
安装命令:
npx skills add https://github.com/codyswanngt/lisa --skill lisa-learn
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/codyswanngt/lisa --skill lisa-learn

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

lisa-learn 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态或协作事项进行整理。通过 npx 命令从指定 GitHub 仓库安装并使用。

使用前需确认权限范围、维护状态及是否涉及联网或文件操作。lisa-learn 属于开发类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/lisa-learn

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/codyswanngt/lisa --skill lisa-learn;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

lisa-learn 怎么安装?

在终端执行 npx skills add https://github.com/codyswanngt/lisa --skill lisa-learn。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

lisa-learn 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

lisa-learn 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

lisa-learn 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

lisa-learn 用的人多吗?

公开数据是累计安装 857 次,近一周安装 35 次,下载 274 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

lisa-learn 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
lisa-learn

丽莎学习 · 本页

8571需要联网未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Lisa Learn

Analyze the git diff in a downstream project after Lisa was applied. Identify improvements the project had that Lisa overwrote, potential breakage, safe overrides, and neutral changes. Offer to upstream improvements back to Lisa templates.

This completes a feedback loop: /lisa-integration-test applies and verifies, /lisa-learn analyzes the transition for upstream opportunities, and /lisa-review-project compares static drift.

Prerequisites

This skill must be run FROM the Lisa repository directory. The target project must have Lisa applied and have uncommitted changes from a recent Lisa run.

Instructions

Step 1: Validate Environment

  1. 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-learn /path/to/target-project

  1. Extract project path from $ARGUMENTS. If not provided, ask the user: Which project would you like to analyze? Path: [user provides path]
  2. Validate the project path:

- Check the path exists and is a directory - Check at least one project marker exists (e.g., package.json for Node-based projects, bin/rails or config/application.rb for Rails projects)

  1. Check the project has uncommitted changes: git -C <project-path> status --porcelain

- If clean (no output), stop with: ` No uncommitted changes found in the project. Run bun run dev <project-path> first, then re-run /lisa-learn to analyze what changed. `

Step 2: Detect Types and Build File Map

  1. Detect project types by checking the project filesystem:

- cdk: cdk.json exists OR aws-cdk in package.json dependencies - nestjs: nest-cli.json exists OR @nestjs in package.json dependencies - expo: app.json exists OR eas.json exists OR expo in package.json dependencies - typescript: tsconfig.json exists OR typescript in package.json dependencies - rails: bin/rails exists OR config/application.rb exists - npm-package: package.json without "private": true AND has main, bin, exports, or files

  1. Build the type hierarchy. Example: if expo detected, types = [all, typescript, expo]

- If no types detected, use [all]

  1. Build the file map by scanning Lisa's template directories:

- For each type in the hierarchy, list files in {type}/copy-overwrite/, {type}/copy-contents/, {type}/create-only/ - Store as a lookup: {[relativePath]: {strategy, sourceTemplate}} - If the same relativePath appears in multiple types, the most specific type wins

Step 3: Capture Git Diff

Run these commands against the project:

  1. git -C <project-path> diff — full diff for modified tracked files
  2. git -C <project-path> diff --stat — summary of changes
  3. git -C <project-path> status --porcelain — identify new/untracked files (?? prefix) and modified files (M prefix)

Store the full diff output and the list of changed files for analysis.

Step 4: Correlate Diff with File Map

For each file that appears in the git diff or status output:

  1. Look up the file's strategy and source template in the file map (from Step 2)
  2. Record the mapping: {file, strategy, sourceTemplate, diff}
  3. Flag files NOT in the file map as "collateral changes" — these are files that Lisa didn't directly manage but were affected (e.g., lockfiles, generated files)

Step 5: Analyze Each Changed File

Categorize each changed file based on its strategy and the nature of the diff:

CategoryMeaningAction
Upstream CandidateProject had something better that Lisa overwroteOffer to upstream
Potential BreakageLisa's change might break the projectWarn user
Safe OverrideLisa's update is correct, project was outdatedNo action needed
Neutral ChangeCosmetic/formatting differencesSkip

Analysis rules by strategy:

  • copy-overwrite files (primary targets for learning):

- In the diff, - lines = project's old version (what was there before Lisa), + lines = Lisa's replacement - Analyze if removed content (- lines) represents an improvement over Lisa's version: - Better error handling, bug fixes, additional config options, better docs → Upstream Candidate - Project-specific config (env vars, custom paths, API keys) → Safe Override (Lisa correctly replaced) - Formatting differences only → Neutral Change - Check if added content (+ lines) might break the project: - Removes project-required config → Potential Breakage - Adds conflicting settings → Potential Breakage

  • copy-contents files:

- Only + lines (additions are safe, they're new content Lisa added) - Note additions but they're typically Safe Override

  • merge / package-lisa files (e.g., package.json):

- Check if Lisa removed or overwrote project-specific values - Removed dependencies the project needs → Potential Breakage - Updated versions → Safe Override - Added governance dependencies → Safe Override

  • create-only files:

- These should NOT be modified by Lisa after initial creation - If they appear in the diff, flag as unexpected → Potential Breakage

  • Collateral changes (not in file map):

- Lockfile changes → Neutral Change - Other changes → investigate and categorize

Step 6: Breakage Detection (Optional)

Ask the user if they want to run verification checks:

Would you like to run typecheck/lint/test on the project to detect breakage?

1. Yes — run all checks
2. No — skip verification

If yes:

  1. Detect package manager from lockfile:

- bun.lockb → bun - pnpm-lock.yaml → pnpm - yarn.lock → yarn - package-lock.json → npm

  1. Run in order (stop at first failure):

- cd <project-path> && <pm> run typecheck - cd <project-path> && <pm> run lint - cd <project-path> && <pm> run test

  1. Report results and add any failures to the Potential Breakage category

Step 7: Generate Report

Create a markdown report:

# Lisa Learn Report

**Lisa Directory:** {lisa-path}
**Target Project:** {project-path}
**Project Types:** {types}
**Project Name:** {from package.json name or directory basename}
**Generated:** {current date/time ISO}

## Summary

- **Total files changed:** X
- **Upstream Candidates:** X
- **Potential Breakage:** X
- **Safe Overrides:** X
- **Neutral Changes:** X
- **Collateral Changes:** X

## Upstream Candidates

These files had improvements that Lisa overwrote. Consider adopting them back into Lisa templates.

### {relative/path/to/file}

**Source Template:** {type}/copy-overwrite/{path}
**Strategy:** copy-overwrite

<details>
<summary>View diff (- = project's version, + = Lisa's version)</summary>

\`\`\`diff
{diff output}
\`\`\`

</details>

**Analysis:** {Why the project's version was better and what should be upstreamed}

---

[Repeat for each upstream candidate]

## Potential Breakage

These changes might break the project. Review carefully.

### {relative/path/to/file}

**Source Template:** {type}/copy-overwrite/{path}
**Strategy:** copy-overwrite

<details>
<summary>View diff</summary>

\`\`\`diff
{diff output}
\`\`\`

</details>

**Risk:** {What might break and why}

---

[Repeat for each potential breakage]

## Safe Overrides

These are correct template updates where Lisa's version is an improvement over the project's outdated version.

<details>
<summary>X files safely updated</summary>

- {file1} — {brief reason}
- {file2} — {brief reason}

</details>

## Neutral Changes

<details>
<summary>X files with cosmetic/formatting differences</summary>

- {file1}
- {file2}

</details>

## Collateral Changes

Files not managed by Lisa that were affected:

- {file1} — {brief description}

Step 8: Offer to Upstream

For each Upstream Candidate, offer to copy the project's pre-Lisa version back into the corresponding Lisa template:

I found X upstream candidates. Would you like to upstream any improvements back to Lisa?

[List files with brief descriptions]

Options:
1. Upstream all candidates
2. Select specific files to upstream
3. Review candidates in detail first
4. Skip — no changes to Lisa

If the user wants to upstream:

  1. For each selected file, get the project's pre-Lisa version: git -C <project-path> show HEAD:<relativePath>
  2. Determine the target Lisa template path from the Step 4 mapping
  3. Confirm with user: "Copy project's version of {relativePath} to {sourceTemplate}?"
  4. If confirmed, write the pre-Lisa content to the Lisa template file using the Write tool
  5. Report success for each file

Step 9: Handle Breakage

If any Potential Breakage items were identified, offer options:

I found X potential breakage items. How would you like to handle them?

Options:
1. Fix in Lisa templates (upstream the fix)
2. Fix in project local overrides (*.local.* files)
3. Review each breakage item
4. Skip — handle manually later

For option 1 (fix upstream): Analyze the breakage, determine the fix, apply it to the Lisa template, and report.

For option 2 (fix in project): Identify the appropriate local override file (e.g., tsconfig.local.json, eslint.config.local.ts, vitest.config.local.ts, jest.config.local.ts) and apply the fix there.

Important Notes

  • Never auto-upstream without confirmation — always ask the user before modifying Lisa templates
  • Pre-Lisa content comes from git — use git -C <project-path> show HEAD:<path> to get the committed version before Lisa's uncommitted changes
  • Preserve the most specific type directory — if a template exists in expo/copy-overwrite/, upstream there, not to all/copy-overwrite/
  • Handle missing files gracefully — if a file appears in the diff but not in the file map, it's a collateral change
  • Compare carefully — some differences may be platform-specific (line endings, env vars) and should NOT be upstreamed
  • Retry loop is bounded — if fixing breakage requires more than 3 iterations, stop and report the situation to the user
  • This skill is Lisa-only — it is NOT distributed to downstream projects via all/copy-overwrite/

平台分布

Codex

35.91%
按下载量换算98

Claude

30.78%
按下载量换算84

Cursor

18.82%
按下载量换算52

Gemini CLI

10.36%
按下载量换算28

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills