CtrlK
BlogDocsLog inGet started
Tessl Logo

tdd-workflow

在编写新功能、修复 Bug 或重构代码时使用此技能。强制执行测试驱动开发(TDD),包括单元测试、集成测试和端到端(E2E)测试,覆盖率需达到 80% 以上。

72

Quality

88%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

77%

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The skill is highly actionable with a clear, well-validated TDD workflow, but it is verbose and monolithic. Trimming restated best-practice material and splitting reference recipes into separate files would improve both conciseness and progressive disclosure.

Suggestions

Remove or condense the '最佳实践' bullets, '成功指标' list, and closing motivational line—these restate concepts Claude already knows and add token weight without new guidance.

Split the large test-pattern and mocking code blocks into dedicated reference files (e.g., references/test-patterns.md, references/mocking.md) and link to them from the body to enable progressive disclosure.

Trim the inline Playwright E2E specs and mock snippets to minimal illustrative excerpts, keeping only what demonstrates the pattern rather than full templates.

DimensionReasoningScore

Conciseness

The body is actionable but padded with content Claude largely already knows—restated best-practice bullets, success metrics, and a closing motivational line—plus bulky inline template code that could be trimmed.

2 / 3

Actionability

Provides fully executable TypeScript, bash, and config examples (test patterns, mock recipes, coverage thresholds, CI hooks) that are copy-paste ready.

3 / 3

Workflow Clarity

The 7-step TDD workflow is clearly sequenced with explicit validation checkpoints (expect-fail, expect-pass, verify-coverage) and feedback loops.

3 / 3

Progressive Disclosure

No bundle/reference files exist and all content sits in one ~400-line monolithic file; well-organized by section, but material such as test patterns and mock recipes could be split into separate references.

2 / 3

Total

10

/

12

Passed

Description

100%

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is strong: it states concrete capabilities, includes natural trigger terms, answers both what and when, and occupies a distinct niche. It uses appropriate third-person voice with no over-claims.

DimensionReasoningScore

Specificity

Enumerates multiple concrete actions—enforcing TDD across unit, integration, and E2E tests with an explicit 80% coverage threshold—rather than naming only a domain.

3 / 3

Completeness

Explicitly answers both what (enforce TDD with unit/integration/E2E at 80% coverage) and when (new features, bug fixes, refactoring) via an explicit 'use when' clause.

3 / 3

Trigger Term Quality

Natural trigger phrases ('writing new features, fixing bugs, refactoring') match what a user would actually say, with good coverage of common variations.

3 / 3

Distinctiveness Conflict Risk

The TDD-with-coverage-threshold niche is distinct and tied to code-development triggers, making conflict with unrelated skills unlikely.

3 / 3

Total

12

/

12

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

15

/

16

Passed

Repository
xu-xiang/everything-claude-code-zh
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.