diff options
| author | Paul Buetow <paul@buetow.org> | 2025-09-06 11:02:57 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-09-06 11:02:57 +0300 |
| commit | 1bf4251a7edbd00902f22db77031d0f998569614 (patch) | |
| tree | 054866aee94d69620635fcf6078398b723a9c789 | |
| parent | 04391bc5de2e965bfc61f81f66490b2b051f202d (diff) | |
update
| -rw-r--r-- | AGENTS.md | 8 | ||||
| -rw-r--r-- | PROJECTSTATUS.md | 14 |
2 files changed, 3 insertions, 19 deletions
@@ -8,14 +8,12 @@ ## Coding Style & Naming Conventions +- If possible, construct individual methods so that they can be unit tested. But only if it doesn't add too much boilerplate to the code base. - Aim for at least 85% unit test coverage of all source code. - Ensure that all unit tests pass before merging any changes. - Always run the gofumpt code reformatter on all go files modified. -- If possible, construct individual methods so that they can be unit tested. But only if it doesn't add too much boilerplate to the code base. - There should be no source code file larger than 1000 lines. If so, split it up into multiple. - There should be no function larger then 50 lines. If so, refactor or split up into multiple smaller functions. -- Markdown: ATX `#` headings, sentence‑case titles, wrap lines ~100 chars, - use fenced code blocks and descriptive link text. -- Filenames: docs use `lowercase-with-dashes.md`; images use kebab‑case with - size/purpose suffix (e.g., `hexai-small.png`). +- Filenames: docs use `lowercase-with-dashes.md`; images use kebab‑case with size/purpose suffix (e.g., `hexai-small.png`). - Code (when added): follow language idioms +- Any type with more than 3 methods should be in it's own source code file, whereas the filename contains the name of the type. diff --git a/PROJECTSTATUS.md b/PROJECTSTATUS.md index 542f011..cc87928 100644 --- a/PROJECTSTATUS.md +++ b/PROJECTSTATUS.md @@ -1,21 +1,7 @@ # Ideas -## Code quality - -* [/] No more than 1000 LOC per source file -* [/] No more than 50 LOC per function -* [/] Each struct type in his own file -* [ ] Static code analyzer run and fix issues - ## Features -### Improvements - -* [X] Modify the LLM triggers to be more consistenc. E.g. use >>text here> or >text here> instead of semicolons? -* [X] Include unit test coverage reports -* [X] Change inline triggers to include > to be more consistent with other triggers -* [ ] Use are more stricter linter for auto-generated code (gofumpt i think is such a linter) - ### New features * [X] Create "generate unit test" code action for selected code block => write test to FILE_test.go file |
