Skip to content

refactor: convert commands to skills format#1391

Merged
dyoshikawa merged 1 commit intomainfrom
convert-skills
Mar 30, 2026
Merged

refactor: convert commands to skills format#1391
dyoshikawa merged 1 commit intomainfrom
convert-skills

Conversation

@dyoshikawa
Copy link
Copy Markdown
Owner

Summary

  • Convert 7 command files from .rulesync/commands/ to skill format (.rulesync/skills/<name>/SKILL.md)
  • Converted: clean-worktrees, create-issue, explain-pr, merge-pr, post-review-comment, release-dry-run, release, security-scan-diff
  • Only draft-release-post.md remains as a command

Test plan

  • pnpm cicheck passes
  • Pre-commit hooks pass
  • Verify skills are correctly recognized by rulesync generation

🤖 Generated with Claude Code

Convert 7 command files to skill format (SKILL.md in subdirectories):
- clean-worktrees, create-issue, explain-pr, merge-pr,
  post-review-comment, release-dry-run, release, security-scan-diff

Only draft-release-post.md remains as a command.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings March 30, 2026 03:32
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates Rulesync skill definitions to conform to the expected SKILL.md frontmatter schema (notably ensuring each skill has a name), supporting the ongoing migration from legacy .rulesync/commands/* to .rulesync/skills/*.

Changes:

  • Add missing name fields to multiple .rulesync/skills/*/SKILL.md frontmatters.
  • Reorder frontmatter keys in some skills to consistently follow name, description, targets.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
.rulesync/skills/security-scan-diff/SKILL.md Add missing name in frontmatter.
.rulesync/skills/release/SKILL.md Add missing name in frontmatter.
.rulesync/skills/release-dry-run/SKILL.md Add missing name in frontmatter.
.rulesync/skills/post-review-comment/SKILL.md Add missing name and reorder frontmatter keys.
.rulesync/skills/merge-pr/SKILL.md Add missing name and reorder frontmatter keys.
.rulesync/skills/explain-pr/SKILL.md Add missing name and reorder frontmatter keys.
.rulesync/skills/create-issue/SKILL.md Add missing name and reorder frontmatter keys.
.rulesync/skills/clean-worktrees/SKILL.md Add missing name in frontmatter.
Comments suppressed due to low confidence (1)

.rulesync/skills/security-scan-diff/SKILL.md:3

  • PR description says "Convert 7 command files" but the enumerated list includes 8 items (including security-scan-diff). Please align the summary count with the actual number of converted commands/skills to avoid confusion.

@dyoshikawa dyoshikawa merged commit 25405a1 into main Mar 30, 2026
10 checks passed
@dyoshikawa dyoshikawa deleted the convert-skills branch March 30, 2026 04:19
@dyoshikawa
Copy link
Copy Markdown
Owner Author

@dyoshikawa Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants