Skip to content

Replace slash commands with make targets, convert reviewers to skills#776

Merged
yungyuc merged 1 commit into
solvcon:masterfrom
yungyuc:agent/issue-773-774
May 13, 2026
Merged

Replace slash commands with make targets, convert reviewers to skills#776
yungyuc merged 1 commit into
solvcon:masterfrom
yungyuc:agent/issue-773-774

Conversation

@yungyuc
Copy link
Copy Markdown
Member

@yungyuc yungyuc commented May 13, 2026

  • Inline the canonical make build/test/lint invocations into CLAUDE.md and delete .claude/commands/{build,pytest,gtest,lint,format}.md.
  • Move .claude/agents/{cpp,python}-style-review.md to .claude/skills/<name>/SKILL.md so the rules apply in the caller's context.
  • Mark make format / make pyformat as work-in-progress in CLAUDE.md and the Makefile, and drop them from .claude/settings.json allowlist.
  • Update CLAUDE.md and contrib/prompt/general-rule.md to reference skills (not subagents) and the surviving make targets.

Related to #773 and #774.

- Inline the canonical `make build/test/lint` invocations into `CLAUDE.md` and
  delete `.claude/commands/{build,pytest,gtest,lint,format}.md`.
- Move `.claude/agents/{cpp,python}-style-review.md` to
  `.claude/skills/<name>/SKILL.md` so the rules apply in the caller's context.
- Mark `make format` / `make pyformat` as work-in-progress in `CLAUDE.md` and
  the Makefile, and drop them from `.claude/settings.json` allowlist.
- Update `CLAUDE.md` and `contrib/prompt/general-rule.md` to reference skills
  (not subagents) and the surviving make targets.

Related to solvcon#773 and solvcon#774.
@yungyuc yungyuc self-assigned this May 13, 2026
@yungyuc yungyuc added refactor Change code without changing tests agent Work for AI agent labels May 13, 2026
findings (include ordering, angle brackets) and other non-auto-fixable
nits, try to hand-fix.

Do not run `make pyformat` or `make format`. They are still work in progress.
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

make format depends on make pyformat, which is still work in progress. See issue #775 .

not hand-fix yourself.
- Try to hand-fix formatting nits. `make flake8` verifies but does not fix.

Do not run `make pyformat`, which is not set up to conform to the existing
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

make pyformat is still work in progress. See issue #775 .

Claude for: routing, retries, deterministic transforms. If code can answer,
code answers. In this repo, hooks under `.claude/hooks/` own the deterministic
checks (ASCII, trailing whitespace, modeline, line length); subagents own the
checks (ASCII, trailing whitespace, modeline, line length); skills own the
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Maintenance change.

Comment thread CLAUDE.md
`contrib/prompt/general-rule.md` (not auto-imported). This section indexes
the tools.

### Slash commands (`.claude/commands/`)
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Slash commands are all about run tests and incorporated right in this file CLAUDE.md. This is for issue #773 .

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Changing sub agents to skills. This is for issue #774 .

Comment thread Makefile
.PHONY: lint
lint: cformat cinclude flake8 checkascii checktws

# FIXME: Do not run pyformat. It is not yet configured to conform to the style
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

See issue #775 .

@yungyuc yungyuc marked this pull request as ready for review May 13, 2026 13:51
@yungyuc yungyuc requested a review from tigercosmos May 13, 2026 13:51
@yungyuc
Copy link
Copy Markdown
Member Author

yungyuc commented May 13, 2026

@iefiru FYI.

@yungyuc yungyuc merged commit 7ecf7b3 into solvcon:master May 13, 2026
13 of 14 checks passed
@yungyuc yungyuc deleted the agent/issue-773-774 branch May 13, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent Work for AI agent refactor Change code without changing tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant