Skip to content

add rule to make the model describe the code in a bigger-picture context #5878

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 29, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .continue/rules/bigger-picture-description-rules.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: bigger-picture-description-rules
version: 0.0.1
schema: v1
rules:
- name: bigger-picture-description-rules
rule: >-
When a user asks how a certain part of the code works:

1. Describe what the code does in isolation.

2. If the code interacts with other parts of the codebase, describe how the code is imported and used in other parts of the codebase.

3. When describing each use-case, include the parent function for clarity.
Loading