RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/AGENTS.md/coil-kt/coil

AGENTS.md

AGENTS.md
AGENTS.mdroot

Quality

79/100

Scores the file, not the repository.

Length

342 words

6 headings · 0 code blocks

Repository

12k

— · pushed 3 days ago

Last changed

3 days ago

First indexed 3 days ago.
coil-kt/coil/AGENTS.mdRawGitHub
1# Repository Guidelines
2 
3## Project Structure & Module Organization
4This is a Kotlin Multiplatform monorepo built with Gradle. Public library modules live at the repository root (for example `coil-core`, `coil-compose`, `coil-network-okhttp`, `coil-gif`, `coil-svg`, `coil-video`, `coil-test`, `coil-bom`). Internal tooling and test support modules are under `internal/`, and runnable examples are under `samples/` (`samples:compose`, `samples:compose-android`, `samples:view`).
5 
6Most modules use source sets like `src/commonMain`, `src/commonTest`, `src/androidMain`, `src/androidUnitTest`, and `src/androidInstrumentedTest`. Documentation content lives in `docs/`.
7 
8## Build, Test, and Development Commands
9- `./gradlew spotlessCheck`: run Kotlin formatting/lint checks.
10- `./gradlew lint`: run Android lint checks.
11- `./gradlew checkKotlinAbi`: verify public API compatibility.
12- `./gradlew updateKotlinAbi`: refresh ABI baselines when API changes are intentional.
13- `./test.sh`: full local validation used by maintainers (style + unit/instrumentation/screenshot tests).
14- `./gradlew allTests testDebugUnitTest`: run core unit tests quickly.
15- `./gradlew connectedDebugAndroidTest`: run Android instrumentation tests (emulator/device required).
16 
17## Coding Style & Naming Conventions
18Follow `.editorconfig`: UTF-8, LF endings, 4-space indentation, max line length 100, final newline, no trailing whitespace. Kotlin formatting is enforced via Spotless + ktlint (`intellij_idea` style with project-specific rule overrides).
19 
20Match existing naming patterns: packages under `coil3.*`, types in `UpperCamelCase`, members in `lowerCamelCase`, constants in `UPPER_SNAKE_CASE`. Keep file names aligned with primary types (for example `NetworkFetcher.kt`).
21 
22## Testing Guidelines
23Tests use Kotlin Test/JUnit, Robolectric, Android instrumentation, and screenshot tooling (Paparazzi/Roborazzi/Compose screenshot validation). Name test files `*Test.kt` and place them in the appropriate source set (`commonTest`, `androidUnitTest`, etc.).
24 
25For bug fixes, add or update a failing test first when possible. Run `./test.sh` before opening a PR.
26 
27## Commit & Pull Request Guidelines
28Use concise, imperative commit subjects (for example `Fix macOS test flakiness`). Dependency updates commonly use Conventional Commit style (for example `fix(deps): ...` or `chore(deps): ...`).
29 
30PRs should include:
31- A clear summary of what changed and why.
32- Linked issue(s) when applicable.
33- Test evidence (commands run, and screenshots for UI/screenshot test changes).
34- Updated ABI files when public API changes are intentional.
35- Add the following text at the end of the last line of the PR description: `review-path-agent`.
36 
37Before submitting, ensure `./test.sh` passes locally.
38 

Commands it names

  • ./gradlew spotlessCheck
  • ./gradlew lint
  • ./gradlew checkKotlinAbi
  • ./gradlew updateKotlinAbi
  • ./gradlew allTests testDebugUnitTest
  • ./gradlew connectedDebugAndroidTest

Sections

  • Repository Guidelines
  • Project Structure & Module Organization
  • Build, Test, and Development Commands
  • Coding Style & Naming Conventions
  • Testing Guidelines
  • Commit & Pull Request Guidelines

What it covers

buildtestcode-stylearchitecturegit-pr

Stack — with the evidence

kotlin

(1.00)

java

(0.60)

swift

(0.60)

github-actions

(0.60)

Format

AGENTS.md

A plain-markdown README for coding agents, deliberately unopinionated: no frontmatter, no globs, no vendor keys. That minimalism is why it became the one file a dozen different agents will read, and why it carries the least per-file targeting power of any format here.

What the corpus says about it

Repository

Owner
coil-kt
Language
—
License
—
Archived
no

All configs in this repo

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70AGENTS.mdtypescriptjavascript+5buildteststylearch+3100/1003 days ago
elastic/elasticsearchx-pack/plugin/inference/AGENTS.md · 78kAGENTS.mdjavanode+4buildtestlint-formatstyle+3100/1003 days ago
elastic/elasticsearchx-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/AGENTS.md · 78kAGENTS.mdjavanode+4buildtestlint-formatstyle+2100/1003 days ago
react/react-nativepackages/react-native-compatibility-check/AGENTS.md · 126kAGENTS.mdreactreact-native+11testlint-formatstylearch+499/1003 days ago
tiann/KernelSUAGENTS.md · 18kAGENTS.mdkotlinvue+3setupbuildlint-formatstyle+497/1003 days ago
kurikomi-labs/komi-storeAGENTS.md · 17kAGENTS.mdkotlinjava+1buildlint-formatstylearch+197/1003 days ago
alibaba/nacosAGENTS.md · 33kAGENTS.mdjavanode+8buildtestlint-formatstyle+696/1003 days ago
duckdb/duckdbAGENTS.md · 40kAGENTS.mdcppswift+1buildtestlint-formatstyle+896/100today
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack