Skip to content

Commit abad371

Browse files
authored
Make sync-ai-rules hook produce output that passes duolingo hook (#53)
1 parent 36b06b2 commit abad371

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

sync_ai_rules/generators/markdown_generator.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,13 @@ def generate(self, rules: Dict[str, List[RuleMetadata]], config: Dict[str, Any])
3030
"<!-- DO NOT EDIT THIS SECTION - Auto-generated from .cursor/rules/ -->",
3131
"",
3232
"## Development Rules",
33+
"",
3334
"Each rule below has the following properties:",
35+
"",
3436
"- Description: Tells you exactly when to read and apply this rule to your current task",
3537
"- File scope: Defines which files/directories this rule applies to",
3638
"- Always apply: false = apply only when relevant; true = always apply this rule",
39+
"",
3740
"Read the properties of each rule and apply those that match your current task.",
3841
"When you decide to apply a rule, you MUST read the entire contents of the actual rule file using the file path shown"
3942
"",

0 commit comments

Comments
 (0)