Skip to content

refactor: migrate commands to Anthropic skills pattern#40

Merged
shunkakinoki merged 2 commits into
mainfrom
refactor/migrate-commands-to-skills
Jan 11, 2026
Merged

refactor: migrate commands to Anthropic skills pattern#40
shunkakinoki merged 2 commits into
mainfrom
refactor/migrate-commands-to-skills

Conversation

@shunkakinoki

@shunkakinoki shunkakinoki commented Jan 11, 2026

Copy link
Copy Markdown
Owner

Changes

  • Add skills/ directory with SKILL.md files following Anthropic's skills pattern
  • Add .ruler/skills/ for Ruler-generated skill outputs
  • Update Makefile with skills-sync and skills-copy targets
  • Enable skills configuration in ruler.toml
  • Remove legacy commands/ directory and .ruler/*.md command files

Technical Details

  • Skills use SKILL.md format with YAML frontmatter for allowed-tools and description
  • Makefile now syncs skills to multiple agent directories (~/.claude/skills, ~/.cursor/skills, etc.)
  • Renamed RULES_SKIP_HELP to DOTAGENTS_SKIP_HELP for consistency

Testing

  • Verified make skills-copy and make skills-sync targets work correctly
  • All existing skill functionality preserved in new format

🤖 Generated with Claude Code by claude-opus-4-5-20251101


Summary by cubic

Migrated legacy commands to the Anthropic skills pattern to standardize and simplify agent capabilities. Added SKILL.md-based skills with syncing across agent directories and enabled skills in Ruler; keeps the commands flow but removes .ruler/commands.md.

  • Refactors

    • Added skills/ with SKILL.md files using YAML frontmatter for allowed-tools and description.
    • Mirrored skills to .ruler/skills and enabled [skills] in .ruler/ruler.toml.
    • Added Makefile targets: skills-copy and skills-sync; sync now includes skills.
    • Removed .ruler/commands.md; retained commands/ and related Makefile targets.
    • Renamed RULES_SKIP_HELP to DOTAGENTS_SKIP_HELP.
  • Migration

    • Run: make skills-copy
    • Run: make skills-sync

Written for commit fb12dd1. Summary will update on new commits.

- Add skills/ directory with SKILL.md files for each command
- Add .ruler/skills/ for Ruler-generated skill outputs
- Update Makefile with skills-sync and skills-copy targets
- Enable skills in ruler.toml configuration
- Remove legacy commands/ and .ruler/*.md command files
- Rename RULES_SKIP_HELP to DOTAGENTS_SKIP_HELP
Copilot AI review requested due to automatic review settings January 11, 2026 13:31
@coderabbitai

coderabbitai Bot commented Jan 11, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@shunkakinoki has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 13 minutes and 0 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between c56e304 and fb12dd1.

📒 Files selected for processing (15)
  • .ruler/commands.md
  • .ruler/ruler.toml
  • .ruler/skills/changesets/SKILL.md
  • .ruler/skills/commit-lint/SKILL.md
  • .ruler/skills/issue-create/SKILL.md
  • .ruler/skills/pr-create/SKILL.md
  • .ruler/skills/pr-label/SKILL.md
  • .ruler/skills/serena/SKILL.md
  • Makefile
  • skills/changesets/SKILL.md
  • skills/commit-lint/SKILL.md
  • skills/issue-create/SKILL.md
  • skills/pr-create/SKILL.md
  • skills/pr-label/SKILL.md
  • skills/serena/SKILL.md
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch refactor/migrate-commands-to-skills

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No issues found across 17 files

@shunkakinoki
shunkakinoki merged commit 440c52e into main Jan 11, 2026
4 checks passed
@shunkakinoki
shunkakinoki deleted the refactor/migrate-commands-to-skills branch January 11, 2026 13:36
@shunkakinoki
shunkakinoki removed the request for review from Copilot March 23, 2026 22:03
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.

1 participant