CtrlK
BlogDocsLog inGet started
Tessl Logo

tdd-workflow

新機能の作成、バグ修正、コードのリファクタリング時にこのスキルを使用します。ユニット、統合、E2Eテストを含む80%以上のカバレッジでテスト駆動開発を強制します。

55

Quality

61%

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

Fix and improve this skill with Tessl

tessl review fix ./docs/ja-JP/skills/tdd-workflow/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

56%Weight 40%Scale 1-5

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

The body delivers a clear, well-sequenced TDD workflow with mostly executable, project-specific examples (test patterns, mocks, coverage config). Its main weaknesses are verbosity — generic TDD principles and best-practice lists Claude already knows — and zero progressive disclosure, with all patterns inlined in a single long file instead of split into reference files.

Suggestions

Cut or compress sections that restate common knowledge — the red-green-refactor explanation, the generic 'ベストプラクティス' list, and boilerplate Jest/Playwright scaffolding — keeping only the project-specific patterns (Supabase/Redis/OpenAI mocks, coverage thresholds, file layout).

Split the detailed test patterns (E2E Playwright examples, per-service mock recipes, common mistakes) into references/ files (e.g. references/test-patterns.md, references/mocks.md) and keep SKILL.md as a concise workflow overview with well-signaled links.

Complete the stub examples in the workflow steps (Steps 2 and 4) or replace them with a pointer to the full patterns, and add an explicit error-recovery step (e.g. 'if tests still fail or coverage < 80%, revisit implementation before proceeding').

DimensionReasoningScore

Conciseness

Substantial sections restate knowledge Claude already has: "常にテストを最初に書き、次にテストに合格するコードを実装します" (basic red-green-refactor), the generic "ベストプラクティス" list (Arrange-Act-Assert, test edge cases, keep tests under 50ms), and full boilerplate Jest/Playwright patterns. This matches 'noticeably verbose; several unnecessary explanations or padded sections' rather than the level-3 'some unnecessary explanation'.

2 / 5

Actionability

Most guidance is copy-paste executable: the complete Button unit test, the GET /api/markets integration test, the Supabase/Redis/OpenAI mock recipes, npm test / npm run test:coverage commands, and the jest coverageThresholds config. It falls short of 5 because core workflow Steps 2 and 4 are empty stubs ("// テスト実装", "// 実装はここ") and the database-error test body is unwritten.

4 / 5

Workflow Clarity

The 7-step TDD sequence is clearly ordered with explicit checkpoints: Step 3 "テストを実行(失敗するはず)", Step 5 re-run expecting green, and Step 7 "カバレッジを確認" against an 80% threshold. Not a 5 because there is no explicit error-recovery feedback loop (no instruction for what to do when tests still fail or coverage falls short).

4 / 5

Progressive Disclosure

No bundle files exist, and all ~410 lines are inlined in SKILL.md with no references. Section headers give reasonable structure, but content that clearly belongs in separate files — full E2E patterns, per-service mock recipes, and the common-mistakes gallery — is inline, matching 'content that should be separate is inline'. Not 2 because organization and headers are good, not minimal.

3 / 5

Total

13

/

20

Passed

Description

67%Weight 40%Scale 1-5

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 cleanly answers both what the skill does and when to use it, with a concrete coverage requirement and explicit trigger scenarios. Its weaknesses are a single-action 'what', missing core testing trigger words (テスト / TDD / カバレッジ), and an overly broad trigger scope that invites overlap with general development skills.

Suggestions

Add the skill's most direct trigger words to the description — e.g. テストを書く / TDD / カバレッジ — so users explicitly asking for tests or coverage match without needing to phrase it as feature work.

Narrow the trigger scope (e.g. limit to when the user requests tests, specifies coverage requirements, or asks for TDD) to reduce overlap with general coding and code-review skills.

DimensionReasoningScore

Specificity

The description gives one concrete action — "テスト駆動開発を強制します" with "80%以上のカバレッジ" and the unit/integration/E2E breakdown — which matches the anchor for naming the domain with 1-2 concrete actions but not comprehensive coverage. It does not list several distinct actions, so it falls short of a 4.

3 / 5

Completeness

Both questions are explicitly answered: 'when' via "新機能の作成、バグ修正、コードのリファクタリング時にこのスキルを使用します" with three concrete trigger scenarios, and 'what' via "80%以上のカバレッジでテスト駆動開発を強制します". The 'when' is fully explicit and specific, so this is not the level-4 case of a weaker 'when'.

5 / 5

Trigger Term Quality

"新機能の作成、バグ修正、コードのリファクタリング" are natural phrases users would say, but the description omits the most direct triggers for a testing skill — テストを書く / write tests, TDD, coverage — so users explicitly asking for tests would not match. This matches 'some relevant keywords but missing common variations or synonyms'.

3 / 5

Distinctiveness Conflict Risk

The 'what' (TDD enforcement with a hard 80% coverage requirement) is a distinct niche, but the trigger scope — any new feature, bug fix, or refactor — covers virtually all development work, overlapping with general coding and verification skills. This is 'somewhat specific but could still overlap with similar skills', not the level-4 'minor overlap risk'.

3 / 5

Total

14

/

20

Passed

Validation

100%

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

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
affaan-m/ECC
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.