This is an automated email from the ASF dual-hosted git repository.
gurwls223 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new 92859b5b7b06 [SPARK-55614][BUILD] Add AGENTS.MD
92859b5b7b06 is described below
commit 92859b5b7b068a6d5b703830d5034978b4011f63
Author: Szehon Ho <[email protected]>
AuthorDate: Fri Feb 20 10:24:38 2026 +0900
[SPARK-55614][BUILD] Add AGENTS.MD
Closes #54386
### What changes were proposed in this pull request?
Add AGENTS.MD file
### Why are the changes needed?
It'd be nice to get Claude Code/ Cursor, etc to understand how to build
Spark and run Spark tests for Spark development. By default, the developer
documentation seems to make it use maven, which is much slower than SBT.
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
Tested in cursor
### Was this patch authored or co-authored using generative AI tooling?
By cursor
Closes #54387 from szehon-ho/agents_md.
Authored-by: Szehon Ho <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
---
AGENTS.md | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/AGENTS.md b/AGENTS.md
new file mode 100644
index 000000000000..d463bca60b07
--- /dev/null
+++ b/AGENTS.md
@@ -0,0 +1,14 @@
+# Apache Spark
+
+This file provides context and guidelines for AI coding assistants working
with the Apache Spark codebase.
+
+## Build and Test
+
+Prefer building in sbt over maven:
+
+- **Building Spark**: [docs/building-spark.md](docs/building-spark.md)
+ - SBT build instructions: See the ["Building with
SBT"](docs/building-spark.md#building-with-sbt) section
+ - SBT testing: See the ["Testing with
SBT"](docs/building-spark.md#testing-with-sbt) section
+ - Running individual tests: See the ["Running Individual
Tests"](docs/building-spark.md#running-individual-tests) section
+
+- **PySpark Testing**:
[python/docs/source/development/testing.rst](python/docs/source/development/testing.rst)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]