AGENTS.md · neoclide/coc.nvim
AGENTS.md from neoclide/coc.nvim: 96 lines covering Project Overview, Compatibility Requirements, TypeScript Rules, Async and Resource Management and more.
Template by neoclide
Install
Works with Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code. Read the repository before you give any tool access to your data.
curl -fsSL https://raw.githubusercontent.com/neoclide/coc.nvim/master/AGENTS.md -o AGENTS.md
Read it and adapt it to your project before use.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: prompt-engineering
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
What's in it
An AGENTS.md file: instructions coding agents (Codex, Cursor, Copilot, Gemini CLI and others) read before working in a repo.
- For
- Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code
- Length
- 96 lines
- File
AGENTS.md
Sections
- Project Overview
- Compatibility Requirements
- TypeScript Rules
- Async and Resource Management
- Git Rules
- Forbidden Actions
- Add documentation
- Code Review Rules
- Testing
First lines (shown under the repo's MIT license)
# AGENTS.md ## Project Overview coc.nvim is a language client framework for Vim and Neovim. It provides LSP integration, extension APIs, completion, diagnostics, workspace management and plugin infrastructure. This project is performance-sensitive and must maintain compatibility with existing Vim/Neovim users. --- ## Compatibility Requirements Maintain compatibility with: - Vim 9+ and neovim - Existing coc.nvim extensions - Existing user configurations Avoid: - breaking public APIs - changing extension behavior unintentionally - changing configuration semantics --- ## TypeScript Rules - Use strict TypeScript. - Avoid `any` unless unavoidable. - Prefer existing utility functions over introducing new helpers. --- ## Async and Resource Management Be careful with: - promises - event listeners - timers - child processes - RPC channels - Vim/Neovim lifecycle Every created resource should have a clear cleanup path. Check: - error handling - cancellation - process shutdown - disposal behavior --- ## Git Rules Before editing: - inspect git history when behavior is unclear - understand why existing code exists Do not remove existing code only because it looks unused. --- ## Forbidden Actions Do not: - change public APIs without discussion - remove compatibility code without proof ## Add documentation - When add new feature and introduce break changes, add the change to history.md. - Update doc/coc.txt after vim interface change. - Update doc/coc-api.txt after API change. - Update doc/coc-config.txt after coc.nvim configuration change. ## Code Review Rules - Report only consequential correctness, compatibility, lifecycle, concurrency, and performance issues. - Check that public coc.nvim APIs remain stable and properly typed. - Check Vim and Neovim behavior, buffer switching, cancellation, disposal, and asynchronous race conditions. - Ignore formatting and lint issues already covered by CI. ## Testing - Jest is not used by this project, never invoke Jest. - Use `node scripts/test/cli.mjs <path_to_file>` for run specific test file.
Signals
- Stars
- 25,148
- Forks
- 948
- Open issues
- 8
- Last commit (this folder)
- Aug 20, 2026 (2 months ago)
- Last release
- Jul 31, 2022 (4 years ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/neoclide/coc.nvim
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Cite this page
AGENTS.md · neoclide/coc.nvim. Agent Mart. https://agentmart.dev/templates/neoclide-coc-nvim-agents-md (last updated 2026-10-24)