用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/apache/impala --skill build-one-cc-file命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | build-one-cc-file |
| description | Build a single C++ file. Use when a single .cc file needs to be compiled to check for errors. |
| license | Apache-2.0 |
| metadata | {"version":"1.0"} |
Use this skill when needing to compile one *.cc C++ file to check for errors.
This provides a fast validation path without building the entire project.
${IMPALA_HOME}.export IMPALA_HOME=<git_repo_root> && cd "${IMPALA_HOME}" && source "${IMPALA_HOME}/bin/impala-config.sh" && source "${IMPALA_HOME}/bin/set-classpath.sh".agents/skills/build-one-cc-file/scripts/omake.sh as the only build command
path..agents/skills/build-one-cc-file/scripts/omake.sh [--dry-run] <input> — builds the
single object file for one C++ source.
rpc-trace).--dry-run: prints the resolved make command on stdout and exits 0. Does not build.--dry-run: runs the make command; exits 0 on success, non-zero on failure.set -e).Pass exactly one argument: the source basename only.
.cc, strip .cc and continue.[A-Za-z0-9_-]+Examples:
.agents/skills/build-one-cc-file/scripts/omake.sh rpc-trace.agents/skills/build-one-cc-file/scripts/omake.sh be/src/rpc/rpc-trace.cc.agents/skills/build-one-cc-file/scripts/omake.sh rpc-trace.ccIf starting from a path like be/src/rpc/rpc-trace.cc, convert it to rpc-trace
before invocation.
${IMPALA_HOME}..agents/skills/build-one-cc-file/scripts/omake.sh --dry-run <basename>.agents/skills/build-one-cc-file/scripts/omake.sh <basename>If basename collision occurs (multiple candidate source files map to the same basename), do not guess.
On any failure:
Retry behavior:
On success, report: