CommunityProgramación y desarrollogithub.com

Revisar sub-habilidades (sub-skill.review)

Analiza el conjunto de habilidades disponible y recomienda grupos candidatos que podrían consolidarse en paquetes de sub-habilidades. Solo lectura: propone un plan, no mueve archivos.

¿Qué es Revisar sub-habilidades (sub-skill.review)?

Esta sub-habilidad está diseñada para auditar y proponer una reorganización del inventario de habilidades de un agente de IA. Su función principal es listar todas las habilidades disponibles, categorizarlas por dominio funcional (por ejemplo, operaciones de archivos, herramientas web), detectar acoplamientos (habilidades que se usan juntas con frecuencia) y señalar problemas de granularidad (habilidades demasiado específicas o demasiado amplias). Es una herramienta de solo análisis: genera un informe detallado con sub-habilidades propuestas, indicando la habilidad padre, los hijos que se moverían y la documentación asociada, pero no realiza ninguna modificación en los archivos. Es compatible con cualquier plataforma de agente que utilice un registro o directorio de habilidades (por ejemplo, Claude Code, Cursor, Codex). El resultado es un plan estructurado que el usuario puede revisar antes de que otra sub-habilidad (`sub-skill.consolidate`) ejecute los cambios.

Compatible con~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 Programación y desarrollo skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Documentación

¿Qué hace Revisar sub-habilidades (sub-skill.review)?

Analiza el inventario actual de habilidades e identifica grupos candidatos que podrían consolidarse en paquetes de sub-habilidades. Esta sub-habilidad es de solo lectura: produce una propuesta para que el usuario la revise antes de que cualquier cambio de archivos sea realizado por sub-skill.consolidate.

Cuándo usarla

  • El usuario solicita revisar, reorganizar o auditar el inventario de habilidades.
  • Hay muchas habilidades poco relacionadas que podrían beneficiarse de una agrupación jerárquica.
  • El usuario quiere evaluar si una nueva habilidad debería ser una sub-habilidad de una habilidad padre existente.

Proceso

  1. Listar el inventario actual. Usa el registro de habilidades (o escanea las raíces de habilidades configuradas) para obtener una lista completa de nombres de habilidades, descripciones y ámbitos de origen.
  2. Categorizar por dominio. Agrupa las habilidades por dominio funcional — por ejemplo, operaciones de archivos, herramientas web, colaboración, observabilidad.
  3. Detectar acoplamiento. Identifica habilidades que se usan juntas con frecuencia o que comparten condiciones whenToUse similares.
  4. Señalar problemas de granularidad. Señala habilidades que son demasiado detalladas (por ejemplo, una habilidad por cada flag de CLI) o demasiado amplias para encajar en un solo dominio.
  5. Proponer estructuras de sub-habilidades. Para cada grupo candidato, lista:
    • El nombre de la habilidad padre y una descripción en una línea.
    • Los hijos que deberían moverse debajo de ella.
    • Cualquier directorio de documentación, referencia, ejemplo, asset o plantilla que deba moverse con cada hijo para que el diseño final del directorio se mantenga alineado.
    • Si la habilidad padre necesita has-sub-skill: true (así es, si los hijos deben ser descubiertos).
  6. Generar un informe resumen. Presenta los hallazgos como una lista agrupada concisa con justificación y detente. No edites ningún archivo — ese es el trabajo de sub-skill.consolidate.

Criterios para una buena agrupación de sub-habilidades

  • Contexto compartido. Los hijos operan dentro del mismo dominio o flujo de trabajo.
  • Punto de entrada componible. La habilidad padre proporciona un punto de entrada natural de alto nivel; los hijos manejan los detalles.
  • Anidamiento poco profundo. Prefiere 2 niveles (padre → hijo). Evita 3+ a menos que sea estrictamente necesario.
  • Compatibilidad hacia atrás. Los nombres de habilidades existentes deberían, idealmente, seguir siendo descubribles.

Formato de ejemplo de salida

Sub-habilidad propuesta: web-research
  - Padre: web-research (has-sub-skill: true)
  - Hijos:
    - web-search    → mover bajo web-research/search
    - fetch-url     → mover bajo web-research/fetch
  - Alineación de documentación: mover las referencias/ejemplos/assets de cada hijo con ese hijo.
  - Justificación: Ambas tratan con la recuperación de información en línea y a menudo se encadenan juntas.

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).

Skills relacionados