entity-model-auditor
Audits an entity model field by field: what should exist, what exists now, where each value belongs (column, config, computed…
Reviews a code change for correctness, security, maintainability, architecture, performance, and verification gaps, or performs a local code-smell review. Use for review this diff/PR、变更评审、代码审查、代码整洁度. Return evidence-backed findings and a scoped verdict; diagnose without editing
$ npx -y skills add hylarucoder/hai-stack --skill code-review-and-quality --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/code-review-and-qualityContext preview
The summary Claude sees to decide when to auto-load this skill.
Reviews a code change for correctness, security, maintainability, architecture, performance, and verification gaps, or performs a local code-smell review. Use for review this diff/PR、变更评审、代码审查、代码整洁度. Return evidence-backed findings and a scoped verdict; diagnose without editing
name: code-review-and-quality description: | Reviews a code change for correctness, security, maintainability, architecture, performance, and verification gaps, or performs a local code-smell review. Use for review this diff/PR、变更评审、代码审查、代码整洁度. Return evidence-backed findings and a scoped verdict; diagnose without editing unless fixes are requested. Use hai-architecture for system design or a React component deep dive, and write-technical-acceptance-report for executed requirement acceptance.
Find defects and costly design regressions in a defined change. Preserve the useful five-axis review method of the existing skill while scaling the work to actual risk. A review verdict is not permission to merge, publish, or message others.
unstaged changes plus relevant new files; state the baseline and scope.
`references/maintainability.md` and its relevant language/examples guidance. Preserve behavior.
diagnosis and verify them. An audit-only request remains read-only.
1. Read repository instructions, intended behavior, diff, and relevant specs/contracts. Record which files and paths were actually reviewed. Preserve unrelated work. 2. Read tests and their assertions, then trace changed behavior into callers, state, error paths, persistence, and external effects where relevant. A passing test is only as good as its coverage. 3. Review relevant axes:
concurrency/idempotency where relevant.
duplicated authority; project conventions over arbitrary style rules.
reduced or merely relocated.
latency estimates without measurement. 4. For each candidate, verify the triggering scenario and changed code. Distinguish regressions, pre-existing issues, and unverified suspicions. Cite real file:line evidence. 5. Rank by user impact and change cost. Omit cosmetic preferences unless requested. Do not reject a coherent change solely for its line count, number of implementations, or lack of abstraction. 6. For requested repairs, apply the smallest complete fix and run appropriate checks. Use `hai-tdd` for behavior changes where a real RED is possible; structural work uses compiler, existing tests, and focused checks. Do not mix unrelated redesign into a bug fix. 7. Read `references/output-template.md` and deliver findings, actual verification, and a scoped verdict. No findings means none were found in the inspected scope, not proof of perfection.
Review code and run relevant non-mutating checks when useful. Do not claim tests passed unless executed or clearly label the author's/historical evidence. Code inspection does not prove a deployed workflow passed; requirement-by-requirement acceptance belongs to `write-technical-acceptance-report`.
Unexplained runtime failures → `hai-debug`. A structural decision or deep React analysis → `hai-architecture`; a local naming decision → `hai-naming`. Reuse collected evidence when handing off.
让 Coding Agent 把软件迭代做对:从真实问题出发,完成改动,用证据确认结果。 支持:大多数能读取 Skills(SKILL.md)的 Coding Agent,例如 Claude Code、Codex。 hai-stack 由 @海拉鲁编程客 创建。它把一次软件迭代拆成判断、设计、动手、确认、沉淀五步,每一步都有对应的技能。
Audits an entity model field by field: what should exist, what exists now, where each value belongs (column, config, computed…
Challenges an overly conservative, incremental, or compatibility-led proposal with a bold target model, a concrete…
Pressure-tests an ambitious proposal and returns a landing judgment, one minimum viable proof, explicit cuts, success/failure…
Investigates architecture and change complexity from repository runtime paths to bounded modules, React components, and shared…
Produces a ready-to-run ast-grep command or reusable YAML lint/codemod rule, validated against positive and negative fixtures.…
Audits documentation for internal contradictions and/or mismatches with code, config, schemas, and approved contracts. Use for…