Conversation
…-scoped Change alwaysApply from true to false and add file glob patterns so these rules only activate when working with relevant files, reducing token consumption in unrelated conversations. Made-with: Cursor
Add frontmatter and symlinks for two previously inactive rule files: - git-safety (alwaysApply: true) for protected branch guardrails - e2e-testing (glob-scoped to tests/e2e-playwright/) for Playwright standards Made-with: Cursor
Move workflow-oriented rules (commits, branches, pull-requests) from .ai/rules/ to .ai/skills/ so they load on demand instead of being always injected. Symlink from .cursor/skills/ for Cursor discovery. Update AGENTS.md references to point to new locations. Made-with: Cursor
🛡️ Jit Security Scan Results✅ No security findings were detected in this PR
Security scan by Jit
|
Contributor
Code Coverage - Backend unit tests
Test suite run success3286 tests passing in 303 suites. Report generated by 🧪jest coverage report action from 559ab59 |
Contributor
Code Coverage - Integration Tests
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Contributor
Code Coverage - Frontend unit tests
Test suite run success6352 tests passing in 759 suites. Report generated by 🧪jest coverage report action from 559ab59 |
pawelangelow
approved these changes
Mar 12, 2026
| alwaysApply: true | ||
| description: NestJS backend development patterns, module structure, services, controllers, DTOs, and error handling | ||
| globs: redisinsight/api/**/*.ts | ||
| alwaysApply: false |
Contributor
There was a problem hiding this comment.
If someone is curious: https://cursor.com/docs/rules#rule-anatomy
KrumTy
approved these changes
Mar 12, 2026
Contributor
KrumTy
left a comment
There was a problem hiding this comment.
hope it works for augment 🤞
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Reorganize AI agent instructions to reduce token consumption.
Previously all 7 rules were always-applied (~1,470 lines injected into every conversation):
Note
Low Risk
Low risk: documentation/config-only changes for AI agent guidance; no runtime application code paths are affected.
Overview
Reduces always-applied AI instructions by adding YAML frontmatter (
description,globs,alwaysApply: false) to domain rules (frontend,backend,testing,e2e-testing) so they activate only for matching file paths.Adds an always-on
git-safetyrule, converts branches/commits/PR guidance into.ai/skills/*/SKILL.md, updates Cursor mappings under.cursor/to point at the new rule/skill locations, and adjustsAGENTS.mdreferences accordingly.Written by Cursor Bugbot for commit 559ab59. This will update automatically on new commits. Configure here.