code-review-and-qualit…
Reviews a code change for correctness, security, maintainability, architecture, performance, and verification gaps, or performs a…
Verify a defined software change against requirements and produce a proportional, evidence-backed acceptance report with specification precedence, scope boundaries, requirement-to-evidence traceability, executed test results, risk findings, a release verdict, and an
$ npx -y skills add hylarucoder/hai-stack --skill write-technical-acceptance-report --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/write-technical-acceptance-reportContext preview
The summary Claude sees to decide when to auto-load this skill.
Verify a defined software change against requirements and produce a proportional, evidence-backed acceptance report with specification precedence, scope boundaries, requirement-to-evidence traceability, executed test results, risk findings, a release verdict, and an
name: write-technical-acceptance-report description: Verify a defined software change against requirements and produce a proportional, evidence-backed acceptance report with specification precedence, scope boundaries, requirement-to-evidence traceability, executed test results, risk findings, a release verdict, and an automation/regression plan. Use for 技术验收报告, 变更验收, release-readiness reviews, implementation-vs-spec audits, high-risk migrations, billing/quota/stateful changes, or requests to decide what can be validated automatically instead of manually.
Build a report that lets a decision-maker accept or reject a defined change without trusting undocumented claims. Separate facts observed now from historical claims and unexecuted expectations.
authoritative checks, and return a small requirement/evidence/status table plus a scoped verdict. Do not require a standalone report file, database fixture, or twelve report sections.
workflow and template below, selecting only applicable risk surfaces.
Both modes distinguish actual results from inference and preserve unresolved evidence. Acceptance does not authorize deployment or merge. A request to inspect/verify remains read-only apart from isolated test artifacts; fixes need an implementation request. Code review belongs to `code-review-and-quality`; unexplained failures to `hai-debug`. Do not repair a failed requirement merely to obtain a favorable acceptance verdict.
1. Read the repository instruction hierarchy before inspecting or changing files. 2. Identify the requested acceptance scope, the implementation boundary, the target environment, and the report destination. 3. Locate the governing specifications, decisions, plans, review remediations, and product parameters. 4. Record precedence explicitly when documents conflict. Prefer later ratified decisions over earlier plans, and runtime contracts over stale prose unless the user says otherwise. 5. Treat the current diff plus explicitly named committed changes as the candidate under test. Preserve unrelated user work.
For a full Git-repository report, run `bash scripts/collect-repo-evidence.sh <repo>` from this skill's directory as an initial inventory. It prints metadata only; it does not run tests or expose diff contents.
Create one row per independently verifiable requirement. Do not merge separate behaviors merely because they live in one feature.
Capture:
Use `PARTIAL` when only part of a requirement is proven. Never convert `skip`, “not applicable”, stale historical logs, typecheck success, code presence, or a mocked path into an executed behavioral pass.
Trace the feature end to end rather than reviewing files in isolation:
1. Entry points and authorization. 2. Domain decisions and state transitions. 3. Persistence schema, migrations, constraints, isolation, and rollback. 4. Concurrency, lock order, idempotency, retries, and duplicate delivery. 5. External calls, timeout, fail-open/fail-closed behavior, and compensation. 6. Public API/contracts, error codes, user-facing copy, and compatibility. 7. Configuration defaults, deployment overrides, feature flags, and generated mirrors. 8. Metrics, logs, alerts, reconciliation, and operational recovery. 9. Security, privacy, tenant isolation, and secret handling.
Read `references/acceptance-method.md` for stateful, concurrent, financial, migration, or otherwise high-risk changes.
Use project-authoritative commands. Start focused, then widen in proportion to risk:
1. Static integrity: dirty-tree boundary, generated-file freshness, formatting, lint, typecheck, migration shape, and contract consistency. 2. Unit/contract tests: calculations, mappings, error taxonomy, and negative paths. 3. Real dependency integration: use an isolated database/cache and real transaction or script behavior. 4. End-to-end/story tests: observe public API/UI events and persisted state together. 5. Operational probes: metrics, alerts, retry behavior, rollback, and recovery.
For stateful tests, prefer a freshly created disposable database or namespace, apply migrations from zero, seed deterministic identities, run cases, reconcile invariants, and remove only the resources created for the run. Also test upgrades from every supported deployed schema when applicable.
Record the exact command, timestamp/environment facts that matter, counts, exit status, skips, and failure cause. If an environment is unavailable, mark the case `BLOCKED` or `NOT RUN`; do not infer behavior from source.
Classify each acceptance item:
For each automated item specify the trigger, fixture isolation, assertions, cleanup, artifact, owner, runtime budget, and false-green guard. Add invariant reconciliation after behavioral cases for ledgers, quotas, inventories, or other derived state.
Explicitly detect fal
让 Coding Agent 把软件迭代做对:从真实问题出发,完成改动,用证据确认结果。 支持:大多数能读取 Skills(SKILL.md)的 Coding Agent,例如 Claude Code、Codex。 hai-stack 由 @海拉鲁编程客 创建。它把一次软件迭代拆成判断、设计、动手、确认、沉淀五步,每一步都有对应的技能。
Reviews a code change for correctness, security, maintainability, architecture, performance, and verification gaps, or performs a…
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.…