Agent skill

Spring Data Testing

by arangodb in arangodb/spring-data

Write and run tests for arangodb/spring-data, select regression coverage, and reproduce CircleCI failures.

Apache-2.0Auto-check passedTesting & QA

Install Spring Data Testing

skills CLI
$ npx skills add arangodb/spring-data --skill spring-data-testing -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install arangodb/spring-data spring-data-testing --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/arangodb/spring-data.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/spring-data-testing .claude/skills/spring-data-testing && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
spring-data-testing
GitHub stars
116
Token cost
~844 tokens
SKILL.md length
349 words
Files
3 (incl. references)
Skills in repo
2
Repo updated
First seen
Licence
Apache-2.0

At a glance

Write and run tests for arangodb/spring-data, select regression coverage, and reproduce CircleCI failures.

  • Maven validation
  • SKILL.md covers Select coverage, Focused local checks and Inspect results
  • Calls mvn
  • ArangoDB server/topology

What it does

Spring Data Testing is an agent skill from arangodb/spring-data. Write and run tests for arangodb/spring-data, select regression coverage, and reproduce CircleCI failures. Use for Maven validation, ArangoDB server/topology or protocol variants, JDK compatibility, Spring Boot consumer tests, and the tutorial smoke test. Distinguishes local focused checks from complete CI jobs.

Its SKILL.md is about 840 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `agents/openai.yaml` and `references/circleci.md`).

It sits in Testing & QA, covering CI/CD, Backend development and QA and bug reports. It works with Java and Spring Boot. The licence is Apache-2.0.

When your agent uses it

  • Maven validation
  • ArangoDB server/topology
  • Protocol variants
  • JDK compatibility

Example prompts

  • “/spring-data-testing”

What it can do on your machine

Read from SKILL.md and the folder at commit 125d4b4. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • mvn

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Spring Data Testing loads about 844 tokens when it runs, and up to ~2.7k if it reads all its reference files. Until then it costs about 83 tokens; SKILL.md has 349 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~83
When it runs · the whole SKILL.md, loaded when a task matches
~844
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from arangodb/spring-data at commit 125d4b4, republished under its Apache-2.0 licence (© arangodb). 349 words, ~844 tokens.

Download SKILL.mdSave it as .claude/skills/spring-data-testing/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
spring-data-testing
description
Write and run tests for arangodb/spring-data, select regression coverage, and reproduce CircleCI failures. Use for Maven validation, ArangoDB server/topology or protocol variants, JDK compatibility, Spring Boot consumer tests, and the tutorial smoke test. Distinguishes local focused checks from complete CI jobs.

Spring Data ArangoDB testing

Apply AGENTS.md. Use CircleCI recipes for job defaults, database setup, and commands. For a CI failure, resolve the workflow's matrix values and the job's remaining defaults before running it; changing one axis is not the full matrix.

Select coverage

Start at the affected boundary, then expand to the relevant CI jobs. Mapping/serde changes need JSON and VelocyPack coverage; database/index/graph behavior can need both server versions and topologies; dependency or Spring changes need consumer and JDK checks. Documentation-only changes need link/command verification, not an unrelated database matrix.

Put shared library regression tests in root src/test/java/, following the existing JUnit Jupiter fixtures and assertions. Root Surefire includes *Test.java and *Example.java. Edit the original test sources/resources, not the symlink paths under integration-tests/. That project reuses the com tests but not arch/InternalsTest and inherits its own Boot test configuration; it does not inherit the root POM's test dependencies (including the VelocyPack ones) or Surefire includes, so root *Example.java classes do not run there. Check consumer test compilation when adding fixture dependencies.

AbstractArangoTest truncates configured collections and drops the shared test database. Reuse the existing setup/teardown and genuine server-version assumptions; do not disable a regression or broaden an assumption to hide an infrastructure failure. Even DerivedQueryCreatorTest uses a database-backed fixture.

Focused local checks

Run from the repository root with Maven (mvn; there is no wrapper):

sh
# Compile production and test sources; no tests or database calls run.
mvn test-compile

# Small database-free selection, not a substitute for the full suite.
mvn -Dtest=InternalsTest,AqlUtilsTest,MetadataUtilsTest,JavaTimeUtilTest test

With a disposable database provisioned as described in the recipes:

sh
mvn -Darangodb.protocol=HTTP2_JSON -Dtest=ArangoTemplateTest test

Replace the selector with the affected class or a quoted ClassName#method. Confirm the intended tests executed, including nested cases where applicable. Add clean when switching JDKs or dependency versions so stale compiled classes are not reused. Compilation, a successful run with zero selected tests, and the CI install step with tests skipped are not equivalent to a test pass.

Inspect results

Read target/surefire-reports/ in the project actually tested; Boot consumer reports are under integration-tests/target/surefire-reports/. For a failure, distinguish startup/routing/authentication, dependency or test-compilation problems, assertion failures, and deliberate version skips before changing code. Report the command, JDK, server image/version/topology, protocol, consumer version where relevant, and outcome. Do not present unexecuted variants or skipped cases as covered.

© arangodb, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in .agents/skills/spring-data-testing of arangodb/spring-data.

  • SKILL.md
  • agents/openai.yaml
  • references/circleci.md

Open the folder on GitHubat commit 125d4b4

Compare with similar skills

Spring Data Testing next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Spring Data Testing compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Spring Data Testing this skillarangodb/spring-data116—~844Automated safety check: PassApache-2.0
133 Java Testing Acceptance Testsjabrena/plinth445—~1.3kAutomated safety check: PassApache-2.0
321 Frameworks Spring Boot Testing Unit Testsjabrena/plinth445—~952Automated safety check: PassApache-2.0
322 Frameworks Spring Boot Testing Integration Testsjabrena/plinth445—~935Automated safety check: PassApache-2.0
702 Technologies Wiremockjabrena/plinth445—~1.1kAutomated safety check: PassApache-2.0
Java TestingHoangNguyen0403/agent-skills-standard570—~1kAutomated safety check: PassMIT

Similar skills

  • A skill your agent uses when you need to implement acceptance tests from maintainer-sanitized Gherkin scenario facts for framework-agnostic Java (no Spring Boot, Quarkus, Micronaut) — confirming…

    445 GitHub stars~1.3k tokensUpdated today
    Testing & QAAuto-check passed
  • A skill your agent uses when you need to write unit tests for Spring Boot applications — including pure unit tests with @ExtendWith(MockitoExtension.class) for @Service/@Component, slice tests with…

    445 GitHub stars~952 tokensUpdated today
    Testing & QAAuto-check passed
  • A skill your agent uses when you need to write or improve integration tests — including Testcontainers with @ServiceConnection, @DataJdbcTest persistence slices, TestRestTemplate or MockMvcTester…

    445 GitHub stars~935 tokensUpdated today
    Testing & QAAuto-check passed
  • A skill your agent uses when you need framework-agnostic WireMock guidance — stub design, JSON or programmatic mappings, precise request matching, response bodies and faults, classpath fixtures…

    445 GitHub stars~1.1k tokensUpdated today
    Testing & QAAuto-check passed
  • Java Testing

    HoangNguyen0403/agent-skills-standard

    Testing standards using JUnit 5, AssertJ, Mockito, Cucumber, and Spring Boot integration tests for Java.

    570 GitHub stars~1k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Ij Debugger

    xpinjection/test-driven-spring-boot

    Debugger-first runtime root-cause analysis for JVM code in IntelliJ IDEA.

    112 GitHub stars~6.4k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed

More from arangodb/spring-data

  • Spring Data Development

    arangodb/spring-data

    Maintain and extend the arangodb/spring-data repository. An agent skill from arangodb/spring-data.

    116 GitHub stars~620 tokensUpdated 8 days ago
    Auto-check passed

Works with

Questions about Spring Data Testing

What does Spring Data Testing do?

Write and run tests for arangodb/spring-data, select regression coverage, and reproduce CircleCI failures. Spring Data Testing is an agent skill from arangodb/spring-data. Write and run tests for arangodb/spring-data, select regression coverage, and reproduce CircleCI failures.

When should I use Spring Data Testing?

Spring Data Testing fits situations like: maven validation; arangoDB server/topology; protocol variants; JDK compatibility.

How do I install Spring Data Testing in Claude Code?

Run `npx skills add arangodb/spring-data --skill spring-data-testing -a claude-code`. Or copy the skill folder (.agents/skills/spring-data-testing in arangodb/spring-data) into .claude/skills/spring-data-testing in your project. Claude Code loads it when a task matches its description.

How do I install Spring Data Testing in Codex?

Run `npx skills add arangodb/spring-data --skill spring-data-testing -a codex`. Or copy the skill folder (.agents/skills/spring-data-testing in arangodb/spring-data) into .agents/skills/spring-data-testing in your project. Codex loads it when a task matches its description.

Can I use Spring Data Testing in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add arangodb/spring-data --skill spring-data-testing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/spring-data-testing, .gemini/skills/spring-data-testing, .github/skills/spring-data-testing and .opencode/skills/spring-data-testing in your project.

What does Spring Data Testing need to run?

Going by SKILL.md and its folder, Spring Data Testing needs the command-line tools its instructions call (mvn).

Does Spring Data Testing access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Spring Data Testing safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Spring Data Testing use?

Spring Data Testing is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Spring Data Testing use?

About 844 tokens (SKILL.md is roughly 3.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.8k tokens, read only when the agent opens those files.

What are the alternatives to Spring Data Testing?

Skills that share tags, products or a category with Spring Data Testing: 133 Java Testing Acceptance Tests (jabrena/plinth, 445 stars), 321 Frameworks Spring Boot Testing Unit Tests (jabrena/plinth, 445 stars), 322 Frameworks Spring Boot Testing Integration Tests (jabrena/plinth, 445 stars) and 702 Technologies Wiremock (jabrena/plinth, 445 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Spring Data Testing?

arangodb (a GitHub organization) maintains it in arangodb/spring-data, which has 116 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on September 28, 2026.

Source: arangodb/spring-data on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.