rules-prompt

Community

Inject prompt rules at session start.

AuthorJayJihyunKim
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Claude Code deployments require consistent, enforced rules at session start to prevent prompt drift and unsafe prompts. This skill centralizes and enforces three guardrails—code-style, security, and testing—so teams can maintain policy compliance automatically.

Core Features & Use Cases

  • Bundles three prompt-only rules into a single, reusable policy
  • Reads rule content from code-style.md, security.md, and testing.md for easy updates
  • Uses session-start-rules.sh to inject rules into Claude's SessionStart context
  • Supports per-rule overrides via .rein/policy/rules.yaml
  • Helpful for teams aiming to standardize prompt governance in code-focused workflows

Quick Start

Start a Claude Code session and ensure the session-start-rules.sh hook loads the three prompt rules into the SessionStart context.

Dependency Matrix

Required Modules

None required

Components

Standard package

đź’» Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: rules-prompt
Download link: https://github.com/JayJihyunKim/rein/archive/main.zip#rules-prompt

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.