# specsfy-aux-rules

Formulates and records lasting project rules in .specsfy/RULES.md. It asks clarifying questions and avoids modifying or removing existing guidelines.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 436 installs · ★ 87
- Author: promovaweb
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/promovaweb/specsfy/tree/HEAD/skills/specsfy-aux-rules/SKILL.md
- Updated: 2026-10-20
- HTML: https://affpapa.org/en/nevibecode/skills/specsfy-aux-rules

## What it does

This skill manages the `.specsfy/RULES.md` file by turning recurring conventions into documented rules. It reads `PROJECT.md` alongside existing instructions to separate declared rules from assumptions. If a rule needs clarification, it uses numbered questions defined in `.specsfy/Spec.md`. Every rule must have an action verb and clear boundaries.

Validated entries are saved using `node scripts/add_rule.mjs --project <raiz> --section "<tema>" --rule "<regra confirmada>"`. This helper preserves section ordering and earlier guidelines. If a newly proposed instruction contradicts an older one, the skill flags the issue instead of silently picking a winner.

Running `$specsfy-setup` in the project root is mandatory before execution, and any pending setup issue blocks the workflow immediately. The skill forbids storing secrets or personal data in `RULES.md`, and it must not serve as a replacement for `AGENTS.md` or acceptance criteria.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add promovaweb/specsfy --skill specsfy-aux-rules -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/specsfy-aux-rules/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/specsfy-aux-rules/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add promovaweb/specsfy --skill specsfy-aux-rules -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/specsfy-aux-rules/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add promovaweb/specsfy --skill specsfy-aux-rules -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/specsfy-aux-rules/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install promovaweb/specsfy specsfy-aux-rules
```

2. **Manually: put the files in place**
- File: `.github/skills/specsfy-aux-rules/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add promovaweb/specsfy --skill specsfy-aux-rules -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/promovaweb/specsfy --path skills/specsfy-aux-rules
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/specsfy-aux-rules/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add promovaweb/specsfy --skill specsfy-aux-rules -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/promovaweb/specsfy/tree/HEAD/skills/specsfy-aux-rules/SKILL.md

## When to use it
- document recurring team conventions in `.specsfy/RULES.md`
- spot contradictions between new instructions and older rules
- phrase verifiable project instructions via structured questions
- insert confirmed guidelines into sections with `scripts/add_rule.mjs`

## Example prompts
- Turn our module structure convention into a formal rule in RULES.md
- Review these instructions for conflicts with our existing project rules

## Similar
- [setup-matt-pocock-skills](https://affpapa.org/en/nevibecode/skills/setup-matt-pocock-skills.md) — skill · 1052851 installs
- [caveman-compress](https://affpapa.org/en/nevibecode/skills/caveman-compress.md) — skill · 411500 installs
- [writing-plans](https://affpapa.org/en/nevibecode/skills/writing-plans.md) — skill · 282859 installs
- [show-me](https://affpapa.org/en/nevibecode/skills/show-me.md) — skill · 32500 installs
- [unslop](https://affpapa.org/en/nevibecode/skills/unslop.md) — skill · 28000 installs
- [stop-slop](https://affpapa.org/en/nevibecode/skills/stop-slop.md) — skill · 18100 installs

From the same set: [promovaweb/specsfy](https://affpapa.org/en/nevibecode/by/promovaweb/specsfy.md) — 3 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
