Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问许可证需确认审计提醒

lisa-integration-test丽莎集成测试

Agent Skill

用于辅助测试设计、自动化测试、用例整理和回归验证。它适合让 Agent 编写单元测试、端到端测试、测试计划或根据失败日志定位问题。使用时需要确认项目测试框架、运行命令和夹具数据,避免为了通过测试而改坏真实逻辑;涉及浏览器或外部服务时,应区分本地模拟、测试环境和生产环境。

总安装

906

周安装

37

GitHub Stars

1

下载量

293
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

lisa-integration-test 用于辅助测试设计、用例整理和回归验证。

  • 适合编写单元测试、端到端测试或根据日志定位问题。
  • 使用时需确认测试框架、运行命令和夹具数据,避免误改逻辑。
  • 涉及浏览器或服务时应区分本地模拟与生产环境。
  • 通过 npx skills add 命令从指定仓库安装并使用该技能。

SKILL.md

Lisa Integration Test

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.

Prerequisites

  • Running from the Lisa repo (has src/core/lisa.ts)
  • The target project's working directory is clean (no uncommitted changes)

Instructions

Step 1: Validate Environment

  1. Confirm running from Lisa by checking for src/core/lisa.ts
  2. Extract project path from $ARGUMENTS. If not provided, ask the user.
  3. Validate the project path exists and has at least one project marker:

- package.json (Node/Bun/TypeScript projects) - Gemfile or config/application.rb (Rails projects)

  1. Check the project's working directory is clean: git -C <project-path> status --porcelain

- If dirty, tell the user and stop: "The project has uncommitted changes. Please commit or stash them first."

Step 2: Record Baseline

Before applying Lisa, record the project's current state:

  1. Run git -C <project-path> log --oneline -1 to note the current HEAD
  2. Note the project's branch and whether there's an open PR: git -C <project-path> branch --show-current

Step 3: Apply Lisa

Run from the Lisa directory:

bun run dev <project-path>

If Lisa fails, report the error and stop.

Step 4: Check What Changed

Run git -C <project-path> status --short to see what Lisa modified.

If nothing changed, report "Lisa applied cleanly with no changes" and stop.

Step 5: Verify the Project

Run the project's verification commands in order. Stop at the first failure:

  1. Typecheck: cd <project-path> && bun run typecheck (or npm run typecheck based on package manager)
  2. Lint: cd <project-path> && bun run lint (or equivalent)
  3. Test: cd <project-path> && bun run test (or equivalent)

Determine the package manager by checking which lockfile exists:

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

Step 6: Handle Failures

If any verification step fails:

  1. Diagnose: Analyze the error output to determine root cause
  2. Determine fix location:

- If the fix belongs in Lisa templates (the upstream change broke something), fix it in Lisa and go to Step 6a - If the fix belongs in the project's *.local.* files (project-specific override needed), fix it in the project and go to Step 6b

  1. Report what failed and what you're fixing

Step 6a: Fix Upstream in Lisa

  1. Make the fix in the Lisa template files
  2. Run Lisa's own checks: bun run typecheck && bun run lint && bun run test
  3. If Lisa's checks pass, go back to Step 3 (re-apply Lisa to the project)
  4. If Lisa's checks fail, fix those too, then retry

Step 6b: Fix in Project Local Files

  1. Make the fix in the project's local override files (e.g., tsconfig.local.json, eslint.config.local.ts, jest.config.local.ts)
  2. Go to Step 5 (re-verify the project)

Step 7: Commit and Push

Once all verification passes:

  1. Stage all changes in the project: git -C <project-path> add <changed-files>
  2. Commit with message: chore: apply Lisa <version> templates
  3. Push to the project's remote
  4. If upstream Lisa changes were made, commit and push those too

Step 8: Report Results

Output 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)

Important Notes

  • Never skip verification — the whole point is proving it works empirically
  • Fix upstream when possible — if Lisa broke something, fix the template, not the project
  • Use local overrides for project-specific needstsconfig.local.json, eslint.config.local.ts, etc.
  • Retry loop is bounded — if you've tried 3 fix-and-retry cycles without success, stop and report the situation to the user
  • Preserve project conventions — check the project's commit message style before committing

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.16%
按下载量换算100

Claude

28.72%
按下载量换算84

Cursor

18.93%
按下载量换算55

Gemini CLI

9.17%
按下载量换算27

安全审计

Gen Agent Trust Hub

可疑

Socket

可疑

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills