Agent SkillsMoonshotAI/kimi-code › agent-core-review

agent-core-review

GitHub

专为 agent-core-v2 包设计的代码审查与测试指导技能,包含抽象层级审查(slop)和契约驱动测试(test)两个子技能。

.agents/skills/agent-core-review/SKILL.md MoonshotAI/kimi-code

Trigger Scenarios

对 agent-core-v2 进行代码结构或错误处理审查 编写、修改或审查测试用例

Install

npx skills add MoonshotAI/kimi-code --skill agent-core-review -g -y
More Options

Non-standard path

npx skills add https://github.com/MoonshotAI/kimi-code/tree/main/.agents/skills/agent-core-review -g -y

Use without installing

npx skills use MoonshotAI/kimi-code@agent-core-review

指定 Agent (Claude Code)

npx skills add MoonshotAI/kimi-code --skill agent-core-review -a claude-code -g -y

安装 repo 全部 skill

npx skills add MoonshotAI/kimi-code --all -g -y

预览 repo 内 skill

npx skills add MoonshotAI/kimi-code --list

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-v2 only. These lenses are calibrated for the v2 engine (DI × Scope). Do not apply them to the legacy packages/agent-core or 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 per it, 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 with file: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

Same Skill Collection

.agents/skills/agent-core-review/slop/SKILL.md
.agents/skills/agent-core-review/test/SKILL.md
.agents/skills/gen-changesets/SKILL.md
.agents/skills/gen-docs/SKILL.md
.agents/skills/pre-changelog/SKILL.md
.agents/skills/sync-changelog/SKILL.md
.agents/skills/translate-docs/SKILL.md
.agents/skills/write-tui/SKILL.md
.agents/skills/agent-core-dev/SKILL.md
plugins/official/kimi-datasource/SKILL.md

Metadata

Files
0
Version
c27a9f9
Hash
ecdfead0
Indexed
2026-07-23 11:34

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-05 03:54
浙ICP备14020137号-1 $bản đồ khách truy cập$