[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F0D2Z9NJAVWDX8HFVS11FY":3,"skill-same:01M6F0D2Z9NJAVWDX8HFVS11FY":176},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":51,"repositoryHtmlUrl":52,"repositoryHomepageUrl":6,"ownerHtmlUrl":53,"ownerBlogUrl":6,"ownerDescription":54,"updatedAt":55,"install":56,"resources":69},"01M6F0D2Z9NJAVWDX8HFVS11FY","android-project-generator",null,"Generate Android projects that compile on the first real build, including optional JNI\u002FNDK\u002FCMake native setup. Use when creating new Android apps, configuring Gradle and version compatibility, validating assembleDebug readiness, or adding native modules.","luokai0\u002Fai-agent-skills-by-luo-kai","luokai0","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F266954973?v=4","01M6E16VNT42JB8B3X3254QWJ7","luo kai","01M6E16VTFVP6S5XJF1V1MPV90",14,"MIT","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fandroid-project-generator\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"android project generator","project","android","modules","native","apps","readiness","gradle","compatibility","build","mobile","version","use","生成","projects","first","compile","generate","cmake","setup","2026-11-10 10:12:30",false,"---\r\nname: android-project-generator\ndescription: Generate Android projects that compile on the first real build, including optional JNI\u002FNDK\u002FCMake native setup. Use when creating new Android apps, configuring Gradle and version compatibility, validating assembleDebug readiness, or adding native modules.\ndescription_en: Generate Android projects that compile on the first real build, including optional JNI\u002FNDK\u002FCMake native setup. Use when creating new Android apps, configuring Gradle and version compatibility, validating assembleDebug readiness, or adding native modules.\ndescription_zh: 生成以首次真实构建通过为目标的 Android 工程，并支持可选的 JNI\u002FNDK\u002FCMake Native 集成。当你需要创建新 Android 应用、配置 Gradle 与版本兼容性、验证 assembleDebug 可构建性，或接入 Native 模块时使用此技能。\nlicense: MIT\nmetadata:\n  author: oahcfly\n  version: 1.3.0\n  category: mobile\n---\n\r\n# Android Project Generator Skill\r\n\r\n## Purpose\r\n\r\nEnsure AI-generated Android projects compile successfully on the first attempt by providing:\n\r\n1. **Version compatibility knowledge** — AGP\u002FGradle\u002FJDK\u002FKotlin version matrices\r\n2. **Standardized configuration templates** — Complete, working Gradle configurations\r\n3. **Environment detection** — Adapt to local JDK\u002FSDK versions\r\n4. **Post-generation validation** — Verify compilation succeeds\n5. **APK build orchestration** — Distinguish between scaffolding-only, build-failed, and compiled APK states\n6. **Native integration guidance** — Detect native intent and scaffold JNI\u002FNDK\u002FCMake-compatible project configuration\n\r\n## Runtime & Safety Requirements\r\n\r\nBefore using this skill on a production or sensitive machine, verify:\r\n\r\n- Required binaries are present in PATH: `python`, `java`, and at least one of `gradle`\u002F`gradlew`.\r\n- Android tooling is installed on disk for real build validation: Android SDK (platforms\u002Fbuild-tools\u002Fcmdline-tools\u002Flicenses), and optional NDK+CMake for native flows.\r\n- Environment variables are correctly scoped: `JAVA_HOME` (recommended), `ANDROID_HOME` or `ANDROID_SDK_ROOT`, optional `ANDROID_NDK_HOME` or `NDK_HOME` for native workflows.\r\n- Local command execution is acceptable in the current host policy.\r\n- Device interactions (`adb install`, `adb shell am start`) are allowed for connected devices\u002Femulators.\r\n- Build-time network access is acceptable (for Gradle wrapper\u002Fdependency resolution).\r\n\r\nThis skill runs local commands and may perform build\u002Fdevice operations; treat it as operational code, not documentation-only guidance. It does not request API keys, tokens, or cloud credentials by design.\r\n\r\n## Credentials\r\n\r\nThis skill does not require cloud credentials, API keys, or tokens.\r\n\r\nIt does rely on local environment variables and installed binaries\u002Ftooling:\r\n\r\n- Env vars inspected\u002Fused: `JAVA_HOME`, `ANDROID_HOME`\u002F`ANDROID_SDK_ROOT`, and for native projects `ANDROID_NDK_HOME`\u002F`NDK_HOME`.\r\n- Binaries\u002Ftooling expected: `java`, `gradle`\u002F`gradlew`, Android SDK\u002FNDK on disk, and optional `adb` for install\u002Flaunch verification.\r\n\r\nThe scripts do not intentionally exfiltrate data, but they do run subprocesses that may:\r\n\r\n- access network resources (for Gradle wrapper\u002Fdependency downloads)\r\n- interact with attached devices\u002Femulators (`adb`)\r\n\r\n## When to Use This Skill\r\n\r\nTrigger this skill when:\n- Creating a new Android project from scratch\n- Generating Gradle configuration files (`build.gradle.kts`, `settings.gradle.kts`)\n- Setting up Android project structure\n- Adding or planning C\u002FC++ native code (`JNI`, `NDK`, `CMake`, `externalNativeBuild`)\n- User asks to \"create an Android app\" or \"generate an Android project\"\n- Debugging Gradle version compatibility issues\n\r\n## Workflow\r\n\r\n### Phase 1: Audit the Build Environment First\n\nIf the project is meant to build on the current machine, do not generate files yet. Audit the environment first:\n\n```bash\npython scripts\u002Fdetect_env.py\n```\n\nTreat this phase as mandatory for local project generation because most \"AI generated Android project won't compile\" failures are environment mismatches, not template mistakes.\n\nThis outputs:\n- JDK version → determines AGP version range\n- `JAVA_HOME` configuration and version\n- `PATH` java executable and version\n- Gradle CLI JDK source (`JAVA_HOME` vs `PATH`)\n- Android SDK path and build-tools versions\n- Installed Android platforms\n- cmdline-tools \u002F licenses readiness\n- NDK version (if present)\n- Recommended configuration for the detected environment\n- Environment assessment with blocking issues and warnings\n\nIf `ready_for_build` is false:\n- Explain the blocking issues clearly\n- Prefer fixing the environment before generating a \"build-ready\" project\n- If the user still wants files generated, say the project is scaffolding-only until the environment issues are fixed\n\nIf the environment status is `degraded`:\n- Explain why the build is risky rather than blocked\n- Most commonly this means JDK 17 exists but `JAVA_HOME` is missing, so Gradle is falling back to `PATH`\n- Recommend aligning Android Studio, CLI Gradle, and project-level JDK configuration before claiming the build setup is stable\n\n### Phase 2: Select Configuration Profile\n\nBase the profile on audited environment data, not guesswork:\n\r\n| Profile | AGP | Gradle | JDK | Use Case |\r\n|---------|-----|--------|-----|----------|\r\n| stable | 8.7.0 | 8.9 | 17+ | Recommended for most projects |\r\n| latest | 9.1.0 | 9.3.1 | 17+ | New features, Android 16+ |\r\n| legacy | 7.4.2 | 7.5 | 11+ | Older environments |\r\n\r\n**Default to \"stable\" profile only when the environment is ready for it.**\n\nUse this decision order:\n1. If JDK 17+, `platforms\u002Fandroid-35`, and build-tools are present → use `stable`\n2. If user explicitly wants Android 16 \u002F newest APIs and the environment supports it → use `latest`\n3. If JDK is 11-16 → use `legacy`\n4. If the environment is incomplete → stop and surface what is missing before claiming the project is build-ready\n\nNative 触发策略（`native_enabled`）：\n- 默认 `native_enabled = false`\n- 如果提示词命中强信号（如 `JNI`、`NDK`、`CMake`、`externalNativeBuild`、`C++`、`native library`、`原生模块`）→ 自动切到 `native_enabled = true`\n- 如果只命中弱信号（如 `native`、`底层`、`性能优化`）→ 先标记候选并二次确认，再决定是否开启\n- 若用户显式指定（例如 `native_enabled=true\u002Ffalse`），显式配置优先于关键词推断\n\nAdditional JDK rules:\n- Prefer a clearly configured `JAVA_HOME` over an accidental `PATH` java\n- If `JAVA_HOME` and `PATH` java disagree, treat that as a reproducibility risk and explain it\n- Prefer a project-level Gradle JDK setting for long-term consistency\n\n### Phase 3: Generate Project Structure\n\nAlways create the complete file structure:\n\r\n```\r\nProjectName\u002F\r\n├── settings.gradle.kts\r\n├── build.gradle.kts\r\n├── gradle.properties\r\n├── gradle\u002F\r\n│   └── wrapper\u002F\r\n│       └── gradle-wrapper.properties\r\n├── gradlew\r\n├── gradlew.bat\r\n├── app\u002F\r\n│   ├── build.gradle.kts\r\n│   ├── src\u002F\r\n│   │   └── main\u002F\r\n│   │       ├── AndroidManifest.xml\r\n│   │       ├── java\u002Fcom\u002Fexample\u002Fproject\u002F\r\n│   │       │   └── MainActivity.kt\r\n│   │       └── res\u002F\r\n│   │           ├── layout\u002F\r\n│   │           │   └── activity_main.xml\r\n│   │           ├── values\u002F\r\n│   │           │   ├── strings.xml\r\n│   │           │   └── themes.xml\r\n│   │           └── mipmap-*\u002F\r\n│   │               ├── ic_launcher.png\r\n│   │               └── ic_launcher_round.png\r\n│   └── proguard-rules.pro\r\n└── local.properties (create when sdk path is known and immediate CLI build is expected)\n```\n\nImportant:\n- Do not stop at \"mostly complete\"\n- The generated project is not considered ready until wrapper files and validation are in place\n- If SDK path is known and the goal is immediate command-line build, create `local.properties` with `sdk.dir=...` to reduce local environment ambiguity\n- If the machine has JDK 17 but no stable project-level JDK selection, recommend `GRADLE_LOCAL_JAVA_HOME` or equivalent project-scoped JDK binding\n\n### Phase 4: Use Configuration Templates\n\nLoad templates from `references\u002Fconfig-templates.md`:\n\r\n- Use the \"Golden Configuration: Stable\" section for the \"stable\" profile\n- Use the \"China Mirror\" variant for users in China (detected by locale or explicit request)\n- Replace placeholders: `MyApp`, `com.example.myapp`, `com.example.myapp.MainActivity`\n- Keep `namespace`, `applicationId`, source package path, and theme names aligned\n- If generating a project that must build immediately, prefer the template path that includes `local.properties`\n\n### Phase 5: Make Gradle Wrapper Real, Not Placeholder\n\nBefore reporting the project as buildable, ensure the wrapper is genuinely usable:\n\n- Required files:\n  - `gradlew`\n  - `gradlew.bat`\n  - `gradle\u002Fwrapper\u002Fgradle-wrapper.properties`\n  - `gradle\u002Fwrapper\u002Fgradle-wrapper.jar`\n- A `gradle-wrapper.properties` file alone is not enough\n- Placeholder scripts are not acceptable for a claimed \"first build succeeds\" result\n\nUse one of these approaches:\n1. Copy wrapper files from a known-good template project\n2. Generate them with `gradle wrapper --gradle-version \u003Ctarget-version>` if Gradle is installed\n3. If neither is possible, explicitly say wrapper generation is incomplete and do not claim the project is ready for `assembleDebug`\n\nYou can use `scripts\u002Fproject_validator.py` logic as the acceptance bar:\n- invalid package name => block\n- missing wrapper jar => block\n- placeholder wrapper scripts => block\n\n### Phase 6: Validate Compilation with a Real Build Loop\n\nAfter generating all files, **MUST** run:\n\n```bash\n.\u002Fgradlew assembleDebug\n```\n\nIf compilation fails:\n1. Read the error message carefully\n2. Check version compatibility in `references\u002Fversion-matrix.md`\n3. Check whether the failure is really caused by environment readiness, wrapper incompleteness, or template\u002Fconfig mismatch\n4. Fix one root cause at a time and retry\n5. Do not report success until `assembleDebug` passes with the generated project\n\nIf the wrapper is unavailable or the environment is missing mandatory SDK components:\n- Do not present the project as \"verified buildable\"\n- Say exactly which prerequisite prevented real verification\n\n### Phase 7: Confirm APK Output and Runtime Readiness\n\nAfter `assembleDebug`, verify that the debug APK really exists:\n\n```text\napp\u002Fbuild\u002Foutputs\u002Fapk\u002Fdebug\u002Fapp-debug.apk\n```\n\nUse `scripts\u002Fbuild_flow.py` concepts as the final status model:\n\n- `scaffolding_only`\n  - Files were generated\n  - Build was not attempted because the environment was blocked\n- `build_failed`\n  - Gradle ran, but `assembleDebug` failed or no APK was produced\n- `compiled`\n  - `assembleDebug` succeeded and the debug APK exists\n\nIf a device or emulator is available, continue one more step:\n\n- install the debug APK\n- launch the main activity\n- only then classify the project as `runnable`\n\nAdditional final states:\n\n- `install_failed`\n  - APK exists\n  - installation to device\u002Femulator failed\n- `launch_failed`\n  - APK installed\n  - main activity launch failed\n- `runnable`\n  - APK built\n  - APK installed\n  - main activity launched successfully\n\nOnly the `compiled` state should be described as:\n- environment normal\n- project buildable\n- APK produced\n\nOnly the `runnable` state should be described as:\n- environment normal\n- project buildable\n- app installable\n- app launch verified on device or emulator\n\r\n## Reference Files\r\n\r\n### Version Compatibility Matrix\r\n\r\nSee `references\u002Fversion-matrix.md` for:\r\n- AGP 9.x \u002F 8.x \u002F 7.x version requirements\r\n- Kotlin compatibility with AGP\r\n- Gradle Wrapper configuration\r\n\r\nKey rules:\r\n- AGP 8.0+ requires JDK 17 (non-negotiable)\r\n- AGP 9.x requires Gradle 9.1+\r\n- Always check the matrix when in doubt\r\n\r\n### Configuration Templates\r\n\r\nSee `references\u002Fconfig-templates.md` for:\r\n- Complete `settings.gradle.kts` template\r\n- Project-level and module-level `build.gradle.kts`\r\n- `gradle.properties` defaults\r\n- `gradle-wrapper.properties` format\r\n- Minimal `MainActivity.kt` and `AndroidManifest.xml`\r\n- China mirror configuration\r\n\r\n## Environment Detection Script\r\n\r\n`scripts\u002Fdetect_env.py` provides:\r\n\r\n- JDK version detection (parses `java -version` output)\r\n- Android SDK path discovery (ANDROID_HOME, ANDROID_SDK_ROOT, common paths)\r\n- Build-tools version listing\r\n- NDK version detection\r\n- Recommended configuration based on detected JDK\r\n\r\nRun this script to adapt the generated project to the user's actual environment.\r\n\r\n## Critical Rules\r\n\r\n1. **Never skip the validation step** — Always run `.\u002Fgradlew assembleDebug`\n2. **JDK 17 is mandatory for AGP 8.x+** — Do not generate AGP 8.x config if JDK \u003C 17\n3. **Use Kotlin DSL (.kts)** — Groovy DSL is legacy, prefer `build.gradle.kts`\n4. **Set correct namespace** — AGP 8.0+ requires namespace in build.gradle, not manifest\n5. **A real wrapper is mandatory for build claims** — Do not rely on placeholder scripts\n6. **Create `local.properties` when immediate local CLI build is required and sdk path is known**\n7. **Prefer explicit JDK selection** — Align `JAVA_HOME`, Android Studio Gradle JDK, and project-level Gradle JDK settings\n8. **Use Java toolchains** — Declare the required Java toolchain instead of relying only on machine defaults\n9. **Use Version Catalog for complex projects** — Consider `gradle\u002Flibs.versions.toml` for larger projects\n\r\n## Common Mistakes to Avoid\r\n\r\n| Mistake | Fix |\r\n|---------|-----|\r\n| Missing `namespace` in app\u002Fbuild.gradle.kts | Add `namespace = \"com.example.myapp\"` in `android {}` block |\r\n| Wrong JDK version for AGP 8.x | Use AGP 7.x if JDK \u003C 17, or instruct user to install JDK 17 |\n| Inconsistent AGP\u002FGradle versions | Check `version-matrix.md`, use recommended pairs |\n| Missing or fake Gradle Wrapper files | Always include `gradlew`, `gradlew.bat`, `gradle-wrapper.properties`, and `gradle-wrapper.jar` |\n| Wrong `compileSdk` for AGP version | AGP 8.7+ requires `compileSdk = 35`, AGP 9.x requires `compileSdk = 36` |\n| Missing SDK platform or build-tools | Check environment audit before generation; install missing SDK components first |\n| Build verified only in theory | Do not claim success without a real `assembleDebug` run |\n| `JAVA_HOME` missing but PATH java exists | Treat as degraded, not fully stable; recommend explicit JDK configuration |\n| `JAVA_HOME` and PATH java point to different JDKs | Explain that Gradle CLI will prefer `JAVA_HOME`, which can differ from shell expectations |\n| `assembleDebug` succeeded but no APK found | Treat as build verification failure until `app-debug.apk` is confirmed |\n| APK exists but install fails | Treat as `install_failed`; do not claim the app is runnable |\n| Install succeeds but launch fails | Treat as `launch_failed`; do not claim runtime verification passed |\n\r\n## Example Usage\r\n\r\n**User:** \"Create a new Android project called TodoApp\"\r\n\r\n**AI Response:**\r\n\r\n1. Load this skill\r\n2. Run `detect_env.py` (if possible)\n3. Check the environment assessment and confirm it is ready for a stable build\n4. Select \"stable\" profile (AGP 8.7.0, Gradle 8.9)\n5. Generate complete project structure from templates\n6. Replace placeholders: `MyApp` → `TodoApp`, `com.example.myapp` → `com.example.todoapp`\n7. Ensure real wrapper files exist, not placeholders\n8. Run `.\u002Fgradlew assembleDebug`\n9. Confirm `app\u002Fbuild\u002Foutputs\u002Fapk\u002Fdebug\u002Fapp-debug.apk` exists\n10. If a device or emulator is available, install the APK and launch the main activity\n11. Report `compiled` only if build + APK verification pass\n12. Report `runnable` only if build + install + launch all pass\n\n---\n\nThis skill transforms Android project generation from a guessing game into an audited, verifiable build process.\n","# Android Project Generator Skill\r\n\r\n## Purpose\r\n\r\nEnsure AI-generated Android projects compile successfully on the first attempt by providing:\n\r\n1. **Version compatibility knowledge** — AGP\u002FGradle\u002FJDK\u002FKotlin version matrices\r\n2. **Standardized configuration templates** — Complete, working Gradle configurations\r\n3. **Environment detection** — Adapt to local JDK\u002FSDK versions\r\n4. **Post-generation validation** — Verify compilation succeeds\n5. **APK build orchestration** — Distinguish between scaffolding-only, build-failed, and compiled APK states\n6. **Native integration guidance** — Detect native intent and scaffold JNI\u002FNDK\u002FCMake-compatible project configuration\n\r\n## Runtime & Safety Requirements\r\n\r\nBefore using this skill on a production or sensitive machine, verify:\r\n\r\n- Required binaries are present in PATH: `python`, `java`, and at least one of `gradle`\u002F`gradlew`.\r\n- Android tooling is installed on disk for real build validation: Android SDK (platforms\u002Fbuild-tools\u002Fcmdline-tools\u002Flicenses), and optional NDK+CMake for native flows.\r\n- Environment variables are correctly scoped: `JAVA_HOME` (recommended), `ANDROID_HOME` or `ANDROID_SDK_ROOT`, optional `ANDROID_NDK_HOME` or `NDK_HOME` for native workflows.\r\n- Local command execution is acceptable in the current host policy.\r\n- Device interactions (`adb install`, `adb shell am start`) are allowed for connected devices\u002Femulators.\r\n- Build-time network access is acceptable (for Gradle wrapper\u002Fdependency resolution).\r\n\r\nThis skill runs local commands and may perform build\u002Fdevice operations; treat it as operational code, not documentation-only guidance. It does not request API keys, tokens, or cloud credentials by design.\r\n\r\n## Credentials\r\n\r\nThis skill does not require cloud credentials, API keys, or tokens.\r\n\r\nIt does rely on local environment variables and installed binaries\u002Ftooling:\r\n\r\n- Env vars inspected\u002Fused: `JAVA_HOME`, `ANDROID_HOME`\u002F`ANDROID_SDK_ROOT`, and for native projects `ANDROID_NDK_HOME`\u002F`NDK_HOME`.\r\n- Binaries\u002Ftooling expected: `java`, `gradle`\u002F`gradlew`, Android SDK\u002FNDK on disk, and optional `adb` for install\u002Flaunch verification.\r\n\r\nThe scripts do not intentionally exfiltrate data, but they do run subprocesses that may:\r\n\r\n- access network resources (for Gradle wrapper\u002Fdependency downloads)\r\n- interact with attached devices\u002Femulators (`adb`)\r\n\r\n## When to Use This Skill\r\n\r\nTrigger this skill when:\n- Creating a new Android project from scratch\n- Generating Gradle configuration files (`build.gradle.kts`, `settings.gradle.kts`)\n- Setting up Android project structure\n- Adding or planning C\u002FC++ native code (`JNI`, `NDK`, `CMake`, `externalNativeBuild`)\n- User asks to \"create an Android app\" or \"generate an Android project\"\n- Debugging Gradle version compatibility issues\n\r\n## Workflow\r\n\r\n### Phase 1: Audit the Build Environment First\n\nIf the project is meant to build on the current machine, do not generate files yet. Audit the environment first:\n\n```bash\npython scripts\u002Fdetect_env.py\n```\n\nTreat this phase as mandatory for local project generation because most \"AI generated Android project won't compile\" failures are environment mismatches, not template mistakes.\n\nThis outputs:\n- JDK version → determines AGP version range\n- `JAVA_HOME` configuration and version\n- `PATH` java executable and version\n- Gradle CLI JDK source (`JAVA_HOME` vs `PATH`)\n- Android SDK path and build-tools versions\n- Installed Android platforms\n- cmdline-tools \u002F licenses readiness\n- NDK version (if present)\n- Recommended configuration for the detected environment\n- Environment assessment with blocking issues and warnings\n\nIf `ready_for_build` is false:\n- Explain the blocking issues clearly\n- Prefer fixing the environment before generating a \"build-ready\" project\n- If the user still wants files generated, say the project is scaffolding-only until the environment issues are fixed\n\nIf the environment status is `degraded`:\n- Explain why the build is risky rather than blocked\n- Most commonly this means JDK 17 exists but `JAVA_HOME` is missing, so Gradle is falling back to `PATH`\n- Recommend aligning Android Studio, CLI Gradle, and project-level JDK configuration before claiming the build setup is stable\n\n### Phase 2: Select Configuration Profile\n\nBase the profile on audited environment data, not guesswork:\n\r\n| Profile | AGP | Gradle | JDK | Use Case |\r\n|---------|-----|--------|-----|----------|\r\n| stable | 8.7.0 | 8.9 | 17+ | Recommended for most projects |\r\n| latest | 9.1.0 | 9.3.1 | 17+ | New features, Android 16+ |\r\n| legacy | 7.4.2 | 7.5 | 11+ | Older environments |\r\n\r\n**Default to \"stable\" profile only when the environment is ready for it.**\n\nUse this decision order:\n1. If JDK 17+, `platforms\u002Fandroid-35`, and build-tools are present → use `stable`\n2. If user explicitly wants Android 16 \u002F newest APIs and the environment supports it → use `latest`\n3. If JDK is 11-16 → use `legacy`\n4. If the environment is incomplete → stop and surface what is missing before claiming the project is build-ready\n\nNative 触发策略（`native_enabled`）：\n- 默认 `native_enabled = false`\n- 如果提示词命中强信号（如 `JNI`、`NDK`、`CMake`、`externalNativeBuild`、`C++`、`native library`、`原生模块`）→ 自动切到 `native_enabled = true`\n- 如果只命中弱信号（如 `native`、`底层`、`性能优化`）→ 先标记候选并二次确认，再决定是否开启\n- 若用户显式指定（例如 `native_enabled=true\u002Ffalse`），显式配置优先于关键词推断\n\nAdditional JDK rules:\n- Prefer a clearly configured `JAVA_HOME` over an accidental `PATH` java\n- If `JAVA_HOME` and `PATH` java disagree, treat that as a reproducibility risk and explain it\n- Prefer a project-level Gradle JDK setting for long-term consistency\n\n### Phase 3: Generate Project Structure\n\nAlways create the complete file structure:\n\r\n```\r\nProjectName\u002F\r\n├── settings.gradle.kts\r\n├── build.gradle.kts\r\n├── gradle.properties\r\n├── gradle\u002F\r\n│   └── wrapper\u002F\r\n│       └── gradle-wrapper.properties\r\n├── gradlew\r\n├── gradlew.bat\r\n├── app\u002F\r\n│   ├── build.gradle.kts\r\n│   ├── src\u002F\r\n│   │   └── main\u002F\r\n│   │       ├── AndroidManifest.xml\r\n│   │       ├── java\u002Fcom\u002Fexample\u002Fproject\u002F\r\n│   │       │   └── MainActivity.kt\r\n│   │       └── res\u002F\r\n│   │           ├── layout\u002F\r\n│   │           │   └── activity_main.xml\r\n│   │           ├── values\u002F\r\n│   │           │   ├── strings.xml\r\n│   │           │   └── themes.xml\r\n│   │           └── mipmap-*\u002F\r\n│   │               ├── ic_launcher.png\r\n│   │               └── ic_launcher_round.png\r\n│   └── proguard-rules.pro\r\n└── local.properties (create when sdk path is known and immediate CLI build is expected)\n```\n\nImportant:\n- Do not stop at \"mostly complete\"\n- The generated project is not considered ready until wrapper files and validation are in place\n- If SDK path is known and the goal is immediate command-line build, create `local.properties` with `sdk.dir=...` to reduce local environment ambiguity\n- If the machine has JDK 17 but no stable project-level JDK selection, recommend `GRADLE_LOCAL_JAVA_HOME` or equivalent project-scoped JDK binding\n\n### Phase 4: Use Configuration Templates\n\nLoad templates from `references\u002Fconfig-templates.md`:\n\r\n- Use the \"Golden Configuration: Stable\" section for the \"stable\" profile\n- Use the \"China Mirror\" variant for users in China (detected by locale or explicit request)\n- Replace placeholders: `MyApp`, `com.example.myapp`, `com.example.myapp.MainActivity`\n- Keep `namespace`, `applicationId`, source package path, and theme names aligned\n- If generating a project that must build immediately, prefer the template path that includes `local.properties`\n\n### Phase 5: Make Gradle Wrapper Real, Not Placeholder\n\nBefore reporting the project as buildable, ensure the wrapper is genuinely usable:\n\n- Required files:\n  - `gradlew`\n  - `gradlew.bat`\n  - `gradle\u002Fwrapper\u002Fgradle-wrapper.properties`\n  - `gradle\u002Fwrapper\u002Fgradle-wrapper.jar`\n- A `gradle-wrapper.properties` file alone is not enough\n- Placeholder scripts are not acceptable for a claimed \"first build succeeds\" result\n\nUse one of these approaches:\n1. Copy wrapper files from a known-good template project\n2. Generate them with `gradle wrapper --gradle-version \u003Ctarget-version>` if Gradle is installed\n3. If neither is possible, explicitly say wrapper generation is incomplete and do not claim the project is ready for `assembleDebug`\n\nYou can use `scripts\u002Fproject_validator.py` logic as the acceptance bar:\n- invalid package name => block\n- missing wrapper jar => block\n- placeholder wrapper scripts => block\n\n### Phase 6: Validate Compilation with a Real Build Loop\n\nAfter generating all files, **MUST** run:\n\n```bash\n.\u002Fgradlew assembleDebug\n```\n\nIf compilation fails:\n1. Read the error message carefully\n2. Check version compatibility in `references\u002Fversion-matrix.md`\n3. Check whether the failure is really caused by environment readiness, wrapper incompleteness, or template\u002Fconfig mismatch\n4. Fix one root cause at a time and retry\n5. Do not report success until `assembleDebug` passes with the generated project\n\nIf the wrapper is unavailable or the environment is missing mandatory SDK components:\n- Do not present the project as \"verified buildable\"\n- Say exactly which prerequisite prevented real verification\n\n### Phase 7: Confirm APK Output and Runtime Readiness\n\nAfter `assembleDebug`, verify that the debug APK really exists:\n\n```text\napp\u002Fbuild\u002Foutputs\u002Fapk\u002Fdebug\u002Fapp-debug.apk\n```\n\nUse `scripts\u002Fbuild_flow.py` concepts as the final status model:\n\n- `scaffolding_only`\n  - Files were generated\n  - Build was not attempted because the environment was blocked\n- `build_failed`\n  - Gradle ran, but `assembleDebug` failed or no APK was produced\n- `compiled`\n  - `assembleDebug` succeeded and the debug APK exists\n\nIf a device or emulator is available, continue one more step:\n\n- install the debug APK\n- launch the main activity\n- only then classify the project as `runnable`\n\nAdditional final states:\n\n- `install_failed`\n  - APK exists\n  - installation to device\u002Femulator failed\n- `launch_failed`\n  - APK installed\n  - main activity launch failed\n- `runnable`\n  - APK built\n  - APK installed\n  - main activity launched successfully\n\nOnly the `compiled` state should be described as:\n- environment normal\n- project buildable\n- APK produced\n\nOnly the `runnable` state should be described as:\n- environment normal\n- project buildable\n- app installable\n- app launch verified on device or emulator\n\r\n## Reference Files\r\n\r\n### Version Compatibility Matrix\r\n\r\nSee `references\u002Fversion-matrix.md` for:\r\n- AGP 9.x \u002F 8.x \u002F 7.x version requirements\r\n- Kotlin compatibility with AGP\r\n- Gradle Wrapper configuration\r\n\r\nKey rules:\r\n- AGP 8.0+ requires JDK 17 (non-negotiable)\r\n- AGP 9.x requires Gradle 9.1+\r\n- Always check the matrix when in doubt\r\n\r\n### Configuration Templates\r\n\r\nSee `references\u002Fconfig-templates.md` for:\r\n- Complete `settings.gradle.kts` template\r\n- Project-level and module-level `build.gradle.kts`\r\n- `gradle.properties` defaults\r\n- `gradle-wrapper.properties` format\r\n- Minimal `MainActivity.kt` and `AndroidManifest.xml`\r\n- China mirror configuration\r\n\r\n## Environment Detection Script\r\n\r\n`scripts\u002Fdetect_env.py` provides:\r\n\r\n- JDK version detection (parses `java -version` output)\r\n- Android SDK path discovery (ANDROID_HOME, ANDROID_SDK_ROOT, common paths)\r\n- Build-tools version listing\r\n- NDK version detection\r\n- Recommended configuration based on detected JDK\r\n\r\nRun this script to adapt the generated project to the user's actual environment.\r\n\r\n## Critical Rules\r\n\r\n1. **Never skip the validation step** — Always run `.\u002Fgradlew assembleDebug`\n2. **JDK 17 is mandatory for AGP 8.x+** — Do not generate AGP 8.x config if JDK \u003C 17\n3. **Use Kotlin DSL (.kts)** — Groovy DSL is legacy, prefer `build.gradle.kts`\n4. **Set correct namespace** — AGP 8.0+ requires namespace in build.gradle, not manifest\n5. **A real wrapper is mandatory for build claims** — Do not rely on placeholder scripts\n6. **Create `local.properties` when immediate local CLI build is required and sdk path is known**\n7. **Prefer explicit JDK selection** — Align `JAVA_HOME`, Android Studio Gradle JDK, and project-level Gradle JDK settings\n8. **Use Java toolchains** — Declare the required Java toolchain instead of relying only on machine defaults\n9. **Use Version Catalog for complex projects** — Consider `gradle\u002Flibs.versions.toml` for larger projects\n\r\n## Common Mistakes to Avoid\r\n\r\n| Mistake | Fix |\r\n|---------|-----|\r\n| Missing `namespace` in app\u002Fbuild.gradle.kts | Add `namespace = \"com.example.myapp\"` in `android {}` block |\r\n| Wrong JDK version for AGP 8.x | Use AGP 7.x if JDK \u003C 17, or instruct user to install JDK 17 |\n| Inconsistent AGP\u002FGradle versions | Check `version-matrix.md`, use recommended pairs |\n| Missing or fake Gradle Wrapper files | Always include `gradlew`, `gradlew.bat`, `gradle-wrapper.properties`, and `gradle-wrapper.jar` |\n| Wrong `compileSdk` for AGP version | AGP 8.7+ requires `compileSdk = 35`, AGP 9.x requires `compileSdk = 36` |\n| Missing SDK platform or build-tools | Check environment audit before generation; install missing SDK components first |\n| Build verified only in theory | Do not claim success without a real `assembleDebug` run |\n| `JAVA_HOME` missing but PATH java exists | Treat as degraded, not fully stable; recommend explicit JDK configuration |\n| `JAVA_HOME` and PATH java point to different JDKs | Explain that Gradle CLI will prefer `JAVA_HOME`, which can differ from shell expectations |\n| `assembleDebug` succeeded but no APK found | Treat as build verification failure until `app-debug.apk` is confirmed |\n| APK exists but install fails | Treat as `install_failed`; do not claim the app is runnable |\n| Install succeeds but launch fails | Treat as `launch_failed`; do not claim runtime verification passed |\n\r\n## Example Usage\r\n\r\n**User:** \"Create a new Android project called TodoApp\"\r\n\r\n**AI Response:**\r\n\r\n1. Load this skill\r\n2. Run `detect_env.py` (if possible)\n3. Check the environment assessment and confirm it is ready for a stable build\n4. Select \"stable\" profile (AGP 8.7.0, Gradle 8.9)\n5. Generate complete project structure from templates\n6. Replace placeholders: `MyApp` → `TodoApp`, `com.example.myapp` → `com.example.todoapp`\n7. Ensure real wrapper files exist, not placeholders\n8. Run `.\u002Fgradlew assembleDebug`\n9. Confirm `app\u002Fbuild\u002Foutputs\u002Fapk\u002Fdebug\u002Fapp-debug.apk` exists\n10. If a device or emulator is available, install the APK and launch the main activity\n11. Report `compiled` only if build + APK verification pass\n12. Report `runnable` only if build + install + launch all pass\n\n---\n\nThis skill transforms Android project generation from a guessing game into an audited, verifiable build process.\n",{"name":5,"license":15,"metadata":44,"description":7,"description_en":7,"description_zh":47},{"author":45,"version":46,"category":29},"oahcfly","1.3.0","生成以首次真实构建通过为目标的 Android 工程，并支持可选的 JNI\u002FNDK\u002FCMake Native 集成。当你需要创建新 Android 应用、配置 Gradle 与版本兼容性、验证 assembleDebug 可构建性，或接入 Native 模块时使用此技能。","main","4d2fb89cdfb75f3f6fd3c6c5ec9ad90ea129eb3c","ai-agent-skills\u002F22-clawhub-skills\u002Fandroid-project-generator",2,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai","https:\u002F\u002Fgithub.com\u002Fluokai0","a solo builder.","2026-05-06 04:29:04",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add luokai0\u002Fai-agent-skills-by-luo-kai --skill android-project-generator",{"tool":62,"command":63},"bunx","bunx skills add luokai0\u002Fai-agent-skills-by-luo-kai --skill android-project-generator",{"tool":65,"command":66},"pnpm","pnpm dlx skills add luokai0\u002Fai-agent-skills-by-luo-kai --skill android-project-generator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fandroid-project-generator\u002FSKILL.md",true,[70,76,80,84,88,92,96,102,106,110,114,118,122,126,130,134,140,144,148,152,156,160,164,168,172],{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"_meta.json","REFERENCE","参考文档",144,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fandroid-project-generator\u002F_meta.json",{"path":77,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":78,"sourceHtmlUrl":79},".clawhub\u002Forigin.json",157,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fandroid-project-generator\u002F.clawhub\u002Forigin.json",{"path":81,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":82,"sourceHtmlUrl":83},"docs\u002FREPORTING.md",856,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fandroid-project-generator\u002Fdocs\u002FREPORTING.md",{"path":85,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":86,"sourceHtmlUrl":87},"README.md",1003,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fandroid-project-generator\u002FREADME.md",{"path":89,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fconfig-templates.md",9767,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fandroid-project-generator\u002Freferences\u002Fconfig-templates.md",{"path":93,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Fversion-matrix.md",2503,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fandroid-project-generator\u002Freferences\u002Fversion-matrix.md",{"path":97,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":100,"sourceHtmlUrl":101},"scripts\u002Fbuild_flow.py","SCRIPT","脚本",5323,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fandroid-project-generator\u002Fscripts\u002Fbuild_flow.py",{"path":103,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":104,"sourceHtmlUrl":105},"scripts\u002Fdetect_env.py",19385,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fandroid-project-generator\u002Fscripts\u002Fdetect_env.py",{"path":107,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":108,"sourceHtmlUrl":109},"scripts\u002Fgenerate_report.py",8876,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fandroid-project-generator\u002Fscripts\u002Fgenerate_report.py",{"path":111,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":112,"sourceHtmlUrl":113},"scripts\u002Fproject_validator.py",2915,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fandroid-project-generator\u002Fscripts\u002Fproject_validator.py",{"path":115,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":116,"sourceHtmlUrl":117},"scripts\u002Frun_tests.py",6066,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fandroid-project-generator\u002Fscripts\u002Frun_tests.py",{"path":119,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":120,"sourceHtmlUrl":121},"scripts\u002Fsitecustomize.py",752,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fandroid-project-generator\u002Fscripts\u002Fsitecustomize.py",{"path":123,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":124,"sourceHtmlUrl":125},"tests\u002Fconftest.py",2986,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fandroid-project-generator\u002Ftests\u002Fconftest.py",{"path":127,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":128,"sourceHtmlUrl":129},"tests\u002Fe2e\u002Ftest_e2e_compilation.py",19646,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fandroid-project-generator\u002Ftests\u002Fe2e\u002Ftest_e2e_compilation.py",{"path":131,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":132,"sourceHtmlUrl":133},"tests\u002Fintegration\u002Ftest_project_structure.py",21275,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fandroid-project-generator\u002Ftests\u002Fintegration\u002Ftest_project_structure.py",{"path":135,"resourceType":136,"resourceTypeDesc":137,"sizeBytes":138,"sourceHtmlUrl":139},"tests\u002Fpytest.ini","OTHER","其他",1333,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fandroid-project-generator\u002Ftests\u002Fpytest.ini",{"path":141,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":142,"sourceHtmlUrl":143},"tests\u002FREADME.md",6566,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fandroid-project-generator\u002Ftests\u002FREADME.md",{"path":145,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":146,"sourceHtmlUrl":147},"tests\u002Freport_generator.py",23857,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fandroid-project-generator\u002Ftests\u002Freport_generator.py",{"path":149,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":150,"sourceHtmlUrl":151},"tests\u002Frequirements.txt",94,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fandroid-project-generator\u002Ftests\u002Frequirements.txt",{"path":153,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":154,"sourceHtmlUrl":155},"tests\u002Ftest-plan.md",15916,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fandroid-project-generator\u002Ftests\u002Ftest-plan.md",{"path":157,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":158,"sourceHtmlUrl":159},"tests\u002Funit\u002Ftest_build_flow.py",9024,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fandroid-project-generator\u002Ftests\u002Funit\u002Ftest_build_flow.py",{"path":161,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":162,"sourceHtmlUrl":163},"tests\u002Funit\u002Ftest_config_generation.py",17215,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fandroid-project-generator\u002Ftests\u002Funit\u002Ftest_config_generation.py",{"path":165,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":166,"sourceHtmlUrl":167},"tests\u002Funit\u002Ftest_detect_env.py",24066,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fandroid-project-generator\u002Ftests\u002Funit\u002Ftest_detect_env.py",{"path":169,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":170,"sourceHtmlUrl":171},"tests\u002Funit\u002Ftest_project_validator.py",4571,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fandroid-project-generator\u002Ftests\u002Funit\u002Ftest_project_validator.py",{"path":173,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":174,"sourceHtmlUrl":175},"tests\u002Funit\u002Ftest_report_scripts.py",7270,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fandroid-project-generator\u002Ftests\u002Funit\u002Ftest_report_scripts.py",[177,203,220,243,269,294],{"skillNo":178,"name":179,"nameZh":6,"description":180,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":181,"categories":182,"keywords":183,"publishedAt":39},"01M6F2SKTE208174C7S7JJCZC7","write-contracts","Generates secure Aptos Move V2 smart contracts with Object model, Digital Asset integration, security patterns, and storage type guidance. Includes comprehensive storage decision framework for optimal data structure selection. Triggers on: 'write contract', 'create NFT collection', 'build marketplace', 'implement minting', 'generate Move module', 'create token contract', 'build DAO', 'implement staking'. Ask storage questions when: 'store', 'track', 'registry', 'mapping', 'list', 'collection'.","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fwrite-contracts\u002FSKILL.md",[],[184,185,186,187,188,189,36,190,191,192,193,194,195,196,197,198,199,200,201,202],"write","contracts","write contracts","storage","secure","create","collection","model","decision","ask","smart-contracts","selection","objects","structure","nft","token","aptos","critical","move",{"skillNo":204,"name":205,"nameZh":6,"description":206,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":207,"categories":208,"keywords":209,"publishedAt":39},"01M6F2RFXJ6T9MKW0A7N7GM45B","web-search","通用网络搜索技能，支持多引擎搜索（百度、必应、DuckDuckGo），无需API密钥即可获取实时信息","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fweb-search-ex-skill\u002FSKILL.md",[],[210,211,212,213,214,215,216,217,218,219],"web","search","web search","搜索","baidu","bing","duckduckgo","百度","多引擎","internet",{"skillNo":221,"name":222,"nameZh":6,"description":223,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":224,"categories":225,"keywords":226,"publishedAt":39},"01M6F2K968G1FZEZFPW2E6B222","solo-build","Execute implementation plan tasks with TDD workflow, auto-commit, and phase gates. Use when user says \"build it\", \"start building\", \"execute plan\", \"implement tasks\", \"ship it\", or references a track ID. Do NOT use for planning (use \u002Fplan) or scaffolding (use \u002Fscaffold).","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fsolo-build\u002FSKILL.md",[],[28,227,228,229,230,231,232,233,211,234,235,236,184,237,238,239,240,241,242,20],"solo","solo build","MCP","workflow","commit","tasks","code","Bash","plan","read","auto","references","context7","query","scaffolding","ship it",{"skillNo":244,"name":245,"nameZh":6,"description":246,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":247,"categories":248,"keywords":249,"publishedAt":39},"01M6F2GKN39SGHSPWYB3662YC8","react-email","Use when building HTML email templates with React components, adding a visual email editor to an application using the React Email visual editor, rendering emails to HTML, or sending emails with Resend. Covers welcome emails, password resets, notifications, order confirmations, newsletters, transactional emails, and the embeddable email editor component.","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Freact-email-skills\u002FSKILL.md",[],[250,251,252,253,254,255,256,257,258,259,260,261,262,31,263,264,265,266,267,268],"react","email","react email","github","editor","components","react components","component","welcome","https","notifications","password","node","html","resend","visual","emails","rendering","with",{"skillNo":270,"name":271,"nameZh":6,"description":272,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":273,"categories":274,"keywords":275,"publishedAt":39},"01M6F2FBVGVDFSG8SSFJGXA40C","APITester Agent-Driven API Testing","Test API endpoints and document responses. Define tests in plain English, run them, get formatted results. Agent-driven Postman alternative.","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fopenclaw-api-tester\u002FSKILL.md",[],[276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293],"testing","api","api testing","driven","APITester Agent Driven API Testing","test","run","postman","results","plain english","tester","endpoints","document","get","define","tests","english","api-tester",{"skillNo":295,"name":296,"nameZh":6,"description":297,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":298,"categories":299,"keywords":300,"publishedAt":39},"01M6F273Y3NGAPVJZ608BC0G9G","hubspot-implementation-plan","Generate a phased implementation plan from a HubSpot audit report. Creates prioritized, sequenced cleanup processes with effort estimates, dependencies, and automation feasibility. Use after running \u002Fhubspot-audit.","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fhubspot-implementation-plan\u002FSKILL.md",[],[235,301,302,303,304,305,306,36,307,308,309,310,311,31,312,313,268,314],"implementation","hubspot","hubspot implementation plan","automation","feasibility","cleanup","planning","report","audit","audit report","phased implementation","dependencies","processes","hubspot audit"]