Analyze app
Android app static analysis — build navigation map, API scenarios, and View state mapFrom its SKILL.md
npx -y skills add panicgit/android-test-pilot --skill analyze-appAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.3 KB, as published. Nobody here has run it
Step 0: Android App Static Analysis
Analyze the Android source code in the current project to build a complete app map.
Run all three analyses in order and save results to .claude/app-map/.
0-A. Screen Navigation Flow
Analyze:
AndroidManifest.xmlfor Activity declarations- Source code for
startActivity(),startActivityForResult()calls nav_graph.xml,navigation/*.xmlfor Fragment transitionsIntentcreation patterns
Save to: .claude/app-map/navigation_map.mermaid
Format: Mermaid flowchart showing Activity/Fragment transition relationships.
0-B. API Connections & Response Scenarios
Analyze:
- Retrofit interfaces with
@GET,@POST,@PUT,@DELETEannotations - ViewModel/Repository call sites for each API
- Success (
onSuccess) and error (onError) branches
Save to: .claude/app-map/api_scenarios.json
Format:
{
"apis": [
{
"endpoint": "GET /api/users",
"interfaceFile": "UserApi.kt:15",
"callers": [
{
"file": "UserViewModel.kt:42",
"successHandler": "UserViewModel.kt:45-50",
"errorHandler": "UserViewModel.kt:51-55"
}
]
}
]
}
0-C. View State Mapping
Analyze:
View.VISIBLE,View.GONE,View.INVISIBLEconditionsLiveData.observe(),StateFlow.collect()call sites- DataBinding expressions (
@{viewModel.isLoading}) - RecyclerView adapter data binding
Save to: .claude/app-map/view_state_map.json
Format:
{
"screens": [
{
"name": "LoginActivity",
"file": "LoginActivity.kt",
"states": [
{
"viewId": "btn_login",
"visibilityCondition": "isFormValid && !isLoading",
"dataSource": "LoginViewModel.loginFormState",
"sourceFile": "LoginActivity.kt:67"
}
]
}
]
}
Execution Rules
- Create
.claude/app-map/directory if it doesn't exist. - Run 0-A, 0-B, 0-C in order.
- Save each output file upon completion.
- Print a summary of findings after all analyses complete.