基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/brasga-a/context --skill source-command-check命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Implement tasks from an OpenSpec change (Experimental)
Archive a completed change in the experimental workflow
Enter explore mode - think through ideas, investigate problems, clarify requirements
| name | source-command-check |
| description | Run the cargo dev-loop (fmt check, clippy, test) across the workspace or one crate |
Use this skill when the user asks to run the migrated source command check.
Run the project's standard cargo dev-loop: format check, lint, and tests.
Input: Optional crate name after /check (context-lexer or context-parser). If omitted,
run across the whole workspace.
Steps
If no crate name argument was given, run:
cargo fmt --check
cargo clippy --workspace --all-targets -- -D warnings
cargo test --workspace
If a crate name argument was given (e.g. /check context-lexer), scope every step to that
crate instead:
cargo fmt --check -p <crate>
cargo clippy -p <crate> --all-targets -- -D warnings
cargo test -p <crate>
Run all three steps even if an earlier one fails, and report a combined pass/fail summary at the end (which step(s) failed, and the relevant error output) rather than stopping at the first failure.
The workspace's baseline cargo clippy is currently warning-free, so -D warnings is expected to
pass cleanly on unrelated code — a failure means the change under review introduced a new lint.