Automated summary
Verifies compiler changes by running tests, lint, formatting and review, then commits them using the [compiler] or [rust-compiler] convention prefix.
Strengths
- Chains /compiler-verify and /compiler-review before committing and stops on any failure or review finding
- Automatically picks the commit prefix based on whether files under compiler/crates/ changed
- Updates the Rust port orchestrator log from the machine-readable JSON output of test-rust-port
- Stages only explicitly named files—no git add -A or git add .—and never pushes unless asked
Limitations
- Requires the /compiler-verify and /compiler-review commands plus the repo's helper scripts to exist
- Tightly coupled to a specific layout (compiler/crates/, compiler/scripts/, orchestrator-log.md)
- Assumes a project-specific commit prefix convention that does not generalize well
Use it when a compiler change is ready to be validated end-to-end and committed following the repository's convention.
Avoid it for non-compiler commits, merge or rebase commits, or when you do not want the full test and review pipeline to run.
Security analysis
CautionThe skill uses bash and git for legitimate purposes: running tests and committing changes. It explicitly stops on verification failures, avoids staging all files, and does not push without user request. The risk is low but non-trivial because it executes a repository script and performs commits.
- •Executes a bash script (`compiler/scripts/test-rust-port.sh`) to obtain JSON results.
- •Uses `git commit` with a heredoc for the commit message.
- •No destructive or exfiltration commands are present; commands are limited to legitimate development workflow.
Examples
/compiler-commit Fix aliasing bug in optional chains/compiler-commit Implement scope tree types -- round_trip/compiler-commit Fix aliasing bug -- aliasingname: compiler-commit description: Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits with the [compiler] or [rust-compiler] prefix.
Compiler Commit
Verify and commit compiler changes with the correct convention.
Arguments:
- $ARGUMENTS: Commit title (required). Optionally a test pattern after
--(e.g.,Fix aliasing bug -- aliasing)
Instructions
-
Run
/compiler-verifyfirst (with test pattern if provided after--). Stop on any failure. -
Run
/compiler-reviewon the uncommitted changes. Report the findings to the user. If any issues are found, stop and do NOT commit — let the user decide how to proceed. -
Detect commit prefix from changed files:
- If any files in
compiler/crates/changed: use[rust-compiler] - Otherwise: use
[compiler]
- If any files in
-
Update orchestrator log: If
compiler/docs/rust-port/rust-port-orchestrator-log.mdexists and the commit includes Rust changes (compiler/crates/):Run
test-rust-portwith--jsonto get machine-readable results:bash compiler/scripts/test-rust-port.sh --json 2>/dev/nullThis outputs a JSON object with fields:
pass,autoDetected,total,passed,failed,frontier,perPass,failures.Then update the orchestrator log:
- Update the
# Statussection with the results (use the frontier, per-pass counts, and pass/fail totals) - Add a
## YYYYMMDD-HHMMSSlog entry noting the commit and what changed
- Update the
-
Stage files — stage only the relevant changed files by name (including the orchestrator log if updated in step 4). Do NOT use
git add -Aorgit add .. -
Compose commit message:
[prefix] <title> <summary of what changed and why, 1-3 sentences>The title comes from $ARGUMENTS. Write the summary yourself based on the actual changes.
-
Commit using a heredoc for the message:
git commit -m "$(cat <<'EOF' [rust-compiler] Title here Summary here. EOF )" -
Do NOT push unless the user explicitly asks.
Examples
/compiler-commit Fix aliasing bug in optional chains— runs full verify, commits as[compiler] Fix aliasing bug in optional chains/compiler-commit Implement scope tree types -- round_trip— runs verify with-p round_trip, commits as[rust-compiler] Implement scope tree types
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/compiler-commit-mte1ljo7/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/compiler-commit-mte1ljo7' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/compiler-commit-mte1ljo7/download' --output '.skill-downloads/compiler-commit-mte1ljo7/SKILL.md.part' && mv '.skill-downloads/compiler-commit-mte1ljo7/SKILL.md.part' '.skill-downloads/compiler-commit-mte1ljo7/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/compiler-commit-mte1ljo7/SKILL.md' && test -s '.skill-downloads/compiler-commit-mte1ljo7/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/compiler-commit' && cp -R '.skill-downloads/compiler-commit-mte1ljo7' '.claude/skills/compiler-commit'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/compiler-commit-mte1ljo7'openskills read 'compiler-commit-mte1ljo7'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/compiler-commit-mte1ljo7/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.