BF SpringBoot-MyBatis-UnitTesting
专业的Spring Boot + MyBatis + MySQL项目单元测试技能,提供全面的测试覆盖策略。 当用户需要为Spring Boot项目编写单元测试时使用此技能,特别是包含: - 完整的正常流程测试 - 充分的异常场景测试 - 全面的边界值测试 - MyBatis Mapper层测试 - Service层业务逻辑测试 - Controller层API测试 - 集成测试和端到端测试 适用于:JUnit 5、Mockito、AssertJ、Hamcrest、H2数据库、Testcontainers等技术栈。
As a process F 31/100 · Will not run — References files that are not bundled: references/test-data-factory.java, references/test-data-examples.sql, references/performance-testing.md
How to improve
- Say in the description WHEN to use the skill ("use when…", example requests): that is the agent's main cue.
- The text references files that are not there: add them or drop the references.
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 1
✓ No critical or high findings
Medium and low: 1
-
low Secrets in code
secret-high-entropy-tokenREADME.md:173High-entropy token-like string (may be an id, hash or a credential)test…404()
Files scanned: 16. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
name-formatname should be kebab-case (lowercase letters, digits, hyphens) - warning
description-no-whendescription does not say WHEN to use the skill (no "use when") - warning
missing-refreference to a missing file: references/test-data-factory.java - warning
missing-refreference to a missing file: references/test-data-examples.sql - warning
missing-refreference to a missing file: references/performance-testing.md - note
frontmatter-keyunknown frontmatter key "repository"
Process rating: all ten parameters 31/100
- 0Tools and files. 3 referenced file(s) missing: references/test-data-factory.java, references/test-data-examples.sql, references/performance-testing.md
- 0Result and completion. Does not say what the result is
- 0Inputs and preconditions. Does not say what the process needs to start
- 0Failures and branches. Linear process with no failure handling
- 0Progress reporting. Says nothing while it works
- 20When it triggers. No condition that starts the skill
- 40Consistency. Frontmatter name (SpringBoot-MyBatis-UnitTesting) differs from the folder (springboot-unit-testing)
- 100Steps. 130 steps
- 100Execution cost. Instruction body is 1893 tokens
- 100Running it twice. No mutating operations
- low 13 top-level sections: this looks like several domains in one skill
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +5Description has no quoted example phrases that should trigger the skill
- +4Description does not say when NOT to use the skill (false activations)
- +3Output format is not stated: the model decides each time
- +2Single-language instructions
- +3Description length 259: enough signal without eating the budget
- +4Structure: 51 headings
- +3Step-by-step instructions: 130 items
- +4Has examples (12 code blocks)
- +4Reference files are cited in the instructions (4 of 4)
- +3All 3 scripts are documented
- +1License stated
Quality base 70; lint remarks subtract, signals add up to 100. Result: 62.