luckybilly/CC — reverse-engineered prompt
Reverse engineered prompt
Build me an Android library called CC that helps a big app move into separate business components little by little, without forcing the old code to be rewritten first.
I want developers to be able to create a component by adding one simple component class, give it a name, expose actions like opening a page or returning data, then let other parts of the app call it through one clean API. The same call style should work inside the app, across processes, and even between two installed apps for debugging separate components.
Please include a matching Gradle plugin that automatically finds and registers components, global interceptors, and JSON helpers, so users don’t have to write registration code by hand. Add a demo Android app with several sample components, including one that can run by itself as its own app, plus examples for callbacks, async calls, page navigation, interceptors, Kotlin component usage, and a js bridge style component.
Keep the setup easy to understand and include clear README docs and troubleshooting logs.
Want more depth? Deep Reverse