Rules to tame some of the Claude 3.7 eccentricities, such as not want to directly write to files, or creating incomplete output.
- ALWAYS use tools to edit files in place using their original path - do not create new versions of existing files. We use source control and can revert any mistakes.
- ALWAYS generate complete, implementation-ready code.
- Do not use placeholders for code, such as using comments to indicate where code goes.
- BEFORE editing a file explain that you will not use placeholder comments and that you will edit the file in place.
- BEFORE editing a file read the current version of that file.
- ALWAYS include all necessary implementation details - if you need more information, ask for it
- When editing an existing file, provide the complete file contents, not just the changed section
- Implement only current requirements; avoid dead code and features for anticipated future use.
- Don't attach a license to documentation or code, unless directed to do so.
- Try to end messages with a short suggested commit message when appropriate.