You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/pull_request_template.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,7 @@
31
31
## Checklist
32
32
33
33
-[ ] I've read the [contributing](https://github.com/olimorris/codecompanion.nvim/blob/main/CONTRIBUTING.md) guidelines and have adhered to them in this PR
34
+
-[ ] I confirm that this PR has been majority created by me, and not AI (unless stated in the "AI Usage" section above)
34
35
-[ ] I've run `make all` to ensure docs are generated, tests pass and [StyLua](https://github.com/JohnnyMorganz/StyLua) has formatted the code
35
36
-[ ]_(optional)_ I've added [test](https://github.com/olimorris/codecompanion.nvim/blob/main/CONTRIBUTING.md#testing) coverage for this fix/feature
36
37
-[ ]_(optional)_ I've updated the README and/or relevant docs pages
***adapters:** check for nil in `openai_responses` ([#2662](https://github.com/olimorris/codecompanion.nvim/issues/2662)) ([e22c043](https://github.com/olimorris/codecompanion.nvim/commit/e22c04336b5c56e3839bfebd6d88944f014f4b30))
***ui:** better cursor scrolling in the chat ([#2670](https://github.com/olimorris/codecompanion.nvim/issues/2670)) ([6657e6f](https://github.com/olimorris/codecompanion.nvim/commit/6657e6fd594d3c9f6dd3ab9e26a0c76b8e7082e1))
18
+
19
+
20
+
### Bug Fixes
21
+
22
+
***chat:** buffers with duplicate short_paths ([#2665](https://github.com/olimorris/codecompanion.nvim/issues/2665)) ([e0780fa](https://github.com/olimorris/codecompanion.nvim/commit/e0780fa9fda504ffb89307cabcb6cbe1ce8eb60c))
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+20-20Lines changed: 20 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,36 +8,36 @@ Before contributing a PR, please open up a discussion to talk about it. While I
8
8
9
9
The plugin has adopted semantic versioning. As such, any PR which breaks the existing API is unlikely to be merged.
10
10
11
-
### Plugin Philosophy
11
+
### CodeCompanion is Omakase
12
12
13
-
**CodeCompanion enables developers to write better code, faster, through LLM interactions.**
13
+
In Japanese cuisine, omakase means _"I'll leave it up to you"_ - the diner allows the chef to carefully select each course. CodeCompanion follows this philosophy: carefully curated features, rather than an all-you-can-eat buffet of every possible feature. In the world of LLMs, this means that CodeCompanion will never be at the bleeding edge. However, what it sacrifices in novelty, it makes up for in stability, reliability, and a great user experience.
14
14
15
-
When proposing new features, please ensure they align with this philosophy:
15
+
**Breaking this down:**
16
+
-**Intentional over exhaustive** - Each new feature is carefully considered against the whole menu rather than just the course itself
17
+
-**Complementary** - New features compliment the dish rather than acting like an unnecessary side
18
+
-**Maintainable** - Every addition is code that I commit to maintaining indefinitely
- Tools and context that extend LLM capabilities while coding
20
-
- Integrations (MCP, adapters) that enhance LLM assistance
21
-
- Essential infrastructure for reviewing and applying LLM-generated changes (diff providers, edit tracking, completion/action providers)
20
+
### AI-Assisted Contributions
22
21
23
-
**Out of Scope:**
24
-
- Elaborate UIs (beyond basic diff/review needs) or features that do not facilitate LLM-assisted code generation
25
-
- Features better served by standalone plugins
26
-
- General development tools not tied to LLM interactions
22
+
While CodeCompanion itself is a tool for AI-assisted development, that does not mean I am willing to accept "vibe-coded" contributions - PRs where the contributor used an LLM to generate code but doesn't deeply understand what they're submitting.
27
23
28
-
**Questions to ask:**
29
-
1. Does this help the LLM write code?
30
-
2. Is this essential for users to accept/reject LLM code?
31
-
3. Or is this nice-to-have feature that belongs in a separate plugin?
32
-
4. To add this feature, are we looking at > 1,000 LOC of new code?
24
+
**Red flags:**
25
+
- User cannot explain implementation decisions when asked
26
+
- Code doesn't match existing architectural patterns
27
+
- Tests appear comprehensive but don't actually validate edge cases
**If a feature is primarily about viewing what's already happened rather than enabling the next LLM interaction, it's out of scope.**
30
+
**What I Expect**:
31
+
-**Understand** the codebase before contributing (use the rules, read the tests, explore the architecture)
32
+
-**Own** your contribution - you should be able to explain every line you submit
33
+
-**Test** thoroughly - write tests that demonstrate you understand the feature
34
+
-**Iterate** based on feedback - PRs are conversations, not fire-and-forget submissions
35
35
36
-
If your feature doesn't directly support LLM-assisted code generation or isn't minimal essential infrastructure, consider publishing it as a standalone plugin that works alongside CodeCompanion.
36
+
> As a rule of thumb, use an LLM to create a feature _OR_ a test. But never both.
37
37
38
38
## How to Contribute
39
39
40
-
1. Open up a [discussion](https://github.com/olimorris/codecompanion.nvim/discussions) to propose your idea.
40
+
1. Open up a [discussion](https://github.com/olimorris/codecompanion.nvim/discussions) to propose your idea - Save yourself time and effort by checking this is a feature that aligns with the project's goals.
41
41
2. Fork the repository and create your branch from `main`.
42
42
3. Add your feature or fix to your branch.
43
43
4. Ensure your code follows the project's coding style and conventions.
<palign="center">If <i>you</i> love CodeCompanion and use it in your workflow, please consider <ahref="https://github.com/sponsors/olimorris">sponsoring me</a></p>
0 commit comments