Skip to content

Commit a053567

Browse files
committed
Refactor: Improve markdown splitting and chunking logic
- Refactor to handle H1-H6 headings and improve chunking logic. - Refactor to improve chunking logic and remove unused metadata parameter. - Refactor to improve chunking logic and remove unused metadata parameter. - Update tests for all splitters to reflect changes. - Reduce in from 4000 to 1500. - Update .clinerules to use backticks for file paths. - Add (new files). - Refactor splitter types (new file).
1 parent d3aa894 commit a053567

15 files changed

+999
-365
lines changed

.clinerules

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
# Cline Custom Instructions
22

3-
- Always refer to the README.md for the latest information on the project.
4-
- Always refer to ARCHITECTURE.md for the latest information on the architecture of the project.
3+
- Always refer to the `README.md` for the latest information on the project.
4+
- Always refer to `ARCHITECTURE.md` for the latest information on the architecture of the project.
55
- Follow programming principles such as DRY, KISS, YAGNI, and SOLID
66
- Always use the latest version of the programming language and libraries.
77
- Always prefer the simplest solution.
88
- When importing a relative path, avoid using file extensions like ".js" and ".ts".
9-
- NEVER update any files in the following directories: .git, node_modules
10-
- Add and update TSDoc for all classes, methods and functions. Focus on functionality and reasoning. Avoid documenting individual parameters or return values if their use can easily be derived from their name.
11-
- Git commit messages must be formatted as markdown
9+
- Always add and update TSDoc for all classes, methods and functions. Focus on functionality and reasoning. Avoid documenting individual parameters or return values if their use can easily be derived from their name.
10+
- Always format Git commit messages as markdown
1211

1312
## Architecture Documentation Guidelines
1413

15-
Keep ARCHITECTURE.md high-level:
14+
Keep `ARCHITECTURE.md` high-level:
1615

1716
- Focus on system concepts and component relationships
1817
- Include design principles and code conventions

0 commit comments

Comments
 (0)