Ppdd.bot
中EN

Rules-file audit skill

Reads rules, memories, and notes, picks out absolute bans, vague approval rules, and stale rules, and hands back a table of fixes. Doesn't edit.

SKILL.mdmarkdown · 35 lines
---
name: rules-audit
description: >
Use after switching models, or when the agent starts asking for approval it doesn't need,
stops halfway, or starts too many subagents: read the rules files, memories, and notes,
and list lines that are stale or now backfire, with a rewrite for each.
Also use when the user says "audit the rules", "we switched models", or "clean up memory".
Produces a list only. Doesn't edit.
---
# Rules-file audit
## Steps
1. Collect the files to read. If any are missing, ask. Don't guess:
- CLAUDE.md, AGENTS.md, and nested files with the same names in the repo
- User-level rules files, memory folders, skills, and subagent configs
2. Read line by line and pick out only these six kinds. For each, note the file, line number, and text:
- Absolute bans: "never", "under no circumstances", with no scope or reason
- Vague approval rules: "approve outbound messages", "ask me first", without naming which actions
- Lines asking it to think less: "answer directly", "don't deliberate"
- Hard style limits: sentence length, word counts, one instruction per sentence
- Lines that encourage subagents or delegation
- Old rules with old reasons: the event is over, the file is gone, the command was renamed
3. For each line, decide: delete, rewrite, or keep. For rewrites, give the new line:
- Turn bans into "ask me before doing X", with the reason
- Turn vague approval rules into a list: what it can do without asking, what needs asking
- Delete lines asking it to think less, and suggest a lower effort level instead
4. If you can't tell whether a reason still holds, don't decide for the user. List it separately as a question
5. Hand back a table: file:line / text / kind / delete, rewrite, or keep / new line / reason
## Don't
- Don't edit files. The user reads the table, picks the rows, and only those get changed
- Don't remove safety limits: production databases, secrets, merges, deploys, deleting data. For these, only suggest adding scope and reason
- Don't delete project conventions because they "look redundant". Only the six kinds above
- Don't rewrite the user's tone or wording. Touch only the line with the problem