一键导入
build-smart
Detect what changed and build only the necessary target. Use when the user says "build smart", "build inteligente", or wants an optimized build.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Detect what changed and build only the necessary target. Use when the user says "build smart", "build inteligente", or wants an optimized build.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Detect and fix documentation violations across C++ compiler and TML library code. Scans for missing ///, undocumented public items, wrong comment styles, and auto-fixes using parallel agents. Use when the user says "fix docs", "audit docs", "documenta", "corrige docs", or wants to improve documentation coverage.
Deep knowledge of TML compiler internals. Inject before working on compiler C++ code. Maps the full pipeline with key functions, types, and cross-subsystem boundaries.
Deep knowledge of TML standard library structure, module dependencies, key types, and C runtime mapping. Inject before working on library code.
Detect which tests are affected by recent code changes. Use when the user wants to know what tests to run after making changes.
List build artifacts with sizes and ages. Use when the user asks about build outputs, compiled binaries, or disk usage.
Build the TML compiler from C++ sources. Use when the user says "build", "compila", "rebuild", or needs to recompile the compiler after C++ changes.
| name | build-smart |
| description | Detect what changed and build only the necessary target. Use when the user says "build smart", "build inteligente", or wants an optimized build. |
| user-invocable | true |
| argument-hint | no arguments needed — auto-detects what changed |
Delegation: Use the Agent tool to dispatch a build-engineer agent with model: haiku for this task.
Run git diff --name-only HEAD via Bash to see what files changed.
Based on changed files:
compiler/src/ changes → target: "compiler" (rebuild tml.exe)compiler/src/mcp/ changes → target: "mcp" (rebuild tml_mcp.exe) — WARN: kills MCP connectioncompiler/tests/ changes → target: "compiler" with tests: truelib/ or docs/ only → NO build needed, just re-run testsUse mcp__tml__project_build with the determined target.
mode: "debug"tests: true only if test C++ files changed