fesod
AGENTS.md6.3k starsChanged 13 months agoApache-2.0View on GitHub
This file provides guidance for AI coding agents working with the Apache Fesod (Incubating) codebase. Apache Fesod (Incubating) is a Java library for processing spreadsheets (XLS/XLSX/CSV) without OOM, derived from Alibaba EasyExcel. It uses Apache POI under the hood with streaming SAX-based reading. The project is an Apache incubator project and must follow ASF conventions.
We split this AGENTS.md into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 98
Real-file tests: Prefer AbstractExcelTest.createTempFile() + ExcelAssertions for integration tests
- Very specific: line 99
Test data: Use TestDataBuilder.simpleData(n) or model classes in testkit/models/
≈ “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.
Files
<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-->Apache Fesod (Incubating) AI Agent Instructions
This file provides guidance for AI coding agents working with the Apache Fesod (Incubating) codebase.
Project Overview
Apache Fesod (Incubating) is a Java library for processing spreadsheets (XLS/XLSX/CSV) without OOM, derived from Alibaba EasyExcel. It uses Apache POI under the hood with streaming SAX-based reading. The project is an Apache incubator project and must follow ASF conventions.
- Language: Java 8+ (source/target = 1.8; CI builds on JDK 8, 11, 17, 21, 25 — JDK 17+ is recommended for local development)
- Build: Maven 3.6.3 via
./mvnwwrapper (project docs require 3.9+, but wrapper currently pins 3.6.3; both work) - CI matrix: JDK 8, 11, 17, 21, 25
Build & Test Commands
# Build (runs tests by default, per Maven/Apache convention)
./mvnw clean install
# Fast build without running tests
./mvnw clean install -DskipTests
# Run tests for the library modules only
./mvnw clean package -pl fesod-common,fesod-shaded,fesod-sheet
# Format check / auto-format
./mvnw spotless:check
./mvnw spotless:apply
# Run tests by tag
./mvnw test -Dtest.groups=unit # fast unit tests only
./mvnw test -Dtest.excludedGroups=fuzz # exclude slow fuzz tests
# Full install with javadoc (CI validation)
./mvnw install -B -V
./mvnw javadoc:javadocCode Style & Conventions
- Formatter: Palantir Java Format (enforced by Spotless); Checkstyle checks import restrictions during Maven's
validatephase - Imports: Static imports first, then regular imports; no unused imports (enforced by Spotless
importOrderwith\#|separator) - Import restrictions: Checkstyle allows named static imports from JUnit
Assertions/Assumptions, MockitoMockito/ArgumentMatchers, and AssertJAssertionsthroughAvoidStaticImport.excludes. These libraries have Maventestscope and are unavailable to production compilation. Other static imports and all wildcard imports remain forbidden by Checkstyle. - Indent: 4 spaces
- License header: ASF Apache 2.0 header required on all
.java,.xml,.yml,.tomlfiles. Header template attools/spotless/license-header.txt; enforced by the Hawkeye workflow (.github/workflows/license-check.yml), not Spotless - Lombok: Allowed; config in
lombok.config(toString.callSuper = CALL,equalsAndHashCode.callSuper = CALL) - Commits: English, format
type: description(types:fix,feat,refactor,test,docs,chore,style,dependency)
Module Structure
(root) # Root POM (artifactId: fesod-parent), dependency & plugin management
├── fesod-common/ # Zero-dependency utilities (org.apache.fesod.common.util)
├── fesod-shaded/ # Relocated Spring ASM/cglib (org.apache.fesod.shaded)
├── fesod-bom/ # BOM for downstream consumers
└── fesod-sheet/ # Core library: read/write XLS/XLSX/CSV via POI
├── src/main/java/org/apache/fesod/sheet/
│ ├── FesodSheet.java # Main entry: FesodSheet.read() / FesodSheet.write()
│ ├── analysis/ # Read pipeline (v03=XLS BIFF, v07=XLSX SAX, csv)
│ ├── write/ # Write pipeline (builder, executor, handler chains)
│ ├── metadata/ # Data models, builders, csv/ property/
│ ├── converters/ # Type conversion framework (by Java type)
│ └── util/ # DateUtils, NumberUtils, WorkBookUtil, etc.
└── src/test/java/org/apache/fesod/sheet/
└── testkit/ # Test infrastructure (NOT a separate module)
├── Tags.java # @Tag constants: unit, round-trip, read, write, format, fuzz
├── base/ # AbstractExcelTest (round-trip base)
├── assertions/ # ExcelAssertions fluent API
└── builders/ # TestDataBuilder
Testing Conventions
- JUnit 5 with
PER_CLASSlifecycle andReplaceUnderscoresdisplay name generator (configured globally infesod-sheet/src/test/resources/junit-platform.properties, not via per-class annotations) - Tags (use
@Tag(Tags.XXX)):unit— pure logic, no file I/Oround-trip— write-then-read viaAbstractExcelTestread/write— single-direction testsformat— CSV/charset/date format testsfuzz— Jazzer property-based (slow, excluded in PR CI)
- Real-file tests: Prefer
AbstractExcelTest.createTempFile()+ExcelAssertionsfor integration tests - Test data: Use
TestDataBuilder.simpleData(n)or model classes intestkit/models/
CI Checks (must pass before merge)
spotless:check— format- License header (hawkeye)
- Multi-JDK test matrix (8/11/17/21/25)
mvn install+mvn javadoc:javadoc- CodeQL security scan
Trending
Less talk lately.thin dataabout the whole repository
Who's talking about apache/fesod
- RustPython/RustPython“Improve JetBrains IDE integration”GitHub · Jul 12, 2026 · 1 reactions
- apache/poi“DataFormatter: format literal text after trailing commas with CellFormat”GitHub · Oct 17, 2026
- wenbin-wb/ypbin-starter“chore(deps): bump org.apache.fesod:fesod-sheet from 2.0.2-incubating to 2.1.0-incubating”GitHub · Oct 13, 2026
- altusea/wpg“build(deps): bump org.apache.fesod:fesod-sheet from 2.0.2-incubating to 2.1.0-incubating”GitHub · Oct 12, 2026
- softa-io/softa“build(deps): bump org.apache.fesod:fesod-sheet from 2.0.1-incubating to 2.0.2-incubating in …”GitHub · Sep 2, 2026
The biggest 5 of 14 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 14
Talked about on GitHub (14 times).
On GitHub · 14
- Jul 12, 2026Improve JetBrains IDE integration — RustPython/RustPython1 reaction · 1 comment
- Oct 17, 2026DataFormatter: format literal text after trailing commas with CellFormat — apache/poi0 reactions
- Oct 13, 2026chore(deps): bump org.apache.fesod:fesod-sheet from 2.0.2-incubating to 2.1.0-incubating — wenbin-wb/ypbin-starter0 reactions · 2 comments
- Oct 12, 2026build(deps): bump org.apache.fesod:fesod-sheet from 2.0.2-incubating to 2.1.0-incubating — altusea/wpg0 reactions
- Sep 2, 2026build(deps): bump org.apache.fesod:fesod-sheet from 2.0.1-incubating to 2.0.2-incubating in /starters/file-starter — softa-io/softa0 reactions
9 more on GitHub
- Aug 22, 2026[JAIPilot campaign] Mirror fesod#1031 — skrcode/fesod0 reactions
- Aug 18, 2026WIP: 同步到Ruoyi-Vue-Plus 5.5.1版本 — ruoyi-tdesign/ruoyi-tdesign0 reactions
- Jul 10, 2026chore(deps): bump org.apache.fesod:fesod-sheet from 2.0.1-incubating to 2.0.2-incubating — pig-mesh/excel-spring-boot-starter0 reactions · 1 comment
- Jun 1, 2026chore(deps): bump org.apache.fesod:fesod-sheet from 2.0.1-incubating to 2.0.2-incubating — KouShenhai/KCloud-Platform-IoT0 reactions · 4 comments
- Jun 1, 2026build(deps): bump org.apache.fesod:fesod-sheet from 2.0.1-incubating to 2.0.2-incubating — altusea/wpg0 reactions
- Feb 20, 2026Add new good-first-issue label (discussion welcome) — Regyl/yagfi-back0 reactions · 2 comments
- Feb 11, 2026build(deps): bump org.apache.fesod:fesod-sheet from 2.0.0-incubating to 2.0.1-incubating — altusea/wpg0 reactions
- Dec 24, 2025EasyExcel已经停止维护 — chenqi92/allbs-excel0 reactions · 1 comment
- Dec 1, 2025Unable to replace fastexcel with fesod - action not supported — pig-mesh/excel-spring-boot-starter0 reactions · 1 comment
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.
In this repositoryOne other file it gives its agents.
- fastexcel-to-fesodSkill
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
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.

