AGENTS.md
AGENTS.mdAGENTS.mdroot
Quality
76/100
Scores the file, not the repository.Length
397 words
10 headings · 0 code blocksRepository
22k
— · pushed 4 days agoLast changed
3 days ago
First indexed 3 days ago.1# Now in Android Project23Now in Android is a native Android mobile application written in Kotlin. It provides regular news4about Android development. Users can choose to follow topics, be notified when new content is5available, and bookmark items.67## Architecture89This project is a modern Android application that follows the official architecture guidance from Google. It is a reactive, single-activity app that uses the following:1011- **UI:** Built entirely with Jetpack Compose, including Material 3 components and adaptive layouts for different screen sizes.12- **State Management:** Unidirectional Data Flow (UDF) is implemented using Kotlin Coroutines and `Flow`s. `ViewModel`s act as state holders, exposing UI state as streams of data.13- **Dependency Injection:** Hilt is used for dependency injection throughout the app, simplifying the management of dependencies and improving testability.14- **Navigation:** Navigation is handled by Jetpack Navigation 2 for Compose, allowing for a declarative and type-safe way to navigate between screens.15- **Data:** The data layer is implemented using the repository pattern.16 - **Local Data:** Room and DataStore are used for local data persistence.17 - **Remote Data:** Retrofit and OkHttp are used for fetching data from the network.18- **Background Processing:** WorkManager is used for deferrable background tasks.1920## Modules2122The main Android app lives in the `app/` folder. Feature modules live in `feature/` and core and shared modules in `core/`.2324## Commands to Build & Test2526The app and Android libraries have two product flavors: `demo` and `prod`, and two build types: `debug` and `release`.2728- Build: `./gradlew assemble{Variant}`. Typically `assembleDemoDebug`.29- Fix linting/formatting: `./gradlew spotlessApply`30- Run local tests: `./gradlew {variant}Test`31- Run single test: `./gradlew {variant}Test --tests "com.example.myapp.MyTestClass"`32- Run local screenshot tests: `./gradlew verifyRoborazziDemoDebug`3334### Instrumented tests3536- Gradle-managed devices to run on device tests: `./gradlew pixel6api31aospDebugAndroidTest`. Also `pixel4api30aospatdDebugAndroidTest` and `pixelcapi30aospatdDebugAndroidTest`.3738### Creating tests3940#### Instrumented tests4142- Tests for UI features should only use `ComposeTestRule` with a `ComponentActivity`.43- Bigger tests live in the `:app` module and they can start activities like `MainActivity`.4445#### Local tests4647- [kotlinx.coroutines](https://github.com/Kotlin/kotlinx.coroutines) for most assertions48- [cashapp/turbine](https://github.com/cashapp/turbine) for complex coroutine tests49- [google/truth](https://github.com/google/truth) for assertions5051## Continuous integration5253- The workflows are defined in `.github/workflows/*.yaml` and they contain various checks.54- Screenshot tests are generated by CI, so they shouldn't be checked into the repo from a workstation.5556## Version control and code location5758- The project uses git and is hosted in https://github.com/android/nowinandroid.59
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| trick77/agents-md-syncAGENTS.md · 2 | AGENTS.md | setupbuildteststyle+5 | 100/100 | 3 days ago | |
| SkeneTechnologies/skene-cookbookAGENTS.md · 51 | AGENTS.md | setupbuildtestlint-format+7 | 100/100 | 2 days ago | |
| duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70 | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| wpscanteam/wpscanAGENTS.md · 9.7k | AGENTS.md | setupbuildteststyle+6 | 100/100 | 2 days ago | |
| OnlyTerp/prompt-cache-skillsAGENTS.md · 112 | AGENTS.md | setupbuildtestlint-format+5 | 100/100 | 3 days ago | |
| mui/material-uiAGENTS.md · 99k | AGENTS.md | setupbuildtestlint-format+9 | 100/100 | 3 days ago | |
| n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199k | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| aaif-goose/gooseAGENTS.md · 52k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 3 days ago |
