Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Dr Audit Goal Trace

ASecurity

Audit dimension - verify every ledgered operator design law is actually enforced somewhere in code or gates, so stated goals and shipped behavior cannot silently diverge. Invoked by dr-audit-orchestrator when goal-trace.md is missing.

142 stars
0 votes
0 copies
0 views
Added 9/19/2026
testinggoaws

Security Analysis

A100/100

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add AHepi/DeepReason --skill dr-audit-goal-trace --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dr Audit Goal Trace?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Dr Audit Goal Trace
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ahepi-dr-audit-goal-trace/badge)](https://www.skillsdirectory.com/skills/ahepi-dr-audit-goal-trace)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: dr-audit-goal-trace
description: Audit dimension - verify every ledgered operator design law is actually enforced somewhere in code or gates, so stated goals and shipped behavior cannot silently diverge. Invoked by dr-audit-orchestrator when goal-trace.md is missing.
---

# Audit: operator goals vs enforcement

Entry: `LEDGER.md` exists, `goal-trace.md` missing. Exit:
`goal-trace.md` written, one row per law, proofs in `proof/`.

The operator's goals live in two ledgers: CLAUDE.md §"Operator design
laws" (standing, verbatim-quoted) and each tranche's REQUEST.md (per
change). This worker traces the STANDING laws; a per-tranche trace is
dr-validate-change's job, not this one.

A law counts as ENFORCED only when a mechanism would visibly fail if
the law were violated — a test, a typed refusal/notice, a gate. Prose
restating the law enforces nothing.

## Operations

1. Law census: extract every bolded law heading from CLAUDE.md
   §"Operator design laws" into `proof/goal-laws.txt`, one row each,
   with its date and verbatim kernel.
2. For each law, three scans, outputs saved to `proof/goal-<n>.txt`:
   a. Mechanism scan: `rg -l -i '<law key terms>' src/deepreason/`
   b. Test scan: `rg -l -i '<law key terms>' tests/`
   c. Notice/refusal scan: `rg -n '<law's typed string, if any>' src/`
3. Verdict per law, exactly one of:
   - `enforced` — row names the mechanism file AND the test that goes
     red on violation (both cited from the scans).
   - `partially-enforced` — mechanism exists, no test pins it; the
     row names which half is missing.
   - `unenforced` — scans empty; the law lives only in prose. The
     pasted empty scans are the proof (G2).
   - `process-law` — governs agent/operator behavior, not code (e.g.
     a working-style rule); code enforcement is not expected. Saying
     `process-law` requires one sentence naming WHO enforces it
     instead (the workflow file that carries it).
4. For every `unenforced` and `partially-enforced` row: PARK a prompt
   proposing the smallest mechanism that would make violation visible
   (a regression test, a typed notice), route dr-change-orchestrator.
   Proposing is this worker's ceiling — choosing is the operator's.
5. Write `goal-trace.md`: the table, a count line, and one closing
   list: laws added since the last audit (diff `proof/goal-laws.txt`
   against the previous audit tranche's copy, if one exists).

## GATE

Pass: every law in `proof/goal-laws.txt` has exactly one verdict row;
every `enforced` row cites file + test; every `unenforced` row cites
empty scans. Verdict labels: `enforced` | `partially-enforced` |
`unenforced` | `process-law`.

## Activation plant (first run)

Add a fabricated law line to the copy in `proof/goal-laws.txt`; the
scans must come back empty and the row must read `unenforced`. Remove
the fabricated row, note the plant in ACTIVATION.md.

## Outlets

| Situation | Outlet |
|---|---|
| Impulse to build the missing enforcement now | PARK — mechanism prompt, route dr-change-orchestrator |
| A law reads ambiguous against the code | row `partially-enforced`, note the ambiguity in one sentence; the parked prompt asks the operator to word the law's testable form |
| Two laws conflict | row both, note the conflict, PARK a reconciliation question for the operator — never pick the winner here |

Attribution

AHepiAHepi
View sourceMore from AHepi →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Screen Reader Testing

Practical guide to testing web applications with screen readers for comprehensive accessibility validation.

393431 votes

Python Testing

使用pytest、TDD方法、夹具、模拟、参数化和覆盖率要求的Python测试策略。

2456590 votes

Tdd Workflow

在编写新功能、修复错误或重构代码时使用此技能。强制执行测试驱动开发,包含单元测试、集成测试和端到端测试,覆盖率超过80%。

2456590 votes

Springboot Tdd

使用JUnit 5、Mockito、MockMvc、Testcontainers和JaCoCo进行Spring Boot的测试驱动开发。适用于添加功能、修复错误或重构时。

2456590 votes

Eval Harness

克劳德代码会话的正式评估框架,实施评估驱动开发(EDD)原则

2456590 votes
View all in testing →