Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/guillemroca/agent-skills-android/source-driven-developmentnpx skills add GuillemRoca/agent-skills-android --skill source-driven-developmentgit clone --depth 1 https://github.com/GuillemRoca/agent-skills-androidWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/guillemroca/agent-skills-android/source-driven-development)<a href="https://agentmods.dev/skills/guillemroca/agent-skills-android/source-driven-development"><img src="https://agentmods.dev/badge/skills/guillemroca/agent-skills-android/source-driven-development.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00040 | $0.01517 |
| Opus 5 | $0.00020 | $0.00758 |
| Sonnet 5 | $0.00008 | $0.00303 |
| Haiku 4.5 | $0.00004 | $0.00152 |
Grade A, and why
source-driven-development scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 167 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Source-Driven Development
Overview
Every framework-specific decision must be backed by official documentation. Don't guess at APIs, don't rely on outdated patterns, don't trust Stack Overflow answers for current behavior. Fetch the source, read it, implement from it, and cite it.
When to Use
- Implementing any Jetpack library feature (Compose, Room, Navigation, WorkManager, etc.)
- Using Android platform APIs (permissions, intents, lifecycle)
- Configuring Gradle plugins or build system features
- Integrating third-party libraries (Retrofit, Hilt, Coil, etc.)
- Unsure about the correct API for a given Android version
Skip when: Using internal project code that doesn't touch framework APIs.
Source Authority Hierarchy
| Priority | Source | Example |
|---|---|---|
| 1 (highest) | Official Android docs | developer.android.com, kb:// URIs from android docs fetch |
| 2 | Official library docs | Kotlin docs, Hilt docs, Retrofit docs |
| 3 | AndroidX release notes | developer.android.com/jetpack/androidx/releases |
| 4 | Official blog posts | android-developers.googleblog.com |
| 5 | Material Design docs | m3.material.io |
| 6 | Source code (AndroidX, AOSP) | cs.android.com, GitHub mirrors |
| Never | Stack Overflow, tutorials, AI summaries, Medium posts | — |
Core Process
Step 1: Detect Stack and Versions
- Read
build.gradle.ktsto determine:compileSdk,minSdk,targetSdk- Compose compiler version and BOM version
- Library versions (Room, Hilt, Navigation, etc.)
- Kotlin version
// Example: build.gradle.kts
android {
compileSdk = 37 // Android 17; requires AGP 9.1.1+
defaultConfig {
minSdk = 26
targetSdk = 37
}
}
dependencies {
implementation(platform("androidx.compose:compose-bom:2025.01.00"))
implementation("androidx.room:room-runtime:2.7.0")
}
Step 2: Fetch Official Documentation
- Go to the source for every framework API:
- Compose: developer.android.com/develop/ui/compose
- Room: developer.android.com/training/data-storage/room
- Hilt: dagger.dev/hilt/
- Navigation: developer.android.com/guide/navigation
- WorkManager: developer.android.com/develop/background-work/persistent
- Kotlin: kotlinlang.org/docs
- Material 3: m3.material.io/develop/android
- Coroutines: kotlinlang.org/docs/coroutines-guide.html
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago First seen · 167 lines · 40 tokens per session scan A fe96e96cb1de
source-driven-development is a skill published in the GitHub repository GuillemRoca/agent-skills-android (2 stars, last pushed 2mo ago), licensed MIT. It adds 40 tokens to every session and 1,517 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
foundation-models-on-device
Apple FoundationModels framework for on-device LLM — text generation, guided generation with @Generable, tool calling, and snapshot streaming in iOS 26+.
swift-concurrency-6-2
Swift 6.2 Approachable Concurrency — single-threaded by default, @concurrent for explicit background offloading, isolated conformances for main actor types.
swiftui-patterns
SwiftUI architecture patterns, state management with @Observable, view composition, navigation, performance optimization, and modern iOS/macOS UI best practices.
swift-protocol-di-testing
Protocol-based dependency injection for testable Swift code — mock file system, network, and external APIs using focused protocols and Swift Testing.
swift-actor-persistence
Thread-safe data persistence in Swift using actors — in-memory cache with file-backed storage, eliminating data races by design.
sleek-design-mobile-apps
Use when the user wants to design a mobile app, create screens, build UI, or interact with their Sleek projects. Covers high-level requests ("design an app that does X") and specific ones ("list my projects", "create a new project", "screenshot that screen").