Agent Skills › pingdotgg/t3code › test-development

test-development

GitHub

用于添加或修改 Vitest 和 Tstyche 测试覆盖率的技能。指导根据运行时行为或编译器类型推断、分配等意图选择分支编写测试,确保目标测试通过及根检查正常。

.repos/effect-smol/.agents/skills/test-development/SKILL.md pingdotgg/t3code

Trigger Scenarios

需要编写单元测试时 需要验证 TypeScript 类型推断或编译错误时 使用 Vitest 或 Tstyche 进行测试开发时

Install

npx skills add pingdotgg/t3code --skill test-development -g -y
More Options

Non-standard path

npx skills add https://github.com/pingdotgg/t3code/tree/main/.repos/effect-smol/.agents/skills/test-development -g -y

Use without installing

npx skills use pingdotgg/t3code@test-development

指定 Agent (Claude Code)

npx skills add pingdotgg/t3code --skill test-development -a claude-code -g -y

安装 repo 全部 skill

npx skills add pingdotgg/t3code --all -g -y

预览 repo 内 skill

npx skills add pingdotgg/t3code --list

SKILL.md

Frontmatter
{
    "name": "test-development",
    "description": "Test development. Use when adding or changing Vitest or Tstyche coverage. Choose Tstyche only for intended compiler behavior such as inference, assignability, rejection, or displayed public types."
}

Choose branches from the task's acceptance criteria before editing:

  • Runtime behavior: The intended result is observable when code executes. Read runtime.md.
  • Compiler behavior: The intended result is TypeScript accepting, rejecting, or inferring a consumer expression in a particular way. Read types.md.

An exported signature alone is validated by pnpm check; it enters the compiler branch only when its inference, assignability, rejection, overload selection, or displayed type is part of the task. Some changes require both branches because they independently change runtime and compiler behavior.

The task is complete when each intended behavior in scope has the relevant focused coverage, targeted tests pass, and applicable root checks pass or are reported as not runnable.

Version History

  • d8e9fd2 Current 2026-10-19 05:43
  • 5423ba0 2026-09-22 10:57

Same Skill Collection

.agents/skills/contribution-triage/SKILL.md
.agents/skills/ios-debugger-agent/SKILL.md
.agents/skills/ios-simulator-browser/SKILL.md
.agents/skills/test-t3-app/SKILL.md
.agents/skills/test-t3-mobile/SKILL.md
.repos/effect-smol/.agents/skills/ai-docs/SKILL.md
.repos/effect-smol/.agents/skills/bundle-analysis/SKILL.md
.repos/effect-smol/.agents/skills/changesets/SKILL.md
.repos/effect-smol/.agents/skills/ci-maintenance/SKILL.md
.repos/effect-smol/.agents/skills/dependency-maintenance/SKILL.md
.repos/effect-smol/.agents/skills/effect-development/SKILL.md
.repos/effect-smol/.agents/skills/grill-me/SKILL.md
.repos/effect-smol/.agents/skills/jsdocs/SKILL.md
.repos/effect-smol/.agents/skills/migration-guidance/SKILL.md
.repos/effect-smol/.agents/skills/package-development/SKILL.md
.repos/effect-smol/.agents/skills/performance-analysis/SKILL.md
.repos/effect-smol/.agents/skills/scratchpad/SKILL.md
.repos/effect-smol/.agents/skills/vendored-assets/SKILL.md

Metadata

Files
0
Version
d8e9fd2
Hash
b9eeb39c
Indexed
2026-09-22 10:57

홈 - 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-29 16:37
浙ICP备14020137号-1