obsidian-wechat-converter: Skill for Claude Code

.claude/skills/openprd-test-strategy/SKILL.md

openprd-test-strategy is a skill for Claude Code from DavidLam-oss/obsidian-wechat-converter. It costs 48 tokens per session (1,181 once invoked), scanned A, original, MIT.

A testing strategy guide for choosing checks based on risk, affected parts, and the evidence needed. It covers unit tests for small isolated pieces, integration tests between parts, end-to-end tests for complete user journeys, and other checks.

In plain words
What is it for?
Use it when planning validation for requirements, implementation tasks, or quality reviews. It helps decide among unit, integration, browser, visual, performance, and security checks.
Why use it?
It avoids choosing tests only by task size and helps match the amount and type of testing to what could fail.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: $skill-name invocation.

This is DavidLam-oss/obsidian-wechat-converter's own configuration. It tells Claude Code how to work on obsidian-wechat-converter itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything obsidian-wechat-converter configures →

Reuse

Borrowing it

Nothing to install: this file belongs to DavidLam-oss/obsidian-wechat-converter. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/DavidLam-oss/obsidian-wechat-converter/main/.claude/skills/openprd-test-strategy/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/DavidLam-oss/obsidian-wechat-converter

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for openprd-test-strategy

README.md
[![agentmods](https://agentmods.dev/badge/skills/davidlam-oss/obsidian-wechat-converter/openprd-test-strategy/github.svg)](https://agentmods.dev/skills/davidlam-oss/obsidian-wechat-converter/openprd-test-strategy)
Your own site
<a href="https://agentmods.dev/skills/davidlam-oss/obsidian-wechat-converter/openprd-test-strategy"><img src="https://agentmods.dev/badge/skills/davidlam-oss/obsidian-wechat-converter/openprd-test-strategy/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for openprd-test-strategy

Your own site · 80×15
<a href="https://agentmods.dev/skills/davidlam-oss/obsidian-wechat-converter/openprd-test-strategy"><img src="https://agentmods.dev/badge/skills/davidlam-oss/obsidian-wechat-converter/openprd-test-strategy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,181 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00048 $0.01181
Opus 5 $0.00024 $0.00590
Sonnet 5 $0.00010 $0.00236
Haiku 4.5 $0.00005 $0.00118

Measured 7d ago against content hash 3d9e933e24cf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

openprd-test-strategy scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/openprd-test-strategy/SKILL.md · 52 lines

How it starts

The opening of the file, as written. The whole thing — 52 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OpenPrd Test Strategy

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

核心判断

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

默认分流

  • 局部纯逻辑、格式化、解析、规则函数:优先 test-layer: unittest-size: smalltest-scope: isolated
  • 触达 CLI/API/Agent 契约、生成物、跨模块状态、任务推进、quality/run/loop:使用 unit, integrationtest-size: mediumtest-scope: cli-contract|api-contract|module
  • 触达用户主路径、页面、发布链路、真实浏览器、登录权限或第三方依赖:升级到 integration, e2etest-size: largetest-scope: user-flow
  • 触达视觉还原:补 visualvisual-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 量画布中心、主体外接框中心和视觉重心偏移。
  • 明确要求微信小程序运行态证据,或改动高风险且只能靠真实运行态确认时:补 weappweapp-runtime,并使用当前环境已配置的本地小程序验证能力;默认沿用当前小程序运行态或开发者工具会话连续验证,不要为了验证自动重开应用;普通小改默认先选更轻的验证,不要自动升级到小程序运行态验证。
  • 触达性能、成本、额度、并发、滥用、安全、敏感信息:增加 performancesecurity 专项验证和负向场景。
  • 纯文档或治理任务:使用 manual,并记录标准校验、review、change validate 或人工审查证据。

任务元数据

OpenPrd 任务可以显式写入:

- 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: 不做某层测试时的原因和剩余风险

收尾要求

Read the full file on GitHub · 52 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 52 lines · 48 tokens per session scan A 3d9e933e24cf

Subscribe to this mod's changes

openprd-test-strategy is a skill published in the GitHub repository DavidLam-oss/obsidian-wechat-converter (310 stars, last pushed yesterday), licensed MIT. It adds 48 tokens to every session and 1,181 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

Other skills, from other repositories

axiom-testing

Use when writing ANY test, debugging flaky tests, making tests faster, or choosing Swift Testing vs XCTest. Covers unit tests, UI tests, async testing, test architecture.

CharlesWiltgen/Axiom · 38 tokens

designing-tests

Designs and implements testing strategies for any codebase. Use when adding tests, improving coverage, setting up testing infrastructure, debugging test failures, or when asked about unit tests, integration tests, or E2E testing.

CloudAI-X/claude-workflow-v2 · 48 tokens

test-automation

Execute Vitest and Playwright test suites with result collection and failure analysis.

a5c-ai/babysitter · 0 tokens

testing-blocks

Use this when you have made AEM Edge Delivery Services code changes to blocks, scripts, or styles and need to validate them before opening a pull request. Covers unit testing for utilities and logic, browser testing with Playwright, linting, and guidance on what to test and how.

adobe/skills · 61 tokens

prd-auto-test-loop

A testing workflow driven by a product requirements document (PRD), which describes what a software version should do. It turns acceptance criteria into unit, integration, and end-to-end tests, then records the plan and results.

yunshu0909/yunshu_skillshub · 79 tokens

test-automation-expert

Comprehensive test automation specialist covering unit, integration, and E2E testing strategies. Expert in Jest, Vitest, Playwright, Cypress, pytest, and modern testing frameworks. Guides test pyramid design, coverage optimization, flaky test detection, and CI/CD integration. Activate on 'test strategy', 'unit tests'…

curiositech/some_claude_skills · 133 tokens