dart-audit-agent-compliance
GitHub用于审计和修复AI代理未遵循文档规则的问题。通过定位缺失规则、诊断原因并优化文档可见性,确保代理行为符合既定规范,降低违规风险。
Trigger Scenarios
Install
npx skills add dartsim/dart --skill dart-audit-agent-compliance -g -y
SKILL.md
Frontmatter
{
"name": "dart-audit-agent-compliance",
"description": "DART Audit Agent Compliance: audit and fix gaps when agents miss documented rules"
}
dart-audit-agent-compliance
Use this skill in Codex to run the DART dart-audit-agent-compliance workflow. The editable
workflow source currently lives in .claude/commands/, and this generated
Codex skill is a first-class Codex entrypoint.
Invocation
- Claude Code/OpenCode:
/dart-audit-agent-compliance <arguments> - Codex:
$dart-audit-agent-compliance <arguments>
Treat the text after the skill name as $ARGUMENTS. When the workflow
references $1, $2, etc., map those to the positional values supplied by the
user.
Command Body
Audit agent compliance issue: $ARGUMENTS
Required Reading
@AGENTS.md @docs/ai/principles.md @docs/ai/verification.md @docs/ai/components.md @docs/onboarding/ai-tools.md @docs/onboarding/contributing.md
Incident Inputs
- Rule violated: $1
- Where documented: $2
- Actual behavior: $3
- Expected behavior: $4
Treat missing positional values as details to infer from the user request or ask about before editing.
Workflow
- Locate the exact existing rule and confirm it is still correct.
- Diagnose why it was missed:
- buried in prose
- wrong file for the task type
- weak emphasis
- duplicated or conflicting guidance
- not referenced from relevant commands or skills
- Prefer restructuring existing docs over adding duplicate content.
- Improve visibility with one or more focused changes:
- move the rule to a loaded file
- make it scannable with a checklist or mandatory marker
- consolidate duplicate guidance
- add cross-references from relevant commands or skills
- Run the principle audit from
docs/ai/principles.mdand usedocs/ai/verification.mdto map audit results to evidence. - Run the relevant gate set from
docs/ai/verification.md. For AI workflow changes, that includes generated adapter sync/checks, docs policy, spell, Markdown checks, andpixi run lint.
Output
- Root cause for the missed rule
- Files changed and why
- Which audit items were proven by automation vs manual inspection
- Confidence level that the recurrence risk is reduced
Version History
- e0d13fd Current 2026-07-05 10:37


