Steps:
[1] Add pre-commit hook
[2] Write design doc as mdc file to .cursor/rules
[3] Iterate on design doc till it describes what I want
[4] Ask to write the code
[5] Where possible - extend the test suite.
[6] On every commit check that pre-commit hook checks and tests pass
[7] On every bug extend the test suite
[8] Write as many as possible custom pre-commit hooks
[9] Add extensive docstrings to the complex code -> adds extra context to the LLM
[10] Iterate
[11] From time to time ask to verify that design doc is up to date
ternaus•4h ago
Steps: [1] Add pre-commit hook [2] Write design doc as mdc file to .cursor/rules [3] Iterate on design doc till it describes what I want [4] Ask to write the code [5] Where possible - extend the test suite. [6] On every commit check that pre-commit hook checks and tests pass [7] On every bug extend the test suite [8] Write as many as possible custom pre-commit hooks [9] Add extensive docstrings to the complex code -> adds extra context to the LLM [10] Iterate [11] From time to time ask to verify that design doc is up to date