{
  "skill": {
    "schema": "skillflux-skill/v1",
    "id": "android-skills-migrate-xml-views-to-jetpack-compose",
    "name": "migrate-xml-views-to-jetpack-compose",
    "displayName": {
      "en": "Migrate XML views to Compose",
      "zh": "XML 视图迁移到 Compose"
    },
    "summary": {
      "en": "Google’s step-by-step workflow for migrating an Android XML view to Jetpack Compose, from dependencies to cleanup.",
      "zh": "Google 官方的分步流程，把 Android XML 视图迁移到 Jetpack Compose，从依赖配置到清理旧代码。"
    },
    "upstreamDescription": "Provides a structured workflow for migrating an Android XML View to Jetpack Compose. This skill details the step-by-step process, from planning and dependency setup, to theming and layout migration, validation and XML cleanup. Use this skill when you need to migrate an XML View to Jetpack Compose in an Android project. It solves the problem of converting the UI of a legacy XML View into modern, declarative Compose components while maintaining interoperability.",
    "source": {
      "repo": "https://github.com/android/skills",
      "path": "jetpack-compose/migration/migrate-xml-views-to-jetpack-compose",
      "commitSha": "6daa53ef27fa2aa87827d183a85c06cedceca833",
      "pinnedAt": "2026-10-29"
    },
    "author": {
      "name": "Android",
      "url": "https://github.com/android"
    },
    "license": {
      "spdx": "Apache-2.0",
      "raw": "Complete terms in LICENSE.txt",
      "file": "LICENSE.txt"
    },
    "sourceSiteSlug": "github-com-android-skills",
    "category": "mobile",
    "tags": [
      "android",
      "compose",
      "migration"
    ],
    "status": "listed",
    "addedAt": "2026-10-29",
    "updatedAt": "2026-10-29"
  },
  "health": {
    "schema": "skillflux-health/v1",
    "skillId": "android-skills-migrate-xml-views-to-jetpack-compose",
    "commitSha": "6daa53ef27fa2aa87827d183a85c06cedceca833",
    "checkerVersion": "1.0.0",
    "changedAt": "2026-10-29",
    "resultHash": "4ed15452254897397987ba54554678b6a1b9c69b9b239c178df87887e10852e7",
    "checks": [
      {
        "id": "skillmd.present",
        "status": "pass",
        "value": true,
        "detail": "SKILL.md found"
      },
      {
        "id": "frontmatter.parse",
        "status": "pass",
        "value": true,
        "detail": "frontmatter parsed"
      },
      {
        "id": "frontmatter.name",
        "status": "pass",
        "value": "migrate-xml-views-to-jetpack-compose",
        "detail": "valid name"
      },
      {
        "id": "frontmatter.nameMatchesDir",
        "status": "pass",
        "value": true,
        "detail": "name matches its directory"
      },
      {
        "id": "frontmatter.description",
        "status": "pass",
        "value": 464,
        "detail": "464 characters"
      },
      {
        "id": "frontmatter.descriptionTrigger",
        "status": "pass",
        "value": true,
        "detail": "states when to use the skill"
      },
      {
        "id": "frontmatter.descriptionVoice",
        "status": "pass",
        "value": true,
        "detail": "third person, no XML"
      },
      {
        "id": "frontmatter.unknownKeys",
        "status": "info",
        "value": null,
        "detail": "none"
      },
      {
        "id": "body.tokensApprox",
        "status": "pass",
        "value": 1167,
        "detail": "within budget"
      },
      {
        "id": "body.lines",
        "status": "pass",
        "value": 103,
        "detail": "103 lines"
      },
      {
        "id": "refs.brokenLinks",
        "status": "pass",
        "value": 0,
        "detail": "all relative links resolve"
      },
      {
        "id": "files.inventory",
        "status": "info",
        "value": 8,
        "detail": "8 files, 54432 bytes"
      },
      {
        "id": "files.binary",
        "status": "pass",
        "value": 0,
        "detail": "no executables or archives"
      },
      {
        "id": "scripts.present",
        "status": "info",
        "value": 0,
        "detail": "no scripts"
      },
      {
        "id": "scripts.network",
        "status": "info",
        "value": 0,
        "detail": "no network calls found"
      },
      {
        "id": "scripts.destructive",
        "status": "pass",
        "value": 0,
        "detail": "none found"
      },
      {
        "id": "secrets.scan",
        "status": "pass",
        "value": 0,
        "detail": "none found"
      },
      {
        "id": "instructions.risk",
        "status": "pass",
        "value": 0,
        "detail": "none found"
      },
      {
        "id": "license.detected",
        "status": "pass",
        "value": "Apache-2.0",
        "detail": "declared in frontmatter"
      },
      {
        "id": "repo.activity",
        "status": "pass",
        "value": 33,
        "detail": "last changed 33 days before the check"
      },
      {
        "id": "pinned.drift",
        "status": "info",
        "value": 0,
        "detail": "unchanged since the pinned commit"
      }
    ],
    "metrics": {
      "descriptionChars": 464,
      "bodyTokensApprox": 1167,
      "bodyLines": 103,
      "fileCount": 8,
      "totalBytes": 54432,
      "scriptCount": 0,
      "lastCommitAt": "2026-09-25T14:03:04Z",
      "commitsSincePin": 0
    },
    "repo": {
      "stars": 10017,
      "archived": false,
      "checkedAt": "2026-10-29"
    },
    "flags": []
  },
  "benchmark": null
}
