/blueprint-plugin:blueprint-rulesfrom blueprint-plugin
Manages modular rule files in .claude/rules/: add, edit, list, validate, and sync path-scoped or project-wide rules with frontmatter.
Ships in blueprint-plugin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Manage modular rules for the project. Rules are markdown files in .claude/rules/ that provide context-specific instructions to Claude.
| Use this skill when... | Use alternative when... |
|---|---|
| Need to create/edit modular rules in .claude/rules/ | Use /blueprint:claude-md for single-file project instructions |
| Want to list all project and user-level rules | Use /blueprint:generate-rules to auto-generate from PRDs |
| Need to add path-specific rules for certain file types | Just need to view CLAUDE.md structure |
| Managing user-level rules (~/.claude/rules/) | Need to sync rules with existing CLAUDE.md |
| Level | Location | Scope |
|---|---|---|
| User-level | ~/.claude/rules/*.md | Personal rules across all projects |
| Project rules | .claude/rules/*.md (no paths) | All files in this project |
| Path-specific rules | .claude/rules/*.md (with paths) | Only matched files |
Project rules override user-level rules. Path-specific rules load conditionally when working on matching files.
Execute this rule-management workflow. Steps 1 and 2 always run; Step 2 picks one action, which runs its own step (3, 4–5, 6, 7 or 8); Steps 9–11 close every action.
docs/blueprint/manifest.jsonUse AskUserQuestion:
question: "Modular rules are not enabled. Would you like to enable them?"
options:
- "Yes, create .claude/rules/ structure" → enable and continue
- "No, use single CLAUDE.md" → exit
question: "What would you like to do with modular rules?"
options:
- "List existing rules" → show project and user-level rules
- "Add a new rule" → create new rule file
- "Edit existing rule" → modify rule
- "Generate rules from PRDs" → auto-generate from requirements
- "Manage user-level rules" → personal rules in ~/.claude/rules/
- "Sync rules with CLAUDE.md" → bidirectional sync
- "Validate rules" → check for issues
.claude/rules/ recursively for .md files~/.claude/rules/ for user-level rulespaths field (if scoped)question: "What type of rule would you like to create?"
options:
- "Development workflow" → development.md template
- "Testing requirements" → testing.md template
- "Code style/conventions" → code-style.md template
- "Architecture patterns" → architecture.md template
- "Language-specific" → prompt for language
- "Framework-specific" → prompt for framework
- "Custom" → blank template with guidance
Then ask:
question: "Should this rule apply to all files or specific paths?"
options:
- "All files (global)" → no paths frontmatter
- "Specific file patterns" → prompt for glob patterns
Write the rule from the global or the scoped (paths frontmatter) template in references/rule-templates.md, which also lists suggested locations and paths: patterns for common rule types. Brace expansion is supported in paths: *.{ts,tsx} matches both .ts and .tsx files.
docs/prds/rules/from-prd-testing.md - Test requirements from PRDsrules/from-prd-architecture.md - Architecture decisionsrules/from-prd-conventions.md - Coding conventions.claude/rules/question: "How would you like to sync?"
options:
- "CLAUDE.md → rules (split into modular files)"
- "Rules → CLAUDE.md (consolidate)"
- "Merge both (combine unique content)"
paths fieldgenerated_artifacts.rulesupdated_at timestamp✅ Rule management complete!
{Action summary}
Current rules: {count} files
- Global: {count}
- Scoped: {count}
Run `/blueprint:status` to see full configuration.
question: "Rules updated. What would you like to do next?"
options:
- label: "Update CLAUDE.md (Recommended)"
description: "Regenerate overview to reflect rule changes"
- label: "Add another rule"
description: "Create additional domain-specific rules"
- label: "Check blueprint status"
description: "Run /blueprint:status to see full configuration"
- label: "I'm done for now"
description: "Exit - rules are active immediately"
Based on selection:
/blueprint:claude-md/blueprint:statusWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
35 skills in this plugin
/adr-relationshipsDomain analysis, conflict detection, and relationship validation for Architecture Decision Records. Use when creating or validating ADRs to ensure consistency./blueprint-adr-listList ADRs as a markdown table with title, status, date, domain. Use when generating an ADR index, auditing ADR status, or reviewing all architecture decisions./blueprint-adr-validateValidate ADR relationships, domain consistency, and duplicate ADR numbers. Use when auditing ADRs before release, finding broken supersedes/extends links, cycles, or number collisions.npx claudepluginhub laurigates/claude-plugins --plugin blueprint-pluginOther plugins' skills for the same job