Pular para o conteúdo
Skillpedia
Código em geral6,5 mil · #13872

loopx-change-quality

O que ela faz

Esta skill orienta uma verificação de qualidade de uma mudança de código logo antes de ela ser mesclada, em projetos que usam metas do LoopX. Ela é para desenvolvedores que querem um registro claro de que a mudança final foi revisada.

Quando usar

  • ✓Quando uma meta do LoopX ativa verificações de qualidade de mudanças e uma mudança está prestes a ser mesclada.
  • ✓Quando uma mudança de código precisa de um recibo de qualidade para a sua versão final exata.
  • ✓Quando um recibo de qualidade existente precisa ser corrigido para a mudança final exata.

Link da skill

https://github.com/loopx-project/loopx/blob/main/skills/loopx-change-quality/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/loopx-project/loopx/blob/main/skills/loopx-change-quality/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

“Verifique a minha mudança de código final para esta meta do LoopX antes de eu fazer o merge e registre o resultado da qualidade.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

Ela faz o agente preparar o conjunto exato de arquivos alterados, revisar apenas esse escopo, seguir os testes e verificações do próprio repositório e permitir uma rodada segura de correção antes de registrar o recibo.

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

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

LoopX Change Quality

Use this skill only when the selected goal's change_quality_qualification.enabled policy is true. LoopX owns the canonical source but does not install it globally. Install a managed copy in a connected project for the relevant host:

loopx project-skill install \
  --project . \
  --skill loopx-change-quality \
  --surface codex \
  --execute

Use --surface claude-code or --surface opencode for those hosts. Skill discovery does not activate the capability; product behavior remains default-off until goal policy enables it.

The CLI is the contract authority. This skill supplies a host-neutral review workflow. Repository instructions, tests, linters, type checkers, and security checks remain the project's quality oracles.

Prepare The Exact Scope

From the repository worktree, run:

loopx --format json change-quality prepare \
  --goal-id <goal-id> \
  --repo-path . \
  --base-ref origin/main

Stop when the packet says disabled or no_changes. When it says review_required, review only the files and exact fingerprint in the packet. Read repository-local instructions before judging the change.

Run loopx project-skill status --project . --skill loopx-change-quality when the host depends on skill discovery. If the managed copy is absent or stale, preview an explicit project install; do not fall back to a global copy.

Review Rules

Simplify First

Spend the review budget on simplification before broad quality analysis:

  1. Reuse an established helper or durable repository rule instead of copying behavior or knowledge.
  2. Remove redundant state, parameters, branches, indirection, and speculative abstraction while preserving behavior.
  3. Challenge a private helper or wrapper when it is only one to three lines, has at most two production callers, and owns no independent domain invariant, effect, or error boundary.
  4. Prefer the smallest coherent edit that leaves ownership and intent clearer. Do not create churn when the current shape is already direct and cohesive.

Simplification must preserve decision meaning, including agent-consumed prose. Compare ordering, evidence provenance, modality, qualifiers, continuation and stop conditions before shortening instructions. Unchanged fields and green size tests are insufficient. Follow the repository's budget decision guide; prefer an evidence-backed regression-limit increase when compaction loses useful meaning. Never treat a test ceiling as frozen authority or infer a semantic change is authorized by a size target. Keep this judgment in the existing reuse/simplification and validation evidence rather than a separate receipt.

Write one evidence-backed reuse conclusion and one evidence-backed simplification conclusion. Do not emit a row for every remaining lens. Those dimensions are guardrail categories for sparse risks[]: add an item only when the changed surface, repository instructions, a native validator, or the proposed simplification raises a concrete risk. LoopX derives each guardrail's status from risks[] and validation[].

The available review lenses are:

  • reuse: established helpers and durable knowledge are reused instead of duplicated;
  • type/API boundary: types, schemas, compatibility windows, and caller contracts remain explicit and coherent;
  • configuration: configuration stays single-sourced, validated, and free of hidden mode coupling;
  • runtime ownership: lifecycle, concurrency, state, and side effects live in the correct boundary;
  • quality/simplification: unnecessary indirection, branching, duplication, and speculative abstraction are removed or explicitly justified;
  • efficiency: hot paths, repeated work, memory growth, and unbounded loops are considered;
  • error/supervision: failures remain observable and actionable without silent fallback or blanket exception handling;
  • test/validation: tests and repository-native validators prove intended semantics and important negative paths;
  • documentation/comments: names, comments, and docs describe current contracts without stale or duplicated narration;
  • security/release: security, privacy, permissions, migrations, and release compatibility are handled at changed boundaries.

The packet projects path-only references to applicable repository instructions, ownership files, build manifests, language hints, and changed surface roots. It also projects a provider-neut

Perguntas frequentes

Isso vem ativado por padrão?

Não. A verificação só roda quando a política da meta a ativa.

Isso pode aprovar meu merge?

Não. A skill diz que nunca concede permissão de merge ou de repositório.

Isso substitui meus testes?

Não. Os testes e linters do seu projeto continuam sendo as verificações de qualidade, e esta skill trabalha junto com eles.

Detalhes

Descrição original do autor

Qualify the exact final diff for a LoopX-managed goal. Use when goal policy enables change_quality_qualification, before a non-trivial delivery or merge, and when producing or repairing an exact-scope quality receipt. The workflow is language-neutral, permits at most one policy-authorized safe-fix pass, and never grants merge or repository authority.

repo: loopx-project/loopx

Popularidade

Estrelas no GitHub
6,5 mil
Posição no ranking
#13872
Licença
Apache-2.0
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas