Skip to content

Commit eaa4245

Browse files
GarethManningclaude
andcommitted
fix: update test counts to actual 131 skills / 17 domains
Hardcoded assertions had drifted to 107/108 skills and 14 domains. Counted from disk: 131 SKILL.md files across 17 domain directories. Updated test names and toBe() values to match. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent e9312fc commit eaa4245

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

tests/skills-library.spec.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@ function parseFrontmatter(filePath: string): Record<string, unknown> {
3636
}
3737

3838
test.describe("Skill Discovery", () => {
39-
test("finds exactly 107 SKILL.md files", () => {
39+
test("finds exactly 131 SKILL.md files", () => {
4040
const paths = getAllSkillPaths();
41-
expect(paths.length).toBe(108);
41+
expect(paths.length).toBe(131);
4242
});
4343

44-
test("skills span exactly 14 domains", () => {
44+
test("skills span exactly 17 domains", () => {
4545
const domains = fs.readdirSync(SKILLS_DIR).filter((d) =>
4646
fs.statSync(path.join(SKILLS_DIR, d)).isDirectory()
4747
);
48-
expect(domains.length).toBe(14);
48+
expect(domains.length).toBe(17);
4949
});
5050

5151
test("every SKILL.md has valid YAML frontmatter", () => {
@@ -128,13 +128,13 @@ test.describe("Registry Validation", () => {
128128
expect(registry.standard).toBe("agent-skills-1.0");
129129
});
130130

131-
test("registry contains 107 skills", () => {
132-
expect(registry.total_skills).toBe(108);
133-
expect(registry.skills.length).toBe(108);
131+
test("registry contains 131 skills", () => {
132+
expect(registry.total_skills).toBe(131);
133+
expect(registry.skills.length).toBe(131);
134134
});
135135

136-
test("registry contains 14 domains", () => {
137-
expect(registry.domains.length).toBe(14);
136+
test("registry contains 17 domains", () => {
137+
expect(registry.domains.length).toBe(17);
138138
});
139139

140140
test("all descriptions are <= 250 characters", () => {

0 commit comments

Comments
 (0)