house-rules — Claude Code skill: rules and installation
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.
no license 754 installs updated 2026-11-16
npx skills add clhbid/agent-context --skill house-rules -a claude-codeWhat house-rules 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.
What it helps with
- 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 for the agent
- 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.
How to install house-rules
1Skills CLI (Vercel)
npx skills add clhbid/agent-context --skill house-rules -a claude-code2Manually: put the files in place
~/.claude/skills/house-rules/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/house-rules/
1Skills CLI (Vercel)
npx skills add clhbid/agent-context --skill house-rules -a codex2Manually: put the files in place
.agents/skills/house-rules/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add clhbid/agent-context --skill house-rules -a cursor2Manually: put the files in place
.cursor/skills/house-rules/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install clhbid/agent-context skills/house-rules2Manually: put the files in place
.github/skills/house-rules/SKILL.md1Skills CLI (Vercel)
npx skills add clhbid/agent-context --skill house-rules -a gemini-cli2Platform CLI
gemini skills install https://github.com/clhbid/agent-context --path skills/house-rulesManually: put the files in place
.devin/skills/house-rules/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add clhbid/agent-context --skill house-rules -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about house-rules
How do I install house-rules in Claude Code?
Run npx skills add clhbid/agent-context --skill house-rules -a claude-code. The skill file is at ~/.claude/skills/house-rules/SKILL.md.
What does house-rules do?
It sets conventions for code, tests, and documents in clhbid repositories. Its rules cover dependency testing, test structure, and domain vocabulary.
What does house-rules need to apply its rules?
Use writing-lean for code and related writing. The domain vocabulary rules rely on domain-modeling and GLOSSARY.md from clhbid/CLHbid-LiveAuction.