• Will Chen's avatar
    Migrate all Claude Code commands to skills format (#2663) · 189859d9
    Will Chen 提交于
    ## 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 31ae67f994cb704c223428e66455665ffd2454ff.
    Summary will update on new commits.</sup>
    
    <!-- End of auto-generated description by cubic. -->
    Co-authored-by: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    189859d9
SKILL.md 3.8 KB