Skip to content

Conversation

@aleks-p
Copy link
Contributor

@aleks-p aleks-p commented Jan 2, 2026

Adds CLAUDE.md and Cursor Rules to guide coding agents on best practices, things to avoid, etc.

I used Claude Code to create a foundation for CLAUDE.md using the existing contribution guide and then made it better. The Cursor Rules are derived from CLAUDE.md.

I've verified that the instructions work in both Claude Code and Cursor by asking questions like What are the main components in Pyroscope's write path?. I haven't tried generating code and seeing how well best practices are followed.

This is open for debate and contributions. Feel free to suggest changes, add support for other agents or raise your concerns if you have any.

@aleks-p aleks-p requested review from a team as code owners January 2, 2026 21:40
Copy link
Contributor

@simonswine simonswine left a comment

Choose a reason for hiding this comment

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

Happy to give it a try

Copy link
Contributor

@alsoba13 alsoba13 left a comment

Choose a reason for hiding this comment

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

Nice!

@aleks-p aleks-p merged commit ef3d709 into main Jan 7, 2026
20 checks passed
@aleks-p aleks-p deleted the chore/agent-md branch January 7, 2026 20:28
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.

3 participants