mcpField
H
house-rules

house-rules

github.com/clhbidDevelopment0427 installsUpdated today
Repository

About house-rules

A project-rules skill for code contributors, covering tests, sources of truth, domain terminology, and time-dependent specs. It also directs code and related writing to use the writing-lean skill.

Key features

  1. 01Requires writing-lean
  2. 02Tests project behavior
  3. 03Uses defined sources of truth
  4. 04Follows glossary terminology
  5. 05Fakes time in specs

Use cases

  1. 01Writing code and its descriptions
  2. 02Testing behavior added by the project
  3. 03Using shared constants or package types
  4. 04Writing time-dependent specs

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/clhbid/agent-context --skill house-rules

After installing, type/house-rulesin Claude Code to confirm it loaded.

Details

From the project README

House rules

Write the code, and everything that describes it, with the writing-lean skill.

  • Test our code, not the dependency. Test the behaviour our code adds, and take the package as given: import its values rather than copying its tables, and leave its behaviour to its own tests.
  • Single source of truth. Take each value from where it is defined: the Tailwind scale (max-w-7xl, not max-w-[1468px]), a shared constant, or the package's own types.
  • Domain terms from the glossary. GLOSSARY.md in clhbid/CLHbid-LiveAuction are the app's single source of truth: read it with the domain-modeling skill, use its terms, not those marked Avoid, and propose a missing term there rather than coining one.
  • Spec style. Set up and tear down in the test framework's hooks. Arrange, act, then assert, and assert the whole result, so an extra item fails the test.
  • Fake the clock whenever a spec depends on the time, so it passes at any hour and in any time zone.

Comments

Markdown supported