[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C78SBRVYNSA24C5B0JD9RM":3,"skill-same:01M7C78SBRVYNSA24C5B0JD9RM":65},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M7C78SBRVYNSA24C5B0JD9RM","code-review",null,"gauravkdeore\u002FSkillmesh","gauravkdeore","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F74418289?v=4","01M7C771MQ6DM1H2Z8EP7SYMBB","Gaurav deore","01M7C771N9DDG2SNZCA5S4JC29",0,"MIT","https:\u002F\u002Fgithub.com\u002Fgauravkdeore\u002FSkillmesh\u002Fblob\u002Fmain\u002Ffixtures\u002Fhard\u002FsetA_layered\u002Fcode-review\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: software-development\ndescription: >\n  Complete software development workflow for any platform (Android\u002FKotlin, web,\n\n\n# CLAUDE.md\n\nBehavioral guidelines to reduce common LLM coding mistakes. Merge with project-specific instructions as needed.\n\n**Tradeoff:** These guidelines bias toward caution over speed. For trivial tasks, use judgment.\n\n## 1. Think Before Coding\n\n**Don't assume. Don't hide confusion. Surface tradeoffs.**\n\nBefore implementing:\n- State your assumptions explicitly. If uncertain, ask.\n- If multiple interpretations exist, present them - don't pick silently.\n- If a simpler approach exists, say so. Push back when warranted.\n- If something is unclear, stop. Name what's confusing. Ask.\n\n## 2. Simplicity First\n\n**Minimum code that solves the problem. Nothing speculative.**\n\n- No features beyond what was asked.\n- No abstractions for single-use code.\n- No \"flexibility\" or \"configurability\" that wasn't requested.\n- No error handling for impossible scenarios.\n- If you write 200 lines and it could be 50, rewrite it.\n\nAsk yourself: \"Would a senior engineer say this is overcomplicated?\" If yes, simplify.\n\n## 3. Surgical Changes\n\n**Touch only what you must. Clean up only your own mess.**\n\nWhen editing existing code:\n- Don't \"improve\" adjacent code, comments, or formatting.\n- Don't refactor things that aren't broken.\n- Match existing style, even if you'd do it differently.\n- If you notice unrelated dead code, mention it - don't delete it.\n\nWhen your changes create orphans:\n- Remove imports\u002Fvariables\u002Ffunctions that YOUR changes made unused.\n- Don't remove pre-existing dead code unless asked.\n\nThe test: Every changed line should trace directly to the user's request.\n\n## 4. Goal-Driven Execution\n\n**Define success criteria. Loop until verified.**\n\nTransform tasks into verifiable goals:\n- \"Add validation\" → \"Write tests for invalid inputs, then make them pass\"\n- \"Fix the bug\" → \"Write a test that reproduces it, then make it pass\"\n- \"Refactor X\" → \"Ensure tests pass before and after\"\n\nFor multi-step tasks, state a brief plan:\n```\n1. [Step] → verify: [check]\n2. [Step] → verify: [check]\n3. [Step] → verify: [check]\n```\n\nStrong success criteria let you loop independently. Weak criteria (\"make it work\") require constant clarification.\n\n---\n\n**These guidelines are working if:** fewer unnecessary changes in diffs, fewer rewrites due to overcomplication, and clarifying questions come before implementation rather than after mistakes.\n  backend, CLI). Use this skill whenever asked to build an app, create source\n  files, scaffold a project, write production code, or develop any multi-file\n  software system. Triggers on: \"build an app\", \"create a project\", \"write the\n  code for\", \"develop\", \"implement\", \"scaffold\", \"set up the codebase\", or any\n  request involving more than 3 source files. Apply even if the user says it's\n  simple — the checklists here prevent the most common and painful mistakes.\n  Do NOT skip this skill for \"small\" tasks; every phase has saved real projects.\n---\n\n# Software Development Skill\n\nBuilt from real lessons on what AI misses when coding without a live compiler.\nEvery rule here was added because a real mistake happened without it.\n\n---\n\n## CRITICAL PRINCIPLES (memorise these)\n\n**1. Define completeness before starting.**\nBefore writing a single line, list every file that must exist when the task is done.\nNever claim \"complete\" until every file on that list exists and every check passes.\n\n**2. Never hallucinate.**\nIf you don't know the exact API, class name, or syntax — stop and say so.\nDo not invent plausible-looking code that won't compile.\nA placeholder comment (`\u002F\u002F TODO: wire X here`) is honest. Fake code isn't.\n\n**3. Verify, don't assume.**\nAfter creating a file, verify it. After changing a file, re-verify it.\n\"It should work\" is not verification. Running a check is.\n\n**4. Claim done only when checks pass.**\nNever say \"complete\", \"all done\", or \"nothing missing\" without running the\nverification pass in the relevant section below. If you can't run the check,\nsay so explicitly.\n\n**5. The compiler is the floor.**\nStatic analysis catches ~70% of bugs. The remaining 30% only surface at\ncompile time. Always tell the user what you can and cannot verify without\ncompiling, and offer to fix compile errors when they share them.\n\n---\n\n## PHASE 0 — Project manifest (do this before writing any code)\n\nBefore creating a single file, write the manifest in the conversation:\n\n```\nPROJECT: [name]\nLANGUAGE\u002FPLATFORM: [Kotlin\u002FAndroid | HTML+CSS+JS | Node.js | etc.]\nARCHITECTURE: [MVVM | MVC | Clean | etc.]\n\nFILE MANIFEST — every file that must exist when done:\n  config\u002F\n    □ [build config files for this platform]\n    □ [dependency file]\n    □ [wrapper\u002Fbootstrap files]\n  src\u002F\n    □ [entry point]\n    □ [each module\u002Fscreen\u002Fcomponent]\n  resources\u002F\n    □ [each required resource type]\n  scripts\u002F\n    □ README.md\n    □ .gitignore\n\nDEFINITION OF DONE:\n  □ All files in manifest exist\n  □ All static checks pass (see platform section)\n  □ No empty handler functions\n  □ No unresolved internal references\n  □ User told exactly what requires a real compiler to verify\n```\n\n---\n\n## PHASE 1 — Build\n\n### Rule: create files in dependency order\n\nBuild from bottom up: shared types → utilities → data layer → business logic → UI.\nNever reference a file you haven't created yet in the same session.\n\n### Rule: verify each file immediately after creation\n\nAfter creating a file:\n1. Count opening\u002Fclosing braces — they must balance\n2. Check every internal import resolves to an existing file\n3. Check every function call matches a defined signature\n4. Check every referenced resource\u002Fclass\u002Fconstant exists\n\n### Rule: never leave TODO functions as stubs\n\nIf a function body isn't implemented, write:\n```\n\u002F\u002F PHASE 2: [what needs to go here and why it's deferred]\n\u002F\u002F Currently returns empty\u002Fno-op — safe because [reason]\n```\nNever leave a completely empty body without explanation.\n\n### Rule: one-time naming dictionary\n\nBefore coding, define names centrally:\n- Database class name (`SigylDatabase`, not `AppDatabase` in some files)\n- All color names (`ElectricBlue`, `DeepNavy`) and where they're defined\n- API service interface name\n- All route\u002Fdestination names\n\nCheck every file uses the same names. Typos between files compile-fail.\n\n---\n\n## PHASE 2 — Platform-specific checklists\n\n### Android \u002F Kotlin\n\nRead `references\u002Fandroid-checklist.md` before starting any Android project.\nIt contains the complete file manifest, common compile errors, and\nverification scripts.\n\n**Must-have files (Android will NOT build without all of these):**\n```\n[project-root]\u002F\n  build.gradle.kts          ← project-level\n  settings.gradle.kts\n  gradle.properties\n  gradle\u002Flibs.versions.toml\n  gradle\u002Fwrapper\u002Fgradle-wrapper.properties\n  gradle\u002Fwrapper\u002Fgradle-wrapper.jar  ← binary, user downloads (see README)\n  gradlew                   ← Unix launch script (make executable)\n  gradlew.bat               ← Windows launch script\n  local.properties          ← SDK path template\n  .gitignore\n  README.md\n  TROUBLESHOOTING.md        ← document what the compiler will find\n\n[app]\u002F\n  build.gradle.kts          ← module-level with applicationId, minSdk, etc.\n  proguard-rules.pro\n  src\u002Fmain\u002FAndroidManifest.xml\n  src\u002Fmain\u002Fkotlin\u002F...       ← all source files\n  src\u002Fmain\u002Fres\u002F\n    drawable\u002F\n      ic_launcher_foreground.xml   ← adaptive icon foreground\n      ic_launcher_background.xml   ← adaptive icon background\n    mipmap-mdpi\u002Fic_launcher.xml    ← required: ALL 5 DPI buckets\n    mipmap-hdpi\u002Fic_launcher.xml\n    mipmap-xhdpi\u002Fic_launcher.xml\n    mipmap-xxhdpi\u002Fic_launcher.xml\n    mipmap-xxxhdpi\u002Fic_launcher.xml\n    mipmap-anydpi-v26\u002Fic_launcher.xml       ← adaptive (API 26+)\n    mipmap-anydpi-v26\u002Fic_launcher_round.xml\n    values\u002Fstrings.xml     ← must have app_name\n    values\u002Fcolors.xml      ← ic_launcher_background color\n    values\u002Fthemes.xml      ← Theme.AppName with correct parent\n    xml\u002Fnetwork_security_config.xml\n    xml\u002Fbackup_rules.xml\n    xml\u002Fdata_extraction_rules.xml\n```\n\n**Android mandatory checks — run before claiming done:**\n```bash\n# Brace balance (basic compilation gate)\nfor kt in $(find . -name \"*.kt\"); do\n  o=$(tr -cd '{' \u003C $kt | wc -c)\n  c=$(tr -cd '}' \u003C $kt | wc -c)\n  [ \"$o\" != \"$c\" ] && echo \"IMBALANCED: $kt ($o vs $c)\"\ndone\n\n# No AppDatabase when class is named SigylDatabase (name-consistency)\ngrep -rn \"AppDatabase\" app\u002Fsrc\u002Fmain\u002Fkotlin\u002F | grep -v \"\u002F\u002F.*comment\"\n\n# Runtime permissions wired (dangerous perms must have request flow)\ngrep -l \"CAMERA\\|CameraX\\|PreviewView\" app\u002Fsrc -r | while read f; do\n  grep -l \"ActivityResultContracts.RequestPermission\\|hasCameraPermission\" $f \\\n    || echo \"MISSING PERM REQUEST: $f\"\ndone\n\n# Navigation parity (every Screen object must have a composable route)\ndefined=$(grep -c \"object.*: Screen\" navigation\u002FScreen.kt)\nrouted=$(grep -c \"composable(Screen\\.\" navigation\u002FNavGraph.kt)\n[ \"$defined\" != \"$routed\" ] && echo \"MISMATCH: $defined Screen objects, $routed routes\"\n\n# No private key in network layer\ngrep \"getPrivateKey\\|privKey\" core\u002Fnetwork\u002F && echo \"SECURITY: private key in network layer\"\n```\n\n**Android security baseline — non-negotiable:**\n- `allowBackup=\"false\"` in manifest\n- `android:roundIcon` → `@mipmap\u002Fic_launcher_round` (not ic_launcher)\n- `clearTextTrafficPermitted=\"false\"` in network_security_config.xml\n- No `http:\u002F\u002F` URLs in production source code (grep for them)\n- No hardcoded API keys (grep for `AIza`, `sk_live`, `pk_live`, `ghp_`)\n- Runtime permission request for every dangerous permission used\n- ProGuard rules for every reflection-using library (Hilt, Retrofit, Room, BouncyCastle)\n\n**Hilt DI verification:**\n- Every `@HiltViewModel` class has `@Inject constructor`\n- Application class has `@HiltAndroidApp`\n- Entry point activities\u002Ffragments have `@AndroidEntryPoint`\n- Every `@Inject`-needed type has a `@Provides` method in a `@Module`\n- Workers using Hilt: `@HiltWorker`, `@AssistedInject`, app implements `Configuration.Provider`\n\n---\n\n### Web (HTML + CSS + JS)\n\nRead `references\u002Fweb-checklist.md` before building any multi-page site.\n\n**Most common web mistakes:**\n\n1. **CSS padding shorthand kills horizontal layout**\n   ```css\n   \u002F* WRONG — zero out left\u002Fright, breaks .wrap container padding *\u002F\n   section { padding: 64px 0; }\n   .hero    { padding: 120px 0 80px; }\n\n   \u002F* CORRECT — use longhand so horizontal padding from .wrap survives *\u002F\n   section { padding-top: 64px; padding-bottom: 64px; }\n   .hero   { padding-top: 120px; padding-bottom: 80px; }\n   ```\n   Check every `padding:` shorthand. Any with `0` as horizontal value breaks layout.\n\n2. **Logo inconsistency**\n   If the same brand mark appears in an app AND a website, the SVG paths must be\n   identical. Verify by checking path data `d=` values match character-for-character.\n\n3. **Mobile menu must exist**\n   Every site needs a hamburger at \u003C1024px viewport. Without it, nav links disappear.\n   Test: set viewport to 390px, verify all pages navigable.\n\n4. **Screenshot every breakpoint before shipping**\n   Required: 1440px, 1280px, 768px, 390px (portrait), 390px landscape.\n   Use playwright or similar:\n   ```js\n   for (const vp of [{w:1440,h:900},{w:768,h:1024},{w:390,h:844}]) {\n     await page.setViewportSize({width:vp.w, height:vp.h});\n     await page.screenshot({path: `screenshot-${vp.w}.png`});\n   }\n   ```\n\n5. **JavaScript closing IIFE**\n   Every `(function(){ ... })();` wrapper must have balanced braces.\n   Count manually or run: `node -e \"require('.\u002Fjs\u002Fmain.js'); console.log('OK')\"`\n\n6. **Color palette — avoid default AI colors**\n   Before picking colors, check that you're not defaulting to:\n   - Purple variants: `#6B46C1`, `#8B5CF6`, `#A855F7`\n   - Neon cyan: `#06B6D4`, `#22D3EE`, `#00FFFF`\n   These are overused. Default to `warm earthy` or `monochromatic + 1 accent`.\n\n7. **Static site file list**\n   Every page must have: `\u003Cmeta viewport>`, `\u003Cmeta theme-color>`,\n   favicon link, all CSS links, script at body close, mobile menu button.\n\n---\n\n### Node.js \u002F Backend\n\n- `package.json` must exist with all deps listed (no `npm install \u003Cpkg>` without saving)\n- `package-lock.json` should be committed\n- All `require`\u002F`import` paths must resolve\n- Environment variables: `.env.example` committed, `.env` in `.gitignore`\n- No `console.log` left in production paths\n- No hardcoded credentials anywhere — use `process.env.X`\n\n---\n\n## PHASE 3 — Final verification\n\n### The non-negotiable close-out checklist\n\nRun this before delivering any project:\n\n```\n□ MANIFEST CHECK: every file in Phase 0 manifest exists (ls each one)\n□ BRACE CHECK: all source files brace-balanced\n□ EMPTY HANDLER CHECK: grep for onClick={} \u002F fun X() {} \u002F TODO in bodies\n□ INTERNAL IMPORT CHECK: every import resolves to a real file + symbol\n□ RESOURCE CHECK: every @drawable\u002FX, @string\u002FX, R.X references existing resource\n□ NAMING CONSISTENCY: same class\u002Ffunction names across all files\n□ ARCHITECTURE: UI never imports directly from Network\u002FDB (must go through ViewModel → Repository)\n□ SECRETS: no hardcoded API keys, passwords, tokens (grep: AIza \u002F sk_live \u002F Bearer)\n□ HTTP: no insecure http:\u002F\u002F URLs in production code\n□ PERMISSIONS: every dangerous permission has runtime request flow\n□ SECURITY BASELINE: platform-specific security requirements met\n□ VERIFY SCRIPT: created and outputs 0 failures\n□ README: explains setup, first run, and what user must do that I cannot do (e.g. download gradle wrapper)\n□ KNOWN GAPS: explicitly documented what requires runtime\u002Fcompiler to verify\n```\n\n---\n\n## PHASE 4 — Honesty protocol\n\n### What to say instead of \"it's done\"\n\n**DO say:**\n- \"Every static check passes. The following 3 things need a real compiler\u002Fruntime to verify: [list them]\"\n- \"Structurally complete. Open in [IDE\u002Fbrowser] and share any errors — I'll fix each one\"\n- \"Found [N] issues this pass. Fixed them. Running checks again now.\"\n\n**DO NOT say:**\n- \"The app is complete\"\n- \"Nothing is missing\"\n- \"All checks pass\" (unless you literally ran them)\n- \"I'm confident there are no issues\"\n\n### When user pushes back (\"are you sure?\")\n\nThis means: you missed something. Do not defend. Do this instead:\n1. **Design a new check** — what category haven't I checked?\n2. **Run it**\n3. **Report honestly** — even if it finds nothing\n\nCommon categories to check when pushed back on:\n- Runtime permissions not requested\n- Cross-file naming inconsistency (class X in file A, class Y in file B)\n- Resource references to non-existent files\n- Static Context held (memory leak)\n- ProGuard not covering a reflected library\n- Missing platform-specific files (gradle wrapper, launch scripts)\n- Navigation route defined but no UI entry point\n- Hardcoded placeholder values documented as \"replace before production\"\n\n---\n\n## PHASE 5 — Iterative fix protocol\n\nWhen user reports a compile\u002Fruntime error:\n\n1. Read the **exact error message** — do not guess\n2. Find the **file:line** in the error\n3. Read the actual code at that location before fixing\n4. Fix only that issue — do not do a broad refactor\n5. **Re-run the verification script** after the fix\n6. Report: \"Fixed [X]. Re-ran all checks. [N] passing, [0] new failures.\"\n\n---\n\n## Common AI mistakes to avoid (from real experience)\n\n| Mistake | How to avoid |\n|---|---|\n| Saying \"complete\" before verifying | Run verify checklist, then say \"checks pass\" |\n| Wrong class name across files | Define naming dictionary in Phase 0, grep for inconsistencies |\n| Missing gradle wrapper jar | Document it, provide setup-gradle.sh, explain Android Studio handles it |\n| Missing launcher icon DPI buckets | Always create all 5 (mdpi\u002Fhdpi\u002Fxhdpi\u002Fxxhdpi\u002Fxxxhdpi) + anydpi-v26 + round |\n| Runtime permissions not requested | Grep for dangerous-permission usage, cross-check with request flow |\n| CSS padding shorthand breaking layout | Never use `padding: X 0 Y` — always use longhand `padding-top\u002Fbottom` |\n| Logo different on app vs website | Copy exact path data from one to the other, verify character-for-character |\n| `@drawable\u002Fic_dialog_info` flagged as missing | `android.R.drawable.*` = system drawable, NOT a project resource. Don't flag. |\n| Claiming Flow-returning functions should be suspend | `fun X(): Flow\u003CT>` is correct — Flow is lazy and doesn't need suspend |\n| Flagging Workers for static Context | `@Assisted Context` in Workers = WorkManager injects appContext, no leak |\n| Every check passing but still issues | Design new check categories. Static analysis has a ceiling at ~70% of bugs. |\n\n---\n\n## Quick reference: verification scripts by platform\n\nSee `references\u002Fandroid-checklist.md` for full Android verification script.\nSee `references\u002Fweb-checklist.md` for full web verification script.\n\nBoth include:\n- Copy-paste shell commands\n- What each check catches\n- Expected output for passing\u002Ffailing\n- How to fix common failures\n\n---\n\n## A note on trust\n\nThe user should trust running `verify.sh` more than trusting the AI's words.\n\n**Every project should ship with a `verify.sh`** that the user can run themselves\nto confirm all checks pass — not just take the AI's word for it. This is not\noptional for any project over 5 files.\n\nThe verify script should exit 0 on success and print exactly what passed.\nIf it exits non-zero, fix the failures before delivering.","**These guidelines are working if:** fewer unnecessary changes in diffs, fewer rewrites due to overcomplication, and clarifying questions come before implementation rather than after mistakes.\n  backend, CLI). Use this skill whenever asked to build an app, create source\n  files, scaffold a project, write production code, or develop any multi-file\n  software system. Triggers on: \"build an app\", \"create a project\", \"write the\n  code for\", \"develop\", \"implement\", \"scaffold\", \"set up the codebase\", or any\n  request involving more than 3 source files. Apply even if the user says it's\n  simple — the checklists here prevent the most common and painful mistakes.\n  Do NOT skip this skill for \"small\" tasks; every phase has saved real projects.\n---\n\n# Software Development Skill\n\nBuilt from real lessons on what AI misses when coding without a live compiler.\nEvery rule here was added because a real mistake happened without it.\n\n---\n\n## CRITICAL PRINCIPLES (memorise these)\n\n**1. Define completeness before starting.**\nBefore writing a single line, list every file that must exist when the task is done.\nNever claim \"complete\" until every file on that list exists and every check passes.\n\n**2. Never hallucinate.**\nIf you don't know the exact API, class name, or syntax — stop and say so.\nDo not invent plausible-looking code that won't compile.\nA placeholder comment (`\u002F\u002F TODO: wire X here`) is honest. Fake code isn't.\n\n**3. Verify, don't assume.**\nAfter creating a file, verify it. After changing a file, re-verify it.\n\"It should work\" is not verification. Running a check is.\n\n**4. Claim done only when checks pass.**\nNever say \"complete\", \"all done\", or \"nothing missing\" without running the\nverification pass in the relevant section below. If you can't run the check,\nsay so explicitly.\n\n**5. The compiler is the floor.**\nStatic analysis catches ~70% of bugs. The remaining 30% only surface at\ncompile time. Always tell the user what you can and cannot verify without\ncompiling, and offer to fix compile errors when they share them.\n\n---\n\n## PHASE 0 — Project manifest (do this before writing any code)\n\nBefore creating a single file, write the manifest in the conversation:\n\n```\nPROJECT: [name]\nLANGUAGE\u002FPLATFORM: [Kotlin\u002FAndroid | HTML+CSS+JS | Node.js | etc.]\nARCHITECTURE: [MVVM | MVC | Clean | etc.]\n\nFILE MANIFEST — every file that must exist when done:\n  config\u002F\n    □ [build config files for this platform]\n    □ [dependency file]\n    □ [wrapper\u002Fbootstrap files]\n  src\u002F\n    □ [entry point]\n    □ [each module\u002Fscreen\u002Fcomponent]\n  resources\u002F\n    □ [each required resource type]\n  scripts\u002F\n    □ README.md\n    □ .gitignore\n\nDEFINITION OF DONE:\n  □ All files in manifest exist\n  □ All static checks pass (see platform section)\n  □ No empty handler functions\n  □ No unresolved internal references\n  □ User told exactly what requires a real compiler to verify\n```\n\n---\n\n## PHASE 1 — Build\n\n### Rule: create files in dependency order\n\nBuild from bottom up: shared types → utilities → data layer → business logic → UI.\nNever reference a file you haven't created yet in the same session.\n\n### Rule: verify each file immediately after creation\n\nAfter creating a file:\n1. Count opening\u002Fclosing braces — they must balance\n2. Check every internal import resolves to an existing file\n3. Check every function call matches a defined signature\n4. Check every referenced resource\u002Fclass\u002Fconstant exists\n\n### Rule: never leave TODO functions as stubs\n\nIf a function body isn't implemented, write:\n```\n\u002F\u002F PHASE 2: [what needs to go here and why it's deferred]\n\u002F\u002F Currently returns empty\u002Fno-op — safe because [reason]\n```\nNever leave a completely empty body without explanation.\n\n### Rule: one-time naming dictionary\n\nBefore coding, define names centrally:\n- Database class name (`SigylDatabase`, not `AppDatabase` in some files)\n- All color names (`ElectricBlue`, `DeepNavy`) and where they're defined\n- API service interface name\n- All route\u002Fdestination names\n\nCheck every file uses the same names. Typos between files compile-fail.\n\n---\n\n## PHASE 2 — Platform-specific checklists\n\n### Android \u002F Kotlin\n\nRead `references\u002Fandroid-checklist.md` before starting any Android project.\nIt contains the complete file manifest, common compile errors, and\nverification scripts.\n\n**Must-have files (Android will NOT build without all of these):**\n```\n[project-root]\u002F\n  build.gradle.kts          ← project-level\n  settings.gradle.kts\n  gradle.properties\n  gradle\u002Flibs.versions.toml\n  gradle\u002Fwrapper\u002Fgradle-wrapper.properties\n  gradle\u002Fwrapper\u002Fgradle-wrapper.jar  ← binary, user downloads (see README)\n  gradlew                   ← Unix launch script (make executable)\n  gradlew.bat               ← Windows launch script\n  local.properties          ← SDK path template\n  .gitignore\n  README.md\n  TROUBLESHOOTING.md        ← document what the compiler will find\n\n[app]\u002F\n  build.gradle.kts          ← module-level with applicationId, minSdk, etc.\n  proguard-rules.pro\n  src\u002Fmain\u002FAndroidManifest.xml\n  src\u002Fmain\u002Fkotlin\u002F...       ← all source files\n  src\u002Fmain\u002Fres\u002F\n    drawable\u002F\n      ic_launcher_foreground.xml   ← adaptive icon foreground\n      ic_launcher_background.xml   ← adaptive icon background\n    mipmap-mdpi\u002Fic_launcher.xml    ← required: ALL 5 DPI buckets\n    mipmap-hdpi\u002Fic_launcher.xml\n    mipmap-xhdpi\u002Fic_launcher.xml\n    mipmap-xxhdpi\u002Fic_launcher.xml\n    mipmap-xxxhdpi\u002Fic_launcher.xml\n    mipmap-anydpi-v26\u002Fic_launcher.xml       ← adaptive (API 26+)\n    mipmap-anydpi-v26\u002Fic_launcher_round.xml\n    values\u002Fstrings.xml     ← must have app_name\n    values\u002Fcolors.xml      ← ic_launcher_background color\n    values\u002Fthemes.xml      ← Theme.AppName with correct parent\n    xml\u002Fnetwork_security_config.xml\n    xml\u002Fbackup_rules.xml\n    xml\u002Fdata_extraction_rules.xml\n```\n\n**Android mandatory checks — run before claiming done:**\n```bash\n# Brace balance (basic compilation gate)\nfor kt in $(find . -name \"*.kt\"); do\n  o=$(tr -cd '{' \u003C $kt | wc -c)\n  c=$(tr -cd '}' \u003C $kt | wc -c)\n  [ \"$o\" != \"$c\" ] && echo \"IMBALANCED: $kt ($o vs $c)\"\ndone\n\n# No AppDatabase when class is named SigylDatabase (name-consistency)\ngrep -rn \"AppDatabase\" app\u002Fsrc\u002Fmain\u002Fkotlin\u002F | grep -v \"\u002F\u002F.*comment\"\n\n# Runtime permissions wired (dangerous perms must have request flow)\ngrep -l \"CAMERA\\|CameraX\\|PreviewView\" app\u002Fsrc -r | while read f; do\n  grep -l \"ActivityResultContracts.RequestPermission\\|hasCameraPermission\" $f \\\n    || echo \"MISSING PERM REQUEST: $f\"\ndone\n\n# Navigation parity (every Screen object must have a composable route)\ndefined=$(grep -c \"object.*: Screen\" navigation\u002FScreen.kt)\nrouted=$(grep -c \"composable(Screen\\.\" navigation\u002FNavGraph.kt)\n[ \"$defined\" != \"$routed\" ] && echo \"MISMATCH: $defined Screen objects, $routed routes\"\n\n# No private key in network layer\ngrep \"getPrivateKey\\|privKey\" core\u002Fnetwork\u002F && echo \"SECURITY: private key in network layer\"\n```\n\n**Android security baseline — non-negotiable:**\n- `allowBackup=\"false\"` in manifest\n- `android:roundIcon` → `@mipmap\u002Fic_launcher_round` (not ic_launcher)\n- `clearTextTrafficPermitted=\"false\"` in network_security_config.xml\n- No `http:\u002F\u002F` URLs in production source code (grep for them)\n- No hardcoded API keys (grep for `AIza`, `sk_live`, `pk_live`, `ghp_`)\n- Runtime permission request for every dangerous permission used\n- ProGuard rules for every reflection-using library (Hilt, Retrofit, Room, BouncyCastle)\n\n**Hilt DI verification:**\n- Every `@HiltViewModel` class has `@Inject constructor`\n- Application class has `@HiltAndroidApp`\n- Entry point activities\u002Ffragments have `@AndroidEntryPoint`\n- Every `@Inject`-needed type has a `@Provides` method in a `@Module`\n- Workers using Hilt: `@HiltWorker`, `@AssistedInject`, app implements `Configuration.Provider`\n\n---\n\n### Web (HTML + CSS + JS)\n\nRead `references\u002Fweb-checklist.md` before building any multi-page site.\n\n**Most common web mistakes:**\n\n1. **CSS padding shorthand kills horizontal layout**\n   ```css\n   \u002F* WRONG — zero out left\u002Fright, breaks .wrap container padding *\u002F\n   section { padding: 64px 0; }\n   .hero    { padding: 120px 0 80px; }\n\n   \u002F* CORRECT — use longhand so horizontal padding from .wrap survives *\u002F\n   section { padding-top: 64px; padding-bottom: 64px; }\n   .hero   { padding-top: 120px; padding-bottom: 80px; }\n   ```\n   Check every `padding:` shorthand. Any with `0` as horizontal value breaks layout.\n\n2. **Logo inconsistency**\n   If the same brand mark appears in an app AND a website, the SVG paths must be\n   identical. Verify by checking path data `d=` values match character-for-character.\n\n3. **Mobile menu must exist**\n   Every site needs a hamburger at \u003C1024px viewport. Without it, nav links disappear.\n   Test: set viewport to 390px, verify all pages navigable.\n\n4. **Screenshot every breakpoint before shipping**\n   Required: 1440px, 1280px, 768px, 390px (portrait), 390px landscape.\n   Use playwright or similar:\n   ```js\n   for (const vp of [{w:1440,h:900},{w:768,h:1024},{w:390,h:844}]) {\n     await page.setViewportSize({width:vp.w, height:vp.h});\n     await page.screenshot({path: `screenshot-${vp.w}.png`});\n   }\n   ```\n\n5. **JavaScript closing IIFE**\n   Every `(function(){ ... })();` wrapper must have balanced braces.\n   Count manually or run: `node -e \"require('.\u002Fjs\u002Fmain.js'); console.log('OK')\"`\n\n6. **Color palette — avoid default AI colors**\n   Before picking colors, check that you're not defaulting to:\n   - Purple variants: `#6B46C1`, `#8B5CF6`, `#A855F7`\n   - Neon cyan: `#06B6D4`, `#22D3EE`, `#00FFFF`\n   These are overused. Default to `warm earthy` or `monochromatic + 1 accent`.\n\n7. **Static site file list**\n   Every page must have: `\u003Cmeta viewport>`, `\u003Cmeta theme-color>`,\n   favicon link, all CSS links, script at body close, mobile menu button.\n\n---\n\n### Node.js \u002F Backend\n\n- `package.json` must exist with all deps listed (no `npm install \u003Cpkg>` without saving)\n- `package-lock.json` should be committed\n- All `require`\u002F`import` paths must resolve\n- Environment variables: `.env.example` committed, `.env` in `.gitignore`\n- No `console.log` left in production paths\n- No hardcoded credentials anywhere — use `process.env.X`\n\n---\n\n## PHASE 3 — Final verification\n\n### The non-negotiable close-out checklist\n\nRun this before delivering any project:\n\n```\n□ MANIFEST CHECK: every file in Phase 0 manifest exists (ls each one)\n□ BRACE CHECK: all source files brace-balanced\n□ EMPTY HANDLER CHECK: grep for onClick={} \u002F fun X() {} \u002F TODO in bodies\n□ INTERNAL IMPORT CHECK: every import resolves to a real file + symbol\n□ RESOURCE CHECK: every @drawable\u002FX, @string\u002FX, R.X references existing resource\n□ NAMING CONSISTENCY: same class\u002Ffunction names across all files\n□ ARCHITECTURE: UI never imports directly from Network\u002FDB (must go through ViewModel → Repository)\n□ SECRETS: no hardcoded API keys, passwords, tokens (grep: AIza \u002F sk_live \u002F Bearer)\n□ HTTP: no insecure http:\u002F\u002F URLs in production code\n□ PERMISSIONS: every dangerous permission has runtime request flow\n□ SECURITY BASELINE: platform-specific security requirements met\n□ VERIFY SCRIPT: created and outputs 0 failures\n□ README: explains setup, first run, and what user must do that I cannot do (e.g. download gradle wrapper)\n□ KNOWN GAPS: explicitly documented what requires runtime\u002Fcompiler to verify\n```\n\n---\n\n## PHASE 4 — Honesty protocol\n\n### What to say instead of \"it's done\"\n\n**DO say:**\n- \"Every static check passes. The following 3 things need a real compiler\u002Fruntime to verify: [list them]\"\n- \"Structurally complete. Open in [IDE\u002Fbrowser] and share any errors — I'll fix each one\"\n- \"Found [N] issues this pass. Fixed them. Running checks again now.\"\n\n**DO NOT say:**\n- \"The app is complete\"\n- \"Nothing is missing\"\n- \"All checks pass\" (unless you literally ran them)\n- \"I'm confident there are no issues\"\n\n### When user pushes back (\"are you sure?\")\n\nThis means: you missed something. Do not defend. Do this instead:\n1. **Design a new check** — what category haven't I checked?\n2. **Run it**\n3. **Report honestly** — even if it finds nothing\n\nCommon categories to check when pushed back on:\n- Runtime permissions not requested\n- Cross-file naming inconsistency (class X in file A, class Y in file B)\n- Resource references to non-existent files\n- Static Context held (memory leak)\n- ProGuard not covering a reflected library\n- Missing platform-specific files (gradle wrapper, launch scripts)\n- Navigation route defined but no UI entry point\n- Hardcoded placeholder values documented as \"replace before production\"\n\n---\n\n## PHASE 5 — Iterative fix protocol\n\nWhen user reports a compile\u002Fruntime error:\n\n1. Read the **exact error message** — do not guess\n2. Find the **file:line** in the error\n3. Read the actual code at that location before fixing\n4. Fix only that issue — do not do a broad refactor\n5. **Re-run the verification script** after the fix\n6. Report: \"Fixed [X]. Re-ran all checks. [N] passing, [0] new failures.\"\n\n---\n\n## Common AI mistakes to avoid (from real experience)\n\n| Mistake | How to avoid |\n|---|---|\n| Saying \"complete\" before verifying | Run verify checklist, then say \"checks pass\" |\n| Wrong class name across files | Define naming dictionary in Phase 0, grep for inconsistencies |\n| Missing gradle wrapper jar | Document it, provide setup-gradle.sh, explain Android Studio handles it |\n| Missing launcher icon DPI buckets | Always create all 5 (mdpi\u002Fhdpi\u002Fxhdpi\u002Fxxhdpi\u002Fxxxhdpi) + anydpi-v26 + round |\n| Runtime permissions not requested | Grep for dangerous-permission usage, cross-check with request flow |\n| CSS padding shorthand breaking layout | Never use `padding: X 0 Y` — always use longhand `padding-top\u002Fbottom` |\n| Logo different on app vs website | Copy exact path data from one to the other, verify character-for-character |\n| `@drawable\u002Fic_dialog_info` flagged as missing | `android.R.drawable.*` = system drawable, NOT a project resource. Don't flag. |\n| Claiming Flow-returning functions should be suspend | `fun X(): Flow\u003CT>` is correct — Flow is lazy and doesn't need suspend |\n| Flagging Workers for static Context | `@Assisted Context` in Workers = WorkManager injects appContext, no leak |\n| Every check passing but still issues | Design new check categories. Static analysis has a ceiling at ~70% of bugs. |\n\n---\n\n## Quick reference: verification scripts by platform\n\nSee `references\u002Fandroid-checklist.md` for full Android verification script.\nSee `references\u002Fweb-checklist.md` for full web verification script.\n\nBoth include:\n- Copy-paste shell commands\n- What each check catches\n- Expected output for passing\u002Ffailing\n- How to fix common failures\n\n---\n\n## A note on trust\n\nThe user should trust running `verify.sh` more than trusting the AI's words.\n\n**Every project should ship with a `verify.sh`** that the user can run themselves\nto confirm all checks pass — not just take the AI's word for it. This is not\noptional for any project over 5 files.\n\nThe verify script should exit 0 on success and print exactly what passed.\nIf it exits non-zero, fix the failures before delivering.",{},"main","2aa18dd1742989cde673d2e949ad77b4aaf42d91","fixtures\u002Fhard\u002FsetA_layered\u002Fcode-review","https:\u002F\u002Fgithub.com\u002Fgauravkdeore\u002FSkillmesh","https:\u002F\u002Fgithub.com\u002Fgauravkdeore","2026-09-06 19:08:52",{"source":7,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add gauravkdeore\u002FSkillmesh --skill code-review",{"tool":35,"command":36},"bunx","bunx skills add gauravkdeore\u002FSkillmesh --skill code-review",{"tool":38,"command":39},"pnpm","pnpm dlx skills add gauravkdeore\u002FSkillmesh --skill code-review","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgauravkdeore\u002FSkillmesh\u002Fblob\u002Fmain\u002Ffixtures\u002Fhard\u002FsetA_layered\u002Fcode-review\u002FSKILL.md",true,[43,49,53,57,61],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},"dev-department.skill","OTHER","其他",72807,"https:\u002F\u002Fgithub.com\u002Fgauravkdeore\u002FSkillmesh\u002Fblob\u002Fmain\u002Ffixtures\u002Fhard\u002FsetA_layered\u002Fcode-review\u002Fdev-department.skill",{"path":50,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":51,"sourceHtmlUrl":52},"dev-skillsss.skill",1421,"https:\u002F\u002Fgithub.com\u002Fgauravkdeore\u002FSkillmesh\u002Fblob\u002Fmain\u002Ffixtures\u002Fhard\u002FsetA_layered\u002Fcode-review\u002Fdev-skillsss.skill",{"path":54,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":55,"sourceHtmlUrl":56},"main-skill.skill",1437,"https:\u002F\u002Fgithub.com\u002Fgauravkdeore\u002FSkillmesh\u002Fblob\u002Fmain\u002Ffixtures\u002Fhard\u002FsetA_layered\u002Fcode-review\u002Fmain-skill.skill",{"path":58,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":59,"sourceHtmlUrl":60},"software-development.skill",14005,"https:\u002F\u002Fgithub.com\u002Fgauravkdeore\u002FSkillmesh\u002Fblob\u002Fmain\u002Ffixtures\u002Fhard\u002FsetA_layered\u002Fcode-review\u002Fsoftware-development.skill",{"path":62,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":63,"sourceHtmlUrl":64},"token-efficient.skill",3473,"https:\u002F\u002Fgithub.com\u002Fgauravkdeore\u002FSkillmesh\u002Fblob\u002Fmain\u002Ffixtures\u002Fhard\u002FsetA_layered\u002Fcode-review\u002Ftoken-efficient.skill",[66,73,80,87,94,101],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":18},"01M7C79HYJVHH6MFH3JZ42D5D6","main-skill","Use this in every task. Always apply when writing or changing application code. No stubs; everything must be implemented.","https:\u002F\u002Fgithub.com\u002Fgauravkdeore\u002FSkillmesh\u002Fblob\u002Fmain\u002Ffixtures\u002Fobserved\u002Ffixture01_reconstructed\u002Fmain-skill\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M7C79G93TKJAGDVT5WANXS87","dev-department","Use this in every task. Always apply when writing or changing application code. Simplicity first; minimal code.","https:\u002F\u002Fgithub.com\u002Fgauravkdeore\u002FSkillmesh\u002Fblob\u002Fmain\u002Ffixtures\u002Fobserved\u002Ffixture01_reconstructed\u002Fdev-department\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":18},"01M7C79FCKWRS0ED8EZ2ZCFKKV","always-on-house","Use this in every task.","https:\u002F\u002Fgithub.com\u002Fgauravkdeore\u002FSkillmesh\u002Fblob\u002Fmain\u002Ffixtures\u002Fobserved\u002Ffixture01_reconstructed\u002Falways-on-house\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":18},"01M7C79E3T56Y8NC2R8M193R4Z","ship-fast","Use when creating git commits.","https:\u002F\u002Fgithub.com\u002Fgauravkdeore\u002FSkillmesh\u002Fblob\u002Fmain\u002Ffixtures\u002Fhard\u002FsetC_semantic\u002Fship-fast\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":18},"01M7C79D1WQFD4J81VGK5873GA","pr-description","Use when writing the description for a pull request.","https:\u002F\u002Fgithub.com\u002Fgauravkdeore\u002FSkillmesh\u002Fblob\u002Fmain\u002Ffixtures\u002Fhard\u002FsetC_semantic\u002Fpr-description\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":18},"01M7C79C25NJNS2969GA9EQWQE","commit-style","https:\u002F\u002Fgithub.com\u002Fgauravkdeore\u002FSkillmesh\u002Fblob\u002Fmain\u002Ffixtures\u002Fhard\u002FsetC_semantic\u002Fcommit-style\u002FSKILL.md",[],[]]