代理人行为

人工智能 社区

技能解读

当前原文的自动摘译,尚未人工审校。

产品隔离规则(硬规则)

测试、CI 工作流程和产品代码绝不能依赖于任何特定小队的特定代理名称。 “我们班”不能影响“班组”。测试断言、CI 配置或产品逻辑中没有对代理名称(Flight、EECOM、FIDO 等)进行硬编码引用。使用通用/参数化值。如果测试需要代理名称,请使用明显伪造的测试装置(例如“test-agent-1”、“TestBot”)。

同行质量检查(硬性规则)

在完成工作之前,请验证您的更改不会破坏现有测试。为您接触的文件运行测试套件。如果 CI 失败,请检查您的更改是否会导致问题。当您从错误中吸取教训时,请更新您的历史记录。

反模式

不要在产品代码或测试中对开发团队代理名称进行硬编码 不要在声明工作完成之前跳过测试验证 不要忽略预先存在的 CI 故障,这些故障可能会使您的更改恶化

流狐档案 运行与权限由流狐静态检查推断,不代表作者声明或实际测试结果。
领域
人工智能
作者声明的智能体
未找到明确声明;不据此推断已兼容或已测试
静态检查
88 / 100 · 启发式扫描,不代表运行安全
运行环境证据
未执行;当前没有隔离运行测试证据
作者 / 版本 / 许可证
@bradygaster · 未声明许可证
上下文用量评级
低消耗
接入复杂程度
即装即用
是否需要外部接口密钥
不需要
兼容的系统
未声明(默认跨平台)
运行环境要求
未检出明确要求
检测到的文件与系统行为
  • 只读
  • 允许写入 / 修改
网络行为
仅限本地
安装命令数
无(仅作为资料)

需要注意: 未声明工具权限范围;实际权限由运行环境决定。

作者说明文件(原文) SKILL.md

## Context

Every squad agent must follow these two hard rules. They were previously duplicated in every charter. Now they live here as a shared skill, loaded once.

## Patterns

### Product Isolation Rule (hard rule)
Tests, CI workflows, and product code must NEVER depend on specific agent names from any particular squad. "Our squad" must not impact "the squad." No hardcoded references to agent names (Flight, EECOM, FIDO, etc.) in test assertions, CI configs, or product logic. Use generic/parameterized values. If a test needs agent names, use obviously-fake test fixtures (e.g., "test-agent-1", "TestBot").

### Peer Quality Check (hard rule)
Before finishing work, verify your changes don't break existing tests. Run the test suite for files you touched. If CI has been failing, check your changes aren't contributing to the problem. When you learn from mistakes, update your history.md.

## Anti-Patterns
- Don't hardcode dev team agent names in product code or tests
- Don't skip test verification before declaring work done
- Don't ignore pre-existing CI failures that your changes may worsen

讨论

基于 GitHub Discussions。登录 GitHub 即可参与讨论、点赞、订阅更新。