ce-explain
O que ela faz
Esta skill explica os motivos por trás da forma como um projeto é construído e do que mudou durante um período de trabalho. Ela é indicada para quem precisa entender código ou decisões existentes.
Quando usar
- ✓Quando você quer entender por que uma parte do código é construída do jeito que é.
- ✓Quando você quer um resumo do que aconteceu em um projeto em uma janela de tempo.
- ✓Quando você precisa de uma explicação escrita para um colega que não participou do trabalho.
Link da skill
https://github.com/EveryInc/compound-engineering-plugin/blob/main/skills/ce-explain/SKILL.mdCopie 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
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Você pode explicar por que nosso sistema de login usa dois serviços de token separados?”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
A skill lê o código e o histórico relevantes, separa as razões documentadas das inferências e escreve uma explicação. Ela aponta quaisquer perguntas em aberto que não conseguiu responder.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Explain How and Why
Produce an explanation that answers the scoped question and gives its consumer enough understanding for the intended use. The subject and purpose come from the request and available context, whether a person or another workflow supplied them. Ground project behavior in source evidence; distinguish documented rationale, inference, and unknowns.
Done: deliver the explanation with supporting evidence and material unanswered questions, or return the specific blocker. When an artifact is requested, deliver the artifact and its location. Publication is a separate action, not a condition of having explained the subject.
Consumer and interaction
Adapt depth and presentation to the intended readers and use. A person may need a working answer; a calling agent may need a teaching artifact for someone else. Do not infer the output from the caller's identity alone. When contributing to an ongoing workflow, deliver the requested result and leave continuation to its owner, the calling workflow. Do not add destination menus or follow-up offers to that return.
Resolve discoverable facts before asking. Ask only when missing information materially changes the answer and cannot be resolved from the request or evidence. If interaction is unavailable, return the unresolved question and its consequence rather than waiting or inventing an answer. A result may explain verified behavior while reporting that its historical rationale is unknown.
Read references/orchestration.md before grounding, the first blocking question, or subagent dispatch. It defines evidence gathering, tool use, model tiers, and their fallbacks.
Artifact Root
An explainer lands under <root>/explainers/ only when archived to the repo, and learnings may be read under <root>/solutions/. Resolve <root> only when you compose such a path; a scratch-only or external-concept run never composes one. Pass the resolved path to any subagent, not the config.
Resolve the CE artifact root <root> before composing any artifact path.
- Read
docs_rootfrom<repo-root>/.compound-engineering/config.yamlonly (<repo-root>=git rev-parse --show-toplevel). Do not read it fromconfig.local.yaml. Unset -><root>isdocs, exactly as before. - Validate a set value: a repo-relative directory whose real, symlink-resolved path stays inside the repo and is neither the repo root nor under
.git/. Otherwise stop with an error namingdocs_rootand the value -- never fall back todocs. - Use
<root>as the sole artifact location: create it if absent, compose each path as<root>/<subdir>with this skill's own subdirectory, and never also readdocs.
Execution Flow
Phase 1: Establish the question and use
Read references/intake.md now. It defines how the subject and time window are resolved, the input tokens, and how the delivery form is chosen. Explain only the requested subject. A bare invocation with no recoverable subject needs clarification under the interaction rule above, not an invented topic or default artifact.
Phase 2: Ground
Follow references/orchestration.md for the scoped evidence pass. Use existing evidence when it is adequate and current; check claims whose support is missing, disputed, or affected by source changes.
Create a run directory only when an artifact or an evidence dossier needs one. Use this block before writing either; it rejects a symlink or a scratch root owned by another user:
SCRATCH_ROOT="/tmp/compound-engineering-$(id -u)";
[ ! -L "$SCRATCH_ROOT" ] && (umask 077; mkdir -p "$SCRATCH_ROOT") 2>/dev/null && [ ! -L "$SCRATCH_ROOT" ] && [ -O "$SCRATCH_ROOT" ] && [ -w "$SCRATCH_ROOT" ] || SCRATCH_ROOT="${TMPDIR:-/tmp}/compound-engineering-$(id -u)";
if [ -L "$SCRATCH_ROOT" ]; then echo "unsafe scratch root symlink: $SCRATCH_ROOT" >&2; exit 1; fi;
(umask 077; mkdir -p "$SCRATCH_ROOT") || exit 1;
if [ -L "$SCRATCH_ROOT" ] || [ ! -O "$SCRATCH_ROOT" ]; then echo "scratch root is not owned by the current user: $SCRATCH_ROOT" >&2; exit 1; fi;
chmod 700 "$SCRATCH_ROOT" || exit 1;
RUN_DIR="$SCRATCH_ROOT/ce-explain/$(date +%Y%m%d)-$(openssl rand -hex 3)";
(umask 077; mkdir -p "$RUN_DIR") || exit 1; chmod 700 "$RUN_DIR" || exit 1;
echo "$RUN_DIR";
A behavior trace that splits across ownership boundaries writes scout dossiers. Create this run directory before dispatching those scouts.
- Diff mode. **Empty
Perguntas frequentes
Ela dá recomendações?
Não. Para um julgamento ou recomendação, outra skill é mais adequada.
Ela sempre separa fatos de palpites?
Sim. A skill distingue a justificativa documentada, a inferência e o que é desconhecido.
Ela pode criar um documento com a explicação?
Sim. Se você pedir um artefato, ela entrega o artefato e informa onde ele foi salvo.
Detalhes
Descrição original do autor
Explain how and why something has its current shape, or what happened over a window of work, grounded in evidence. Use when the user asks for an explanation. Use ce-pov for a judgment or recommendation.
Popularidade
- Estrelas no GitHub
- 26 mil
- Posição no ranking
- #10029
- Licença
- MIT
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
ce-babysit-pr
26 milAjuda seu agente a levar um pull request aberto até o merge, tratando comentários de revisão, checks com falha e branches desatualizadas ao longo do tempo.
ce-bakeoff
26 milAjuda seu agente a criar várias soluções concorrentes para um problema, compará-las e combinar as partes mais fortes em uma abordagem recomendada.
ce-brainstorm
26 milAjuda seu agente a transformar uma ideia vaga em requisitos claros e bem dimensionados antes de qualquer trabalho, por meio de uma conversa guiada e curta.
ce-code-review
26 milAjuda seu agente a revisar uma mudança de código ou pull request indicado em busca de bugs, regressões, testes ausentes e problemas de padrões, relatando achados claros.
Skills parecidas
technical-documentation
394 milAjuda seu agente a escrever e revisar documentação técnica clara e arquivos de instruções, para que pessoas e ferramentas de IA sigam tudo com facilidade.
architecture-decision-records
280 milFaz seu agente registrar decisões importantes sobre a estrutura do projeto. Ajuda a entender o porquê das escolhas feitas e a manter um histórico claro das mudanças.
code-tour
280 milFaz seu agente criar guias passo a passo no código, com arquivos e linhas exatos. Útil para apresentar projetos, explicar código ou revisar mudanças.