# house-rules

The house-rules Claude Code skill sets conventions for code and project writing. It activates when an agent writes, tests, or reviews code, issues, or business documents in a clhbid repository.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 754 installs
- Author: clhbid
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/clhbid/agent-context/tree/HEAD/skills/house-rules/SKILL.md
- Updated: 2026-11-16
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/house-rules

## What it does

The skill defines project conventions for code, tests, and documents in clhbid repositories. It directs agents to use values from shared constants, Tailwind scales, or package types, and to follow the terms in `GLOSSARY.md` from `clhbid/CLHbid-LiveAuction`. Missing domain terms should be proposed for the glossary rather than coined on the spot.

Tests should cover project behaviour, leaving dependency internals to their own tests. Each spec uses Arrange, Act, Assert comments and checks the complete result; tests that depend on time use a fake clock. The skill also calls for `writing-lean` when producing code or its accompanying text, and `domain-modeling` when consulting the glossary. Those skills and `GLOSSARY.md` are needed to apply the related rules.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add clhbid/agent-context --skill house-rules -a claude-code
```

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

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add clhbid/agent-context --skill house-rules -a codex
```

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

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add clhbid/agent-context --skill house-rules -a cursor
```

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

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install clhbid/agent-context skills/house-rules
```

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

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add clhbid/agent-context --skill house-rules -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/clhbid/agent-context --path skills/house-rules
```

### Windsurf (Devin Desktop)

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

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add clhbid/agent-context --skill house-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/clhbid/agent-context/tree/HEAD/skills/house-rules/SKILL.md

## When to use it
- test project behaviour without duplicating dependency tests
- source values from shared constants, scales, or package types
- check domain vocabulary against `GLOSSARY.md`
- structure specs with Arrange, Act, and Assert sections
- control time in specs affected by the clock or time zone

## Example prompts
- Write code and tests for this clhbid repository task using its project conventions.
- Review the tests in this clhbid repo and find checks that duplicate dependency behaviour.
- Edit a business document for this clhbid repo and follow the vocabulary in `GLOSSARY.md`.

## Similar
- [message-house-builder](https://affpapa.org/en/nevibecode/skills/message-house-builder.md) — skill · 1100 installs
- [shadcn-component-review](https://affpapa.org/en/nevibecode/skills/shadcn-component-review.md) — skill · 676 installs
- [domain-model](https://affpapa.org/en/nevibecode/skills/domain-model.md) — skill · ★ 173 repo stars
- [grill-with-docs](https://affpapa.org/en/nevibecode/skills/akillness-grill-with-docs.md) — skill · 366 installs
- [baoyu-translate](https://affpapa.org/en/nevibecode/skills/baoyu-translate.md) — skill · 26300 installs
- [shared-dao](https://affpapa.org/en/nevibecode/skills/shared-dao.md) — skill · 581 installs

From the same set: [clhbid/agent-context](https://affpapa.org/en/nevibecode/by/clhbid/agent-context.md) — 8 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
