build-report
编译报告模板:build-agent输出编译报告时使用。触发条件:编译成功或失败需要输出报告。
When & Why to Use This Skill
The build-report skill is a specialized utility designed for AI agents to generate standardized compilation reports. It streamlines the DevOps workflow by automatically populating success or failure templates with real-time build data, ensuring consistent documentation and faster debugging through structured error tracing and accountability logs.
Use Cases
- Automated Build Documentation: Automatically generating a success report after a production build, detailing output artifacts and verification steps for the deployment record.
- Error Traceability and Debugging: Creating structured failure reports when a build fails, capturing specific error logs and providing actionable proposals for code fixes.
- Multi-Platform Status Aggregation: Consolidating build results from multiple environments (e.g., Linux, Windows, macOS) into a single, unified report to track cross-platform compatibility.
| name | build-report |
|---|---|
| description | "编译报告模板:build-agent输出编译报告时使用。触发条件:编译成功或失败需要输出报告。" |
build-report
编译报告模板,供 build-agent 输出编译结果时使用。
When to Use This Skill
触发条件(满足任一):
- build-agent 编译成功,需要输出成功报告
- build-agent 编译失败,需要输出错误追溯报告
Not For / Boundaries
不做:
- 不直接执行编译(由 build-agent 负责)
- 不修改源代码
使用方式:
- 按需读取
references/下的模板 - 填充模板后输出报告
Quick Reference
模板文件
references/
├── error-report-template.md # 编译错误报告模板
└── success-report-template.md # 编译成功报告模板
使用流程
1. 编译完成后判断成功/失败
2. 读取对应模板
3. 填充实际数据
4. 输出报告
5. 追加到 Record/record.md
Examples
Example 1: 编译成功
- 输入: cargo build --release 成功
- 步骤:
- 读取
references/success-report-template.md - 填充编译结果、产出文件、验证结果
- 输出报告
- 追加到 record.md
- 读取
- 验收: 报告包含产出文件清单
Example 2: 编译失败
- 输入: 编译出现类型错误
- 步骤:
- 读取
references/error-report-template.md - 填充错误详情、责任追溯
- 输出报告
- 追加到 record.md
- 读取
- 验收: 报告包含责任提案和修复流程
Example 3: 多平台编译
- 输入: 需要编译 Linux 和 Windows 版本
- 步骤:
- 逐平台编译
- 汇总所有平台结果到一份报告
- 输出报告
- 验收: 报告包含所有平台的编译状态
Maintenance
- 来源:双AI协同开发方案内部规范
- 最后更新:2026-01-05
- 已知限制:仅提供模板,不执行编译