

Also from Kynth Studios


Also from Kynth Studios


Also from Kynth Studios
123456# Copilot Assistant Rules78## Assistant Behavior910- Be terse and direct in responses11- Ask clarifying questions before implementing complex features12- Anticipate needs and suggest improvements proactively13- Focus on high-quality, production-ready code14- Use analogies when explaining complex concepts1516## Code Generation Principles1718### Quality Standards1920- Generate code that could ship to production21- Follow established patterns in the codebase22- Maintain consistency with existing architecture23- Every piece of code should be testable24- Documentation is not optional2526### Style Guidelines2728- Respect .prettierrc and linting configurations29- Prefer clarity over cleverness30- Use descriptive names that reveal intent31- Keep line lengths reasonable32- Consistent indentation and formatting3334### Architecture Focus3536- Think in systems, not just functions37- Consider scalability implications38- Design for maintainability39- Separate concerns appropriately40- Make dependencies explicit4142## Project Awareness4344### Context Loading4546Always check for `.github/PROJECT_CONTEXT.md` which contains:4748- Current architectural patterns49- Technology stack decisions50- Team conventions and preferences51- Recent design decisions52- Performance considerations53- Known technical debt5455### File Organization5657- Follow existing project structure58- Keep related code together59- Use standard naming conventions60- Maintain clear module boundaries6162## Code Patterns6364### Error Handling6566- Fail fast with clear messages67- Use appropriate error types68- Handle errors at the right level69- Provide actionable error messages70- Log errors appropriately7172### Testing Approach7374- Write tests alongside implementation75- Test edge cases explicitly76- Use descriptive test names77- Keep tests simple and focused78- Mock external dependencies7980### Documentation8182- Document why, not what83- Include examples for complex APIs84- Keep docs in sync with code85- Use consistent documentation format86- Document assumptions and constraints8788## Language-Specific Rules8990### Ruby on Rails9192Refer to `rails-instructions.md` for:9394- Rails conventions and patterns95- ActiveRecord best practices96- Testing with RSpec97- API design guidelines9899## Performance & Security100101### Performance102103- Consider algorithmic complexity104- Profile before optimizing105- Cache strategically106- Use appropriate data structures107- Avoid premature optimization108109### Security110111- Sanitize all inputs112- Use secure defaults113- Follow OWASP guidelines114- Never expose sensitive data115- Keep dependencies updated116117## AI Assistant Guidelines118119### When Generating Code1201211. Check `PROJECT_CONTEXT.md` first1222. Follow existing patterns in codebase1233. Include appropriate tests1244. Add necessary documentation1255. Consider edge cases126127### When Explaining Concepts128129- Use clear analogies130- Provide concrete examples131- Link to authoritative sources132- Keep explanations concise133- Focus on practical application134135### When Suggesting Improvements136137- Consider the bigger picture138- Propose incremental changes139- Explain trade-offs clearly140- Respect existing constraints141- Suggest best-in-class solutions142143---144145_Note: Language-specific and PROJECT_CONTEXT rules override these defaults._146
One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| levifig/rails-instructions.github/instructions/rails-controllers.instructions.md · 54 | Copilot instructions | teststylesecurityapi+1 | 56/100 | 14 days ago | |
| levifig/rails-instructions.github/instructions/rails-models.instructions.md · 54 | Copilot instructions | teststylearchtypes+4 | 60/100 | 14 days ago | |
| levifig/rails-instructions.cursor/rules/rails-rules.mdc · 54 | Cursor rules | testlint-formatstylearch+9 | 84/100 | 14 days ago | |
| levifig/rails-instructions.github/instructions/rails-api.instructions.md · 54 | Copilot instructions | testlint-formatstyletesting-strategy+7 | 67/100 | 14 days ago | |
| levifig/rails-instructions.github/instructions/rails-services.instructions.md · 54 | Copilot instructions | teststylearchtesting-strategy+4 | 75/100 | 14 days ago | |
| levifig/rails-instructions.github/instructions/rails-background-jobs.instructions.md · 54 | Copilot instructions | teststyletesting-strategydatabase+2 | 63/100 | 14 days ago | |
| levifig/rails-instructions.github/instructions/rails-core.instructions.md · 54 | Copilot instructions | teststylearchtesting-strategy+5 | 68/100 | 14 days ago | |
| levifig/rails-instructions.github/instructions/rails-deployment.instructions.md · 54 | Copilot instructions | setupstylesecuritydatabase+2 | 52/100 | 14 days ago | |
| levifig/rails-instructions.github/instructions/rails-hotwire.instructions.md · 54 | Copilot instructions | teststylesecurityperformance+1 | 56/100 | 14 days ago | |
| levifig/rails-instructions.github/instructions/rails-importmaps.instructions.md · 54 | Copilot instructions | teststylesecuritydatabase+2 | 56/100 | 14 days ago | |
| levifig/rails-instructions.github/instructions/rails-mobile.instructions.md · 54 | Copilot instructions | styleuiperformance | 66/100 | 14 days ago | |
| levifig/rails-instructions.github/instructions/rails-performance.instructions.md · 54 | Copilot instructions | teststylegitdatabase+2 | 56/100 | 14 days ago | |
| levifig/rails-instructions.github/instructions/rails-security.instructions.md · 54 | Copilot instructions | teststylesecuritydependencies+3 | 63/100 | 14 days ago | |
| levifig/rails-instructions.github/instructions/rails-styling.instructions.md · 54 | Copilot instructions | styledatabaseuiperformance+3 | 59/100 | 14 days ago | |
| levifig/rails-instructions.github/instructions/rails-testing.instructions.md · 54 | Copilot instructions | teststyletesting-strategysecurity+2 | 56/100 | 14 days ago | |
| levifig/rails-instructions.github/instructions/rails-views.instructions.md · 54 | Copilot instructions | teststylearchsecurity+3 | 60/100 | 14 days ago | |
| levifig/rails-instructions.github/instructions/rails.instructions.md · 54 | Copilot instructions | testlint-formatstylearch+9 | 84/100 | 14 days ago | |
| levifig/rails-instructions.cursor/rules/guidelines.mdc · 54 | Cursor rules | teststyletesting-strategysecurity+4 | 71/100 | 14 days ago |
A badge carrying the measured quality of the strongest agent config file in this repository, out of 100. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://rulestack.kynth.studio/configs/levifig-rails-instructions-github-copilot-instructions)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.