Skip to content

Add ai-context-kit to Utilities#184

Open
ofershap wants to merge 1 commit intoPatrickJS:mainfrom
ofershap:add-ai-context-kit
Open

Add ai-context-kit to Utilities#184
ofershap wants to merge 1 commit intoPatrickJS:mainfrom
ofershap:add-ai-context-kit

Conversation

@ofershap
Copy link

@ofershap ofershap commented Mar 4, 2026

Adds ai-context-kit to the Utilities section.

ai-context-kit is a TypeScript CLI that lints and measures token cost of .cursorrules and .cursor/rules/ files. It catches conflicts between rules, flags bloated context, and works across Cursor, Claude Code, Copilot, and Windsurf configs.

Summary by CodeRabbit

  • Documentation
    • Updated Utilities section to include ai-context-kit, a tool for linting and measuring token costs of cursor rules files.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 4, 2026

📝 Walkthrough

Walkthrough

A single documentation entry was added to README.md under the Utilities section, introducing ai-context-kit—a tool designed to lint, measure token costs of cursor rules files, and detect rule conflicts across multiple platforms.

Changes

Cohort / File(s) Summary
Documentation
README.md
Added utility entry for ai-context-kit, a linting and token cost analysis tool for cursor rules configurations.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A cursor rule so fine and neat,
With tokens counted, context sweet,
ai-context-kit hops into view,
Linting rules for me and you!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Add ai-context-kit to Utilities' clearly and directly describes the main change: adding a new entry to the Utilities section of the README.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@README.md`:
- Line 289: The README entry for "ai-context-kit" in the "### Utilities" section
is out of alphabetical order and uses an absolute GitHub URL; move the entire
line for "ai-context-kit" so it appears before "Cursor Watchful Headers" in the
Utilities list and change the link from the absolute URL to a relative
repository path (e.g., replace https://github.com/ofershap/ai-context-kit with
./ai-context-kit or the repository-relative link style used elsewhere in
README.md) so ordering and link style match the project's guidelines.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 4842c1cd-be29-46f3-8286-44872624a988

📥 Commits

Reviewing files that changed from the base of the PR and between fc2ce04 and ecf28c6.

📒 Files selected for processing (1)
  • README.md

### Utilities

- [Cursor Watchful Headers](https://github.com/johnbenac/cursor-watchful-headers) - A Python-based file watching system that automatically manages headers in text files and maintains a clean, focused project tree structure. Perfect for maintaining consistent file headers and documentation across your project, with special features to help LLMs maintain better project awareness.
- [ai-context-kit](https://github.com/ofershap/ai-context-kit) - Lint and measure token cost of your .cursorrules and .cursor/rules/ files. Catches conflicts between rules, flags bloated context, and works across Cursor, Claude Code, Copilot, and Windsurf configs.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Fix Utilities ordering and README link style at Line 289

Two guideline violations in this entry: it breaks alphabetical order in ### Utilities (ai-context-kit should come before Cursor Watchful Headers), and the added link is absolute instead of relative.

Suggested patch
- - [Cursor Watchful Headers](https://github.com/johnbenac/cursor-watchful-headers) - A Python-based file watching system that automatically manages headers in text files and maintains a clean, focused project tree structure. Perfect for maintaining consistent file headers and documentation across your project, with special features to help LLMs maintain better project awareness.
- - [ai-context-kit](https://github.com/ofershap/ai-context-kit) - Lint and measure token cost of your .cursorrules and .cursor/rules/ files. Catches conflicts between rules, flags bloated context, and works across Cursor, Claude Code, Copilot, and Windsurf configs.
+ - [ai-context-kit](./rules/ai-context-kit-cursorrules-prompt-file/.cursorrules) - Lint and measure token cost of your .cursorrules and .cursor/rules/ files. Catches conflicts between rules, flags bloated context, and works across Cursor, Claude Code, Copilot, and Windsurf configs.
+ - [Cursor Watchful Headers](https://github.com/johnbenac/cursor-watchful-headers) - A Python-based file watching system that automatically manages headers in text files and maintains a clean, focused project tree structure. Perfect for maintaining consistent file headers and documentation across your project, with special features to help LLMs maintain better project awareness.

As per coding guidelines, "Maintain alphabetical order within each category in the README.md file" and "Ensure all links in the README.md file are relative and correct".

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@README.md` at line 289, The README entry for "ai-context-kit" in the "###
Utilities" section is out of alphabetical order and uses an absolute GitHub URL;
move the entire line for "ai-context-kit" so it appears before "Cursor Watchful
Headers" in the Utilities list and change the link from the absolute URL to a
relative repository path (e.g., replace
https://github.com/ofershap/ai-context-kit with ./ai-context-kit or the
repository-relative link style used elsewhere in README.md) so ordering and link
style match the project's guidelines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant