원클릭으로
bulk-rule-reviewer
Execute agent-centric reviews on all rules in rules/ directory and generate prioritized improvement report
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Execute agent-centric reviews on all rules in rules/ directory and generate prioritized improvement report
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Produces best-in-class implementation plans with 15 mandatory sections covering architecture, final-state artifacts, dependency deltas, parity tables, test strategy, CI matrix, risk register, phased tasks with time estimates, rollback, acceptance criteria, and open questions. Use when authoring a migration plan, feature design, refactor plan, or any non-trivial implementation document. Triggers on "create a plan", "write a plan", "migration plan", "implementation plan", "design doc", "refactor plan", "propose a design", "feature plan", "architecture plan". Do NOT use for small fixes, one-line changes, or pure research questions.
Review project documentation for accuracy, completeness, clarity, and structure. Verifies file references, tests commands, validates links. Use for documentation audits, README reviews, or staleness checks. Triggers on "review docs", "audit documentation", "check README".
Review LLM-generated plans for autonomous agent executability using 8-dimension rubric. Triggers: "review plan", "compare plans", "plan quality", "meta-review".
Create production-ready v3.0 Cursor rule files by orchestrating template generation, schema validation, and RULES_INDEX.md indexing. Triggers on keywords like "create rule", "add rule", "new rule", "generate rule". Supports Python, Snowflake, JavaScript, Shell, Docker, Golang domains (000-999 range).
Determines which rule files to load for a given user request by matching file extensions, directory paths, and keywords against RULES_INDEX.md. Handles foundation loading, domain matching, activity matching, dependency resolution, and token budget management. Use when loading rules, selecting rules for a task, resolving rule dependencies, or managing token budgets during rule loading.
Execute agent-centric rule reviews (FULL/FOCUSED/STALENESS modes) using 6-dimension rubric and write results to reviews/rule-reviews/ with no-overwrite safety. Use when reviewing rule files, auditing rule quality, checking rule staleness, validating rule compliance, or analyzing agent executability.
| name | bulk-rule-reviewer |
| description | Execute agent-centric reviews on all rules in rules/ directory and generate prioritized improvement report |
| version | 2.4.0 |
Execute comprehensive agent-centric reviews on all rule files in rules/ directory, then generate consolidated priority report. Designed for periodic quality audits, pre-release validation, and technical debt tracking.
Required:
YYYY-MM-DD (default: today)FULL | FOCUSED | STALENESS (default: FULL)claude-sonnet-45)Optional:
rules/*.md)
rules/100-*.md (Snowflake only), rules/*-core.md (cores only)reviews/). Subdirectories rule-reviews/ and summaries/ appended automatically. Supports relative paths including ../.true | false (default: true — v2.4.0 universal default; set false to opt out; per-rule reviews use not-requested row)Individual reviews: {output_root}/rule-reviews/<rule-name>-<model>-<date>.md (up to 187 files)
Master summary: {output_root}/summaries/_bulk-review-<model>-<date>.md with sections:
(Default output_root: reviews/. With output_root: mytest/ → mytest/rule-reviews/... and mytest/summaries/...)
This skill prioritizes ACCURACY over efficiency. The full anti-optimization protocol, shortcut detection, evidence requirements, and self-correction procedure are mandatory reading before each run:
workflows/anti-optimization.md — Foundational principle, forbidden thoughts, One Rule At A Time rule, canary checks, shortcut detection, self-correction protocol, verification requirements, evidence rules.Keep these in active context throughout execution — NEVER summarize away:
read_file() fail verification.../rule-reviewer/rubrics/*.md for each dimension before scoring.ai-rules validate) per rule; include output.[N/<total>] Complete: {filename} → {score}/100 after each review.Drift prevention: Re-read ../rule-reviewer/examples/TEMPLATE.md every 5 rules. If any review <2500 bytes OR format deviates, re-read TEMPLATE.md and SKILL.md, then regenerate.
See also:
workflows/context-anchor.md — Context preservation + inter-rule gateworkflows/proactive-canary.md — Pre/Post/Mid canary questionsworkflows/per-rule-verification.md — Evidence gate + reset triggerworkflows/inter-rule-gate.md — Every-5-rules structural re-anchorworkflows/reset-trigger.md — What to do when verification failsSkills cannot invoke other skills programmatically. Skills are documentation that guides agent behavior.
Correct pattern:
skills/rule-reviewer/SKILL.md to understand the review workflowskills/rule-reviewer/rubrics/*.md as needed for each dimensionreviews/rule-reviews/ following rule-reviewer's output formatCollect ALL parameters (required AND optional) using ask_user_question tool.
See: workflows/parameter-collection.md
MANDATORY: Prompt for ALL parameters in batched questions (max 4 per call):
ask_user_question unavailable, fall back to text-based promptingtiming_enabled: true; skip when false)When: Only if timing_enabled: true in inputs
MODE: Safe in PLAN mode
See: ../skill-timing/workflows/timing-start.md and workflows/timing-integration.md for the canonical copy-paste Quick Reference block and anti-pattern guide.
Action: Capture run_id in working memory as BULK_RUN_ID for later use.
Note: Timing tracks the entire bulk review process (all stages) AND per-rule durations via rule_{slug}_start/end checkpoint pairs. Each rule-reviewer invocation also captures its OWN per-dimension timings under its own child run_id — these are embedded in each review's ## Timing Metadata section and aggregated by workflows/aggregation.md.
timing_enabled: true)Emit skill_loaded on $BULK_RUN_ID. See workflows/timing-integration.md.
Find all .md files in rules/ directory, apply filter_pattern, sort alphabetically.
See: workflows/discovery.md
timing_enabled: true)Emit discovery_complete on $BULK_RUN_ID.
Execution mode depends on max_parallel parameter.
When max_parallel >= 2, use parallel sub-agents:
agent_output pollingBenefits: ~5× speedup, fresh context per sub-agent (eliminates drift), isolated failures.
See: workflows/parallel-execution.md and workflows/subagent-prompt-template.md.
File writes: All sub-agents write directly to {output_root}/rule-reviews/. No conflicts because each sub-agent reviews different rules (unique filenames).
Use for debugging, very small rule sets (<10 rules), or explicit user preference.
For each rule file:
rule_number % 5 == 0, execute workflows/inter-rule-gate.md.workflows/proactive-canary.md.RULE_SLUG=$(basename "$rule_file" .md).skip_existing=true).
4a. If timing_enabled: true: emit rule_${RULE_SLUG}_start checkpoint on $BULK_RUN_ID BEFORE step 5.rule-reviewer/SKILL.md if not already loaded.ai-rules validate on the rule file.workflows/per-rule-verification.md):
workflows/reset-trigger.md{output_root}/rule-reviews/ (respects overwrite).
15a. If timing_enabled: true: emit rule_${RULE_SLUG}_end checkpoint on $BULK_RUN_ID. Missing end-checkpoints drop the rule from the auto-derived Timing Breakdown.CRITICAL: Step 5 MUST happen BEFORE steps 10–13. Reviews without reading the file fail verification at step 14.
DRIFT PREVENTION: Steps 1, 2, 6, 11 are canary/gate checks that detect optimization drift BEFORE it produces compromised output. These are NOT optional.
See: workflows/review-execution.md for orchestration details, resume capability, error handling.
timing_enabled: true)Emit reviews_complete on $BULK_RUN_ID.
For each review file:
See: workflows/aggregation.md for parsing strategy and statistics.
timing_enabled: true)Emit aggregation_complete on $BULK_RUN_ID.
Generate master summary with:
{output_root}/summaries/_bulk-review-<model>-<date>.mdSee: workflows/summary-report.md for report format and section generation.
timing_enabled: true)Emit summary_complete on $BULK_RUN_ID.
timing_enabled: true)MODE: Safe in PLAN mode (outputs to STDOUT only)
See: ../skill-timing/workflows/timing-end.md (Step 1) and workflows/timing-integration.md.
Action: Invoke skill_timing.py end --auto-dimension-timings. Capture STDOUT for metadata embedding. Check PER_DIMENSION_STATUS= marker — missing triggers warnings aggregated into the summary Timing Breakdown.
Request user ACT authorization before file modifications.
timing_enabled: true)MODE: Requires ACT mode (appends metadata to file)
See: ../skill-timing/workflows/timing-end.md (Step 2) and workflows/timing-integration.md.
Action: Parse STDOUT, append timing metadata section + Timing Breakdown section (see workflows/summary-report.md) to the master summary report file.
Context Management: Parse only first 150 lines of each review (scores/verdicts only). Full details remain in individual files.
Stateless Execution: Review failures don't stop batch. Resume via skip_existing parameter.
See: workflows/aggregation.md for complete strategy.
OUTPUT_FILE directive for manual save, continue.See examples/usage-examples.md for all invocation recipes (basic, filtered, overwrite, sequential numbering, staleness-only).
reviews/rule-reviews/See CHANGELOG.md.
Dependency: rule-reviewer skill v2.9.0+ (required — per-dimension Gate 7 universal-default timing)
Dependency: skill-timing v1.5.0+ (required when timing_enabled: true — --auto-dimension-timings flag, PER_DIMENSION_STATUS marker)
Skill location resolution supports two patterns:
rule-reviewer via agent tool's skill managementskills/rule-reviewer/ exists in projectAuto-detection selects the available pattern. If neither found, execution stops with installation guidance.
See: workflows/input-validation.md for validation workflow and code patterns.
Key Requirements:
review_date: YYYY-MM-DD format (valid calendar date)review_mode: FULL | FOCUSED | STALENESS (uppercase)model: lowercase-hyphenated (e.g., claude-sonnet-45)filter_pattern: rules/*.md glob (optional, must match ≥1 file)skip_existing: boolean true/false (optional, default: true)max_parallel: integer 1-10 (optional, default: 1)rules/ exists and readable, reviews/rule-reviews/ and reviews/summaries/ writableExecution: Validate inputs before Stage 1 (Discovery). Fail fast on errors.
examples/full-bulk-review.md - Complete walkthrough exampleexamples/usage-examples.md - Invocation recipestiming_enabled: true)rules/002h-claude-code-skills.md — Skill authoring best practicesrules/002-rule-governance.md — Rule schema and standardsrules/000-global-core.md — Foundation patterns