Agent Skills
› MoonshotAI/kimi-code
› agent-core-review
agent-core-review
GitHub针对 agent-core-v2 引擎的代码审查与测试指导技能。包含 slop(抽象层级与错误处理审查)和 test(测试编写与审查规则),严格限定于 v2 包,不用于旧版或其他包。
Trigger Scenarios
对 packages/agent-core-v2 进行代码结构或抽象层级审查
编写、修改或审查单元测试
Install
npx skills add MoonshotAI/kimi-code --skill agent-core-review -g -y
SKILL.md
Frontmatter
{
"name": "agent-core-review",
"description": "Use ONLY for code review and test write\/review guidance in `packages\/agent-core-v2` (the DI × Scope agent engine). Does NOT apply to the legacy `packages\/agent-core` or to any other package — for those, do not load this skill. Groups the review and testing lenses used for agent-core-v2 — `slop` (single-level-of-abstraction \/ layered error-handling review, invoked only on explicit request) and `test` (contract-driven per-test rules for both authoring and reviewing tests). Apply the sub-skill that matches the task; do not apply `slop` unprompted.",
"has-sub-skill": true
}
kc-review
Scope:
packages/agent-core-v2only. These lenses are calibrated for the v2 engine (DI × Scope). Do not apply them to the legacypackages/agent-coreor to other packages.
A bundle of the lenses used when reviewing or testing packages/agent-core-v2. Each sub-skill is self-contained; invoke the one that matches the task.
Sub-skills
slop/— Single Level of Abstraction & layered error handling. A review dimension: a function should read as a straight-line description of its own layer, with errors handled above or below. The agent reports detections and measurements, not severity grades. Invoke only when the user explicitly asks for this lens — do not apply it unprompted to general reviews or refactors.test/— Per-test rules behind "test the contract / responsibility, not the implementation," serving two modes. Write mode: author a test — one behavior perit, drive through the public surface, stub only the true external boundary, control time/config via documented knobs, keep tests clear, isolated, and refactor-resilient (CCCR). Review mode: audit existing tests against the same rules and report findings withfile:line. Use when writing, modifying, or reviewing tests, or when asked how to write a good single test.
Routing
- Reviewing code structure / abstraction layers / where error handling belongs →
slop(only on explicit request). - Writing or modifying tests, reviewing test quality, or advising on a single test →
test.
Version History
- 5240b5c Current 2026-07-23 11:34


