Skip to content

Commit 189859d

Browse files
wwwillchenclaude
andauthored
Migrate all Claude Code commands to skills format (#2663)
## Summary - Migrates all 16 `.claude/commands/` to `.claude/skills/` with proper SKILL.md frontmatter (name + description) - Moves supporting scripts (sanitize_issue_markdown.py, tests, goldens) into the fix-issue skill folder - Updates path references in `.prettierignore`, `.oxfmtrc.json`, and `.claude/README.md` - Eliminates spurious golden file "commands" (e.g., `dyad:scripts:goldens:*`) that were being registered as slash commands ## Test plan - Verify all skills are listed with `/` autocomplete - Invoke a skill (e.g., `/dyad:lint`) and confirm it works #skip-bugbot 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- devin-review-badge-begin --> --- <a href="https://app.devin.ai/review/dyad-sh/dyad/pull/2663" target="_blank"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1"> <img src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1" alt="Open with Devin"> </picture> </a> <!-- devin-review-badge-end --> <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Migrates all Claude Code commands to the new skills format with SKILL.md frontmatter and updates docs/paths. This standardizes slash usage (/dyad:<skill>), fixes autocomplete, and removes stray commands. - **Refactors** - Moved 16 items from .claude/commands to .claude/skills with name/description frontmatter. - Moved sanitize_issue_markdown.py, tests, and goldens under the fix-issue skill; updated path in SKILL.md. - Updated .claude/README.md to list skills and include fast-push, pr-screencast, feedback-to-issues, deflake-e2e-recent-commits, remember-learnings. - Updated .prettierignore and .oxfmtrc.json to new goldens path. - Removed golden file “commands” that were being registered as slash commands. - **Migration** - Use /dyad:<skill> instead of /dyad:<command>. - Verify skills show in autocomplete and run one (e.g., /dyad:lint). - Update any local scripts from .claude/commands/... to .claude/skills/.... <sup>Written for commit 31ae67f. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e4582c3 commit 189859d

File tree

31 files changed

+103
-19
lines changed

31 files changed

+103
-19
lines changed

.claude/README.md

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,25 @@
22

33
This directory contains Claude Code configuration for the Dyad project.
44

5-
## Commands
5+
## Skills
66

7-
Slash commands are invoked with `/dyad:<command>`. Available commands:
7+
Skills are invoked with `/dyad:<skill>`. Available skills:
88

9-
| Command | Description | Uses |
10-
| ------------------------------ | -------------------------------------------------------------- | ----------------------------------- |
11-
| `/dyad:plan-to-issue` | Convert a plan to a GitHub issue | - |
12-
| `/dyad:fix-issue` | Fix a GitHub issue | `pr-push` |
13-
| `/dyad:pr-fix` | Fix PR issues from CI failures or review comments | `pr-fix:comments`, `pr-fix:actions` |
14-
| `/dyad:pr-fix:comments` | Address unresolved PR review comments | `lint`, `pr-push` |
15-
| `/dyad:pr-fix:actions` | Fix failing CI checks and GitHub Actions | `e2e-rebase`, `pr-push` |
16-
| `/dyad:pr-rebase` | Rebase the current branch | `pr-push` |
17-
| `/dyad:pr-push` | Push changes and create/update a PR | `remember-learnings` |
18-
| `/dyad:lint` | Run all pre-commit checks (formatting, linting, type-checking) | - |
19-
| `/dyad:e2e-rebase` | Rebase E2E test snapshots | - |
20-
| `/dyad:deflake-e2e` | Deflake flaky E2E tests | - |
21-
| `/dyad:deflake-e2e-recent-prs` | Gather flaky tests from recent PRs and deflake them | `deflake-e2e`, `pr-push` |
22-
| `/dyad:session-debug` | Debug session issues | - |
9+
| Skill | Description | Uses |
10+
| ---------------------------------- | -------------------------------------------------------------- | ----------------------------------- |
11+
| `/dyad:plan-to-issue` | Convert a plan to a GitHub issue | - |
12+
| `/dyad:fix-issue` | Fix a GitHub issue | `pr-push` |
13+
| `/dyad:pr-fix` | Fix PR issues from CI failures or review comments | `pr-fix:comments`, `pr-fix:actions` |
14+
| `/dyad:pr-fix:comments` | Address unresolved PR review comments | `lint`, `pr-push` |
15+
| `/dyad:pr-fix:actions` | Fix failing CI checks and GitHub Actions | `e2e-rebase`, `pr-push` |
16+
| `/dyad:pr-rebase` | Rebase the current branch | `pr-push` |
17+
| `/dyad:pr-push` | Push changes and create/update a PR | `remember-learnings` |
18+
| `/dyad:fast-push` | Fast push via haiku sub-agent | - |
19+
| `/dyad:lint` | Run all pre-commit checks (formatting, linting, type-checking) | - |
20+
| `/dyad:e2e-rebase` | Rebase E2E test snapshots | - |
21+
| `/dyad:deflake-e2e` | Deflake flaky E2E tests | - |
22+
| `/dyad:deflake-e2e-recent-commits` | Gather flaky tests from recent CI runs and deflake them | `deflake-e2e`, `pr-push` |
23+
| `/dyad:session-debug` | Debug session issues | - |
24+
| `/dyad:pr-screencast` | Record visual demo of PR feature | - |
25+
| `/dyad:feedback-to-issues` | Turn customer feedback into GitHub issues | - |
26+
| `/remember-learnings` | Capture session learnings into AGENTS.md/rules | - |

.claude/commands/dyad/deflake-e2e-recent-commits.md renamed to .claude/skills/deflake-e2e-recent-commits/SKILL.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
name: dyad:deflake-e2e-recent-commits
3+
description: Automatically gather flaky E2E tests from recent CI runs on the main branch and from recent PRs by wwwillchen/wwwillchen-bot, then deflake them.
4+
---
5+
16
# Deflake E2E Tests from Recent Commits
27

38
Automatically gather flaky E2E tests from recent CI runs on the main branch and from recent PRs by wwwillchen/wwwillchen-bot, then deflake them.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
name: dyad:deflake-e2e
3+
description: Identify and fix flaky E2E tests by running them repeatedly and investigating failures.
4+
---
5+
16
# Deflake E2E Tests
27

38
Identify and fix flaky E2E tests by running them repeatedly and investigating failures.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
name: dyad:e2e-rebase
3+
description: Rebase E2E test snapshots based on failed tests from the PR comments.
4+
---
5+
16
# E2E Snapshot Rebase
27

38
Rebase E2E test snapshots based on failed tests from the PR comments.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
name: dyad:fast-push
3+
description: Commit any uncommitted changes, run lint checks, fix any issues, and push the current branch. Delegates to a haiku sub-agent for speed.
4+
---
5+
16
# Fast Push
27

38
Commit any uncommitted changes, run lint checks, fix any issues, and push the current branch. Delegates to a haiku sub-agent for speed.

.claude/commands/dyad/feedback-to-issues.md renamed to .claude/skills/feedback-to-issues/SKILL.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
name: dyad:feedback-to-issues
3+
description: Turn customer feedback (usually an email) into discrete GitHub issues. Checks for duplicates, proposes new issues for approval, creates them, and drafts a reply email.
4+
---
5+
16
# Feedback to Issues
27

38
Turn customer feedback (usually an email) into discrete GitHub issues. Checks for duplicates, proposes new issues for approval, creates them, and drafts a reply email.
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
name: dyad:fix-issue
3+
description: Create a plan to fix a GitHub issue, then implement it locally.
4+
---
5+
16
# Fix Issue
27

38
Create a plan to fix a GitHub issue, then implement it locally.
@@ -25,7 +30,7 @@ Create a plan to fix a GitHub issue, then implement it locally.
2530
Run the issue body through the sanitization script to remove HTML comments, invisible characters, and other artifacts:
2631

2732
```
28-
printf '%s' "$ISSUE_BODY" | python3 .claude/commands/dyad/scripts/sanitize_issue_markdown.py
33+
printf '%s' "$ISSUE_BODY" | python3 .claude/skills/fix-issue/scripts/sanitize_issue_markdown.py
2934
```
3035

3136
This removes:

.claude/commands/dyad/scripts/goldens/details_summary_input.md renamed to .claude/skills/fix-issue/scripts/goldens/details_summary_input.md

File renamed without changes.

.claude/commands/dyad/scripts/goldens/details_summary_output.md renamed to .claude/skills/fix-issue/scripts/goldens/details_summary_output.md

File renamed without changes.

.claude/commands/dyad/scripts/goldens/excessive_whitespace_input.md renamed to .claude/skills/fix-issue/scripts/goldens/excessive_whitespace_input.md

File renamed without changes.

0 commit comments

Comments
 (0)