Skip to content
Agentmart
Submit a tool

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

IndexedMIT★ 25,148
Write a review

Chalk Labs

Need help deploying AGENTS.md · neoclide/coc.nvim?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

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.

We use your email only for this newsletter. Privacy

About

The AGENTS.md file that neoclide/coc.nvim (25,148 stars) keeps for coding agents. It has 96 lines in 9 sections: Project Overview; Compatibility Requirements; TypeScript Rules; Async and Resource Management; Git Rules; Forbidden Actions; Add documentation; Code Review Rules; Testing. Use it as a model for your own project's instructions.

Use cases: prompt-engineering

No 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

  1. Project Overview
  2. Compatibility Requirements
  3. TypeScript Rules
  4. Async and Resource Management
  5. Git Rules
  6. Forbidden Actions
  7. Add documentation
  8. Code Review Rules
  9. 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
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get AGENTS.md · neoclide/coc.nvim running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying AGENTS.md · neoclide/coc.nvim?

CallGet help
Cite this page

AGENTS.md · neoclide/coc.nvim. Agent Mart. https://agentmart.dev/templates/neoclide-coc-nvim-agents-md (last updated 2026-10-24)