From dev-workflow
Use when Claude exhibited unexpected behavior, for periodic rule health checks, or after adding new rules. Audits CLAUDE.md rules from the AI execution perspective for conflicts, loopholes, gaps, and redundancies.
npx claudepluginhub n0rvyn/indie-toolkit --plugin dev-workflowThis skill uses the workspace's default tool permissions.
This skill dispatches the `dev-workflow:rules-auditor` agent to audit CLAUDE.md rules in a separate context so it starts with a fresh, unbiased perspective.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Designs and optimizes AI agent action spaces, tool definitions, observation formats, error recovery, and context for higher task completion rates.
This skill dispatches the dev-workflow:rules-auditor agent to audit CLAUDE.md rules in a separate context so it starts with a fresh, unbiased perspective.
Collect the following before dispatching:
~/.claude/CLAUDE.mdCLAUDE.md in project root (may not exist)~/.claude/plugins/*/*/.claude-plugin/plugin.json to find installed pluginshooks/hooks.json (if exists) — extract hook events, matchers, and script pathsskills/*/SKILL.md — extract frontmatter description field from eachPlugin: {name}
Hooks:
- {Event}({Matcher}): {description from script comment}
- ...
Skills:
- {name}: "{description from frontmatter}"
- ...
Use the Agent tool to launch the dev-workflow:rules-auditor agent with all gathered context. Structure the task prompt as:
Audit CLAUDE.md rules with the following inputs:
Deviation description: {description or "periodic check"}
Global CLAUDE.md: ~/.claude/CLAUDE.md
Project CLAUDE.md: {path or "none"}
Installed plugin behaviors:
{compiled plugin behavior summary, or "No plugins installed"}
When the agent completes:
Decisions: line for N+M total, count actual DP-\d+ entries in headings. If mismatch, prepend warning to report: ⚠️ 报告声称 {N+M} 个决策点,实际只列了 {actual} 个。以实际条目为准。Decisions: count.
## Decisions section from the reportblocking decision: present to user via AskUserQuestion with options from the decision pointrecommended decisions: present as a group via a single AskUserQuestion. Critical: all DP content must be inside the question field — text printed before AskUserQuestion gets visually covered by the question widget. Read each recommended DP's full block (heading + Context + Options + Recommendation) from the report and concatenate them verbatim in the question field, separated by \n---\n. End with: \n\n全部接受推荐,还是逐个审查?