Skip to content

Commit c02db2a

Browse files
nhortonclaude
andauthored
Refactor commands to skills terminology (#66)
* Refactor commands to skills terminology BREAKING CHANGES: - Directory structure: `.claude/commands/` → `.claude/skills/` - Directory structure: `.gemini/commands/` → `.gemini/skills/` - Class renamed: `CommandGenerator` → `SkillGenerator` - Enum renamed: `CommandLifecycleHook` → `SkillLifecycleHook` - Removed `uw.` prefix convention for hidden steps - Hidden steps now use `user-invocable: false` in YAML frontmatter Changes: - Renamed all command-related classes, methods, and variables to use "skill" - Updated templates from command-*.jinja to skill-*.jinja - Added `user-invocable: false` frontmatter for non-exposed skills - Updated all tests, documentation, and standard jobs - Version bumped to 0.5.0 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * Apply best practices to skill jinja templates - Streamline template structure with critical guidance upfront - Simplify descriptions to be concise and search-friendly - Add explicit step-by-step instructions with clear goals - Improve section organization (Prerequisites, Inputs, Outputs, Completion) - Add platform-specific notes (Claude: Skill tool, Gemini: manual invocation) - Clarify description guidelines in best practices rule file Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * Add commit job for test/lint/push workflow New repo-specific job with three steps: - test: Pull latest code and run tests until passing - lint: Run ruff format and check via sub-agent (haiku model) - commit_and_push: Review changed files with user, then commit and push Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * 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> * Simplify commit job step instructions Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 3de08e2 commit c02db2a

File tree

80 files changed

+3612
-2800
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+3612
-2800
lines changed

.claude/commands/add_platform.md

Lines changed: 0 additions & 75 deletions
This file was deleted.

.claude/commands/deepwork_jobs.md

Lines changed: 0 additions & 63 deletions
This file was deleted.

.claude/commands/deepwork_rules.md

Lines changed: 0 additions & 59 deletions
This file was deleted.

.claude/commands/update.md

Lines changed: 0 additions & 57 deletions
This file was deleted.

.claude/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
{
22
"permissions": {
33
"allow": [
4+
"WebFetch(domain:code.claude.com)",
5+
"WebFetch(domain:www.anthropic.com)",
6+
"WebFetch(domain:anthropic.com)",
7+
"WebFetch(domain:platform.claude.com)",
8+
"WebFetch(domain:docs.anthropic.com)",
49
"Bash(ls:*)",
510
"Bash(grep:*)",
611
"Bash(find:*)",

0 commit comments

Comments
 (0)