agentleFS
fluentfluent/fluentd/AGENTS.md

fluentd

AGENTS.md14k starsChanged 2 years agoApache-2.0View on GitHub

This file is for AI coding agents (Claude Code, Cursor, Codex, Copilot, ...) working in this repository. Humans should read CONTRIBUTING.md.

  • Commits and pushes

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

9 rules. About 0 are common, 3 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every page is also available as Markdown by appending .md to its URL, e.g.

    line 9
  2. Very specific:

    Read the documentation before answering questions about configuration syntax or plugin parameters.

    line 10
  3. Very specific:

    Run all tests: bundle exec rake test

    line 26
  4. Very specific:

    Run one file: bundle exec ruby -Ilib -Itest test/plugin/test_in_tail.rb

    line 27
  5. Very specific:

    Test helpers for plugins: https://docs.fluentd.org/plugin-development/plugin-test-code.md

    line 30
  6. Distinctive:

    Follow CONTRIBUTING.md. Commits need a DCO sign-off (git commit -s).

    line 34
  7. Distinctive:

    Keep changes minimal and focused.

    line 35
  8. Very specific:

    Add or update tests under test/ for behavior changes.

    line 36
  9. Distinctive:

    Do not add runtime dependencies without discussion.

    line 37

≈ “Common” is an estimate: at least 1 in 5 of the 36,368 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

Guidance for coding agents

This file is for AI coding agents (Claude Code, Cursor, Codex, Copilot, ...) working in this repository. Humans should read CONTRIBUTING.md.

Primary sources

Repository layout

  • lib/fluent/plugin/ – bundled plugins (in_*.rb, out_*.rb, filter_*.rb, parser_*.rb, formatter_*.rb, buf_*.rb, storage_*.rb, sd_*.rb, metrics_*.rb)
  • lib/fluent/plugin_helper/ – plugin helpers
  • lib/fluent/config/ – configuration parsers (classic and YAML)
  • test/ – tests written with test-unit
  • templates/new_gem/ – files generated by fluent-plugin-generate

Developing

Conventions

  • Follow CONTRIBUTING.md. Commits need a DCO sign-off (git commit -s).
  • Keep changes minimal and focused; do not reformat unrelated code.
  • Add or update tests under test/ for behavior changes.
  • Do not add runtime dependencies without discussion.
  • Match the surrounding code style; there is no autoformatter to run. CI runs rubocop, but only the Security and Performance cops are enabled.
  • Fluentd runs on Linux, macOS and Windows. CI tests ubuntu-latest, macos-latest, windows-latest and windows-11-arm. Assume your change must work on Windows.

Issues and pull requests

  • Pull requests follow .github/PULL_REQUEST_TEMPLATE.md. Keep its headings, including Docs Changes and Release Note, and write Fixes #<n> when an issue exists.
  • Blank issues are disabled. Use .github/ISSUE_TEMPLATE/bug_report.yml or .github/ISSUE_TEMPLATE/feature_request.yml and answer every required field.
  • Questions belong in Discussions, not in issues.
  • Note that gh pr create --body and gh issue create --body skip the template. Pass --template, or reproduce the template's sections in the body you supply.

Download now (ZIP)

Trending

More talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 1 mentionJul 2026: 1 mentionAug 2026: 0 mentionsSep 2026: 1 mentionOct 2026: 2 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the fluent/fluentd repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about fluent/fluentd

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

See all 40

Talked about on YouTube, GitHub, Stack Overflow, the web and Hacker News (40 times).

On YouTube · 11

6 more on YouTube

On GitHub · 11

6 more on GitHub

On Stack Overflow · 11

6 more on Stack Overflow

On the web · 6

1 more on the web

On Hacker News · 1

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 28,693 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.

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.