modularization
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "modularization" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-276b70ab61609502cb404e1ca09be8b01fab4a48d6fa17255d2bd1891ff59c3a. Verify the upstream source and version against https://github.com/rcosteira79/android-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Use when writing or modifying any class, object, function, property, or constant in a multi-module Android/Kotlin project (settings.gradle(.kts) includes multiple modules such as :app, :core:*, :feature:*, :data, etc.). Applicable when top-level declarations default to Kotlin public visibility, implementations/mappers/helpers/constants/UI state holders that should be module-internal are accessible from other modules, items are made public because a caller needs access, or when deciding between public and internal visibility.
Introduction source: third_party · rcosteira79 · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Use when writing or changing any class, object, function, property, or constant in a multi-module Android/Kotlin project (settings.gradle(.kts) includes more than one module — :app, :core:*, :feature:*, :data, etc.). Symptoms — a top-level declaration left at Kotlin's default public visibility; an implementation class, mapper, helper, constant, or UI-state holder reachable from another module though only used within its own; reaching for public "because the caller needs it"; "should this be public or internal?".
- Testing
- Not tested
Browse files
Frontmatter
name: modularization
description: Use when writing or changing any class, object, function, property, or constant in a multi-module Android/Kotlin project (settings.gradle(.kts) includes more than one module — :app, :core:*, :feature:*, :data, etc.). Symptoms — a top-level declaration left at Kotlin's default public visibility; an implementation class, mapper, helper, constant, or UI-state holder reachable from another module though only used within its own; reaching for public "because the caller needs it"; "should this be public or internal?".Modularization
Declare everything at the lowest visibility that still compiles. Start private; widen to internal only when another file in the same module needs it; widen to public only when a different module actually consumes it. Kotlin defaults to public, and in a multi-module project that default is usually wrong — a public symbol joins the module's API surface: it leaks implementation across the boundary and you are then obliged to keep it stable.
- Public interface as the module's API → the interface is
public; its implementation class staysinternal(DI-bound, never named from another module). - Mapper / helper / extension / constant / UI-state holder used only inside the module →
internal(orprivateif a single file uses it). "Rendered by a composable in this module" does not requirepublic—internalis visible to the whole module. - Member used only within its class →
private.
Widening a symbol to public is a decision, not a default: confirm a real cross-module consumer first.
Version history
-
v5.2.0
GitHub ↗
Original release notes
First tagged release of the **5.x** line — capturing everything merged since `v3.0.0` (89 commits, 12 PRs). The through-line: repeated roster audits that grew the collection to 21 skills and then trimmed each one to the content that actually earns its place against a strong base model. ## Highlights ### New skills - **`pdf-annotations`** — platform PDF annotation & page-object editing (API 36.1 / SDK-extension-18 surface) (#29) - **`koin`**, **`kmp-boundaries`**, **`modularization`**, **`datastore`**, **`paging`** — added across the roster audits (#4, #6) - **`android-testing`** — renamed and reorganised from `android-tdd`, with the compose reference reorg (#10) ### Roster audits & quality passes - **Sonnet 4.6 baseline audit** — trimmed every skill to its earned core; fixed stale claims across the roster (#13) - **Roster audit v1 / v2** — new skills plus multi-source depth passes across references (#4 → 4.1.0, #6 → 5.0.0) - **JetBrains skills audit** — README link + AGP 9 additions across three skills (#7 → 4.2.0) - **Verified micro-lifts** — debug-log hygiene, perf baseline, pass-through red flag (#12) ### Integrations & maintenance - Integrated findings from **skydoves/android-testing-skills**, with a documented cherry-pick subset (#5, #9) - **Upstream drift watcher** for credited skill repos (#8) - Re-baselined the upstream-audit ledger (#11) - Lint hygiene: stale frontmatter/link fixes (#30) ### This release - Restructured **README** with a centered badge header; the version badge tracks the plugin manifest via a dynamic JSON badge, so it never drifts - Trimmed `pdf-annotations` provenance asides while keeping every API contract and the version gate --- ## What's Changed * Roster audit: 2 new skills, 4 contradiction fixes, depth pass across 8 references (4.1.0) by @rcosteira79 in https://github.com/rcosteira79/android-skills/pull/4 * JetBrains skills audit: README link + AGP 9 additions across 3 skills (4.2.0) by @rcosteira79 in https://github.com/rcosteira79/android-skills/pull/7 * Integrate findings from skydoves/android-testing-skills by @rcosteira79 in https://github.com/rcosteira79/android-skills/pull/5 * Add upstream drift watcher for credited skill repos by @rcosteira79 in https://github.com/rcosteira79/android-skills/pull/8 * Document skydoves cherry-pick subset and breadcrumb it to android-tdd by @rcosteira79 in https://github.com/rcosteira79/android-skills/pull/9 * Roster audit v2: 3 new skills + multi-source depth pass across 13 files (5.0.0) by @rcosteira79 in https://github.com/rcosteira79/android-skills/pull/6 * Rename android-tdd → android-testing + compose reference reorg by @rcosteira79 in https://github.com/rcosteira79/android-skills/pull/10 * chore: re-baseline upstream-audit-ledger (2026-06-01) by @rcosteira79 in https://github.com/rcosteira79/android-skills/pull/11 * Verified micro-lifts: debug-log hygiene, perf baseline, pass-through red flag by @rcosteira79 in https://github.com/rcosteira79/android-skills/pull/12 * Audit the android-skills roster against the Sonnet 4.6 baseline — trim to the earned core by @rcosteira79 in https://github.com/rcosteira79/android-skills/pull/13 * Add pdf-annotations skill: platform PDF annotation & page-object editing by @rcosteira79 in https://github.com/rcosteira79/android-skills/pull/29 * Fix stale skill frontmatter/link (lint hygiene) by @rcosteira79 in https://github.com/rcosteira79/android-skills/pull/30 **Full Changelog**: https://github.com/rcosteira79/android-skills/compare/v3.0.0...v5.2.0
-
v3.0.0
GitHub ↗
Original release notes
## Highlights The 3.0.0 cycle adds a new networking skill for KMP, sharper guidance across existing skills via paired RIGHT/WRONG examples, and integration with Google's `android` CLI for runtime UI inspection and authoritative documentation lookup. ## New skill - **`kmp-ktor`** — Ktor client setup for Kotlin Multiplatform and Android: per-platform engine selection (OkHttp/Darwin/CIO), `kotlinx.serialization` with the `encodeDefaults` guard, bearer token auth with refresh via the `Auth` plugin and `markAsRefreshTokenRequest()`, `MockEngine` testing, and `DataError` mapping at the repository boundary. ## Skill improvements - RIGHT vs WRONG sections added to four skills: `kotlin-flows`, `android-retrofit`, `coil-compose`, `android-data-layer` - `compose` skill: Authoritative Docs section using `android docs search` - `android-debugging` skill: Runtime UI Inspection via `android layout` - `compose/references/performance.md`: `android layout --diff` as a CLI alternative to Android Studio's Layout Inspector ## Tooling and documentation - Google's `android` CLI documented as a recommended companion tool - `android-source-explorer-mcp` promoted from optional to recommended - README restructured: agent install steps first, companion tools last - Related Projects expanded with `compose-skill` (Meet-Miyani), `compose_skill` (hamen), and `android-reverse-engineering-skill` ## Inspiration credits The `kmp-ktor` skill draws on the Ktor reference structure from [Meet-Miyani/compose-skill](https://github.com/Meet-Miyani/compose-skill).
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 针对多模块 Android/Kotlin 项目中常见的可见性控制问题,提供实用解决方案
- 适用于大型 Android 项目开发者,具有明确的工程价值
Highlights
- 触发描述清晰完整,覆盖多种典型症状和使用场景
- 边界定义明确,能有效区分适用与不适用情况
Highlights
- 文档结构清晰,包含核心原则、具体规则和示例
- frontmatter 完整,内容组织良好,易于理解执行
Highlights
- 提供的是编码规范建议,不涉及复杂执行流程,可靠性高
- 原则明确,易于在实际开发中应用
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.