clhbid/agent-context

house-rules

The clhbid house rules.

소스 보기
원본 Skill 문서

원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.

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.

같은 저장소의 Skills

더 많은 Skills

모든 Skills