Pular para o conteúdo
Skillpedia
Agentes8,1 mil · #12561

consolidate

O que ela faz

Esta skill aplica um plano de agrupamento movendo as skills escolhidas para um pacote pai. É para quem já aprovou como as skills devem ser organizadas.

Quando usar

  • ✓Quando você aprovou um plano de agrupamento e quer aplicá-lo às suas pastas de skills.
  • ✓Quando você quer mover skills independentes para um pacote pai novo ou já existente.
  • ✓Quando você quer manter um backup de cada pasta de skill que está prestes a mudar.

Link da skill

https://github.com/MoonshotAI/kimi-code/blob/main/packages/agent-core-v2/src/features/skill/catalog/builtin/sub-skill/consolidate/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/MoonshotAI/kimi-code/blob/main/packages/agent-core-v2/src/features/skill/catalog/builtin/sub-skill/consolidate/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Aplique o agrupamento que aprovamos. Mova as skills de pesquisa na web para o pacote de pesquisa web, com backups antes.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

A skill primeiro reafirma o plano e pede sua confirmação. Depois faz backup de cada pasta afetada com data e hora, cria ou atualiza o pacote pai e move as skills filhas para dentro dele.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do GitHub.

Consolidate sub-skills (sub-skill.consolidate)

Execute the reorganization by moving user-specified skills into a parent bundle, forming a sub-skill hierarchy.

When to use

  • The user has approved a grouping proposal (typically from sub-skill.review) and wants to apply it.
  • Migrating standalone skills into a new or existing parent bundle.

Process

  1. Confirm the plan. Restate which skills will move and where, and ask the user to confirm before making any file changes.
  2. Back up every original skill directory. Before moving anything, create a timestamped backup of each skill directory that will be modified.
    • For a skill at <root>/<skill-name>/SKILL.md, back up the entire <skill-name> directory:
      cp -r <skill-name> "<skill-name>.$(date +%Y%m%d-%H%M%S).bak"
      
    • Keep all backups; never overwrite an existing backup file.
  3. Create or update the parent bundle.
    • If the parent does not exist, create <parent-name>/SKILL.md with has-sub-skill: true in the frontmatter.
    • If the parent already exists, ensure its frontmatter includes has-sub-skill: true.
  4. Move child skills into the parent. Move each child skill's entire directory under the parent bundle.
    • Example: web-search/ → web-research/web-search/
  5. Keep documentation directory alignment. When moving documentation, references, examples, assets, or other payload directories, align them with the new skill directory layout.
    • Preserve relative links from SKILL.md to files such as references/, assets/, examples/, or templates.
    • If a child skill moves from <root>/<child>/ to <root>/<parent>/<child>/, its documentation payload should move with that child unless the approved plan says otherwise.
    • Do not leave documentation in the old location or merge unrelated documentation directories together.
  6. Verify the result. List the new directory structure and confirm each moved skill still has a valid SKILL.md with required frontmatter (name and description). Check documentation directory alignment and relative links after the move.
  7. Report the change. Summarize what was moved, the new structure, any documentation directories that moved, and where backups are located.

Don'ts

  • Never move skills without backing up first.
  • Never overwrite an existing backup — always use a fresh timestamped suffix.
  • Don't drop frontmatter or payload files during the move; the entire directory must be preserved.
  • Don't break documentation directory alignment — references, assets, examples, and templates must stay aligned with the skill directory that uses them.
  • Don't create deeply nested hierarchies (3+ levels) unless the user explicitly requests it.
Perguntas frequentes

Ela altera algo antes da minha confirmação?

Não. Ela reafirma o plano e aguarda sua confirmação antes de fazer qualquer alteração nos arquivos.

Os originais são mantidos?

Sim. Cada pasta de skill afetada recebe um backup com data e hora, e backups existentes nunca são sobrescritos.

O que o pacote pai precisa?

O arquivo da skill pai deve incluir a configuração que o marca como pai com sub-skills.

Detalhes

Descrição original do autor

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

repo: MoonshotAI/kimi-code

Popularidade

Estrelas no GitHub
8,1 mil
Posição no ranking
#12561
Licença
MIT
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas