loopx-change-quality
Skill6.2k starsChanged 2 months agoApache-2.0View on GitHub
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.
Trending
More talk lately.thin dataabout the whole repository
Who's talking about loopx-project/loopx
- dshplugin/dsh-plugin-hub“fix: honor catalog release packages instead of repository root”GitHub · Oct 4, 2026
- YamilAyma/enlaces-para-desarrolladores“Enlaces rotos detectados en el README”GitHub · Oct 4, 2026
- YamilAyma/enlaces-para-desarrolladores“Fix broken links and redirects in README”GitHub · Oct 2, 2026
- songoow/loopx“docs(book): consolidate evidence, recovery and collaboration”GitHub · Sep 30, 2026
- fendouai/awesome-deepseek-harness“Weekly discovery: new DeepSeek Harness ecosystem candidates”GitHub · Sep 28, 2026
The biggest 5 of 10 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 10
Talked about on GitHub (10 times).
On GitHub · 10
- Oct 4, 2026fix: honor catalog release packages instead of repository root — dshplugin/dsh-plugin-hub0 reactions · 1 comment
- Oct 4, 2026Enlaces rotos detectados en el README — YamilAyma/enlaces-para-desarrolladores0 reactions
- Oct 2, 2026Fix broken links and redirects in README — YamilAyma/enlaces-para-desarrolladores0 reactions · 2 comments
- Sep 30, 2026docs(book): consolidate evidence, recovery and collaboration — songoow/loopx0 reactions · 1 comment
- Sep 28, 2026Weekly discovery: new DeepSeek Harness ecosystem candidates — fendouai/awesome-deepseek-harness0 reactions · 1 comment
5 more on GitHub
- Sep 27, 2026feat(work-state): index LoopX — control plane for long-horizon agents — ZhenningLang/GitHub-Michelin0 reactions
- Sep 27, 2026Enlaces rotos detectados en el README — YamilAyma/enlaces-para-desarrolladores0 reactions · 2 comments
- Sep 26, 2026Run — VibeFin/loopx0 reactions · 2 comments
- Sep 21, 2026Weekly discovery: new DeepSeek Harness ecosystem candidates — fendouai/awesome-deepseek-harness0 reactions · 1 comment
- Sep 20, 2026Enlaces rotos detectados en el README — YamilAyma/enlaces-para-desarrolladores0 reactions
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- loopx-benchmarkSkill
- loopx-doc-registrySkill
- loopx-materialSkill
- loopx-performance-diagnosisSkill
- loopx-pr-mergeSkill
- loopx-projectSkill
- loopx-pr-programSkill
- loopx-pr-reviewSkill
- loopx-self-repairSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 6 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this skill only when the selected goal's change_quality_qualification.enabled policy is true.
- Very specific: line 21
Use --surface claude-code or --surface opencode for those hosts.
- Very specific: line 40
Stop when the packet says disabled or no_changes.
- Distinctive: line 42
Read repository-local instructions before judging the change.
- Distinctive: line 56
Remove redundant state, parameters, branches, indirection, and speculative abstraction while preserving behavior.
- Distinctive: line 61
Prefer the smallest coherent edit that leaves ownership and intent clearer.
- Distinctive: line 62
Do not create churn when the current shape is already direct and cohesive.
- Very specific: line 64
Write one evidence-backed reuse conclusion and one evidence-backed simplification conclusion.
- Very specific: line 107
Read every projected instruction reference, but do not copy its prose into the result.
- Very specific: line 114
Use blocker only for a concrete correctness, security, privacy, contract, or required-validation failure.
- Very specific: line 137
When safe_fix is false, report risks without modifying files.
- Very specific: line 143
After any edit, rerun prepare.
- Very specific: line 148
Write a compact result conforming to the packet's change_quality_agent_result_v2 template.
- Distinctive: line 179
Run the authoritative merge gate with the goal identity:
- Distinctive: line 202
Stop before delivery when strict policy requires a receipt and the receipt is missing, invalid, stale, or contains an unresolved blocker.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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 \
--executeUse --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/mainStop 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.
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-neutral validation plan discovered from structured
repository task declarations. This is discovery context, not copied repository
content: instruction text, task bodies, and manifest contents remain in the
worktree. Read every required_reads entry, inspect each candidate's
source_ref, and let the host resolve the named Poe, Hatch, Cargo, or package
task. Never execute a candidate merely because it was discovered. Unresolved
format, lint, typecheck, or test categories require reviewer judgment or a
repository-native instruction; do not fill them with guessed commands. Treat
ignored_manifest_refs as non-executable context, especially fixtures and
vendored projects.
Read every projected instruction reference, but do not copy its prose into the
result. Ground reuse, simplification, and each emitted risk with typed
evidence_refs using path:, instruction:, or validator:. Keep
risks[] empty when no guardrail is triggered. Record only validators that
were selected or required; failed validation and skipped required validation
are independently blocking.
Use blocker only for a concrete correctness, security, privacy, contract, or
required-validation failure. Style preferences and speculative redesigns are
warning or advisory, never blockers.
This first version is single-level. Review one final diff; do not recursively review the review, spawn a hierarchy of quality agents, or require agreement between several models.
The guardrail catalog is review guidance, not an Agent output checklist or evidence that a particular model applies it well. Maintainers qualify model behavior separately against the public clean-PR and seeded Python, Rust, and TypeScript shadow matrix. Normal delivery does not launch that low-frequency evaluation, and a model shadow result cannot mutate goal policy or grant merge authority.
Safe Fix
safe_fix and strict_receipt are independent:
safe_fix=truepermits at most one bounded repair pass.strict_receipt=truerequires exact-scope evidence before merge and grants no permission to edit.
When safe_fix is false, report risks without modifying files. When it is
true, one repair pass may address a clear simplify opportunity or risk inside
the selected todo and goal boundary. Do not use destructive git, broaden
permissions, change product intent, add unrelated refactors, or conceal a
failing validator.
After any edit, rerun prepare. The old fingerprint is invalid. Review the
entire new final scope, not only the lines changed by the repair.
Record The Receipt
Write a compact result conforming to the packet's
change_quality_agent_result_v2 template. Beyond exact-scope metadata, the
Agent writes only reuse, simplification, sparse risks[], and
validation[]. simplification.safe_fix_applied records the one permitted
repair pass. A skipped or failed validator needs a reason; failed validation or
skipped required validation makes the receipt non-passing. Keep raw
transcripts, private paths, credentials, and unbounded logs out of the result.
Then record and read back the exact receipt:
loopx --format json change-quality record \
--goal-id <goal-id> \
--repo-path . \
--base-ref origin/main \
--result-json <ignored-or-temporary-result.json> \
--execute
loopx --format json change-quality verify \
--goal-id <goal-id> \
--repo-path . \
--base-ref origin/mainA receipt with an unresolved blocker, failed validator, or skipped required validator is not passing. A receipt for an earlier fingerprint does not qualify a later diff. Earlier experimental receipt schemas are invalid and must be requalified with the current protocol.
Premerge Enforcement
Run the authoritative merge gate with the goal identity:
loopx canary premerge \
--from-git-diff \
--goal-id <goal-id>Turn may transport the prepare packet or receipt reference as part of one
bounded transaction. Turn does not own quality policy and may not manufacture
or waive a receipt. canary premerge remains the enforcement authority.
Completion Evidence
Report:
- final scope fingerprint and changed-file count;
- safe-fix allowed/applied and pass count;
- blocker, warning, and advisory counts;
- project validations run and their real results;
- receipt id and exact verification status;
- premerge status, failures or skips, and manual holds.
Stop before delivery when strict policy requires a receipt and the receipt is missing, invalid, stale, or contains an unresolved blocker.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

