[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BV3ZV9N13PZ1EDZPJ4BEJX":3,"skill-same:01M6BV3ZV9N13PZ1EDZPJ4BEJX":72},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":52,"repositoryHtmlUrl":53,"repositoryHomepageUrl":17,"ownerHtmlUrl":54,"ownerBlogUrl":55,"ownerDescription":56,"updatedAt":57,"install":58,"resources":71},"01M6BV3ZV9N13PZ1EDZPJ4BEJX","test","智能测试运行","Intelligent test runner that targets changed code and identifies coverage gaps. Use for running tests, finding coverage gaps, or testing changed code.","智能测试运行器，针对变更的代码进行测试并识别覆盖率缺口。用于运行测试、查找覆盖率缺口或测试变更的代码。","drn\u002Fdots","drn","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F885841?v=4","01M6BTZJR7B1RVQRJKP0S70DQS","Darren Cheng","01M6BTZJWXCK41P3Z50BV8KWD9",23,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fdrn\u002Fdots\u002Fblob\u002Fmaster\u002Fagents\u002Fskills\u002Ftest\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障","SCENARIO","使用场景",[5,31,32,33,34,35,36,37,38,39,40,41,42,43],"testing","test runner","coverage gaps","code","running tests","coverage","use","runner","tests","targets","for","gaps","running","2026-11-10 10:12:30",false,"---\nname: test\ndescription: Intelligent test runner that targets changed code and identifies coverage gaps. Use for running tests, finding coverage gaps, or testing changed code.\n---\n\n# Smart Test Runner\n\nAnalyze recent changes, run targeted tests, identify coverage gaps, and optionally write missing tests.\n\n## Arguments\n\n- `$ARGUMENTS` - Optional: `--full` for full test suite, `--write` to auto-write missing tests, or a specific file\u002Fdirectory to test\n\n## Context\n\n- Project type: !`find . -maxdepth 1 \\( -name go.mod -o -name Gemfile -o -name package.json -o -name Cargo.toml -o -name pyproject.toml -o -name setup.py -o -name requirements.txt -o -name pom.xml -o -name build.gradle -o -name Makefile \\) 2>\u002Fdev\u002Fnull | head -5`\n- Changed files: !`git diff --name-only HEAD~1 2>\u002Fdev\u002Fnull | head -50`\n- Test files: !`find . -maxdepth 4 \\( -name \"*_test.*\" -o -name \"*.test.*\" -o -name \"*_spec.*\" -o -name \"test_*\" \\) 2>\u002Fdev\u002Fnull | head -20`\n- Git status: !`git status --short`\n\n## Instructions\n\n### Step 1: Detect Test Framework\n\nFrom the project type context above, determine:\n\n| Indicator | Framework | Run Command |\n|-----------|-----------|-------------|\n| `go.mod` | Go test | `go test .\u002F...` |\n| `Gemfile` | RSpec or Minitest | `bundle exec rspec` or `bundle exec rake test` |\n| `package.json` | Jest, Vitest, or Mocha | `npm test` or `npx jest` or `npx vitest` |\n| `pyproject.toml` \u002F `requirements.txt` | pytest or unittest | `pytest` or `python -m pytest` |\n| `Cargo.toml` | cargo test | `cargo test` |\n| `pom.xml` \u002F `build.gradle` | JUnit | `mvn test` or `gradle test` |\n\nIf you can't detect a test framework, tell the user and ask how to run tests.\n\n### Step 2: Determine Test Scope\n\n```\nIF $ARGUMENTS contains \"--full\":\n  Run the full test suite\n\nELSE IF $ARGUMENTS contains a specific file or directory:\n  Run tests for that target only\n\nELSE:\n  Analyze changed files and map them to test files:\n  1. For each changed file, look for corresponding test file:\n     - Go: foo.go → foo_test.go\n     - Ruby: app\u002Fmodels\u002Fuser.rb → spec\u002Fmodels\u002Fuser_spec.rb\n     - JS\u002FTS: src\u002Futils.ts → src\u002Futils.test.ts or __tests__\u002Futils.test.ts\n     - Python: module.py → test_module.py or tests\u002Ftest_module.py\n     - Rust: src\u002Flib.rs → tests in same file or tests\u002F directory\n  2. Run only the mapped test files\n  3. If no test files map to the changes, run the full suite\n```\n\n### Step 3: Run Tests\n\nRun the determined tests. Capture output including:\n- Pass\u002Ffail status for each test\n- Failure messages with file and line numbers\n- Total counts: passed, failed, skipped\n\nIf tests fail, read the failing test files and the source files they test to understand the failures.\n\n### Step 4: Measure and Analyze Coverage\n\nFirst, try to use the project's coverage tool if available:\n\n| Framework | Coverage Command |\n|-----------|-----------------|\n| Go | `go test -coverprofile=coverage.out .\u002F... && go tool cover -func=coverage.out` |\n| pytest | `pytest --cov --cov-report=term-missing` |\n| Jest | `npx jest --coverage` |\n| RSpec | Coverage via `simplecov` (runs automatically if in Gemfile) |\n| cargo | `cargo tarpaulin` (if installed) |\n\nIf a coverage tool ran, report the coverage percentage and uncovered lines.\n\nIf no coverage tool is available, fall back to manual analysis. Read each changed file and its corresponding test file (if any). Identify:\n\n1. **Untested functions\u002Fmethods** -- changed code with no corresponding test\n2. **Missing edge cases** -- tests exist but don't cover error paths, boundary values, or nil\u002Fempty inputs\n3. **New code without tests** -- newly created files with no test file\n\nReport each gap with: file, function\u002Fmethod, what's missing.\n\n### Step 5: Write Tests (if requested)\n\n```\nIF $ARGUMENTS contains \"--write\" OR user confirms:\n  For each coverage gap identified:\n  1. Write a test following existing test patterns in the project\n  2. Use the same test framework, naming conventions, and style\n  3. Run the new test to verify it passes\n  4. Report what was written\n```\n\n### Step 6: Write Phase Artifact\n\nThis skill participates in a phase chain (see `~\u002F.claude\u002Fskills\u002F_shared\u002Fresources\u002Fphase-protocol.md`).\n\nAfter tests complete, write a `test-{ts}.md` artifact to `.context\u002Fphases\u002F` (create with `mkdir -p .context\u002Fphases`). The **Detail** section should include pass\u002Ffail status, coverage metrics, and failing test details. The **Handoff** section should state: ready to ship or needs fixes (with specifics).\n\n### Step 7: Report\n\n```markdown\n## Test Results\n\n### Run Summary\n- **Framework:** {detected framework}\n- **Scope:** {targeted \u002F full suite}\n- **Status:** PASS \u002F FAIL\n- **Passed:** {N} | **Failed:** {N} | **Skipped:** {N}\n\n### Failures (if any)\n| Test | File | Error |\n|------|------|-------|\n| {test name} | {file:line} | {brief error} |\n\n### Coverage Gaps\n| Source File | Function\u002FMethod | Gap |\n|-------------|-----------------|-----|\n| {file} | {function} | {what's missing} |\n\n### New Tests Written (if --write)\n| Test File | Tests Added | Covers |\n|-----------|-------------|--------|\n| {file} | {N} | {what it tests} |\n\n### Recommendation\n{1-2 sentences: overall health and what to do next}\n```\n","# Smart Test Runner\n\nAnalyze recent changes, run targeted tests, identify coverage gaps, and optionally write missing tests.\n\n## Arguments\n\n- `$ARGUMENTS` - Optional: `--full` for full test suite, `--write` to auto-write missing tests, or a specific file\u002Fdirectory to test\n\n## Context\n\n- Project type: !`find . -maxdepth 1 \\( -name go.mod -o -name Gemfile -o -name package.json -o -name Cargo.toml -o -name pyproject.toml -o -name setup.py -o -name requirements.txt -o -name pom.xml -o -name build.gradle -o -name Makefile \\) 2>\u002Fdev\u002Fnull | head -5`\n- Changed files: !`git diff --name-only HEAD~1 2>\u002Fdev\u002Fnull | head -50`\n- Test files: !`find . -maxdepth 4 \\( -name \"*_test.*\" -o -name \"*.test.*\" -o -name \"*_spec.*\" -o -name \"test_*\" \\) 2>\u002Fdev\u002Fnull | head -20`\n- Git status: !`git status --short`\n\n## Instructions\n\n### Step 1: Detect Test Framework\n\nFrom the project type context above, determine:\n\n| Indicator | Framework | Run Command |\n|-----------|-----------|-------------|\n| `go.mod` | Go test | `go test .\u002F...` |\n| `Gemfile` | RSpec or Minitest | `bundle exec rspec` or `bundle exec rake test` |\n| `package.json` | Jest, Vitest, or Mocha | `npm test` or `npx jest` or `npx vitest` |\n| `pyproject.toml` \u002F `requirements.txt` | pytest or unittest | `pytest` or `python -m pytest` |\n| `Cargo.toml` | cargo test | `cargo test` |\n| `pom.xml` \u002F `build.gradle` | JUnit | `mvn test` or `gradle test` |\n\nIf you can't detect a test framework, tell the user and ask how to run tests.\n\n### Step 2: Determine Test Scope\n\n```\nIF $ARGUMENTS contains \"--full\":\n  Run the full test suite\n\nELSE IF $ARGUMENTS contains a specific file or directory:\n  Run tests for that target only\n\nELSE:\n  Analyze changed files and map them to test files:\n  1. For each changed file, look for corresponding test file:\n     - Go: foo.go → foo_test.go\n     - Ruby: app\u002Fmodels\u002Fuser.rb → spec\u002Fmodels\u002Fuser_spec.rb\n     - JS\u002FTS: src\u002Futils.ts → src\u002Futils.test.ts or __tests__\u002Futils.test.ts\n     - Python: module.py → test_module.py or tests\u002Ftest_module.py\n     - Rust: src\u002Flib.rs → tests in same file or tests\u002F directory\n  2. Run only the mapped test files\n  3. If no test files map to the changes, run the full suite\n```\n\n### Step 3: Run Tests\n\nRun the determined tests. Capture output including:\n- Pass\u002Ffail status for each test\n- Failure messages with file and line numbers\n- Total counts: passed, failed, skipped\n\nIf tests fail, read the failing test files and the source files they test to understand the failures.\n\n### Step 4: Measure and Analyze Coverage\n\nFirst, try to use the project's coverage tool if available:\n\n| Framework | Coverage Command |\n|-----------|-----------------|\n| Go | `go test -coverprofile=coverage.out .\u002F... && go tool cover -func=coverage.out` |\n| pytest | `pytest --cov --cov-report=term-missing` |\n| Jest | `npx jest --coverage` |\n| RSpec | Coverage via `simplecov` (runs automatically if in Gemfile) |\n| cargo | `cargo tarpaulin` (if installed) |\n\nIf a coverage tool ran, report the coverage percentage and uncovered lines.\n\nIf no coverage tool is available, fall back to manual analysis. Read each changed file and its corresponding test file (if any). Identify:\n\n1. **Untested functions\u002Fmethods** -- changed code with no corresponding test\n2. **Missing edge cases** -- tests exist but don't cover error paths, boundary values, or nil\u002Fempty inputs\n3. **New code without tests** -- newly created files with no test file\n\nReport each gap with: file, function\u002Fmethod, what's missing.\n\n### Step 5: Write Tests (if requested)\n\n```\nIF $ARGUMENTS contains \"--write\" OR user confirms:\n  For each coverage gap identified:\n  1. Write a test following existing test patterns in the project\n  2. Use the same test framework, naming conventions, and style\n  3. Run the new test to verify it passes\n  4. Report what was written\n```\n\n### Step 6: Write Phase Artifact\n\nThis skill participates in a phase chain (see `~\u002F.claude\u002Fskills\u002F_shared\u002Fresources\u002Fphase-protocol.md`).\n\nAfter tests complete, write a `test-{ts}.md` artifact to `.context\u002Fphases\u002F` (create with `mkdir -p .context\u002Fphases`). The **Detail** section should include pass\u002Ffail status, coverage metrics, and failing test details. The **Handoff** section should state: ready to ship or needs fixes (with specifics).\n\n### Step 7: Report\n\n```markdown\n## Test Results\n\n### Run Summary\n- **Framework:** {detected framework}\n- **Scope:** {targeted \u002F full suite}\n- **Status:** PASS \u002F FAIL\n- **Passed:** {N} | **Failed:** {N} | **Skipped:** {N}\n\n### Failures (if any)\n| Test | File | Error |\n|------|------|-------|\n| {test name} | {file:line} | {brief error} |\n\n### Coverage Gaps\n| Source File | Function\u002FMethod | Gap |\n|-------------|-----------------|-----|\n| {file} | {function} | {what's missing} |\n\n### New Tests Written (if --write)\n| Test File | Tests Added | Covers |\n|-----------|-------------|--------|\n| {file} | {N} | {what it tests} |\n\n### Recommendation\n{1-2 sentences: overall health and what to do next}\n```\n",{"name":5,"description":7},"master","427f62a9fc82624977516767979411f885161ac5","agents\u002Fskills\u002Ftest",4,"https:\u002F\u002Fgithub.com\u002Fdrn\u002Fdots","https:\u002F\u002Fgithub.com\u002Fdrn","https:\u002F\u002Fdrn.dev","CTO & Co-Founder @thanx","2026-11-12 16:13:13",{"source":9,"skillName":5,"commands":59,"prompt":69,"zipAvailable":70},[60,63,66],{"tool":61,"command":62},"npx","npx skills add drn\u002Fdots --skill test",{"tool":64,"command":65},"bunx","bunx skills add drn\u002Fdots --skill test",{"tool":67,"command":68},"pnpm","pnpm dlx skills add drn\u002Fdots --skill test","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdrn\u002Fdots\u002Fblob\u002Fmaster\u002Fagents\u002Fskills\u002Ftest\u002FSKILL.md",true,[],[73,100,125,137,167,193],{"skillNo":74,"name":75,"nameZh":17,"description":76,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":44},"01M70KJSG2P5Y3N95MGSGKJ8VA","batch-pr-review","Review a batch of pull requests together, describe every change in plain language, and build a private Claude artifact that eases human review, with a severity-tagged and verified findings list. Use when asked to review several PRs, a stack of PRs, PRs listed in a Slack thread or message, or to summarize a batch of PRs for a reviewer.","https:\u002F\u002Fgithub.com\u002Fdrn\u002Fdots\u002Fblob\u002Fmaster\u002Fagents\u002Fskills\u002Fbatch-pr-review\u002FSKILL.md",[],[80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99],"batch pr review","batch","pr","pr review","review","reviewer","when","parse","scripts","human","artifact","message","write","read","stack","gh pr","Bash","change","pull requests","slack",{"skillNo":101,"name":102,"nameZh":103,"description":104,"descriptionZh":105,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":106,"categories":107,"keywords":114,"publishedAt":44},"01M6BV2G3ZAS76C40S3YBY6R61","plannotator-setup-goal","Codex 目标设置包生成","Create reviewed Codex goal setup packages for long-running \u002Fgoal work. Use when the user wants to turn an idea, backlog, project mission, or vague objective into durable goal files under a project goals slug folder, with Plannotator review gates for brief, narrative plan with acceptance criteria, verification, blockers, and the final \u002Fgoal prompt.","为长时间运行的 \u002Fgoal 工作创建经过审查的 Codex 目标设置包。当用户想把想法、待办清单、项目使命或模糊目标，转化为项目 goals slug 文件夹下的持久化目标文件时使用；包含 Plannotator 审查关卡，覆盖简报、带验收标准的叙述性计划、验证方案、阻碍项，以及最终的 \u002Fgoal 提示词。","https:\u002F\u002Fgithub.com\u002Fdrn\u002Fdots\u002Fblob\u002Fmaster\u002Fagents\u002Fskills\u002Fplannotator-setup-goal\u002FSKILL.md",[108,111],{"categoryNo":109,"categoryName":110,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BTBRTQXJ9T5TABNS7XP1A0","任务规划与分解",{"categoryNo":112,"categoryName":113,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C31AVFVV99RWJEGF9PS85F","项目经理",[115,116,117,118,119,120,121,122,123,124,84],"plannotator setup goal","setup","verification","plan","plannotator review","brief","acceptance","create","packages","codex",{"skillNo":126,"name":127,"nameZh":17,"description":128,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":44},"01M6BV26Y6GTDMQZYXFRWKEC08","plannotator-annotate","Open Plannotator's annotation UI for a markdown file, converted HTML file, URL, or folder and then respond to the returned annotations.","https:\u002F\u002Fgithub.com\u002Fdrn\u002Fdots\u002Fblob\u002Fmaster\u002Fagents\u002Fskills\u002Fplannotator-annotate\u002FSKILL.md",[],[132,133,134,135,136],"plannotator annotate","markdown","open","ui","file",{"skillNo":138,"name":139,"nameZh":140,"description":141,"descriptionZh":142,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":143,"categories":144,"keywords":151,"publishedAt":44},"01M6BV44RGGTRRFGWMYCR3BQ1P","write-skill","Claude 技能编写","Create or improve a Claude Code skill\u002Fslash command with best practices for structure, dynamic context, and safety. Use for creating new skills, improving existing ones, or learning skill authoring.","创建或改进 Claude Code 技能\u002F斜杠命令，遵循结构、动态上下文和安全性方面的最佳实践。用于创建新技能、改进现有技能，或学习技能编写。","https:\u002F\u002Fgithub.com\u002Fdrn\u002Fdots\u002Fblob\u002Fmaster\u002Fagents\u002Fskills\u002Fwrite-skill\u002FSKILL.md",[145,148],{"categoryNo":146,"categoryName":147,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRN0CV1NMDZ5TEJX1GVM29","插件与技能管理",{"categoryNo":149,"categoryName":150,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师",[92,152,153,154,155,34,41,156,157,37,158,159,160,161,162,163,164,165,166,122],"write skill","with","authoring","code skill","structure","claude code skill","context","command","improve","learning","Safety","best practices","Existing","new","skill authoring",{"skillNo":168,"name":169,"nameZh":170,"description":171,"descriptionZh":172,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":173,"categories":174,"keywords":181,"publishedAt":44},"01M6BV4390BFK30F1T51SAJPAV","wrapup","会话收尾检查","End-of-session checklist that detects loose ends — uncommitted changes, unmerged branches, learnings to capture, handoffs needed — and routes to the right skills. Use for session closeout, wrapping up, end of day, or \"anything else to capture\".","会话结束时的检查清单，用于检测遗漏事项——未提交的变更、未合并的分支、需记录的经验教训、需完成的交接——并路由到相应的技能。用于会话收尾、结束工作、一天结束，或“还有其他要记录的吗”。","https:\u002F\u002Fgithub.com\u002Fdrn\u002Fdots\u002Fblob\u002Fmaster\u002Fagents\u002Fskills\u002Fwrapup\u002FSKILL.md",[175,178],{"categoryNo":176,"categoryName":177,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":179,"categoryName":180,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8CA3FKWP12T4DB881J9CNHJ","编码会话复盘",[169,182,183,184,41,185,186,187,188,189,37,190,191,192],"session closeout","up","changes","end of day","end","branches","learnings","checklist","session","closeout","capture",{"skillNo":194,"name":195,"nameZh":196,"description":197,"descriptionZh":198,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":199,"categories":200,"keywords":207,"publishedAt":44},"01M6BV41ZZ051JX2B3CB5WARZM","tts","文本转语音朗读","Read text aloud using text-to-speech. Use when the user says \"speak to me\", \"read to me\", \"read this aloud\", \"say this\", \"speak the summary\", or asks to hear something spoken.","使用文本转语音（text-to-speech）大声朗读文本。当用户说“读给我听”“念给我听”“大声朗读这个”“说出这个”“朗读摘要”，或要求听到某内容被朗读时使用。","https:\u002F\u002Fgithub.com\u002Fdrn\u002Fdots\u002Fblob\u002Fmaster\u002Fagents\u002Fskills\u002Ftts\u002FSKILL.md",[201,204],{"categoryNo":202,"categoryName":203,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR82CCRKG2HNYVFH5H6GZ0","音频与语音处理",{"categoryNo":205,"categoryName":206,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BS5011KJDVSRXG1DC4P666","普通用户",[195,37,208,93,209,210,211,212,86,213,214,215],"user","speak","text","speech","say","text-to-speech","me","summary"]