loopx-change-quality
Skill này làm gì
Skill này hướng dẫn kiểm tra chất lượng một thay đổi code ngay trước khi merge, cho các dự án dùng mục tiêu LoopX. Nó dành cho nhà phát triển muốn có bản ghi rõ ràng rằng thay đổi cuối cùng đã được review.
Khi nào nên dùng
- ✓Khi một mục tiêu LoopX bật kiểm tra chất lượng thay đổi và một thay đổi sắp được merge.
- ✓Khi một thay đổi code cần biên nhận chất lượng cho đúng phiên bản cuối cùng của nó.
- ✓Khi một biên nhận chất lượng hiện có phải được sửa cho đúng thay đổi cuối cùng.
Liên kết skill
https://github.com/loopx-project/loopx/blob/main/skills/loopx-change-quality/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Kiểm tra thay đổi code cuối cùng của tôi cho mục tiêu LoopX này trước khi tôi merge và ghi lại kết quả chất lượng.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill để agent chuẩn bị đúng tập file đã thay đổi, chỉ review phạm vi đó, làm theo các kiểm tra và test của chính kho mã, và cho phép một lượt sửa an toàn trước khi ghi biên nhận.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Tính năng này có bật mặc định không?
Không. Kiểm tra chỉ chạy khi chính sách của mục tiêu bật nó.
Skill này có thể duyệt merge cho tôi không?
Không. Skill nói nó không bao giờ cấp quyền merge hay quyền kho mã.
Nó có thay thế test của tôi không?
Không. Test và linter của dự án vẫn là kiểm tra chất lượng, và skill này làm việc cùng chúng.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 6.5k
- Vị trí xếp hạng
- #13872
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
loopx
6.5kDạy agent thiết lập và chạy LoopX, một công cụ cục bộ giữ các mục tiêu, nhiệm vụ và bằng chứng dài hạn đi đúng hướng qua các phiên trò chuyện.
loopx-doc-registry
6.5kDạy agent ghi lại và lập chỉ mục các tài liệu dự án lâu dài, như tài liệu thiết kế và ghi chú nghiên cứu, để các agent sau có thể tìm thấy.
loopx-material
6.5kHướng dẫn agent quản lý kho tài liệu nghiên cứu của dự án, gồm kiểm kê, chuyển mục giữa các giai đoạn, xếp hạng và thay đổi có chủ sở hữu phê duyệt.
loopx-performance-diagnosis
6.5kDạy agent tìm lý do một chương trình chạy chậm hoặc dùng quá nhiều CPU, bộ nhớ hay đĩa, bằng các phép đo có kiểm soát và công cụ profiling.
Skill tương tự
diffs
394kGiúp agent của bạn tạo một diff có thể chia sẻ về các chỉnh sửa, dưới dạng liên kết xem hoặc file ảnh, thay vì một bản tóm tắt viết tay.
coding-agent
394kGiúp agent của bạn giao một việc lập trình lớn cho Codex, Claude Code hoặc OpenCode chạy nền, rồi theo dõi tiến độ của nó.
gh-issues
394kGiúp agent của bạn tìm issue trên GitHub, chọn những issue cần xử lý và mở pull request với bản sửa, kể cả theo dõi nhận xét đánh giá.