[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6AD1TAXS9F6BZ34Y9M8A6H5":3,"skill-same:01M6AD1TAXS9F6BZ34Y9M8A6H5":65},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":47,"ownerHtmlUrl":48,"ownerBlogUrl":49,"ownerDescription":17,"updatedAt":50,"install":51,"resources":64},"01M6AD1TAXS9F6BZ34Y9M8A6H5","sling-release","Apache Sling 项目自动化发布","Automates releasing an Apache Sling project end-to-end using Maven and the sling-cli Docker tool. Use when the user wants to release a Sling project, start a release, perform any step of the Apache Sling release process, or asks about releasing\u002Fvoting\u002Fpromoting a Sling module.","使用 Maven 和 sling-cli Docker 工具端到端自动化发布 Apache Sling 项目。当用户想要发布 Sling 项目、启动发布流程、执行 Apache Sling 发布流程的任一步骤，或询问 Sling 模块的发布\u002F投票\u002F晋升时使用。","apache\u002Fsling-agent-skills","apache","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F47359?v=4","01M6AC83E6K4FDKK7HZ8WNMQKE","The Apache Software Foundation","01M6AD1M9S2K8GV5EXRYQTBDW0",0,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fsling-agent-skills\u002Fblob\u002Fmaster\u002Fskills\u002Fsling-release\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQNXPY1AV6BSR5VKHDMWRH","部署与发布管理","SCENARIO","使用场景",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C78XMS93X21V52649FP9VH","发布经理","PROFESSION","适用职业",[31,32,33,34,35,10],"release","sling release","cli","docker","release process","2026-11-10 10:12:30",false,"---\nname: sling-release\ndescription: Automates releasing an Apache Sling project end-to-end using Maven and the sling-cli Docker tool. Use when the user wants to release a Sling project, start a release, perform any step of the Apache Sling release process, or asks about releasing\u002Fvoting\u002Fpromoting a Sling module.\ntools: Bash, Read, Edit, Write\n---\n\nThis skill releases an Apache Sling module end-to-end by combining **Maven** steps (run in the\nproject being released) with the **`apache\u002Fsling-cli`** Docker tool (this repo) for the\nNexus\u002Fvote\u002Ffinalize steps.\n\n## Overview\n\nThree phases:\n1. **Stage** — Maven prepares the release and stages signed artifacts to Nexus.\n2. **Vote** — close the staging repo, verify, send the `[VOTE]` email, wait 72h, tally.\n3. **Finalize** — after a passing vote: promote to Maven Central, update JIRA + Reporter, and (for\n   PMC members) publish to `dist.apache.org`.\n\n## Prerequisites (verify before starting)\n\n1. **Docker** is available, and the `apache\u002Fsling-cli` image is built\u002Fpulled.\n2. **`~\u002F.apache-committer`** (or any env file) with ASF credentials, passed to the container:\n   ```\n   ASF_USERNAME=your-apache-id\n   ASF_PASSWORD=your-apache-password\n   ```\n3. **GPG signing key** published to `keys.openpgp.org` and added to the Sling `KEYS` file\n   (\u003Chttps:\u002F\u002Fdist.apache.org\u002Frepos\u002Fdist\u002Frelease\u002Fsling\u002FKEYS>).\n4. **`~\u002F.m2\u002Fsettings.xml`** configured for maven-gpg-plugin **3.x** (used by recent parent POMs). The\n   passphrase is read from a **server** whose id is `gpg.passphrase` (the `gpg.passphraseServerId`\n   default) and decrypted via `settings-security.xml` — **not** from a `\u003Cgpg.passphrase>` profile\n   property (that older approach is passed to gpg literally and fails):\n   ```xml\n   \u003Cservers>\n     \u003Cserver>\u003Cid>apache.snapshots.https\u003C\u002Fid>\u003Cusername>ID\u003C\u002Fusername>\u003Cpassword>{ENC}\u003C\u002Fpassword>\u003C\u002Fserver>\n     \u003Cserver>\u003Cid>apache.releases.https\u003C\u002Fid>\u003Cusername>ID\u003C\u002Fusername>\u003Cpassword>{ENC}\u003C\u002Fpassword>\u003C\u002Fserver>\n     \u003Cserver>\u003Cid>gpg.passphrase\u003C\u002Fid>\u003Cpassphrase>{ENC}\u003C\u002Fpassphrase>\u003C\u002Fserver>\n   \u003C\u002Fservers>\n   \u003Cprofiles>\u003Cprofile>\u003Cid>apache-release\u003C\u002Fid>\u003Cproperties>\n     \u003Cgpg.pinentryMode>loopback\u003C\u002Fgpg.pinentryMode>\n     \u003Cgpg.keyname>YOUR_KEY_ID\u003C\u002Fgpg.keyname>\n     \u003Csmtp.host>smtp.gmail.com\u003C\u002Fsmtp.host>\n   \u003C\u002Fproperties>\u003C\u002Fprofile>\u003C\u002Fprofiles>\n   ```\n5. **`~\u002F.m2\u002Fsettings-security.xml`** with the `\u003Cmaster>` password used to decrypt the above.\n\nIf any prerequisite is missing, stop and tell the user how to set it up before proceeding.\n\n## Running the CLI\n\nUse the Docker image directly. A `sling-cli` shell alias may exist but usually includes `-it` (TTY),\nwhich **fails in non-interactive contexts** like Claude Code — so do not rely on it:\n\n```bash\ndocker run --rm --env-file=$HOME\u002F.apache-committer apache\u002Fsling-cli release \u003Ccommand> [options]\n```\n\n- Default mode is `DRY_RUN` (shows what would happen). Add `-x AUTO` to execute, `-x INTERACTIVE` to confirm each step.\n- Always run a **DRY_RUN first** for any command that sends mail or mutates Nexus\u002Fdist, show the user the output, then re-run with `-x AUTO`.\n- `~` does not expand inside quoted docker args — use `$HOME`.\n\n## Determining the Java version (Maven steps)\n\nBuild with the Java version required by the project's Sling parent POM (recent parents require Java\n17). If `mvnXX` wrappers are absent, set `JAVA_HOME` explicitly to an installed JDK\n(`\u002Fusr\u002Flibexec\u002Fjava_home -V` to list).\n\n## Phase 1: Stage (Maven, in the project being released)\n\n1. **Parent POM current?** Confirm it's up to date and `mvn clean verify` is green.\n2. **Dry-run prepare**, then clean. Verify only `\u003Cversion>`\u002F`\u003Cscm>` differ in `pom.xml.tag`:\n   ```bash\n   mvn release:prepare -DdryRun=true && mvn release:clean\n   ```\n3. **Deploy snapshot**; confirm `META-INF\u002FLICENSE` + `META-INF\u002FNOTICE` are inside the jar:\n   ```bash\n   mvn deploy\n   ```\n4. **Prepare + perform** (creates the tag, bumps to next SNAPSHOT, signs + stages to Nexus):\n   ```bash\n   mvn release:prepare\n   mvn release:perform\n   ```\n   Capture the staging repo id from a `…\u002Forgapachesling-NNNN` line. If it scrolled off, find it with\n   `release list` (below).\n\n## Phase 2: Vote\n\n### 2.0 — Find the staging repo id (if not captured)\n```bash\ndocker run --rm --env-file=$HOME\u002F.apache-committer apache\u002Fsling-cli release list\n```\nLists every staging repo with its `[open]`\u002F`[closed]` state. A freshly staged repo is `[open]`; the\nnumeric suffix of `orgapachesling-NNNN` is the `REPO_ID`.\n\n### 2.1 — Close the staging repository\n```bash\ndocker run --rm --env-file=$HOME\u002F.apache-committer apache\u002Fsling-cli release close-staging -r \u003CREPO_ID> -x AUTO\n```\nThe description is auto-derived from the staged POM's `\u003Cname> \u003Cversion>` (so it is correct even for an\nopen repo not yet in the Lucene index). After closing, the repo shows as `[closed]`.\n\n### 2.2 — Verify artifacts\n```bash\ndocker run --rm --env-file=$HOME\u002F.apache-committer apache\u002Fsling-cli release verify -r \u003CREPO_ID>\n```\nConfirm PGP signatures, SHA-1, MD5, and CI status all pass before voting.\n\n### 2.3 — Send the vote email (dry-run first!)\n```bash\ndocker run --rm --env-file=$HOME\u002F.apache-committer apache\u002Fsling-cli release prepare-email -r \u003CREPO_ID>          # review\ndocker run --rm --env-file=$HOME\u002F.apache-committer apache\u002Fsling-cli release prepare-email -r \u003CREPO_ID> -x AUTO  # send\n```\n\n### 2.4 — Wait 72h, then tally\nAt least 72 hours on dev@sling.apache.org and ≥3 binding (PMC) +1 votes are required.\n```bash\ndocker run --rm --env-file=$HOME\u002F.apache-committer apache\u002Fsling-cli release tally-votes -r \u003CREPO_ID>            # review\ndocker run --rm --env-file=$HOME\u002F.apache-committer apache\u002Fsling-cli release tally-votes -r \u003CREPO_ID> -x AUTO    # send [RESULT]\n```\n**PMC membership is auto-detected from your ASF id** — no flag needed. If you are a PMC member the\nresult email says you will copy the release to the dist directory yourself; otherwise it asks a PMC\nmember to do the dist upload.\n\n### If the vote FAILS\n```bash\ndocker run --rm --env-file=$HOME\u002F.apache-committer apache\u002Fsling-cli release drop -r \u003CREPO_ID> -x AUTO\ngit push --delete origin \u003CTAG_NAME>   # e.g. org.apache.sling.feature.launcher-1.3.4\ngit tag -d \u003CTAG_NAME>\n# restart Phase 1 with a new version\n```\n\n## Phase 3: Finalize (after a passing vote)\n\n```bash\ndocker run --rm --env-file=$HOME\u002F.apache-committer apache\u002Fsling-cli release finalize -r \u003CREPO_ID> -x AUTO\n```\nRuns in order: promote to Maven Central → (if you are a PMC member) update `dist.apache.org` →\ncreate next JIRA version & move unresolved issues → mark JIRA version released → update Apache\nReporter.\n\n- **PMC detection is automatic.** A PMC member's run also publishes to `dist.apache.org`; the previous\n  version to remove is **deduced from the dist\u002Frelease directory**, so no `--previous-version` is\n  needed (override with `--previous-version X.Y.Z` only if necessary). A non-PMC run skips the dist\n  step (a PMC member handles it, as requested in the tally-votes email).\n\n### Update the website (optional)\n```bash\ndocker run --rm --env-file=$HOME\u002F.apache-committer apache\u002Fsling-cli release update-local-site -r \u003CREPO_ID>\n```\nReview the diff, then commit & push the sling-site changes separately.\n\n## Quick reference\n\n`\u003Ccli>` = `docker run --rm --env-file=$HOME\u002F.apache-committer apache\u002Fsling-cli`\n\n| Command | When |\n|---------|------|\n| `\u003Ccli> release list` | List staging repos with `[open]`\u002F`[closed]` state + description |\n| `\u003Ccli> release close-staging -r \u003CID> -x AUTO` | After `mvn release:perform` |\n| `\u003Ccli> release verify -r \u003CID>` | Before sending the vote email |\n| `\u003Ccli> release prepare-email -r \u003CID> -x AUTO` | Send the `[VOTE]` email |\n| `\u003Ccli> release tally-votes -r \u003CID> -x AUTO` | After 72h with ≥3 binding votes (PMC auto-detected) |\n| `\u003Ccli> release finalize -r \u003CID> -x AUTO` | All post-vote steps (dist included automatically for PMC) |\n| `\u003Ccli> release promote -r \u003CID> -x AUTO` | Promote to Maven Central (individual step) |\n| `\u003Ccli> release update-dist -r \u003CID> -x AUTO` | Update dist.apache.org (PMC only; prev version auto-deduced) |\n| `\u003Ccli> release drop -r \u003CID> -x AUTO` | Drop staging (failed vote \u002F cleanup) |\n| `\u003Ccli> release create-new-jira-version -r \u003CID> -x AUTO` | Create next JIRA version |\n| `\u003Ccli> release release-jira-version -r \u003CID> -x AUTO` | Mark JIRA version released |\n| `\u003Ccli> release update-reporter -r \u003CID> -x AUTO` | Update Apache Reporter |\n| `\u003Ccli> release update-local-site -r \u003CID>` | Update JBake website content |\n\n## Execution notes\n\nWhen this skill is invoked:\n1. Confirm which phase the user is starting from (Stage \u002F Vote \u002F Finalize \u002F Cancel) and the `REPO_ID` if past Phase 1.\n2. Verify the prerequisites above before any mutating step.\n3. For mail\u002FNexus\u002Fdist commands, run DRY_RUN first, show output, then `-x AUTO`.\n4. On failure, diagnose (often a missing prereq or wrong `REPO_ID`) and suggest a fix before retrying.\n5. Do not touch git state beyond what the documented steps require.\n","This skill releases an Apache Sling module end-to-end by combining **Maven** steps (run in the\nproject being released) with the **`apache\u002Fsling-cli`** Docker tool (this repo) for the\nNexus\u002Fvote\u002Ffinalize steps.\n\n## Overview\n\nThree phases:\n1. **Stage** — Maven prepares the release and stages signed artifacts to Nexus.\n2. **Vote** — close the staging repo, verify, send the `[VOTE]` email, wait 72h, tally.\n3. **Finalize** — after a passing vote: promote to Maven Central, update JIRA + Reporter, and (for\n   PMC members) publish to `dist.apache.org`.\n\n## Prerequisites (verify before starting)\n\n1. **Docker** is available, and the `apache\u002Fsling-cli` image is built\u002Fpulled.\n2. **`~\u002F.apache-committer`** (or any env file) with ASF credentials, passed to the container:\n   ```\n   ASF_USERNAME=your-apache-id\n   ASF_PASSWORD=your-apache-password\n   ```\n3. **GPG signing key** published to `keys.openpgp.org` and added to the Sling `KEYS` file\n   (\u003Chttps:\u002F\u002Fdist.apache.org\u002Frepos\u002Fdist\u002Frelease\u002Fsling\u002FKEYS>).\n4. **`~\u002F.m2\u002Fsettings.xml`** configured for maven-gpg-plugin **3.x** (used by recent parent POMs). The\n   passphrase is read from a **server** whose id is `gpg.passphrase` (the `gpg.passphraseServerId`\n   default) and decrypted via `settings-security.xml` — **not** from a `\u003Cgpg.passphrase>` profile\n   property (that older approach is passed to gpg literally and fails):\n   ```xml\n   \u003Cservers>\n     \u003Cserver>\u003Cid>apache.snapshots.https\u003C\u002Fid>\u003Cusername>ID\u003C\u002Fusername>\u003Cpassword>{ENC}\u003C\u002Fpassword>\u003C\u002Fserver>\n     \u003Cserver>\u003Cid>apache.releases.https\u003C\u002Fid>\u003Cusername>ID\u003C\u002Fusername>\u003Cpassword>{ENC}\u003C\u002Fpassword>\u003C\u002Fserver>\n     \u003Cserver>\u003Cid>gpg.passphrase\u003C\u002Fid>\u003Cpassphrase>{ENC}\u003C\u002Fpassphrase>\u003C\u002Fserver>\n   \u003C\u002Fservers>\n   \u003Cprofiles>\u003Cprofile>\u003Cid>apache-release\u003C\u002Fid>\u003Cproperties>\n     \u003Cgpg.pinentryMode>loopback\u003C\u002Fgpg.pinentryMode>\n     \u003Cgpg.keyname>YOUR_KEY_ID\u003C\u002Fgpg.keyname>\n     \u003Csmtp.host>smtp.gmail.com\u003C\u002Fsmtp.host>\n   \u003C\u002Fproperties>\u003C\u002Fprofile>\u003C\u002Fprofiles>\n   ```\n5. **`~\u002F.m2\u002Fsettings-security.xml`** with the `\u003Cmaster>` password used to decrypt the above.\n\nIf any prerequisite is missing, stop and tell the user how to set it up before proceeding.\n\n## Running the CLI\n\nUse the Docker image directly. A `sling-cli` shell alias may exist but usually includes `-it` (TTY),\nwhich **fails in non-interactive contexts** like Claude Code — so do not rely on it:\n\n```bash\ndocker run --rm --env-file=$HOME\u002F.apache-committer apache\u002Fsling-cli release \u003Ccommand> [options]\n```\n\n- Default mode is `DRY_RUN` (shows what would happen). Add `-x AUTO` to execute, `-x INTERACTIVE` to confirm each step.\n- Always run a **DRY_RUN first** for any command that sends mail or mutates Nexus\u002Fdist, show the user the output, then re-run with `-x AUTO`.\n- `~` does not expand inside quoted docker args — use `$HOME`.\n\n## Determining the Java version (Maven steps)\n\nBuild with the Java version required by the project's Sling parent POM (recent parents require Java\n17). If `mvnXX` wrappers are absent, set `JAVA_HOME` explicitly to an installed JDK\n(`\u002Fusr\u002Flibexec\u002Fjava_home -V` to list).\n\n## Phase 1: Stage (Maven, in the project being released)\n\n1. **Parent POM current?** Confirm it's up to date and `mvn clean verify` is green.\n2. **Dry-run prepare**, then clean. Verify only `\u003Cversion>`\u002F`\u003Cscm>` differ in `pom.xml.tag`:\n   ```bash\n   mvn release:prepare -DdryRun=true && mvn release:clean\n   ```\n3. **Deploy snapshot**; confirm `META-INF\u002FLICENSE` + `META-INF\u002FNOTICE` are inside the jar:\n   ```bash\n   mvn deploy\n   ```\n4. **Prepare + perform** (creates the tag, bumps to next SNAPSHOT, signs + stages to Nexus):\n   ```bash\n   mvn release:prepare\n   mvn release:perform\n   ```\n   Capture the staging repo id from a `…\u002Forgapachesling-NNNN` line. If it scrolled off, find it with\n   `release list` (below).\n\n## Phase 2: Vote\n\n### 2.0 — Find the staging repo id (if not captured)\n```bash\ndocker run --rm --env-file=$HOME\u002F.apache-committer apache\u002Fsling-cli release list\n```\nLists every staging repo with its `[open]`\u002F`[closed]` state. A freshly staged repo is `[open]`; the\nnumeric suffix of `orgapachesling-NNNN` is the `REPO_ID`.\n\n### 2.1 — Close the staging repository\n```bash\ndocker run --rm --env-file=$HOME\u002F.apache-committer apache\u002Fsling-cli release close-staging -r \u003CREPO_ID> -x AUTO\n```\nThe description is auto-derived from the staged POM's `\u003Cname> \u003Cversion>` (so it is correct even for an\nopen repo not yet in the Lucene index). After closing, the repo shows as `[closed]`.\n\n### 2.2 — Verify artifacts\n```bash\ndocker run --rm --env-file=$HOME\u002F.apache-committer apache\u002Fsling-cli release verify -r \u003CREPO_ID>\n```\nConfirm PGP signatures, SHA-1, MD5, and CI status all pass before voting.\n\n### 2.3 — Send the vote email (dry-run first!)\n```bash\ndocker run --rm --env-file=$HOME\u002F.apache-committer apache\u002Fsling-cli release prepare-email -r \u003CREPO_ID>          # review\ndocker run --rm --env-file=$HOME\u002F.apache-committer apache\u002Fsling-cli release prepare-email -r \u003CREPO_ID> -x AUTO  # send\n```\n\n### 2.4 — Wait 72h, then tally\nAt least 72 hours on dev@sling.apache.org and ≥3 binding (PMC) +1 votes are required.\n```bash\ndocker run --rm --env-file=$HOME\u002F.apache-committer apache\u002Fsling-cli release tally-votes -r \u003CREPO_ID>            # review\ndocker run --rm --env-file=$HOME\u002F.apache-committer apache\u002Fsling-cli release tally-votes -r \u003CREPO_ID> -x AUTO    # send [RESULT]\n```\n**PMC membership is auto-detected from your ASF id** — no flag needed. If you are a PMC member the\nresult email says you will copy the release to the dist directory yourself; otherwise it asks a PMC\nmember to do the dist upload.\n\n### If the vote FAILS\n```bash\ndocker run --rm --env-file=$HOME\u002F.apache-committer apache\u002Fsling-cli release drop -r \u003CREPO_ID> -x AUTO\ngit push --delete origin \u003CTAG_NAME>   # e.g. org.apache.sling.feature.launcher-1.3.4\ngit tag -d \u003CTAG_NAME>\n# restart Phase 1 with a new version\n```\n\n## Phase 3: Finalize (after a passing vote)\n\n```bash\ndocker run --rm --env-file=$HOME\u002F.apache-committer apache\u002Fsling-cli release finalize -r \u003CREPO_ID> -x AUTO\n```\nRuns in order: promote to Maven Central → (if you are a PMC member) update `dist.apache.org` →\ncreate next JIRA version & move unresolved issues → mark JIRA version released → update Apache\nReporter.\n\n- **PMC detection is automatic.** A PMC member's run also publishes to `dist.apache.org`; the previous\n  version to remove is **deduced from the dist\u002Frelease directory**, so no `--previous-version` is\n  needed (override with `--previous-version X.Y.Z` only if necessary). A non-PMC run skips the dist\n  step (a PMC member handles it, as requested in the tally-votes email).\n\n### Update the website (optional)\n```bash\ndocker run --rm --env-file=$HOME\u002F.apache-committer apache\u002Fsling-cli release update-local-site -r \u003CREPO_ID>\n```\nReview the diff, then commit & push the sling-site changes separately.\n\n## Quick reference\n\n`\u003Ccli>` = `docker run --rm --env-file=$HOME\u002F.apache-committer apache\u002Fsling-cli`\n\n| Command | When |\n|---------|------|\n| `\u003Ccli> release list` | List staging repos with `[open]`\u002F`[closed]` state + description |\n| `\u003Ccli> release close-staging -r \u003CID> -x AUTO` | After `mvn release:perform` |\n| `\u003Ccli> release verify -r \u003CID>` | Before sending the vote email |\n| `\u003Ccli> release prepare-email -r \u003CID> -x AUTO` | Send the `[VOTE]` email |\n| `\u003Ccli> release tally-votes -r \u003CID> -x AUTO` | After 72h with ≥3 binding votes (PMC auto-detected) |\n| `\u003Ccli> release finalize -r \u003CID> -x AUTO` | All post-vote steps (dist included automatically for PMC) |\n| `\u003Ccli> release promote -r \u003CID> -x AUTO` | Promote to Maven Central (individual step) |\n| `\u003Ccli> release update-dist -r \u003CID> -x AUTO` | Update dist.apache.org (PMC only; prev version auto-deduced) |\n| `\u003Ccli> release drop -r \u003CID> -x AUTO` | Drop staging (failed vote \u002F cleanup) |\n| `\u003Ccli> release create-new-jira-version -r \u003CID> -x AUTO` | Create next JIRA version |\n| `\u003Ccli> release release-jira-version -r \u003CID> -x AUTO` | Mark JIRA version released |\n| `\u003Ccli> release update-reporter -r \u003CID> -x AUTO` | Update Apache Reporter |\n| `\u003Ccli> release update-local-site -r \u003CID>` | Update JBake website content |\n\n## Execution notes\n\nWhen this skill is invoked:\n1. Confirm which phase the user is starting from (Stage \u002F Vote \u002F Finalize \u002F Cancel) and the `REPO_ID` if past Phase 1.\n2. Verify the prerequisites above before any mutating step.\n3. For mail\u002FNexus\u002Fdist commands, run DRY_RUN first, show output, then `-x AUTO`.\n4. On failure, diagnose (often a missing prereq or wrong `REPO_ID`) and suggest a fix before retrying.\n5. Do not touch git state beyond what the documented steps require.\n",{"name":5,"tools":41,"description":7},"Bash, Read, Edit, Write","master","d568740afee83b99732b9e474aa3a125b5fa91f8","skills\u002Fsling-release",2,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fsling-agent-skills","https:\u002F\u002Fsling.apache.org\u002F","https:\u002F\u002Fgithub.com\u002Fapache","https:\u002F\u002Fwww.apache.org\u002F","2026-10-30 19:47:07",{"source":9,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add apache\u002Fsling-agent-skills --skill sling-release",{"tool":57,"command":58},"bunx","bunx skills add apache\u002Fsling-agent-skills --skill sling-release",{"tool":60,"command":61},"pnpm","pnpm dlx skills add apache\u002Fsling-agent-skills --skill sling-release","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fapache\u002Fsling-agent-skills\u002Fblob\u002Fmaster\u002Fskills\u002Fsling-release\u002FSKILL.md",true,[],[66,83],{"skillNo":67,"name":68,"nameZh":69,"description":70,"descriptionZh":71,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":72,"categories":73,"keywords":80,"publishedAt":36},"01M6AD1WCGGQDP42RSBC13QTX2","update-sling-parent-pom","Sling 父级 POM 版本升级","Use when the user asks to upgrade the Sling parent POM version in their project","当用户要求升级其项目中的 Sling 父级 POM 版本时使用。","https:\u002F\u002Fgithub.com\u002Fapache\u002Fsling-agent-skills\u002Fblob\u002Fmaster\u002Fskills\u002Fupdate-sling-parent-pom\u002FSKILL.md",[74,77],{"categoryNo":75,"categoryName":76,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":78,"categoryName":79,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理",[81,82],"update","update sling parent pom",{"skillNo":84,"name":85,"nameZh":86,"description":87,"descriptionZh":88,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":89,"categories":90,"keywords":95,"publishedAt":36},"01M6AD1P7F6P5AXJFVVG85Z4M7","osgi-scr-migrator","OSGi SCR 注解迁移","Migrate OSGi-based Java projects from deprecated Felix SCR annotations to official OSGi R6\u002FR7 Component annotations. Use when migrating legacy OSGi bundles that use @Component, @Service, @Reference, @Property from org.apache.felix.scr.annotations to org.osgi.service.component.annotations. Handles both Java source code transformation and Maven POM updates (removing maven-scr-plugin, updating dependencies). Also supports Sling-specific annotations like @SlingServlet and @SlingFilter. Features full automation of property migration, metatype configuration generation, constructor injection optimization, validation, and comprehensive reporting. After basic migration, offers optional Step 7 to optimize code with constructor injection for immutable dependencies.","将基于 OSGi 的 Java 项目从已弃用的 Felix SCR 注解迁移到官方 OSGi R6\u002FR7 Component 注解。适用于迁移使用 org.apache.felix.scr.annotations 中 @Component、@Service、@Reference、@Property 的旧版 OSGi bundle，将其迁移到 org.osgi.service.component.annotations。同时处理 Java 源代码转换和 Maven POM 更新（移除 maven-scr-plugin、更新依赖）。还支持 Sling 特有的注解，如 @SlingServlet 和 @SlingFilter。具备属性迁移、元类型配置生成、构造器注入优化、验证和全面报告的全流程自动化特性。在完成基础迁移后，提供可选的第 7 步，使用构造器注入对不可变依赖进行代码优化。","https:\u002F\u002Fgithub.com\u002Fapache\u002Fsling-agent-skills\u002Fblob\u002Fmaster\u002Fskills\u002Fosgi-scr-migrator\u002FSKILL.md",[91,92],{"categoryNo":75,"categoryName":76,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":93,"categoryName":94,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BT7QVANT4709358VEJK53E","代码实现",[96,97,98,99,100,101,102,10,103],"osgi scr migrator","automation","component","official","plugin","code","validation","java"]