kilocode icon indicating copy to clipboard operation
kilocode copied to clipboard

[FEATURE]: Support path-scoped rule files with glob patterns

Open Fidasek009 opened this issue 5 months ago • 2 comments

Feature hasn't been suggested before.

  • [x] I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Support path-scoped local rule files by allowing Markdown rule files to declare paths glob patterns in YAML frontmatter.

This is inspired by Claude Code’s .claude/rules behavior: Claude Code can scope a rule file to specific file paths, and applies those instructions when it reads a file matching the rule’s paths patterns. Kilo should support the same idea for local rule files.

Example rule file:

---
paths:
  - "src/api/**/*.ts"
  - "tests/**/*.test.ts"
---

# Project Guidance

Follow the conventions for files matching these paths.

Fidasek009 avatar Jun 24 '26 09:06 Fidasek009

To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please reopen it or create a fresh new one.

github-actions[bot] avatar Aug 24 '26 06:08 github-actions[bot]

It's sad that nobody even responded to this issue. At least tell me my idea sucks please. This just feels like you guys don't have enough people to get through all the issues in time. I'd be happy to help strenghten your team 😏.

Fidasek009 avatar Aug 24 '26 08:08 Fidasek009