loopx-change-quality
できること
LoopXの目標を使うプロジェクトで、マージの直前にコードの変更の品質を確かめる手順です。最終版の変更がレビューされたという明確な記録がほしい開発者向けです。
使う場面
- ✓LoopXの目標が変更の品質チェックを有効にしていて、変更をマージしようとしているとき。
- ✓最終版の変更について、品質の受領書が必要なとき。
- ✓既存の品質の受領書を、最終的な変更に合うように修復する必要があるとき。
スキルのリンク
https://github.com/loopx-project/loopx/blob/main/skills/loopx-change-quality/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“マージする前に、このLoopXの目標の最終的なコードの変更を確かめて、品質の結果を記録してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、エージェントに変更されたファイルの正確な一覧を準備させ、その範囲だけをレビューさせ、リポジトリ自身のテストとチェックに従わせ、受領書を記録する前に一度だけ安全な修正の機会を与えます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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:
- Reuse an established helper or durable repository rule instead of copying behavior or knowledge.
- Remove redundant state, parameters, branches, indirection, and speculative abstraction while preserving behavior.
- 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.
- 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
よくある質問
これは既定でオンになっていますか?
いいえ。このチェックは、目標のポリシーでオンにされたときだけ動きます。
これでマージが承認されますか?
いいえ。スキルは、マージの許可やリポジトリの権限を決して与えないと述べています。
テストを置き換えますか?
いいえ。プロジェクトのテストとリンターが引き続き品質のチェックであり、このスキルはそれらと並んで働きます。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 6.5k
- ランキング
- #13872
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
loopx
6.5kエージェントが、チャットのセッションをまたいで長く続く目標、タスク、証拠を追い続ける、ローカルのツールであるLoopXを設定して実行できるよう教えます。
loopx-doc-registry
6.5kエージェントが、設計書や調査メモなどの、残すべきプロジェクトの資料を記録して索引を作り、後のエージェントが見つけられるよう導きます。
loopx-material
6.5kエージェントが、在庫の確認、段階間での項目の移動、ランキング、所有者の承認を伴う変更を含め、プロジェクトの調査資料の保管を管理するよう導きます。
loopx-performance-diagnosis
6.5kエージェントが、制御された計測とプロファイリングのツールを使い、プログラムが遅い理由や、CPU、メモリ、ディスクを使いすぎる理由を見つけられるよう教えます。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。