feat(clone-app): add /clone-app command and README
This commit is contained in:
parent
42f5020f8b
commit
91abce60d4
|
|
@ -0,0 +1,51 @@
|
||||||
|
# clone-app — Clone Feasibility Analyzer (Claude Code skill)
|
||||||
|
|
||||||
|
Give it a Google Play URL. It downloads the APK, reverse engineers the tech
|
||||||
|
stack and APIs (via the sibling `android-reverse-engineering` plugin), analyzes
|
||||||
|
the app's store presence, estimates **AI-assisted** build effort (in AI Sprints)
|
||||||
|
and monthly infrastructure cost, judges market viability (GO / CONDITIONAL GO /
|
||||||
|
NO GO), and — if you approve — generates a full implementation plan.
|
||||||
|
|
||||||
|
## Requirements
|
||||||
|
- The `android-reverse-engineering` plugin (ships in this same repo).
|
||||||
|
- Java JDK 17+ and jadx (the RE plugin auto-installs jadx if missing).
|
||||||
|
- `curl`, Python 3 (stdlib only), `unzip`.
|
||||||
|
|
||||||
|
## Install
|
||||||
|
```text
|
||||||
|
/plugin marketplace add /path/to/this/repo
|
||||||
|
/plugin install android-reverse-engineering@android-reverse-engineering-skill
|
||||||
|
/plugin install clone-app@android-reverse-engineering-skill
|
||||||
|
```
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
```text
|
||||||
|
/clone-app https://play.google.com/store/apps/details?id=com.example.app
|
||||||
|
```
|
||||||
|
Or natural language: "Analyze this Play Store app for cloning: <url>".
|
||||||
|
|
||||||
|
The skill pauses twice for your input: choosing the clone stack, and deciding
|
||||||
|
whether to generate the implementation plan.
|
||||||
|
|
||||||
|
## Output
|
||||||
|
```
|
||||||
|
./work/<package>/
|
||||||
|
├── app.apk | app.xapk
|
||||||
|
├── output/ # decompiled sources + Kotlin name maps
|
||||||
|
├── play.json # store metrics
|
||||||
|
├── appstore.json # iOS presence
|
||||||
|
└── clone-report-YYYY-MM-DD.md
|
||||||
|
```
|
||||||
|
|
||||||
|
## Keeping the RE plugin up to date
|
||||||
|
This repo is a fork. To pull upstream improvements:
|
||||||
|
```bash
|
||||||
|
git remote add upstream https://github.com/SimoneAvogadro/android-reverse-engineering-skill.git
|
||||||
|
git pull upstream master
|
||||||
|
```
|
||||||
|
The clone-app plugin lives in its own directory, so upstream updates to
|
||||||
|
`android-reverse-engineering` merge cleanly.
|
||||||
|
|
||||||
|
## Legal
|
||||||
|
For lawful use only — your own apps, authorized interoperability, security
|
||||||
|
research, or education. You are responsible for compliance.
|
||||||
|
|
@ -0,0 +1,32 @@
|
||||||
|
---
|
||||||
|
allowed-tools: Bash, Read, Glob, Grep, Write, Edit, WebFetch, WebSearch, Skill
|
||||||
|
description: Analyze a Google Play app for cloning — RE, effort, market viability, optional plan
|
||||||
|
user-invocable: true
|
||||||
|
argument-hint: <Google Play URL or package name>
|
||||||
|
argument: Google Play URL or package name (optional)
|
||||||
|
---
|
||||||
|
|
||||||
|
# /clone-app
|
||||||
|
|
||||||
|
Run the full clone-feasibility workflow on a Google Play app.
|
||||||
|
|
||||||
|
## Instructions
|
||||||
|
|
||||||
|
Follow the clone-app skill workflow in
|
||||||
|
`${CLAUDE_PLUGIN_ROOT}/skills/clone-app/SKILL.md` exactly, phases 0 through 7.
|
||||||
|
|
||||||
|
### Step 1: Get the target
|
||||||
|
If the user passed a URL or package name as an argument, use it. Otherwise ask
|
||||||
|
for the Google Play URL or package name.
|
||||||
|
|
||||||
|
### Step 2: Run the skill
|
||||||
|
Execute Phase 0 → Phase 7 from SKILL.md. Pause for the user at:
|
||||||
|
- Phase 4 (stack choice),
|
||||||
|
- Phase 7 (proceed to implementation plan?).
|
||||||
|
|
||||||
|
Honor the Error Handling Summary table in SKILL.md at every phase.
|
||||||
|
|
||||||
|
### Step 3: Deliver
|
||||||
|
Ensure the report is written to `./work/<package>/clone-report-<date>.md` and
|
||||||
|
summarize the verdict. If the user approves at Phase 7, invoke
|
||||||
|
`superpowers:writing-plans` with the report as the spec.
|
||||||
Loading…
Reference in New Issue