compiler-commit
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.
DeepseekModel
官方收录技能
质量 优秀 · 90
v1.0.0
获取
https://deepseekmodel.com/api/download.php?id=react-react-compiler-claude-skills-compiler-commit-skill-md&format=skill
下载 .skill
标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name 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-verify first (with test pattern if provided after -- ). Stop on any failure. Run /compiler-review on 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] Update orchestrator log : If compiler/docs/rust-port/rust-port-orchestrator-log.md exists and the commit includes Rust changes ( compiler/crates/ ): Run test-rust-port with --json to get machine-readable results: bash compiler/scripts/test-rust-port.sh --json 2>/dev/null This outputs a JSON object with fields: pass , autoDetected , total , passed , failed , frontier , perPass , failures . Then update the orchestrator log: Update the # Status section with the results (use the frontier, per-pass counts, and pass/fail totals) Add a ## YYYYMMDD-HHMMSS log entry noting the commit and what changed Stage files — stage only the relevant changed files by name (including the orchestrator log if updated in step 4). Do NOT use git add -A or git 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
Agent 识别该技能的关键词,点击任意一个即可复制。
该技能未提供触发词。
下载的 .skill 包内含以下字段。
| 字段 | 说明 |
|---|---|
| format | 格式标识(skill/v1) |
| skill_id | 技能唯一 ID |
| name | 技能名称 |
| version | 版本号 |
| description | 技能描述 |
| category | 所属分类(数组) |
| trigger_words | 触发词列表 |
| tags | 标签列表 |
| source | 来源标识 |
| source_url | 来源链接(本页地址) |
| exported_at | 导出时间(每次下载生成) |
| system_prompt | 系统提示词正文 |
| model_config | 模型参数:provider / model / temperature / max_tokens / top_p |
| examples | 示例 |
| install_guide | 各平台导入说明(Coze / Dify / Claude / 自定义框架) |