agentleFS
codercoder/claudecode.nvim/AGENTS.md

claudecode.nvim

AGENTS.md3.1k starsChanged 6 months agoMITView on GitHub

- Setup (one time): install mise, then mise install && mise run setup to provision the toolchain and build the Lua test rocks. Activate mise in your shell (eval "$(mise activate bash)" in your rc) so bare tools like busted/nvim are on PATH; otherwise prefix with mise exec --. Run mise tasks to list all tasks. - mise run check: Syntax checks + luacheck on lua/ and tests/. - mise run format: Format the tree with treefmt (replaces the former…

Trending

Quiet since September.about the whole repository

Dec 2025: 1 mentionJan 2026: 1 mentionFeb 2026: 3 mentionsMar 2026: 1 mentionApr 2026: 4 mentionsMay 2026: 0 mentionsJun 2026: 12 mentionsJul 2026: 0 mentionsAug 2026: 1 mentionSep 2026: 3 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the coder/claudecode.nvim repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about coder/claudecode.nvim

The biggest 5 of 39 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 39

Talked about on GitHub, Hacker News and Bluesky (39 times).

On GitHub · 35

30 more on GitHub

On Hacker News · 3

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repositoryOne other file it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    Run all tests: mise run test

    line 19
  2. Very specific:

    Run one file: busted -v tests/unit/terminal_spec.lua

    line 20
  3. Distinctive:

    Avoid one-letter names; prefer explicit, testable functions.

    line 28
  4. Very specific:

    Do not commit secrets or local paths.

    line 46

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Repository Guidelines

Project Structure & Module Organization

  • lua/claudecode/: Core plugin modules (init.lua, config.lua, diff.lua, terminal/, server/, tools/, logger.lua, etc.).
  • plugin/: Lightweight loader that guards startup and optional auto-setup.
  • tests/: Busted test suite (unit/, integration/, helpers/, mocks/).
  • fixtures/: Minimal Neovim configs for manual and integration testing.
  • scripts/: Development helpers; dev-config.lua aids local testing.

Build, Test, and Development Commands

  • Setup (one time): install mise, then mise install && mise run setup to provision the toolchain and build the Lua test rocks. Activate mise in your shell (eval "$(mise activate bash)" in your rc) so bare tools like busted/nvim are on PATH; otherwise prefix with mise exec --. Run mise tasks to list all tasks.
  • mise run check: Syntax checks + luacheck on lua/ and tests/.
  • mise run format: Format the tree with treefmt (replaces the former nix fmt).
  • mise run test: Run Busted tests with coverage (outputs luacov.stats.out).
  • mise run clean: Remove coverage artifacts. Examples:
  • Run all tests: mise run test
  • Run one file: busted -v tests/unit/terminal_spec.lua

Coding Style & Naming Conventions

  • Lua: 2‑space indent, 120‑column width, double quotes preferred.
  • Formatting: StyLua configured in .stylua.toml (require-sort enabled).
  • Linting: luacheck with settings in .luacheckrc (uses luajit+busted std).
  • Modules/files: lower_snake_case; return a module table M with documented functions (EmmyLua annotations encouraged).
  • Avoid one-letter names; prefer explicit, testable functions.

Testing Guidelines

  • Frameworks: Busted + Luassert; Plenary used where Neovim APIs are needed.
  • File naming: *_spec.lua or *_test.lua under tests/unit or tests/integration.
  • Mocks/helpers: place in tests/mocks and tests/helpers; prefer pure‑Lua mocks.
  • Coverage: keep high signal; exercise server, tools, diff, and terminal paths.
  • Quick tip: prefer mise run test (it sets LUA_PATH and coverage flags).

Commit & Pull Request Guidelines

  • Commits: Use Conventional Commits (e.g., feat:, fix:, docs:, test:, chore:). Keep messages imperative and scoped.
  • PRs: include a clear description, linked issues, repro steps, and tests. Update docs (README.md, ARCHITECTURE.md, or DEVELOPMENT.md) when behavior changes.
  • Pre-flight: run mise run all (format, lint, test). Attach screenshots or terminal recordings for UX-visible changes (diff flows, terminal behavior).

Security & Configuration Tips

  • Do not commit secrets or local paths; prefer environment variables. The plugin honors CLAUDE_CONFIG_DIR for lock files.
  • Local CLI paths (e.g., opts.terminal_cmd) should be configured in user config, not hardcoded in repo files.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.