Skip to content
Back to skills

Rules

ASecurity

Create or update the project's house rules (guardrails) in .garage/rules.md through a short interview. The rules are checked automatically by blueprint, sprint, preflight and audit.

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 17, 2026
ai-agentsrailstestingsecurity

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add voyager67/Claude-Garage --skill rules --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rules?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Rules
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/voyager67-rules/badge)](https://www.skillsdirectory.com/skills/voyager67-rules)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: rules
description: Create or update the project's house rules (guardrails) in .garage/rules.md through a short interview. The rules are checked automatically by blueprint, sprint, preflight and audit.
argument-hint: "[add <rule> | review]"
---

# /rules: your project's guardrails

## Steps
1. If `.garage/rules.md` exists and `$ARGUMENTS` is empty, show it and ask whether to add, change or remove rules.
2. If `$ARGUMENTS` starts with `add`, append that rule in the standard format and stop.
3. Otherwise delegate to `scout` to detect the stack, the lint and test setup and obvious conventions.
4. Interview the user with the interactive question tool, **one short round of at most 4 questions**: language and framework constraints, testing expectations, security boundaries, things that must never happen.
5. Write `.garage/rules.md`.

## Rule format
```markdown
# House rules
- **R1 MUST** every public function has a test.
- **R2 NEVER** commit secrets or `.env` files.
- **R3 SHOULD** keep functions under 40 lines.
- **R4 ASK FIRST** before adding a new dependency.
```
Four levels: **MUST**, **NEVER**, **SHOULD**, **ASK FIRST**. Each rule has an id and is one sentence, testable by reading code.

## Enforcement (done by other commands)
`/blueprint` writes a rules check. `/sprint` hands rules to builders. `/preflight rules` and `/audit` report violations by rule id.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.