Skip to content

Commit 26e199e

Browse files
nhortonclaude
andcommitted
Fix Claude skill format to use directory/SKILL.md structure
Claude Code requires skills to be directories containing SKILL.md files with both 'name' and 'description' fields in frontmatter. Changes: - Update ClaudeAdapter to return directory/SKILL.md paths - Add required 'name' field to Claude skill templates - Update generator to extract skill names from new path format - Add SKILL.md validation rule (triggers on **/SKILL.md) - Update tests to match new structure and template output Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent f9f8beb commit 26e199e

29 files changed

Lines changed: 199 additions & 83 deletions

File tree

.claude/skills/add_platform.add_capabilities.md renamed to .claude/skills/add_platform.add_capabilities/SKILL.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
name: add_platform.add_capabilities
23
description: "Update job schema and adapters with any new hook events the platform supports"
34
user-invocable: false
45
hooks:

.claude/skills/add_platform.implement.md renamed to .claude/skills/add_platform.implement/SKILL.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
name: add_platform.implement
23
description: "Add platform adapter, templates, tests with 100% coverage, and README documentation"
34
user-invocable: false
45
hooks:

.claude/skills/add_platform.research.md renamed to .claude/skills/add_platform.research/SKILL.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
name: add_platform.research
23
description: "Capture CLI configuration and hooks system documentation for the new platform"
34
user-invocable: false
45
hooks:

.claude/skills/add_platform.verify.md renamed to .claude/skills/add_platform.verify/SKILL.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
name: add_platform.verify
23
description: "Set up platform directories and verify deepwork install works correctly"
34
user-invocable: false
45
hooks:
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
name: add_platform
23
description: "Add a new AI platform to DeepWork with adapter, templates, and tests"
34
---
45

.claude/skills/commit.commit_and_push.md renamed to .claude/skills/commit.commit_and_push/SKILL.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
name: commit.commit_and_push
23
description: "Review changed files, commit, and push to remote"
34
user-invocable: false
45
hooks:
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
name: commit.lint
23
description: "Format and lint code with ruff using a sub-agent"
34
user-invocable: false
45
hooks:
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
name: commit.test
23
description: "Pull latest code and run the test suite until all tests pass"
34
user-invocable: false
45
hooks:
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
name: commit
23
description: "Run tests, lint, and commit code changes"
34
---
45

.claude/skills/deepwork_jobs.define.md renamed to .claude/skills/deepwork_jobs.define/SKILL.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
name: deepwork_jobs.define
23
description: "Create the job.yml specification file by understanding workflow requirements"
34
user-invocable: false
45
hooks:

0 commit comments

Comments
 (0)