[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ACJ56Z3JQDNFC659ATCCP3":3,"skill-same:01M6ACJ56Z3JQDNFC659ATCCP3":80},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":30,"linkOnly":31,"markdownContent":32,"markdownBody":33,"frontMatter":34,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":42,"ownerHtmlUrl":43,"ownerBlogUrl":44,"ownerDescription":6,"updatedAt":45,"install":46,"resources":59},"01M6ACJ56Z3JQDNFC659ATCCP3","build-one-cc-file",null,"Build a single C++ file. Use when a single .cc file needs to be compiled to check for errors.","apache\u002Fimpala","apache","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F47359?v=4","01M6AC83E6K4FDKK7HZ8WNMQKE","The Apache Software Foundation","01M6ACJ28XNPPRVBXE68DX967D",1295,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fapache\u002Fimpala\u002Fblob\u002Fmaster\u002F.agents\u002Fskills\u002Fbuild-one-cc-file\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29],"build one cc file","file","build","cc","check","use","c++","errors","for","single","when","2026-11-10 10:12:30",false,"---\nname: build-one-cc-file\ndescription: Build a single C++ file. Use when a single .cc file needs to be compiled to check for errors.\nlicense: Apache-2.0\nmetadata:\n  version: \"1.0\"\n---\n\n## Build One C++ File\n\nUse this skill when needing to compile one `*.cc` C++ file to check for errors.\nThis provides a fast validation path without building the entire project.\n\n## Deterministic Rules\n\n- MUST run only from `${IMPALA_HOME}`.\n- MUST configure the environment in the same shell session before building:\n  `export IMPALA_HOME=\u003Cgit_repo_root> && cd \"${IMPALA_HOME}\" && source \"${IMPALA_HOME}\u002Fbin\u002Fimpala-config.sh\" && source \"${IMPALA_HOME}\u002Fbin\u002Fset-classpath.sh\"`\n- MUST use `.agents\u002Fskills\u002Fbuild-one-cc-file\u002Fscripts\u002Fomake.sh` as the only build command\n  path.\n- MUST NOT use the agent's compile tool, Ninja, or direct CMake\u002FNinja invocation.\n\n## Available Scripts\n\n- `.agents\u002Fskills\u002Fbuild-one-cc-file\u002Fscripts\u002Fomake.sh [--dry-run] \u003Cinput>` — builds the\n  single object file for one C++ source.\n  - Accepts a bare basename (`rpc-trace`).\n  - `--dry-run`: prints the resolved `make` command on stdout and exits 0. Does not build.\n  - Without `--dry-run`: runs the `make` command; exits 0 on success, non-zero on failure.\n  - If no build target is found: exits non-zero (grep failure propagated via `set -e`).\n\n## Input Contract\n\nPass exactly one argument: the source basename only.\n\n- Input MUST be one token with no path separators.\n- Input MUST NOT include a directory path.\n- If input ends with `.cc`, strip `.cc` and continue.\n- Basename MUST match this pattern: `[A-Za-z0-9_-]+`\n- If validation fails, stop and request corrected input.\n\nExamples:\n\n- Correct: `.agents\u002Fskills\u002Fbuild-one-cc-file\u002Fscripts\u002Fomake.sh rpc-trace`\n- Incorrect: `.agents\u002Fskills\u002Fbuild-one-cc-file\u002Fscripts\u002Fomake.sh be\u002Fsrc\u002Frpc\u002Frpc-trace.cc`\n- Incorrect: `.agents\u002Fskills\u002Fbuild-one-cc-file\u002Fscripts\u002Fomake.sh rpc-trace.cc`\n\nIf starting from a path like `be\u002Fsrc\u002Frpc\u002Frpc-trace.cc`, convert it to `rpc-trace`\nbefore invocation.\n\n## Execution Procedure\n\n1. Preflight and setup:\n   - Ensure current directory is `${IMPALA_HOME}`.\n   - Ensure environment configuration has run in the current shell session.\n2. First attempt MUST use dry-run:\n   - Run: `.agents\u002Fskills\u002Fbuild-one-cc-file\u002Fscripts\u002Fomake.sh --dry-run \u003Cbasename>`\n   - If dry-run fails, stop and report failure details.\n3. Execute real build after successful dry-run:\n   - Run: `.agents\u002Fskills\u002Fbuild-one-cc-file\u002Fscripts\u002Fomake.sh \u003Cbasename>`\n\n## Ambiguity Handling\n\nIf basename collision occurs (multiple candidate source files map to the same basename),\ndo not guess.\n\n- MUST ask the user to clarify which source path to use.\n- MUST wait for clarification before running the real build command.\n\n## Failure and Retry Policy\n\nOn any failure:\n\n- MUST report the exact command run.\n- MUST report exit code.\n- MUST report the first non-empty line from stderr; if stderr is empty, first stdout line\n  containing \"error:\"\n\nRetry behavior:\n\n- MUST analyze the failure first.\n- MUST attempt a concrete fix (for example corrected basename input or environment setup).\n- MAY retry the real build (step 3) once after analysis and fix attempt.\n- MUST NOT perform blind repeated retries.\n\n## Success Output Contract\n\nOn success, report:\n\n- Normalized basename used.\n- Dry-run command and result.\n- Real build command and result.\n- Final exit code and success confirmation.\n","## Build One C++ File\n\nUse this skill when needing to compile one `*.cc` C++ file to check for errors.\nThis provides a fast validation path without building the entire project.\n\n## Deterministic Rules\n\n- MUST run only from `${IMPALA_HOME}`.\n- MUST configure the environment in the same shell session before building:\n  `export IMPALA_HOME=\u003Cgit_repo_root> && cd \"${IMPALA_HOME}\" && source \"${IMPALA_HOME}\u002Fbin\u002Fimpala-config.sh\" && source \"${IMPALA_HOME}\u002Fbin\u002Fset-classpath.sh\"`\n- MUST use `.agents\u002Fskills\u002Fbuild-one-cc-file\u002Fscripts\u002Fomake.sh` as the only build command\n  path.\n- MUST NOT use the agent's compile tool, Ninja, or direct CMake\u002FNinja invocation.\n\n## Available Scripts\n\n- `.agents\u002Fskills\u002Fbuild-one-cc-file\u002Fscripts\u002Fomake.sh [--dry-run] \u003Cinput>` — builds the\n  single object file for one C++ source.\n  - Accepts a bare basename (`rpc-trace`).\n  - `--dry-run`: prints the resolved `make` command on stdout and exits 0. Does not build.\n  - Without `--dry-run`: runs the `make` command; exits 0 on success, non-zero on failure.\n  - If no build target is found: exits non-zero (grep failure propagated via `set -e`).\n\n## Input Contract\n\nPass exactly one argument: the source basename only.\n\n- Input MUST be one token with no path separators.\n- Input MUST NOT include a directory path.\n- If input ends with `.cc`, strip `.cc` and continue.\n- Basename MUST match this pattern: `[A-Za-z0-9_-]+`\n- If validation fails, stop and request corrected input.\n\nExamples:\n\n- Correct: `.agents\u002Fskills\u002Fbuild-one-cc-file\u002Fscripts\u002Fomake.sh rpc-trace`\n- Incorrect: `.agents\u002Fskills\u002Fbuild-one-cc-file\u002Fscripts\u002Fomake.sh be\u002Fsrc\u002Frpc\u002Frpc-trace.cc`\n- Incorrect: `.agents\u002Fskills\u002Fbuild-one-cc-file\u002Fscripts\u002Fomake.sh rpc-trace.cc`\n\nIf starting from a path like `be\u002Fsrc\u002Frpc\u002Frpc-trace.cc`, convert it to `rpc-trace`\nbefore invocation.\n\n## Execution Procedure\n\n1. Preflight and setup:\n   - Ensure current directory is `${IMPALA_HOME}`.\n   - Ensure environment configuration has run in the current shell session.\n2. First attempt MUST use dry-run:\n   - Run: `.agents\u002Fskills\u002Fbuild-one-cc-file\u002Fscripts\u002Fomake.sh --dry-run \u003Cbasename>`\n   - If dry-run fails, stop and report failure details.\n3. Execute real build after successful dry-run:\n   - Run: `.agents\u002Fskills\u002Fbuild-one-cc-file\u002Fscripts\u002Fomake.sh \u003Cbasename>`\n\n## Ambiguity Handling\n\nIf basename collision occurs (multiple candidate source files map to the same basename),\ndo not guess.\n\n- MUST ask the user to clarify which source path to use.\n- MUST wait for clarification before running the real build command.\n\n## Failure and Retry Policy\n\nOn any failure:\n\n- MUST report the exact command run.\n- MUST report exit code.\n- MUST report the first non-empty line from stderr; if stderr is empty, first stdout line\n  containing \"error:\"\n\nRetry behavior:\n\n- MUST analyze the failure first.\n- MUST attempt a concrete fix (for example corrected basename input or environment setup).\n- MAY retry the real build (step 3) once after analysis and fix attempt.\n- MUST NOT perform blind repeated retries.\n\n## Success Output Contract\n\nOn success, report:\n\n- Normalized basename used.\n- Dry-run command and result.\n- Real build command and result.\n- Final exit code and success confirmation.\n",{"name":5,"license":15,"metadata":35,"description":7},{"version":36},"1.0","master","e886395fc914b43fb29124d291ab83d46950f323",".agents\u002Fskills\u002Fbuild-one-cc-file",564,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fimpala","https:\u002F\u002Fimpala.apache.org","https:\u002F\u002Fgithub.com\u002Fapache","https:\u002F\u002Fwww.apache.org\u002F","2026-11-13 01:09:09",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add apache\u002Fimpala --skill build-one-cc-file",{"tool":52,"command":53},"bunx","bunx skills add apache\u002Fimpala --skill build-one-cc-file",{"tool":55,"command":56},"pnpm","pnpm dlx skills add apache\u002Fimpala --skill build-one-cc-file","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fapache\u002Fimpala\u002Fblob\u002Fmaster\u002F.agents\u002Fskills\u002Fbuild-one-cc-file\u002FSKILL.md",true,[60,66,72,76],{"path":61,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":64,"sourceHtmlUrl":65},"LICENSE.txt","LICENSE","许可证",10880,"https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fdesign-to-code\u002FLICENSE.txt",{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"scripts\u002Fcoderio-skill.mjs","SCRIPT","脚本",13059,"https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fdesign-to-code\u002Fscripts\u002Fcoderio-skill.mjs",{"path":73,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":75},"scripts\u002Fomake.sh",2010,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fimpala\u002Fblob\u002Fmaster\u002F.agents\u002Fskills\u002Fbuild-one-cc-file\u002Fscripts\u002Fomake.sh",{"path":77,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":78,"sourceHtmlUrl":79},"scripts\u002Fpackage.json",122,"https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fdesign-to-code\u002Fscripts\u002Fpackage.json",[81],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":30},"01M6ACJ6Q5WKFZ094NBQ8TRZ4D","git-fixup-push","Combines all git commits for a change into a single commit and pushes it to gerrit. Use when you push to gerrit.","https:\u002F\u002Fgithub.com\u002Fapache\u002Fimpala\u002Fblob\u002Fmaster\u002F.agents\u002Fskills\u002Fgit-fixup-push\u002FSKILL.md",[],[88,89,90,91,92,93,24,94,95,27,96,28,29],"git","push","git fixup push","change","commit","commits","it","you","git commits"]