AGENTS.md
app/AGENTS.mdAGENTS.md
Quality
56/100
Scores the file, not the repository.Length
262 words
5 headings · 0 code blocksRepository
62k
— · pushed 0 days agoLast changed
3 days ago
First indexed 3 days ago.1# AGENTS.md (app subproject)23Guidelines for AI models operating inside the `app/` subproject.45## 1. Environment & Gradle Setup67- **Working Directory:** Set working directory to `app/` when working on app code.8- **Environment Wrapper:** Standalone `./gradlew` commands MUST be prefixed with `../scripts/env.py` (e.g., `../scripts/env.py ./gradlew assembleDebug`), or run `./build.py app` from root.910## 2. Architecture & Submodules1112Multi-module Gradle project structure:13- **`:apk`** (`apk/`): Legacy app APK. **Maintenance mode:** No new features should be added here.14- **`:apk-ng`** (`apk-ng/`): Next-gen app variant. Primary target for new UI/app features.15- **`:core`** (`core/`): Core domain logic, resources, Room DB, services. Primary target for core feature development.16- **`:shared`** (`shared/`): Shared utilities and common data structures.17- **`:stub`** (`stub/`): Lightweight stub app loader for hidden installs.18- **`:stub-res`** (`stub-res/`): Stub-specific Android resources.19- **`:test`** (`test/`): Application testing target.20- **`:build-logic`** (`build-logic/`): Custom Gradle plugins and build logic.2122## 3. Development Guidelines2324- **Feature Development:** `:apk` is in maintenance mode. All new development MUST occur in `:core` and `:apk-ng`.25- **Language & UI:** Written in Kotlin/Java. **Prefer Kotlin for all new code.** Uses Jetpack Compose for UI (prefer over View XML).26- **String Resources:** Default strings in `core/src/main/res/values/strings.xml` and `stub-res/src/main/res/values/strings.xml`. Translations go in `values-[lang]/strings.xml`.27- **Data Stack:** Room, KSP, Wire (Protocol Buffers), Moshi.2829## 4. Workflows & Verification (from `app/`)3031Prefix commands with `../scripts/env.py`:32- **Build Main APK (Debug):** `../scripts/env.py ./gradlew :apk:assembleDebug`33- **Build All Variants:** `../scripts/env.py ./gradlew assembleDebug`34- **Build Stub APK:** `../scripts/env.py ./gradlew :stub:assembleDebug`35- **Run Lint:** `../scripts/env.py ./gradlew lint`36- **Run Unit Tests:** `../scripts/env.py ./gradlew test`37- **Clean Artifacts:** `../scripts/env.py ./gradlew clean`38
Also in topjohnwu/Magisk
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| topjohnwu/MagiskAGENTS.md · 62k | AGENTS.md | setupbuildlint-formatarch+2 | 78/100 | 3 days ago | |
| topjohnwu/Magisknative/AGENTS.md · 62k | AGENTS.md | setupbuildtestlint-format+3 | 76/100 | 3 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| OnlyTerp/prompt-cache-skillsAGENTS.md · 112 | AGENTS.md | setupbuildtestlint-format+5 | 100/100 | 3 days ago | |
| n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199k | AGENTS.md | buildteststylearch+3 | 100/100 | 3 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 | |
| SkeneTechnologies/skene-cookbookAGENTS.md · 51 | AGENTS.md | setupbuildtestlint-format+7 | 100/100 | 2 days ago | |
| mui/material-uiAGENTS.md · 99k | AGENTS.md | setupbuildtestlint-format+9 | 100/100 | 3 days ago | |
| trick77/agents-md-syncAGENTS.md · 2 | AGENTS.md | setupbuildteststyle+5 | 100/100 | 3 days ago | |
| aaif-goose/gooseAGENTS.md · 52k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 3 days ago |
