build-android-app-from-web
v0.1.0
Published
Install a portable skill that builds Android applications with verified parity to existing web applications.
Maintainers
Readme
Build Android App from Web
Build, continue, audit, or repair an Android application from an existing web product without silently dropping features.
Build Android App from Web gives an AI coding agent an evidence-driven workflow for translating an existing web application's behavior into an appropriate Android experience. It discovers routes, workflows, data effects, states, and integrations; records every capability in a traceable parity contract; adapts browser behavior to Android conventions; and verifies the result at the evidence level the product requires.
The web application is the behavioral source, not a pixel template. The skill preserves user outcomes and product identity while making navigation, lifecycle, permissions, accessibility, offline behavior, and platform integrations native to the Android target.
npx --yes --package=build-android-app-from-web@latest build-android-app-from-web \
--target codex --scope projectnpm package · source · issues
Use it when
- An existing web application must become a native or appropriately hybrid Android application.
- A partial Android client must be compared with the web product before implementation continues.
- Web-to-Android feature gaps need an evidence-backed audit or repair plan.
- Several agents need a dependency-aware capability graph and exclusive implementation boundaries.
- An Android APK must be built with an honest account of build, install, launch, and device verification.
Use a general Android-development workflow instead when no existing web product defines the source behavior. Use a frontend consistency audit when the task concerns only the web interface.
Install and invoke
Node.js 18 or newer is required for the installer. Python 3 is required for the bundled parity-manifest validator. Android implementation requires the target project's JDK, Android SDK, build system, and any emulator or device needed for runtime proof.
The shared installer supports user and project scopes, guarded replacement, dry runs, and the repository's documented agent-host targets.
Use $build-android-app-from-web to build an Android app from this web application, account for every discovered capability, and verify the completed app.Use $build-android-app-from-web to audit this partial Android client against the web application without editing either project.Parity contract
The skill creates a capability graph before broad implementation. Every in-scope capability receives one explicit Android disposition:
- native parity;
- native Android adaptation;
- shared implementation;
- decision required;
- explicitly deferred; or
- not applicable with justification.
The machine-readable parity manifest links source evidence, expected behavior, required states, dependencies, Android implementation locations, verification evidence, blockers, and ownership. A route list, screenshot set, or successful compiler exit cannot substitute for this traceability.
Run the deterministic validator
python3 /absolute/skill/root/scripts/validate_parity_manifest.py \
/absolute/project/path/docs/android-parity.jsonAdd --json for machine-readable diagnostics. The validator checks manifest structure, references, controlled values, and closure rules. It cannot establish that the web inventory is complete, Android behavior works at runtime, screenshots are visually appropriate, or a device journey passes; those require source reconciliation and runtime evidence.
Workflow
- Establish build, resume, audit, or repair mode and the allowed mutations.
- Inspect web source, runtime behavior, contracts, tests, roles, states, and integrations.
- Reconcile routes, controls, data operations, and state branches into a capability graph.
- Classify every capability in the parity manifest before broad Android work.
- Choose native, shared, existing-architecture, or scoped embedded-web behavior per capability.
- Implement dependency-ordered vertical slices including data, UI, navigation, lifecycle, failures, accessibility, and tests.
- Reconcile the finished Android application against the source graph independently when possible.
- Report verified behavior, accepted adaptations, limitations, blockers, and artifact paths.
Bundled resources
build-android-app-from-web/
├── SKILL.md
├── agents/openai.yaml
├── references/
│ ├── android-adaptation.md
│ ├── parity-contract.md
│ ├── source-discovery.md
│ └── verification-gates.md
└── scripts/
└── validate_parity_manifest.pyThe npm package installs only these portable resources. Package tests, fixtures, community files, and release metadata remain development surfaces.
Safety and limits
- Audit and planning requests remain read-only.
- Local implementation does not authorize commits, pushes, deployments, Play Console changes, signing-key operations, store submissions, or production-data mutations.
- Credentials and sensitive user data do not belong in parity manifests, fixtures, logs, screenshots, or reports.
- Inaccessible source areas remain coverage limitations rather than assumed absences.
- A built APK is not described as installed, launched, or journey-verified without the corresponding evidence.
- Platform, SDK, library, permission, and store-policy behavior must be checked against current official Android guidance when it may have changed.
Develop and verify
git clone https://github.com/montasim/skills.git
cd skills
npm ci
npm test --workspace skills/build-android-app-from-web
npm run pack:check --workspace skills/build-android-app-from-webRepository releases additionally run catalog validation, installer smoke tests, Skillfolio checks, archive inspection, and consumer-side verification.
Support, contribution, and license
Use GitHub Issues for reproducible defects. Follow the repository support, contribution, and security guidance.
Built and maintained by Montasim. Optional SupportKori funding supports ongoing compatibility and verification work. Licensed under the MIT License.
