Skip to content
Prompt

ruler — Copilot Instructions

by intellectronica

AI Summary

<!-- Generated by Ruler --> <!-- Source: .ruler/AGENTS.md -->

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to add the "ruler — Copilot Instructions" prompt rules to my project.
Repository: https://github.com/intellectronica/ruler

Please read the repo to find the rules/prompt file, then:
1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type)
2. If there's an existing rules file, merge the new rules in rather than overwriting
3. Confirm what was added

Description

Ruler — apply the same rules to all coding agents

Testing

• Always follow TDD where possible - first adding or adjusting tests, verifying that they fail, then making the minimal changes to pass the tests. • Everything in this repository should be covered by tests. That always includes: • Unit tests • Integration tests • End-to-end tests

Code Formatting

• Always ensure that the code is formatted correctly by running prettier before committing changes.

Branches and Pull Requests

• Unless specifically instructed otherwise, all changes should be made in a feature branch and submitted as a pull request for review. • Pull requests should be descriptive and clearly explain the changes being made, including the rationale behind the change, the functional changes, the specific files and modules affected. • Before declaring a pull request ready for review, you must ensure that all the CI tests pass. These include: • npm ci • npm run lint • npm test • npm run build • IMPORTANT: Before committing, always use Prettier to ensure that the code is formatted correctly. • IMPORTANT: When committing yourself with git commit, always pass --author="AI <ruler+ai@okigu.com>" so that your commits can be easily identified.

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 6d ago
Active
Adoption1K+ stars on GitHub
2.7k ★ · Popular
DocsMissing or thin
Undocumented

GitHub Signals

Stars2.7k
Forks137
Issues14
Updated6d ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Any AI assistant that accepts custom rules or system prompts

Claude
ChatGPT
Cursor
Windsurf
Copilot
+ more