Add Claude commands#39
Open
tschm wants to merge 1 commit into
Open
Conversation
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Adds three Claude Code slash-command guides under .claude/commands/ to help maintain the repo’s Rhiza template sync workflow, run Rhiza quality gates, and build/serve the docs book.
Changes:
- Add
/rhiza_updateinstructions to bump.rhiza/template.yml, runmake sync, resolve conflicts, and verify gates. - Add
/rhiza_qualityinstructions to run Rhiza “gates” in order and produce a scored report. - Add
/rhiza_bookinstructions to build and serve the MkDocs/zensical book locally.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 7 comments.
| File | Description |
|---|---|
| .claude/commands/rhiza_update.md | New command documentation for updating/syncing the Rhiza template and verifying gates. |
| .claude/commands/rhiza_quality.md | New command documentation for running Rhiza quality checks and producing a scorecard. |
| .claude/commands/rhiza_book.md | New command documentation for building and serving the docs book locally. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+1
to
+3
| --- | ||
| description: Run the Rhiza code-quality gate and score the repo (lint, types, docs, deps, security, tests) | ||
| --- |
Comment on lines
+56
to
+60
| **Scope the scorecard to locally-owned items — not what the mother repo (Rhiza) | ||
| owns.** This project syncs its dev infrastructure from `jebel-quant/rhiza`; see | ||
| `CLAUDE.md` for the authoritative split and the `files:` block of | ||
| `.rhiza/template.lock` for the machine-generated list of synced files. Score | ||
| only what this repo actually controls — `src/`, `tests/`, `pyproject.toml`, |
Comment on lines
+1
to
+3
| --- | ||
| description: Update the pinned Rhiza version in .rhiza/template.yml, sync, resolve conflicts, and verify | ||
| --- |
Comment on lines
+17
to
+21
| - Resolve the target version: | ||
| - If `$ARGUMENTS` names a version, use it (verify the tag exists: | ||
| `gh api repos/<repository>/git/ref/tags/<ref>`). | ||
| - Otherwise get the latest release: | ||
| `gh release view --repo <repository> --json tagName,publishedAt`. |
Comment on lines
+72
to
+74
| **Conflict-marked files.** Resolve by the ownership rule (see `CLAUDE.md` and the | ||
| `files:` block of `.rhiza/template.lock` for the authoritative managed-file list): | ||
|
|
Comment on lines
+111
to
+115
| make sure the configuration they read is present. These are **GitHub Actions | ||
| repository variables and secrets** — *not* local env vars or files — set under | ||
| **Settings → Secrets and variables → Actions** (or via `gh`), and documented in | ||
| `.github/CONFIG.md`. Skip this step entirely if neither workflow is present. | ||
|
|
Comment on lines
+27
to
+31
| for the built folder **in the background** so it does not block the session: | ||
|
|
||
| ``` | ||
| (cd _book && uv run python -m http.server 8000) | ||
| ``` |
Contributor
Author
|
@alihaskar Those are very useful commands for a claude prompt. Kind of useless if you don't use Claude. I recommend Claude :-) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds three Claude Code slash commands under
.claude/commands/:rhiza_book.mdrhiza_quality.mdrhiza_update.md🤖 Generated with Claude Code