Skip to content

Conversation

@rekmarks
Copy link
Member

@rekmarks rekmarks commented Jan 27, 2026

This PR refactors the Claude Code configuration from commands to skills, making them more modular and reusable.

Summary

  • Convert commit, commit-push, commit-push-pr commands to atomic skills
  • Replace composite skills (commit-push, commit-push-pr) with individual push and pr skills
  • Convert check command to lint-build-test skill for clarity
  • Convert pr command to pr skill
  • Remove the commands directory entirely - everything is now a skill

Changes

  • commit: Now a standalone skill for committing code
  • push: New atomic skill for pushing to remote
  • pr: Converted from command to skill, with updated PR body format (narrative description, no checkbox test plan)
  • lint-build-test: Renamed from "check" for clarity about what it does

The skills are now atomic building blocks that Claude can compose based on user intent, rather than rigid composite commands.

Testing

Changes were tested by invoking the skills directly during development. The skills correctly handle git operations, pushing, and would create PRs with the expected format.


Note

Replaces legacy command-based setup with modular, atomic skills and updates permissions accordingly.

  • Removes .claude/commands/* (check, commit-push, commit-push-pr, pr)
  • Adds skills: commit, push, pr, lint-build-test; updates .claude/settings.json to allow these
  • commit: introduces check/force args, standardized commit steps/message (incl. Co-Authored-By), safety checks
  • lint-build-test: determines scope from changed files and runs targeted lint/build/test (workspace or monorepo, quiet tests)
  • pr: scripted flow with status validation, stacked PR detection, and narrative PR body requirements
  • push: basic push flow with upstream handling

Written by Cursor Bugbot for commit fff6c78. This will update automatically on new commits. Configure here.

rekmarks and others added 4 commits January 27, 2026 14:07
…taMask actions

Only allow updates from 'actions/*' (official GitHub Actions) and 'MetaMask/*'
(MetaMask organization actions). Other actions must be pinned to commit hashes
and reviewed before updating.

Co-Authored-By: Claude <noreply@anthropic.com>
Move commit, commit-push, and commit-push-pr from commands to skills
for better reusability. Update settings.json to include skill permissions.

Co-Authored-By: Claude <noreply@anthropic.com>
…ills

- Remove commit-push and commit-push-pr composite skills
- Add atomic push skill for pushing to remote
- Convert pr command to pr skill with unsandboxed flag
- Update pr skill to use narrative description format
- Update settings.json with new skill permissions

Co-Authored-By: Claude <noreply@anthropic.com>
- Rename check to lint-build-test for clarity
- Remove last command, now all are skills
- Update commit skill to remove /check reference
- Update settings.json with new skill name

Co-Authored-By: Claude <noreply@anthropic.com>
@rekmarks rekmarks requested a review from a team as a code owner January 27, 2026 22:32
Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions
Copy link
Contributor

github-actions bot commented Jan 27, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 88.44%
🟰 ±0%
5765 / 6518
🔵 Statements 88.32%
🟰 ±0%
5857 / 6631
🔵 Functions 87.23%
🟰 ±0%
1504 / 1724
🔵 Branches 84.95%
🟰 ±0%
2078 / 2446
File CoverageNo changed files found.
Generated in workflow #3384 for commit fff6c78 by the Vitest Coverage Report Action

Skip unnecessary checks based on changed files:
- No changes: skip entirely
- Only meta files (.md, .yml, .json, etc.): run lint:misc only
- Source files: run full lint, build, test

Co-Authored-By: Claude <noreply@anthropic.com>
@rekmarks rekmarks enabled auto-merge January 27, 2026 22:53
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Comment on lines 25 to 27
Copy link
Contributor

Choose a reason for hiding this comment

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

seems unrelated

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah, accidentally carried over from a local branch. It already got merged to main. Disappeared by updating the branch.

sirtimid
sirtimid previously approved these changes Jan 27, 2026
@rekmarks rekmarks added this pull request to the merge queue Jan 27, 2026
github-merge-queue bot pushed a commit that referenced this pull request Jan 27, 2026
This PR refactors the Claude Code configuration from commands to skills,
making them more modular and reusable.

## Summary

- Convert commit, commit-push, commit-push-pr commands to atomic skills
- Replace composite skills (commit-push, commit-push-pr) with individual
push and pr skills
- Convert check command to lint-build-test skill for clarity
- Convert pr command to pr skill
- Remove the commands directory entirely - everything is now a skill

## Changes

- **commit**: Now a standalone skill for committing code
- **push**: New atomic skill for pushing to remote
- **pr**: Converted from command to skill, with updated PR body format
(narrative description, no checkbox test plan)
- **lint-build-test**: Renamed from "check" for clarity about what it
does

The skills are now atomic building blocks that Claude can compose based
on user intent, rather than rigid composite commands.

## Testing

Changes were tested by invoking the skills directly during development.
The skills correctly handle git operations, pushing, and would create
PRs with the expected format.

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Refactors Claude Code config from monolithic commands to atomic
skills.
> 
> - Removes command files in `.claude/commands` and replaces them with
skills in `.claude/skills`
> - Adds/updates skills: `commit` (reworked steps/args), `push` (new),
`pr` (converted, `unsandboxed`, defines PR body format),
`lint-build-test` (new/renamed from `check` with detailed run matrix)
> - Updates `.claude/settings.json` to allow new skills:
`lint-build-test`, `code-review`, `commit`, `glossary`, `pr`, `push`
> - Eliminates composite flows (`commit-push`, `commit-push-pr`) in
favor of composing atomic skills
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
e8369db. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
Add instructions to check if PR builds on another feature branch
with an open PR. If so, create the PR as a draft.

Co-Authored-By: Claude <noreply@anthropic.com>
@rekmarks rekmarks removed this pull request from the merge queue due to a manual request Jan 27, 2026
@rekmarks rekmarks enabled auto-merge January 27, 2026 23:44
@rekmarks rekmarks added this pull request to the merge queue Jan 27, 2026
Merged via the queue into main with commit 605f63c Jan 28, 2026
30 checks passed
@rekmarks rekmarks deleted the rekm/claude-md-updates branch January 28, 2026 00:00
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.

3 participants