Skip to content

add cursor rules setup command#130

Open
aFlamee wants to merge 3 commits intodavis7dotsh:mainfrom
aFlamee:cursor-rule-setup
Open

add cursor rules setup command#130
aFlamee wants to merge 3 commits intodavis7dotsh:mainfrom
aFlamee:cursor-rule-setup

Conversation

@aFlamee
Copy link
Contributor

@aFlamee aFlamee commented Jan 27, 2026

Add a "Add Cursor rules" step with copyable command on CLI page

Greptile Overview

Greptile Summary

This PR adds a new "Add Cursor rules" section to the CLI page with a command to download the Better Context rule file into the .cursor/rules directory. The implementation follows existing UI patterns and includes proper syntax highlighting, copy functionality, and descriptive text. The previous feedback about the button label has been addressed - it now correctly says "Copy Cursor rule command".

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk
  • The changes are straightforward and follow existing patterns. The new section is additive (doesn't modify existing functionality), uses consistent styling with other sections, properly integrates with the existing Shiki syntax highlighting, and includes proper copy functionality. The command itself is well-formed and targets a valid endpoint that serves the rule file.
  • No files require special attention

Important Files Changed

Filename Overview
apps/web/src/routes/cli/+page.svelte Added new "Add Cursor rules" section with command to download rule file. Changes are clean, consistent with existing patterns, and the previous label issue has been fixed.

Provide a ready-to-copy command and include the rule file so contributors can pull Cursor rules quickly.
… Better Context Agent (btca). This file is no longer needed as part of the project structure.
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 file reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

></pre>
{/if}
</div>
<CopyButton text={CURSOR_RULE_CMD} label="Copy quick start command" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

button label says "Copy quick start command" but should say "Copy Cursor rule command"

Suggested change
<CopyButton text={CURSOR_RULE_CMD} label="Copy quick start command" />
<CopyButton text={CURSOR_RULE_CMD} label="Copy Cursor rule command" />
Prompt To Fix With AI
This is a comment left during a code review.
Path: apps/web/src/routes/cli/+page.svelte
Line: 181:181

Comment:
button label says "Copy quick start command" but should say "Copy Cursor rule command"

```suggestion
					<CopyButton text={CURSOR_RULE_CMD} label="Copy Cursor rule command" />
```

How can I resolve this? If you propose a fix, please make it concise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant