Agent skill

Openprd Test Strategy

by DavidLam-oss in DavidLam-oss/obsidian-wechat-converter

OpenPrd 测试策略分流 skill:按风险把任务分到单元、集成、端到端、人工、视觉、小程序、性能和安全验证,并要求 evidence-plan。

MITAuto-check passedTesting & QA

Install Openprd Test Strategy

skills CLI
$ npx skills add DavidLam-oss/obsidian-wechat-converter --skill openprd-test-strategy -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install DavidLam-oss/obsidian-wechat-converter openprd-test-strategy --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/DavidLam-oss/obsidian-wechat-converter.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/openprd-test-strategy .claude/skills/openprd-test-strategy && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
openprd-test-strategy
GitHub stars
334
Token cost
~578 tokens
SKILL.md length
87 words
Files
1
Skills in repo
14
Repo updated
First seen
Licence
MIT

At a glance

OpenPrd 测试策略分流 skill:按风险把任务分到单元、集成、端到端、人工、视觉、小程序、性能和安全验证,并要求 evidence-plan。

  • Tasks that involve Test strategy
  • SKILL.md covers 核心判断, 默认分流, 任务元数据 and 收尾要求
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Openprd Test Strategy is an agent skill from DavidLam-oss/obsidian-wechat-converter. OpenPrd 测试策略分流 skill:按风险把任务分到单元、集成、端到端、人工、视觉、小程序、性能和安全验证,并要求 evidence-plan。

Its SKILL.md is about 580 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA, covering Test strategy. The repository describes itself as: Obsidian 公众号排版(支持自定义 CSS和公众号贴图)、飞书云同步与多平台(小红书、知乎等)发布插件。Markdown 转微信文章 / Feishu docs / 知乎、小红书、今日头条等草稿,支持数学公式、本地图片、GIF 和 Mermaid。 The licence is MIT.

When your agent uses it

  • Tasks that involve Test strategy

Example prompts

  • “/openprd-test-strategy”

What it can do on your machine

Read from SKILL.md and the folder at commit 3fef612. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Openprd Test Strategy loads about 578 tokens when it runs. Until then it costs about 24 tokens; SKILL.md has 87 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~24
When it runs · the whole SKILL.md, loaded when a task matches
~578

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from DavidLam-oss/obsidian-wechat-converter at commit 3fef612, republished under its MIT licence (© DavidLam-oss). 87 words, ~578 tokens.

Download SKILL.mdSave it as .claude/skills/openprd-test-strategy/SKILL.md (or your agent's skills folder).
name
openprd-test-strategy
description
OpenPrd 测试策略分流 skill:按风险把任务分到单元、集成、端到端、人工、视觉、小程序、性能和安全验证,并要求 evidence-plan。
<!-- OPENPRD:GENERATED
adapter=codex
source=openprd-test-strategy
version=0.1.19
checksum=ff5cff892bd659f0
-->

OpenPrd Test Strategy

当需求进入实现、任务拆分、验证计划、质量评估或 loop 单任务执行时,使用这份 skill。

核心判断

  • 先接住 $openprd-requirement-intake 的需求类型,再按风险、触达面、失败后果和证据成本选择测试组合。
  • 不把“小需求=单测、中需求=集成、大需求=端到端”写成硬规则;它只是默认起点。
  • 70/20/10 只作为健康形状参考,不作为 OpenPrd 的硬性比例门禁。
  • 脚本存在只能说明项目具备能力,不能替代本次执行证据。

默认分流

  • 局部纯逻辑、格式化、解析、规则函数:优先 test-layer: unit,test-size: small,test-scope: isolated。
  • 触达 CLI/API/Agent 契约、生成物、跨模块状态、任务推进、quality/run/loop:使用 unit, integration,test-size: medium,test-scope: cli-contract|api-contract|module。
  • 触达用户主路径、页面、发布链路、真实浏览器、登录权限或第三方依赖:升级到 integration, e2e,test-size: large,test-scope: user-flow。
  • 触达视觉还原:补 visual 或 visual-flow;已有参考图时用 openprd visual-compare --reference/--actual 留证据;没有参考图时先判断新建界面还是修改既有界面,新建界面先按用户目标、信息架构和视觉决策成本判断是否需要 3 方向方案评审,修改既有界面用 openprd visual-compare --before/--after 留修改前后自检证据;局部细节优先补“局部焦点证据板”,多方向实验优先补“并行实验证据板”。卡片宽度、间距、留白、对齐、颜色、圆角、字号、按钮或图标等轻量 UI 可视优化也需要视觉证据,build、package 和 dev-check 不能替代。新功能或改动包含同构列表、卡片、网格、表格时,或用户反馈排版没对齐时,还要补“对齐辅助线证据板”,同时量测容器轨道和内容槽位轨道;内容槽位包括标题、副标题、描述、标签、状态、价格、按钮、图标或操作区等相同文案类型/相同组件槽位的 x/y/宽高/baseline spread。单个 logo、icon、avatar、badge、按钮图形或图片内部需要居中判定、视觉重心评估或用户反馈偏心时,补“内部居中证据板”,用 centering-board 量画布中心、主体外接框中心和视觉重心偏移。
  • 明确要求微信小程序运行态证据,或改动高风险且只能靠真实运行态确认时:补 weapp 和 weapp-runtime,并使用当前环境已配置的本地小程序验证能力;默认沿用当前小程序运行态或开发者工具会话连续验证,不要为了验证自动重开应用;普通小改默认先选更轻的验证,不要自动升级到小程序运行态验证。
  • 触达性能、成本、额度、并发、滥用、安全、敏感信息:增加 performance 或 security 专项验证和负向场景。
  • 纯文档或治理任务:使用 manual,并记录标准校验、review、change validate 或人工审查证据。

任务元数据

OpenPrd 任务可以显式写入:

md
- test-layer: unit|integration|e2e|manual|smoke|visual|performance|security|weapp|none
- test-size: small|medium|large|manual|advisory|none
- test-scope: isolated|module|contract|cli-contract|api-contract|user-flow|visual-flow|weapp-runtime|performance|security|governance|docs|none
- evidence-plan: 说明本任务准备留下什么验证证据
- evidence: 本次已经产生的证据路径或摘要
- waiver-reason: 不做某层测试时的原因和剩余风险

收尾要求

  • loop 单任务完成时,阶段性测试报告必须包含测试策略、执行命令、结果和证据路径。
  • openprd quality . --verify 应能看到分层测试策略矩阵;缺少本次证据时只能写需补证据,不能宣称已验证。
  • 如果策略被升级或豁免,把原因写进 upgrade-reason 或 waiver-reason,方便后续 review。

© DavidLam-oss, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .codex/skills/openprd-test-strategy of DavidLam-oss/obsidian-wechat-converter.

Open the folder on GitHubat commit 3fef612

Compare with similar skills

Openprd Test Strategy next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Openprd Test Strategy compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Openprd Test Strategy this skillDavidLam-oss/obsidian-wechat-converter334—~578Automated safety check: PassMIT
Testing OpenLogi UIAprilNEA/OpenLogi23k—~1.1kAutomated safety check: PassApache-2.0
Testing Hashqlhashintel/hash1.7k—~1.9kAutomated safety check: PassAGPL-3.0
Dynamo Unit TestingDynamoDS/Dynamo2k—~622Automated safety check: PassApache-2.0
Designing TestsCloudAI-X/opencode-workflow275—~2.9kAutomated safety check: PassMIT
Go TestingGentleman-Programming/gentle-ai7.6k—~550Automated safety check: PassApache-2.0

Similar skills

  • Testing OpenLogi UI

    AprilNEA/OpenLogi

    Verifies OpenLogi's native GPUI interface with focused tests, the component gallery and a mock agent, choosing the evidence that fits each change.

    23k GitHub stars~1.1k tokensUpdated today
    Testing & QAAuto-check passed
  • Testing Hashql

    hashintel/hash

    HashQL testing strategies including compiletest (UI tests), unit tests, and snapshot tests.

    1.7k GitHub stars~1.9k tokensUpdated today
    Testing & QAAuto-check passed
  • Dynamo Unit Testing

    DynamoDS/Dynamo

    Write comprehensive NUnit tests for the Dynamo codebase following Dynamo testing patterns, conventions, and architectural constraints.

    2k GitHub stars~622 tokensUpdated today
    Testing & QAAuto-check passed
  • Designing Tests

    CloudAI-X/opencode-workflow

    Guides test strategy, TDD/BDD approaches, test coverage planning, and testing best practices.

    275 GitHub stars~2.9k tokensUpdated 9 mo ago
    Testing & QAAuto-check passed
  • Go Testing

    Gentleman-Programming/gentle-ai

    Trigger: Go tests, go test coverage, Bubbletea teatest, golden files.

    7.6k GitHub stars~550 tokensUpdated today
    Testing & QAAuto-check passed
  • Writing Tests

    quarkusio/quarkus

    Testing patterns for Quarkus extensions: test annotations, test locations, QuarkusExtensionTest patterns, and how to run tests.

    16k GitHub stars~1k tokensUpdated today
    Testing & QAAuto-check passed

More from DavidLam-oss/obsidian-wechat-converter

All 14 skills in this repo
  • Openprd UI Context

    DavidLam-oss/obsidian-wechat-converter

    OpenPrd UI Context skill:区分 greenfield、brownfield 与局部修正,基于已确认 PRD、可选 CodeGraph 和本地证据提出专业 UI/UX 方向,并在用户确认后编译 PRODUCT.md、DESIGN.md 和 Impeccable handoff。

    334 GitHub stars~899 tokensUpdated today
    Auto-check passed
  • Wechat AI Layout

    DavidLam-oss/obsidian-wechat-converter

    为 Obsidian 微信公众号转换器生成受约束的 AI 编排结果。只在需要把文章内容映射为公众号安全 block JSON、诊断编排结果、优化 layout schema、分析 fallback 介入原因时使用。遇到教程、案例、产品介绍、截图型内容时应优先考虑这个 skill。

    334 GitHub stars~498 tokensUpdated today
    Auto-check passed
  • Project Release

    DavidLam-oss/obsidian-wechat-converter

    Release workflow for obsidian-wechat-converter (version bump, release notes, tag and publish).

    334 GitHub stars~597 tokensUpdated today
    Auto-check passed
  • Openprd Diagram Review

    DavidLam-oss/obsidian-wechat-converter

    生成并迭代 OpenPrd 图示产物,供用户确认或理解。适用于解释型 SVG、架构图、产品流程图、用户旅程、流程图、系统边界图、依赖图,以及 freeze 前的可视化评审场景。

    334 GitHub stars~724 tokensUpdated today
    Auto-check passed
  • Openprd Frontend Design

    DavidLam-oss/obsidian-wechat-converter

    OpenPrd 前端设计框架 skill:为界面、页面、视觉、样式和前端体验任务提供设计资产框架、审美立意、反 AI 味门禁和实现前方向评审规则。

    334 GitHub stars~2.7k tokensUpdated today
    Auto-check passed
  • Openprd Requirement Intake

    DavidLam-oss/obsidian-wechat-converter

    OpenPrd 需求入口与 PRD 分流 skill:判断用户可见需求类型和内部 L0/L1/L2 路由码,决定直接澄清、mini-plan 或正式 PRD,并选择通用 / 面向个人消费者场景 / 面向企业服务场景 / 以 Agent 为主要使用场景的 PRD 视角。对用户复述时不要直接把 consumer / b2b / agent 当展示词;这些枚举值只用于内部记录和命令。

    334 GitHub stars~1.5k tokensUpdated today
    Auto-check passed

Categories

Questions about Openprd Test Strategy

What does Openprd Test Strategy do?

OpenPrd 测试策略分流 skill:按风险把任务分到单元、集成、端到端、人工、视觉、小程序、性能和安全验证,并要求 evidence-plan。. Openprd Test Strategy is an agent skill from DavidLam-oss/obsidian-wechat-converter.

When should I use Openprd Test Strategy?

Openprd Test Strategy fits situations like: tasks that involve Test strategy.

How do I install Openprd Test Strategy in Claude Code?

Run `npx skills add DavidLam-oss/obsidian-wechat-converter --skill openprd-test-strategy -a claude-code`. Or copy the skill folder (.codex/skills/openprd-test-strategy in DavidLam-oss/obsidian-wechat-converter) into .claude/skills/openprd-test-strategy in your project. Claude Code loads it when a task matches its description.

How do I install Openprd Test Strategy in Codex?

Run `npx skills add DavidLam-oss/obsidian-wechat-converter --skill openprd-test-strategy -a codex`. Or copy the skill folder (.codex/skills/openprd-test-strategy in DavidLam-oss/obsidian-wechat-converter) into .agents/skills/openprd-test-strategy in your project. Codex loads it when a task matches its description.

Can I use Openprd Test Strategy in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add DavidLam-oss/obsidian-wechat-converter --skill openprd-test-strategy -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/openprd-test-strategy, .gemini/skills/openprd-test-strategy, .github/skills/openprd-test-strategy and .opencode/skills/openprd-test-strategy in your project.

What does Openprd Test Strategy need to run?

SKILL.md names no scripts, command-line tools or credentials: Openprd Test Strategy is instructions for the agent only.

Does Openprd Test Strategy access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Openprd Test Strategy safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Openprd Test Strategy use?

Openprd Test Strategy is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Openprd Test Strategy use?

About 578 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Openprd Test Strategy?

Skills that share tags, products or a category with Openprd Test Strategy: Testing OpenLogi UI (AprilNEA/OpenLogi, 23k stars), Testing Hashql (hashintel/hash, 1.7k stars), Dynamo Unit Testing (DynamoDS/Dynamo, 2k stars) and Designing Tests (CloudAI-X/opencode-workflow, 275 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Openprd Test Strategy?

DavidLam-oss (a GitHub user) maintains it in DavidLam-oss/obsidian-wechat-converter, which has 334 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 9, 2026.

Source: DavidLam-oss/obsidian-wechat-converter on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.