beutl-build
GitHub用于构建和编译 Beutl 解决方案或特定项目。支持全量、单项目或生成器构建,自动确认范围并执行 dotnet build,失败时报告错误代码并停止等待指令。
Trigger Scenarios
Install
npx skills add b-editor/beutl --skill beutl-build -g -y
SKILL.md
Frontmatter
{
"name": "beutl-build",
"description": "Build the Beutl solution or a specific project. Use when the user asks to build, compile, or check\nthat the code compiles. Triggers on phrases like \"ビルドして\", \"build\", \"コンパイル通る?\",\n\"this still compiles?\". Always confirm the build scope before running.\n",
"allowed-tools": "Bash(dotnet build:*) Bash(dotnet restore:*)",
"argument-hint": "[solution|project-name] [Debug|Release]"
}
Build Beutl
Before running, confirm the scope with the user unless they have already specified it in this turn or arguments are provided. Use AskUserQuestion with these defaults:
- What to build: whole solution (
Beutl.slnx) / a specific project (e.g.src/Beutl.Engine/Beutl.Engine.csproj) / SourceGenerators only (src/Beutl.Engine.SourceGenerators/Beutl.Engine.SourceGenerators.csproj) - Configuration: Debug (default) / Release
Once scope is decided, run the matching command:
# Whole solution (default)
dotnet build Beutl.slnx -c Debug
# Specific project
dotnet build <path/to/proj.csproj> -c Debug
# With extra arguments
dotnet build Beutl.slnx -c Release $ARGUMENTS
If $ARGUMENTS is non-empty, treat it as the build target/flags and skip the confirmation prompt.
Notes
- Solution file is
Beutl.slnx(slnx format, not the legacy.sln). global.jsonpins the SDK; verify withdotnet --versionif the build can't locate it.- For a fully clean restore + build pass
--no-incrementalvia $ARGUMENTS, or rundotnet restore Beutl.slnxfirst. - Engine sources are generated by
Beutl.Engine.SourceGenerators; a failed Source Generator surfaces as a CS0246/CS0103 inBeutl.Engineor downstream projects.
On failure
Report the first 5 unique CS-codes plus the file:line for each, then stop and wait for direction. Do NOT loop trying to fix errors without checking in.
Version History
- db01de7 Current 2026-08-20 13:43


