[Feature] Custom File Paths, Rules, and Instructions #113
LinceMathew
started this conversation in
Ideas
Replies: 2 comments
-
|
I recommend toml. Also a simple |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Another thing to consider in Also - I think before we standardize a solution, I recommend actually working through some real examples, thinking through it from first principles |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Add an option to pass custom file paths, rules, and instructions to git-lrc on each review. These instructions can be stored as markdown or JSON files in a
.lrc/directory within the repository.Use Cases
1. Include Architecture/Design Documents
Send
AGENTS.mdorDESIGN.mdfiles for each review to validate code changes against the design specifications.Example:
2. Define Custom Rule Sets
Create custom rules for different parts of the codebase with specific validation requirements.
Example:
{ "rules": [ { "path": "sample/**/*.py", "rule": "All new methods must validate required parameters for null values" }, { "path": "src/api/**/*.js", "rule": "All API endpoints must include proper error handling and logging" } ] }3. Pass Custom LLM Instructions
Include custom prompts and instructions tailored to your project's coding standards and best practices.
Example:
Implementation Suggestions
Store configuration in
.lrc/directory with support for:config.jsonorconfig.mdfor custom instructionsrules.jsonfor rule definitionsThese files would be automatically picked up by git-lrc during the review process.
Beta Was this translation helpful? Give feedback.
All reactions