From 91abce60d41be18001fa0f4606816f710870f18d Mon Sep 17 00:00:00 2001 From: "fatih.bulut" Date: Sun, 21 Jun 2026 02:17:56 +0300 Subject: [PATCH] feat(clone-app): add /clone-app command and README --- plugins/clone-app/README.md | 51 +++++++++++++++++++++++++ plugins/clone-app/commands/clone-app.md | 32 ++++++++++++++++ 2 files changed, 83 insertions(+) create mode 100644 plugins/clone-app/README.md create mode 100644 plugins/clone-app/commands/clone-app.md diff --git a/plugins/clone-app/README.md b/plugins/clone-app/README.md new file mode 100644 index 0000000..fe0206a --- /dev/null +++ b/plugins/clone-app/README.md @@ -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: ". + +The skill pauses twice for your input: choosing the clone stack, and deciding +whether to generate the implementation plan. + +## Output +``` +./work// +├── 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. diff --git a/plugins/clone-app/commands/clone-app.md b/plugins/clone-app/commands/clone-app.md new file mode 100644 index 0000000..3e30be4 --- /dev/null +++ b/plugins/clone-app/commands/clone-app.md @@ -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: +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//clone-report-.md` and +summarize the verdict. If the user approves at Phase 7, invoke +`superpowers:writing-plans` with the report as the spec.