Community编程与开发github.com

MoonshotAI/review

分析可用技能集,推荐可合并为子技能包的候选组。只读操作——只提出方案,不移动文件。

review 是什么?

该子技能(`sub-skill.review`)用于审查当前技能清单,识别可以整合为子技能包的候选组。它设计为只读操作,仅生成供用户审查的方案,而不会进行任何文件移动。其核心价值在于帮助用户评估技能集的合理性,发现粒度问题(如过于细碎或过于宽泛),并提出基于共享上下文、可组合入口点、浅层嵌套和向后兼容等标准的分组建议。该技能支持所有主流AI代理平台(如Claude Code、Cursor、Codex等),因为它完全基于标准和文本化的流程。使用时,它会依次列出库存、按功能领域分类、检测耦合、标记粒度问题,并最终输出分组方案。重要的是,它明确说明不执行任何文件修改,因为文件修改应由`sub-skill.consolidate`完成。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/MoonshotAI/kimi-code/tree/main/packages/agent-core-v2/src/app/skillCatalog/builtin/sub-skill/review

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

审查子技能(sub-skill.review)

分析当前技能库存,识别可以整合为子技能包的候选组。此子技能是只读的:它生成一份方案供用户审查,然后由 sub-skill.consolidate 进行文件更改。

何时使用

  • 用户要求审查、重新组织或审计技能库存。
  • 存在许多松耦合的技能,可能从层级分组中受益。
  • 用户希望评估一个新技能是否应成为现有父技能的从属。

流程

  1. 列出当前库存。 使用技能注册表(或扫描配置的技能根目录)获取完整的技能名称、描述和源作用域列表。
  2. 按领域分类。 按功能领域对技能进行分组——例如文件操作、Web 工具、协作、可观察性。
  3. 检测耦合。 识别经常一起使用或共享相似 whenToUse 条件的技能。
  4. 标记粒度问题。 指出过于细粒度(例如每个 CLI 标志一个技能)或过于宽泛无法归入任何单一领域的技能。
  5. 提出子技能结构。 对于每个候选组,列出:
    • 父技能名称及其一行描述。
    • 应移动至其下的子技能。
    • 每个子技能必须随同移动的任何文档、参考、示例、资产或模板目录,以保持最终目录布局的对齐。
    • 父技能是否需要设置 has-sub-skill: true(如果需要发现子技能,则需要设置)。
  6. 输出汇总报告。 以简洁的分组列表形式呈现发现结果并提供理由,然后停止。不要编辑任何文件——那是 sub-skill.consolidate 的工作。

良好子技能分组的标准

  • 共享上下文。 子技能在相同的领域或工作流内操作。
  • 可组合入口点。 父技能提供一个自然的顶层句柄;子技能处理具体细节。
  • 浅层嵌套。 优先使用 2 级(父技能 → 子技能)。除非严格必要,否则避免 3 级或更高级。
  • 向后兼容。 现有的技能名称应保持可发现性。

示例输出格式

提议的子技能:web-research
  - 父技能:web-research (has-sub-skill: true)
  - 子技能:
    - web-search    → 移动至 web-research/search
    - fetch-url     → 移动至 web-research/fetch
  - 文档对齐:每个子技能的参考/示例/资产随该子技能移动。
  - 理由:两者都涉及在线信息检索,并经常被串联使用。

Individual skills in this repo

This repo contains 13 individual skills — each has its own dedicated page.

MoonshotAI/agent-core-dev

Use when developing in packages/agent-core-v2 (the DI × Scope agent engine) — adding or modifying a domain Service, choosing a LifecycleScope, wiring DI dependencies, splitting a domain across scopes, owning or migrating a config section, gating behavior behind an experimental flag, raising coded errors, working on the permission system, writing DI/Scope tests, porting business logic from agent-core (v1) to v2, triaging a main-branch commit against v2, or exposing a v2 domain over server-v2 while keeping the /api/v1 wire contract compatible with released clients. Self-contained guide organized by development stage (orient → design → implement → test → verify) plus align workflows for v1→v2 migration, main-branch commit triage, and server-v2 wire exposure; each file carries the rules, examples, and red lines for its step.

MoonshotAI/agent-core-review

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.

MoonshotAI/consolidate

Apply an approved sub-skill grouping by moving user-specified skills into a parent bundle, with timestamped backups of every modified directory.

MoonshotAI/gen-changesets

Use when generating changesets in the kimi-code repository, including package bump selection, internal package and CLI bundle handling, bump levels, major confirmation, and English changelog wording.

MoonshotAI/gen-docs

Update Kimi Code CLI user documentation after meaningful code changes that affect product behavior or user experience.

MoonshotAI/kimi-datasource

Universal data-source assistant. Use this skill when the user wants external structured data such as stocks, financial reports, technical indicators, A-share/HK/US markets, global macroeconomics, Chinese enterprise registry information, arXiv papers, Google Scholar results, or Chinese laws/regulations and judicial cases. This plugin exposes tools via MCP server `plugin-kimi-datasource_data`; call them in the flow `mcp__plugin-kimi-datasource_data__get_data_source_desc` → `mcp__plugin-kimi-datasource_data__call_data_source_tool`.

MoonshotAI/pre-changelog

Use before merging a kimi-code release PR to preview the user-facing CLI changelog in Chinese. Reads the changelog that changesets pre-generated in the release PR, then reuses sync-changelog's strip / classify / translate logic to render a Chinese preview. Writes no files.

MoonshotAI/slop

Invoke only when the user explicitly asks to review code through the "single level of abstraction / layered error handling" lens — a function does only its own layer's business logic while errors are handled above or below. The agent reports detections, raw-count measurements, and move directions. Apply only when the user explicitly requests this lens.

MoonshotAI/sub-skill

Discover and reorganize the skill inventory into hierarchical sub-skill bundles. Use when the user asks to review, group, or consolidate skills into a parent bundle.

MoonshotAI/sync-changelog

Use after a release succeeds, when maintainers need to sync apps/kimi-code/CHANGELOG.md into docs/en/release-notes/changelog.md and docs/zh/release-notes/changelog.md, then open a PR on a dedicated branch.

MoonshotAI/test

Use when writing or reviewing tests, or when asked how to write a good single test. Encodes the per-test rules behind the "test the contract / responsibility, not the implementation" principle — name and structure one behavior per `it`, drive through the public surface, stub only true external boundaries, control time and config via documented knobs, and keep tests clear, isolated, and refactor-resilient. The same rules drive both authoring (write mode) and auditing existing tests (review mode).

MoonshotAI/translate-docs

Translate and sync bilingual user documentation between docs/zh/ and docs/en/ following the source-of-truth rules in docs/AGENTS.md.

MoonshotAI/write-tui

Use when writing or modifying the kimi-code terminal UI in apps/kimi-code/src/tui — components, dialogs/selectors, slash commands, themes, streaming render, or the KimiTUI controllers. Covers the architecture, where new features go, test placement, the theme system mechanics, and the dialog interaction/visual spec (DESIGN.md).

相关技能