Home / ccdawn / codex-skills · skills/engineering/briefbound-test-strategy/SKILL.md · GitHub

briefbound-test-strategy skillA

briefbound-test-strategy is agent-read markdown (skill) from ccdawn/codex-skills: Use when tests or coverage are the primary unknown: backfilling tests for untested code, coverage gap analysis, choosing test levels, or selecting regression tests after a change; do not use for TDD of newly defined behavior, bug-fix verification anchors, or benchmark work..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# Briefbound Test Strategy

## 目标

回答“测什么、测到什么程度、用什么层级”,用最小决定性测试挡住真实风险。它负责测试策略与存量补测,不负责新行为的 TDD 流程、bug 修复验证或性能基准。

## Briefbound task contract

- Context Boundary: 被测对象与关键路径、现有测试体系与 runner、已知风险区、变更范围和允许写入面。
- Output Contract: 风险排序、层级选择、每条测试挡住的具体风险、覆盖缺口结论和最小补测集。
- Allowed Action: 在授权范围内编写并运行测试;不静默修改被测实现、mock 语义或 CI 阈值。
- Success Evidence: 每条测试与其防御的风险一一对应;失败注入或等价证据证明测试真的会失败;命令与结果可复现。
- Stop Condition: 被测行为未定义、关键依赖无法隔离、测试基建缺失且引入需授权,或测试目标与业务目标冲突。
- Route Out: 新行为 RED 流程 `briefbound-bdd-tdd-development`;bug 修复验证 `briefbound-bug-review`;性能基准 `briefbound-performance-engineering`;契约设计 `briefbound-api-contract`;已验证残留 `briefbound-development-cleanup`;`briefbound-router` 或 BLOCKED。

## 统一调用契约

- 只处理 Briefbound task contract 范围;不匹配时回 `briefbound-router` 或更具体 owner,复合任务不吞其他 owner。
- 用户可见内容默认中文,先说结论与覆盖判断,不贴大段测试代码;Route Out 仅以 Briefbound task contract 为准,有自然闸门时末行 `下一步建议: <一个具体动作>`,否则继续已授权工作。

## 激活闸门

只有测试或覆盖是主要未知量,或用户明确要求补测、测试计划、覆盖分析、回归选择时进入。已定义清楚的新行为走 BDD/TDD owner;修 bug 的验证锚点留在 bug-review 内部,不转移到本 skill。

## 层级选择

按风险选层级,不按覆盖率数字凑数:

- 单元:纯逻辑、状态机、边界与错误分支;依赖少、失败定位快。
- 集成:跨模块协作、持久化、队列与外部服务的契约适配。
- E2E/浏览器:只有信任边界、关键用户旅程或回归高发路径值得;慢且脆,不用于堆数量。

框架中立:优先用仓库现有 runner 与断言风格;没有测试体系时提议最小引入并等待授权,不静默搭建全套基建。
…

Read the whole file at its exact version.

How to install

Latest version
mdr add ccdawn/codex-skills/briefbound-test-strategy@git:20260920.280b6d2
Exact content
mdr add ccdawn/codex-skills/briefbound-test-strategy@sha256:0b2d2cee5dc71ad2

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_7vob3xrm7tm65udj.svg)](https://markdownregistry.com/a/art_7vob3xrm7tm65udj)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260920.280b6d2 latest2026-09-20 280b6d2 4,309 BA view · diff
git:20260920.2c24d662026-09-20 2c24d66 4,268 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4309 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

ccdawn/codex-skills · 6 stars · license MIT · pushed 2026-09-22 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_7vob3xrm7tm65udj
GET https://markdownregistry.com/api/v1/resolve?ref=ccdawn/codex-skills/briefbound-test-strategy
GET https://markdownregistry.com/api/v1/blob/0b2d2cee5dc71ad29678023e568100b828588f1ea7b64a188e3f22c08e000bf5

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from ccdawn/codex-skills

AGENTS.md agents
ccdawn/codex-skills · AGENTS.md
git:20260813.dec1d14 · audit A · 6 stars
CLAUDE.md claude
ccdawn/codex-skills · CLAUDE.md
git:20260813.dec1d14 · audit A · 6 stars
briefbound-huawei-nslb-score-loop skill
ccdawn/codex-skills · skills/competition/briefbound-huawei-nslb-score-loop/SKILL.md · Use when a Huawei Algorithm Challenge 37 NSLB workspace needs live status, adaptive solver search, comparable…
git:20260916.292b0ac · audit A · 6 stars
briefbound-score-loop skill
ccdawn/codex-skills · skills/competition/briefbound-score-loop/SKILL.md · Use when repeated work is governed by an explicit metric, active baseline, candidate search, promotion rule…
git:20260916.292b0ac · audit A · 6 stars
briefbound-creative-toolbox skill
ccdawn/codex-skills · skills/creative/briefbound-creative-toolbox/SKILL.md · Use when the user wants non-obvious but useful ideas, concept invention, naming, reframing, variation, selection…
git:20260916.292b0ac · audit A · 6 stars
briefbound-diagram-design skill
ccdawn/codex-skills · skills/creative/briefbound-diagram-design/SKILL.md · Use when creating or redrawing structured diagrams such as architecture, flowcharts, sequences, ER/UML, timelines or…
git:20260916.ed1d50d · audit A · 6 stars
briefbound-api-contract skill
ccdawn/codex-skills · skills/engineering/briefbound-api-contract/SKILL.md · Use when a change touches an external contract surface - REST/GraphQL endpoints, request/response schemas, DB schema…
git:20260920.280b6d2 · audit A · 6 stars
briefbound-autonomous-collaboration-loop skill
ccdawn/codex-skills · skills/engineering/briefbound-autonomous-collaboration-loop/SKILL.md · Use when the user explicitly enables an automated same-project multi-thread development loop that keeps peer Codex…
git:20260919.ae05288 · audit A · 6 stars
briefbound-bdd-tdd-development skill
ccdawn/codex-skills · skills/engineering/briefbound-bdd-tdd-development/SKILL.md · Use when an already-defined new behavior or high-risk implementation contract needs a failing test before…
git:20260916.292b0ac · audit A · 6 stars
briefbound-bug-review skill
ccdawn/codex-skills · skills/engineering/briefbound-bug-review/SKILL.md · Use when an observed bug, correctness regression, failing test, build failure, abnormal behavior, or unresolved root…
git:20260916.292b0ac · audit A · 6 stars
briefbound-code-structure-guard skill
ccdawn/codex-skills · skills/engineering/briefbound-code-structure-guard/SKILL.md · Use when active development or explicit refactoring has concrete code-structure risk: a source file is accumulating…
git:20260916.292b0ac · audit A · 6 stars
briefbound-design-system skill
ccdawn/codex-skills · skills/engineering/briefbound-design-system/SKILL.md · Use when a frontend task primarily concerns cross-component design tokens, semantic theming, component APIs, variants…
git:20260916.292b0ac · audit A · 6 stars

Every file in ccdawn/codex-skills

Browse by kind, by grade A, or by owner.