跳到正文
cccskills
免费在 GitHub 公开

durable-test-collateral

Add or update a focused, reusable test when fixing bugs or changing behavior. Keep it in the project's existing test structure, verify the relevant change, and maintain coverage as the expected behavior evolves.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Load the body before the first implementation edit for a bug fix or behavior change, or when the user or governing specification makes reusable tests a deliverable. It keeps the smallest focused test with the delivered project and updates coverage when behavior changes. Do not load for greenfield work unless reusable tests are explicitly required, behavior-preserving refactors, verification-only work, plan/review/explanation/documentation/formatting/generated-output-only work, explicit no-change or no-tool work, or when the user declines tests.

查看安装方法

适用场景

  • Adding a regression test for a bug fix
  • Updating tests when expected behavior changes
  • Delivering a reusable test suite required by a specification
  • Keeping a maintained test beyond a temporary diagnostic check

包含的文件(1)

  • SKILL.md2.7 KB

SKILL.md(原文)

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

Durable Test Collateral

Verification is part of the delivered project when it can prevent the same behavior from breaking again. Use the project's existing framework and conventions.

Keep the check with the project

For a bug fix or behavior change, add or update the smallest maintained test in the repository's normal test layout that exercises the changed behavior. If a specification makes a reusable suite or test category a deliverable, implement that suite instead of treating it as private verification.

An inline interpreter command, heredoc, scratch script, temporary-directory test, demo, or manual probe may help diagnose the problem, but it does not replace the maintained test. Keep a useful self-authored test unless the user explicitly asks for a disposable probe.

Do not add a new test framework solely to satisfy this skill. If the repository has no maintained harness and the request does not require one, disclose when durable coverage would be disproportionate or infeasible and use the narrowest honest verification instead.

On a later turn, update the maintained test even when the old suite remains green and the user does not repeat the test request. Cover the new behavior, not merely an unrelated cleanup in the test file.

Prove the maintained check

Observe the authentic failure before the implementation change when it is safe and runnable. Then make the smallest implementation change and run the focused maintained test after the final relevant source or test edit.

Do not weaken or delete a real failing test to obtain green. Fix the product, or explain why the test's expectation is wrong before changing that expectation. Do not repeat an unchanged check solely to collect evidence.

Run a broad or full suite only when the user, a repository gate, or proportionate risk requires it. A focused regression test comes first; broad proof does not substitute for missing focused coverage.

If the real runner is unavailable but the focused test can still be authored honestly, leave the focused test in the repository and say it was not run. Do not fabricate a passing result.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

3d-object

免费

Create a 3D object with three.js, inspect it from every angle in an interactive viewer, and download it as OBJ + MTL or GLB for use in other 3D applications.

中文简介正在准备中。当前显示英语简介。

  • Create a 3D object and inspect it from every angle
  • Export a model for further editing in Blender
  • Review an object's silhouette and materials
asgeirtj/system_prompts_leaks7万2026年10月20日 更新

Maintain a private task list with deadlines, next steps, waiting parties, and blockers. Update progress and dependencies, merge duplicate items, and archive closed tasks so ongoing commitments stay clear and easy to follow.

中文简介正在准备中。当前显示英语简介。

  • Record tasks and commitments with deadlines
  • Track pending replies and reasons work cannot proceed
  • Update task dependencies when prerequisites are completed
asgeirtj/system_prompts_leaks7万2026年10月20日 更新

agents

免费

Coordinate a task from a verifiable goal through completion. Handle work directly or split independent tasks across separate agent sessions, track progress, verify results, and arrange pull request merging when included in the goal.

中文简介正在准备中。当前显示英语简介。

  • Split independent tasks across agents
  • Check progress across ongoing tasks
  • Resume a previously started project
asgeirtj/system_prompts_leaks7万2026年10月20日 更新

Create animated HTML pages with smooth scene transitions and playback controls. An editable timeline lets users adjust scene lengths and speeds, with fixed landscape or portrait layouts prepared for video export.

中文简介正在准备中。当前显示英语简介。

  • Create an animated product walkthrough
  • Explain a message through moving text and graphics
  • Build a portrait animation for video export
asgeirtj/system_prompts_leaks7万2026年10月20日 更新

Review synced Apple Health records, including steps, heart rate, sleep, and workouts. Retrieve daily summaries or detailed samples for a chosen period, and check sync status and missing data before interpreting the results.

中文简介正在准备中。当前显示英语简介。

  • Review daily steps and heart rate over time
  • Check sleep stages, duration, and awakenings
  • Review workout duration, distance, and calories
asgeirtj/system_prompts_leaks7万2026年10月20日 更新

Create and edit Word documents and templates, reorganize text, replace images, and work with tracked changes or comments. Apply proper headings and lists, then render every page to check its appearance before delivery.

中文简介正在准备中。当前显示英语简介。

  • Create a structured Word document
  • Reorganize content in an existing document
  • Replace images or text in a document
asgeirtj/system_prompts_leaks7万2026年10月20日 更新

查看 asgeirtj 的全部技能

报告此技能的问题