rule-builder

Scaffold behavioral rules with auto-incremented numbering and Markdown templates.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/brianclaridge/_claude --skill rule-builder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rule-builder
Source: https://github.com/brianclaridge/_claude/tree/main/skills/rule-builder
Command: npx skills add https://github.com/brianclaridge/_claude --skill rule-builder

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams rapidly create new behavioral rules with consistent 0XX numbering and templates, reducing manual drafting time.

Core Features & Use Cases

  • Find next rule number
  • Gather requirements
  • Generate rule template
  • Update README.md

Quick Start

Invoke /build-rule to start creating a new rule. Provide topic and constraints to auto-generate the template.

Frequently Asked Questions about rule-builder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create new behavioral rules with consistent numbering?

Behavioral rules are guidelines that define how systems or teams should act. This Skill auto-increments rule numbers starting from 001, gathering your topic and constraints, then generating a Markdown template and updating your README to keep numbering consistent across all rules.

What's the workflow for scaffolding a new rule?

Invoke `/build-rule` or say 'create a rule' to start. The Skill guides you through Topic, Constraint Type, Key Constraints, and Examples Needed, then generates a complete rule template file and updates your documentation automatically.

Can I automate rule creation in a CLI workflow?

Yes. This Skill integrates into CLI automation and markdown-based documentation workflows, letting you trigger rule generation via commands or phrases, then writing files and updating README sections programmatically without manual edits.

How does the Skill handle rule file naming and numbering?

The Skill locates your next available rule number from existing files, generates a Markdown file named {NNN}-{topic}.md in the rules directory, and updates the README to reflect the 0XX numbering convention and file naming rules.

What template structure does the generated rule include?

The generated rule template includes sections for Topic, Constraint Type, Key Constraints, and Examples, providing a complete behavioral rule structure ready for your team to adopt and document.