Add agnix language server#4743
Conversation
|
We require contributors to sign our Contributor License Agreement, and we don't have @avifenesh on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: db6ae1ae50
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@cla-bot check |
|
We require contributors to sign our Contributor License Agreement, and we don't have @avifenesh on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'. |
|
The cla-bot has been summoned, and re-checked this pull request! |
Move the agnix entry from the end of .gitmodules to its correct alphabetical position (between agda and aiken) to satisfy the sorted-order invariant enforced by CI.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
MrSubidubi
left a comment
There was a problem hiding this comment.
Thanks for this!
Can we remove the mdc language here and everything related please and instead add this as a recognized Markdown suffix in core? Otherwise looks good!
Per review feedback, the MDC language definition was removed from the extension. The .mdc suffix will be added as a recognized Markdown suffix in Zed core instead.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Done! I've:
|
Highlight files ending in `.mdc` as Markdown. The `.mdc` extension is used by Cursor for its Markdown-based rule files (`.cursor/rules/*.mdc`). These files are standard Markdown with optional YAML frontmatter, which the existing Markdown grammar already handles well. Adding `.mdc` to the recognized suffixes ensures proper syntax highlighting out of the box. This was requested during review of the agnix extension PR ([zed-industries/extensions#4743](zed-industries/extensions#4743)) by @MrSubidubi as the preferred approach over defining a custom MDC language in an extension. Release Notes: - Added `.mdc` as a recognized Markdown file extension.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
MrSubidubi
left a comment
There was a problem hiding this comment.
Lastly, you'll need to add a license to the directory of the extension (or alternatively, soft-link your existing license into that directory). Thanks!
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Added LICENSE-MIT and LICENSE-APACHE to the extension directory (via agent-sh/agnix#560) and updated the submodule. @MrSubidubi should be good to go now. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This comment was marked as spam.
This comment was marked as spam.
Adds the [Agnix](https://github.com/avifenesh/agnix) extension — a linter for AI agent configurations (CLAUDE.md, AGENTS.md, SKILL.md, .mdc rules, MCP tools, hooks, and plugins). ## What it does Agnix provides real-time diagnostics, quick-fix code actions, and hover documentation for agent configuration files via the `agnix-lsp` language server. It validates across 100 rules in 15 categories covering Claude Code, GitHub Copilot, Cursor, Cline, and other AI coding tools. ## Extension details - **ID**: `agnix` - **Languages**: Markdown, JSON, MDC - **LSP**: `agnix-lsp` (auto-downloaded from GitHub releases) - **License**: MIT OR Apache-2.0 - **Path**: `editors/zed` --------- Co-authored-by: Finn Evers <finn.evers@outlook.de>
…tries#50074) Highlight files ending in `.mdc` as Markdown. The `.mdc` extension is used by Cursor for its Markdown-based rule files (`.cursor/rules/*.mdc`). These files are standard Markdown with optional YAML frontmatter, which the existing Markdown grammar already handles well. Adding `.mdc` to the recognized suffixes ensures proper syntax highlighting out of the box. This was requested during review of the agnix extension PR ([zed-industries/extensions#4743](zed-industries/extensions#4743)) by @MrSubidubi as the preferred approach over defining a custom MDC language in an extension. Release Notes: - Added `.mdc` as a recognized Markdown file extension.
Adds the Agnix extension — a linter for AI agent configurations (CLAUDE.md, AGENTS.md, SKILL.md, .mdc rules, MCP tools, hooks, and plugins).
What it does
Agnix provides real-time diagnostics, quick-fix code actions, and hover documentation for agent configuration files via the
agnix-lsplanguage server. It validates across 100 rules in 15 categories covering Claude Code, GitHub Copilot, Cursor, Cline, and other AI coding tools.Extension details
agnixagnix-lsp(auto-downloaded from GitHub releases)editors/zed