跳到正文
cccskills
免费在 GitHub 公开

test-reviewer

Review existing tests against the software and contracts they actually exercise. Use to assess whether a test has justified unique protection, detects consequential faults, tolerates valid refactors, earns its lifecycle cost, or deserves strengthening, replacement, consolidation, or removal consideration. Reviews are read-only and evidence-backed, including TDD and regression tests.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(9)

  • SKILL.md6.7 KB
  • evals/evals.json10.1 KB
  • evals/fixtures/review_project/__init__.py87 B
  • evals/fixtures/review_project/app.py1.0 KB
  • evals/fixtures/review_project/CONTRACT.md975 B
  • evals/fixtures/review_project/pytest.ini64 B
  • evals/fixtures/review_project/test_app.py872 B
  • evals/README.md309 B
  • SKILL-GOALS.md477 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Test Reviewer

Read Testing principles before review; it defines the shared criteria, compact test card, safe execution boundary, and evidence required for each disposition.

Scope

Review without editing or deleting the target's tests, product, requirements, or generated state. A request to review is not permission to execute destructive probes or update snapshots. Use safe isolated execution when authorized and available; otherwise report the proposed check as unvalidated. Prefer a reviewer independent of the test author where available; disclose when that is not possible.

Procedure

  1. Resolve architecture, contract altitude, and the review boundary. Read the governing repository instructions and architecture needed for the scope. Trace important tests upward from their observation boundary to the stable component/public/system contract or holistic goal they protect. Identify executable components/responsibilities, stable user/public/machine/cross-component contracts, destructive or durable-state boundaries, authorization/security/data-integrity risks, and cheaper deterministic enforcement from typing, schemas, compilation, linting, static analysis, or contract validators. Inventory the scoped tests, fixtures, production entry points/consumers, and CI selection, then map tests into provisional protection families by claim, boundary, and relevant failure mechanism. Read only the dependencies needed to decide a disposition; carry remaining scope as an explicit gap.
  2. Trace at the resolution that can change the decision. Deep-trace high-consequence, suspicious, high-cost, or uncertain families first. For each disposition-relevant test or representative family member, map setup -> production path -> observation -> assertion. Identify its intended claim and authority, the failure consequence, what it actually observes, and what can remain broken while it passes. Split a family whenever variants, boundaries, forbidden effects, diagnostics, or fault mechanisms differ materially. Separate characterization from approved intent. Do not infer importance from names, test counts, or covered lines.
  3. Challenge effectiveness. Apply the shared oracle, fault-sensitivity, refactor-tolerance, fidelity, isolation, and diagnostic criteria. Prefer evidence from stable system/integration/contract/lifecycle behavior over implementation details when both address the same risk. Select relevant controls only when they materially improve confidence. Confirm any original defect or seeded fault reaches the intended observation, not collection/setup failure. Do not require mutation execution for every test or call static inspection observed fault detection.
  4. Assess maintenance-adjusted value. Apply the shared economic model to each disposition-relevant test/family. Record expected protection benefit separately from expected ownership cost. Benefit includes consequence avoided, regression exposure, detection effectiveness, unique protection, contract durability, and feedback value. Ownership cost includes human/agent context, implementation/prose coupling and churn, fixtures/data, execution, diagnosis, flakiness, environment/dependencies, refactor drag, duplication, and review/coordination. Compare tests by the consequential failures they uniquely exclude and the contract altitude they protect, not by pyramid quotas. Treat unit tests that fail under behavior-preserving refactors because private helpers, constants, branches, or decomposition changed as implementation-coupled unless those details are authoritative contracts. Prefer a broader lifecycle/contract carrier when it provides equivalent or stronger useful protection with acceptable diagnostics.
  5. Recommend a disposition. Use KEEP, STRENGTHEN, REPLACE, CONSOLIDATE, REMOVAL-CANDIDATE, or UNRESOLVED with the evidence defined in the shared guide. Do not use missing documentation, high cost, or unmeasured sensitivity alone as proof of uselessness. For consolidation/removal, answer: if this test disappeared, which plausible important regression could now pass undetected? Identify the surviving carrier for every required guarantee and any residual risk.
  6. Specify the next validation. Distinguish product, requirement, oracle, boundary/interface, and test/CI-harness defects. For a proposed change, define success and protected behavior before its implementation; compare baseline and candidate under equivalent relevant conditions, adding independent/unseen scenarios for substantial redesign where practical. No corrections are applied by this review. Carry unresolved authority or evidence into the handoff.

Report

Return scope/revision, sources read, and uncovered scope before the findings. For each disposition-relevant test or explicitly bounded protection family, use a row containing:

Test/location | intended claim + authority | actual observation/boundary
Protection benefit | ownership cost | effectiveness + evidence | disposition
Correction category | surviving protection / gap | next discriminating validation

Distinguish observed defects, inferred risks, and proposed probes. Report claim -> validator -> observed result -> evidence boundary. Include the exact command/selection when run, outcomes, skips/xfails, omitted suites, and unavailable environments. Authored evals and source inspection are not passing runtime evidence.

Conclude with REVIEW COMPLETE when the declared scope was assessed, or REVIEW PARTIAL with unread dependencies or missing evidence; separately state whether required behavior is supported, failed, or unvalidated. Report No material test findings in the assessed scope when applicable. Completion of a review never means every test passed, and a removal candidate never authorizes deletion.

For findings needing causal investigation, read Test Failure Mindset or Root-Cause Tracing Process; carry the contract and evidence forward. For new/replacement test planning use Test Designer. When project commands are unknown, DH Meta Docs routes quality-gate discovery. Preserve the caller's existing SAM verdict, artifact registration, and status contract.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Add automated documentation updater to any Claude skill. Creates a Python sync script that downloads upstream docs, processes markdown for AI consumption, and maintains local cache with configurable refresh. Collects template variables, then delegates implementation through 5-phase workflow. Use when adding auto-updating reference documentation to plugins or skills.

中文简介正在准备中。当前显示原文说明。

Jamie-BitFlight/claude_skills672026年10月20日 更新

SAM-style feature initiation workflow — discovery through codebase analysis, architecture spec, task decomposition, validation, and context manifest. Use when a user asks to add a feature, plan a feature, or convert an idea into an executable SAM plan.

中文简介正在准备中。当前显示原文说明。

Jamie-BitFlight/claude_skills672026年10月20日 更新

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.

中文简介正在准备中。当前显示原文说明。

Jamie-BitFlight/claude_skills672026年10月20日 更新

Browser automation for AI agents using the agent-browser CLI and Playwright. Use when navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, logging into sites, or automating any browser task. Triggers on "open a website", "fill out a form", "click a button", "scrape data", "test this web app", "automate browser actions", or any programmatic web interaction request.

中文简介正在准备中。当前显示原文说明。

Jamie-BitFlight/claude_skills672026年10月20日 更新

Runs the description-drift experiment — spawns all Claude Code agents simultaneously to collect self-reported capabilities, then compares them against static frontmatter descriptions to reveal how reliable orchestrator routing based on descriptions actually is. Use when measuring description drift across the agent fleet, re-running the capability collection experiment, analyzing a specific agent's self-reported capabilities, or auditing whether frontmatter descriptions accurately reflect agent behavior.

中文简介正在准备中。当前显示原文说明。

Jamie-BitFlight/claude_skills672026年10月20日 更新

Create or adapt Claude Code agent definitions. Use when creating an agent, changing subagent configuration, selecting agent scope, or designing a specialized delegation role.

中文简介正在准备中。当前显示原文说明。

Jamie-BitFlight/claude_skills672026年10月20日 更新

查看 Jamie-BitFlight 的全部技能

报告此技能的问题