From oh-my-agent
Detects triggers from task context and changed files, activates relevant OMA rule packages like tests-required and security-review, explains rules and behaviors, outputs detection table, enforcements, suggestions, and persists state.
npx claudepluginhub sswym/oh-my-agent --plugin oh-my-agent运行 oma `rules` 注入器。 输入: $ARGUMENTS 协议: 1. 从请求文本和更改文件上下文中检测任务触发器。 2. 仅激活相关的规则包。 3. 解释每个活动规则和预期行为。 4. 当文件系统工具可用时持久化活动规则(`.oma/state/rules.md`)。 规则包矩阵: - `tests-required`:当行为代码更改时激活。 - `migration-safety`:当出现模式、合约或配置迁移时激活。 - `security-review`:当出现认证、令牌、秘密或权限表面时激活。 - `docs-sync`:当面向用户的行为或命令更改时激活。 - `perf-watch`:当触及热路径、循环或批处理作业时激活。 输出格式: ## 触发器检测 | 触发器 | 已匹配 | 证据 | | --- | --- | --- | ## 活动规则 1. ... 2. ... ## 强制执行行为 - ... ## 建议的下一个命令 - ...
/rulesApplies Arc's coding rules to the current project by invoking the rules skill with any provided arguments.
运行 oma rules 注入器。
输入: $ARGUMENTS
协议:
.oma/state/rules.md)。规则包矩阵:
tests-required:当行为代码更改时激活。migration-safety:当出现模式、合约或配置迁移时激活。security-review:当出现认证、令牌、秘密或权限表面时激活。docs-sync:当面向用户的行为或命令更改时激活。perf-watch:当触及热路径、循环或批处理作业时激活。输出格式:
| 触发器 | 已匹配 | 证据 |
|---|