Communityコーディング&開発github.com

MoonshotAI/review

利用可能なスキルセットを分析し、サブスキルバンドルに統合できる候補グループを提案します。読み取り専用で、計画を提案するだけでファイルは移動しません。

review とは?

このスキルは、AIエージェント(Claude Code、Coder、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に質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

サブスキルのレビュー (sub-skill.review)

現在のスキルインベントリを分析し、サブスキルバンドルに統合できる候補グループを特定します。このサブスキルは読み取り専用です。ファイル変更を行う前にユーザーがレビューできる提案を生成します。実際のファイル変更は sub-skill.consolidate が担当します。

使用するタイミング

  • ユーザーがスキルインベントリのレビュー、再編成、監査を依頼したとき。
  • 階層的なグループ化が有効と思われる、緩やかに関連するスキルが多数存在する場合。
  • 新しいスキルを既存の親スキルのサブスキルとして追加すべきか評価したい場合。

プロセス

  1. 現在のインベントリを一覧表示する。 スキルレジストリ(または設定されたスキルルートのスキャン)を使用して、スキル名、説明、ソーススコープの完全なリストを取得します。
  2. ドメインごとに分類する。 機能ドメイン(例: ファイル操作、Webツール、コラボレーション、可観測性)ごとにスキルをグループ化します。
  3. 結合度を検出する。 頻繁に一緒に使用される、または類似した whenToUse 条件を共有するスキルを特定します。
  4. 粒度の問題を指摘する。 細かすぎるスキル(例: CLIフラグごとに1つのスキル)や、単一のドメインに収まるには広すぎるスキルを指摘します。
  5. サブスキル構造を提案する。 各候補グループについて、以下をリストアップします。
    • 親スキル名と1行の説明。
    • その下に移動すべき子スキル。
    • 各子スキルと共に移動する必要があるドキュメント、リファレンス、例、アセット、テンプレートディレクトリ(最終的なディレクトリ構成を一致させるため)。
    • 親スキルに 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).

関連スキル