用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CodySwannGT/lisa --skill lisa-improve-tests命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | lisa-improve-tests |
| description | improving test quality |
| allowed-tools | ["Read","Bash","Glob","Grep"] |
Target: $ARGUMENTS
If no argument provided, scan the full test suite.
status=0
bun run test >test.log 2>&1 || status=$?
tail -n 20 test.log; echo "exit=$status"
The status is captured before the pipe, because a pipeline reports its LAST stage's exit code — tail always succeeds, so a failing run reads as exit=0 (falsifiable-checks, pager-shadowed status). || status=$? rather than ; status=$?: under set -e the ; form exits before the assignment, so the failure is never reported at all.toBeTruthy, toBeDefined instead of specific values)Compile the gathered information into a structured brief:
Improve test quality across the test suite.
Test files needing improvement (ordered by impact):
1. [test file] - [issues found]
- Weak assertions: [count]
- Missing edge cases: [description]
- Implementation coupling: [description]
2. ...
Verification: `bun run test` -> Expected: All tests pass, improved assertions and coverage
Invoke /lisa:implement with this brief to create the implementation plan.