be-build
Run build, diagnose failures, and auto-fix. Retries up to 3 times. Use when asked to run the build, or when the build or compilation fails.
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- be-build
- description
- Run build, diagnose failures, and auto-fix. Retries up to 3 times. Use when asked to run the build, or when the build or compilation fails.
- allowed-tools
- Read, Write, Edit, Glob, Grep, Bash, Agent
- argument-hint
- user-invocable
- true
03 SKILL.md 正文
Build with Auto-Fix
Run the project build. If it fails, automatically diagnose and fix issues with up to 3 retries.
Instructions
Step 0: Validate Configuration
- Read
.claude/backend-springboot-plugin.json - If missing, tell the user to run
/backend-springboot-plugin:be-initfirst and stop
Step 1: Launch Build Doctor
Launch the build-doctor agent (subagent_type: "backend-springboot-plugin:build-doctor") with:
config: the parsed plugin configprojectRoot: current project root
The build-doctor agent will:
- Execute the build command (10-minute timeout)
- If it succeeds, report and stop
- If it fails, diagnose the error category (compilation, test, checkstyle, dependency, configuration)
- Apply targeted fix
- Retry (up to 3 times)
Step 2: Report Result
Display the result in the working language.
On success:
"Build passed." {If changes were made: "Changes applied: {list}"}
If any feature progress files exist in {workDocDir}/.progress/ with pipeline.status == "verify-failed":
"Feature '{feature}' is in 'verify-failed' status. Re-run
/backend-springboot-plugin:be-verify {feature}to update."
On failure (after 3 retries):
"Build failed after 3 attempts." "Error: {category} - {root cause}" "Suggestion: {manual fix advice}"
04 同仓库更多 Skills
hp-shared
Shared conventions for every homepage-plugin agent and skill — stack, code conventions, state-file writes, check commands and how to report them. Preloaded into agents through their `skills:` frontmatter; not meant to be invoked by hand.
fe-shared
Shared conventions for every frontend-react-plugin agent and skill — code conventions, state files and locks, accepted deviations, design principles, build working directory, router-mode command matrix, TypeScript check. Preloaded into agents through their `skills:` frontmatter; not meant to be invoked by hand.
be-spring-shared
Shared conventions for every backend-springboot-plugin agent and skill — tech stack, CQRS architecture, naming, coding standards, TDD, commit and build rules, state files. Preloaded into agents through their `skills:` frontmatter; not meant to be invoked by hand.
pp-translate
Use after directly editing the working language spec to sync changes to other supported languages.
pp-sync-stitch
Use when wireframes were manually edited on the Stitch website and need to be re-fetched to the local project.
pp-sync-notion
Use when a specification needs to be published or re-synced to Notion after finalization or manual edits.