用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CodySwannGT/lisa --skill lisa-parity-code-review命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
This skill should be used for any non-trivial request — features, bugs, stories, epics, spikes, or multi-step tasks. It accepts a ticket URL (Jira, Linear, GitHub), a file path containing a spec, or a plain-text prompt. It assembles an agent team, breaks the work into structured tasks, and manages the full lifecycle from research through implementation, code review, deploy, and empirical verification.
any non-trivial request —…
This skill should be used for any non-trivial request — features, bugs, stories, epics, spikes, or multi-step tasks. It accepts a ticket URL (Jira, Linear, GitHub), a file path containing a spec, or a plain-text prompt. It assembles an agent team, breaks the work into structured tasks, and manages the full lifecycle from research through implementation, code review, deploy, and empirical verification.
基于 SOC 职业分类
正在显示 SKILL.md
| name | lisa-parity-code-review |
| description | Lisa-native code review of the… |
| allowed-tools | ["Read","Bash","Grep","Glob"] |
Review the code that is about to ship — the current uncommitted/branch diff — for defects a reviewer would block on. This is a focused defect hunt: correctness, security, and obvious mistakes. It is not a style audit and not a refactor pass (use parity-code-simplifier for quality-only cleanup).
Not drift-trackable. This skill intentionally carries no
synced-frompin. The upstreamcode-review@claude-plugins-officialplugin publishes no semver (its cache version resolves tounknown), so a pin would be unparseable and meaningless toscripts/plugin-parity-drift.mjs. Drift is tracked manually — re-review the upstream command by hand when the curated plugin set is refreshed. This is a Lisa-native reimplementation, not a port of upstream code.
Determine exactly what changed. Prefer the broadest accurate view of the work-in-progress:
# Branch changes vs the merge base (preferred for a PR-style review)
git merge-base HEAD origin/main 2>/dev/null && \
git diff "$(git merge-base HEAD origin/main)"...HEAD
# Plus anything still uncommitted in the working tree
git diff HEAD
git status --short
If there is no diff at all, say so plainly and stop — do not invent findings. If the diff is enormous, review in full but prioritize the files with the most logic changes; never silently skip files (note any you deprioritized).
Do not review hunks in isolation. For each changed file, open enough surrounding code to understand:
Use Read, Grep, and Glob to follow call sites and trace data flow. A finding you can't ground in the actual code is a guess — drop it.
For every changed hunk, evaluate against these lenses:
await, unhandled null/undefined, incorrect default, broken control flow, type coercion bugs, mutation of shared state, race conditions.TODO/FIXME left in shipping code, debug logging left on, broken or missing tests for the new behavior.Group findings by severity. Within each group, list the most impactful first. Every finding must carry a file:line reference.
Bugs that break correctness, leak/expose data, or introduce a security hole.
Likely to cause problems later, or a real defect with limited blast radius.
Minor correctness nits or defensive improvements.
For each finding:
path/to/file.ts:42 (and a span if it covers multiple lines).Example:
Critical — Unhandled null dereference Where:
src/auth/session.ts:88Why:findUser()returnsnullwhen the id is unknown, but line 88 readsuser.rolesdirectly. An unknown session id (expired token replay) throws and 500s instead of returning 401. Fix: Guardif (!user) return unauthorized()before readinguser.roles.
parity-code-simplifier (quality) after triage.