rules-prompt
CommunityInject prompt rules at session start.
Software Engineering#testing#security#claude-code#session-start#code-style#prompt-rules#policy-overrides
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 requiredComponents
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.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.