[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6H44WXYZG2024M52C4EDCS7":3,"skill-same:01M6H44WXYZG2024M52C4EDCS7":77},{"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":23,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":54,"commitSha":55,"skillDirectory":56,"forksCount":57,"repositoryHtmlUrl":58,"repositoryHomepageUrl":6,"ownerHtmlUrl":59,"ownerBlogUrl":60,"ownerDescription":61,"updatedAt":62,"install":63,"resources":76},"01M6H44WXYZG2024M52C4EDCS7","dx-pr-commit",null,"Commit changes (work item ID in the message, rebase onto base) and optionally open a PR in the configured SCM (only ado is implemented). Use for 'commit', 'push', 'open PR', 'create PR'. Not for reviews (dx-pr-review) or replies (dx-pr-answer); the end-of-plan PR is dx-pr.","easingthemes\u002Fdx-aem-flow","easingthemes","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F2750284?v=4","01M6H3XYGJY8QCX9ES36P2WF4H","Dragan Filipović","01M6H3XYMN1XVSGKN7N79SW3RH",7,"MIT","https:\u002F\u002Fgithub.com\u002Feasingthemes\u002Fdx-aem-flow\u002Fblob\u002Fmain\u002Fplugins\u002Fdx-core\u002Fskills\u002Fdx-pr-commit\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"dx pr commit","pr","dx","commit","rebase","edit","write","read","message","plan","work","create","create pr","review","scm","only","open","end","search","reviews","2026-11-10 10:12:30",false,"---\nname: dx-pr-commit\ndescription: \"Commit changes (work item ID in the message, rebase onto base) and optionally open a PR in the configured SCM (only ado is implemented). Use for 'commit', 'push', 'open PR', 'create PR'. Not for reviews (dx-pr-review) or replies (dx-pr-answer); the end-of-plan PR is dx-pr.\"\nargument-hint: \"[optional: commit message or 'pr' to also create PR]\"\ncontext: fork\nallowed-tools: [\"read\", \"edit\", \"search\", \"write\", \"agent\", \"ado\u002F*\"]\n---\n\n**Isolation check.** This skill is meant to run in its own context (`context: fork`). If you can see the user's messages from before this skill was invoked, you are running inline (Copilot CLI ignores `context: fork`): do not run the steps below yourself. Start one subagent with your task\u002Fsubagent tool, give it only this instruction — \"Invoke the dx-core:dx-pr-commit skill with these arguments: \u003Cthe arguments you were given, or none>. Run it fully and reply with its final report only.\" — then show the user that report and stop. If you cannot see earlier user messages, or your only earlier message is that instruction to invoke dx-core:dx-pr-commit (you are a fork or that subagent), continue below.\n\nYou handle git commits and Azure DevOps pull requests.\n\n## Provider check\n\nRead `scm.provider` from `.ai\u002Fconfig.yaml` (missing means `ado`). Only `ado` is implemented: the steps below call the ADO MCP server (`mcp__ado__*`). If it is anything else (e.g. `github`), stop before any git push or MCP call and tell the user: \"dx PR skills support only scm.provider: ado (found: \u003Cvalue>).\"\n\n## Output discipline\n\nYou run in a forked context. Before emitting any chat output, determine whether you were invoked by the orchestrator (`dx-agent-all`) or standalone — see `plugins\u002Fdx-core\u002Fshared\u002Forchestration-check.md`:\n\n```bash\nORCHESTRATED=0\nFLAG=\".ai\u002Frun-context\u002Forchestrating.flag\"\nif [ -f \"$FLAG\" ]; then\n  AGE=$(( $(date +%s) - $(date -r \"$FLAG\" +%s) ))\n  [ \"$AGE\" -lt 7200 ] && ORCHESTRATED=1\nfi\n```\n\n- **If `$ORCHESTRATED == 1`** (orchestrator path): complete the commit (and PR if requested) and emit ONLY the `## Return` block to chat.\n- **If `$ORCHESTRATED == 0`** (standalone path): complete the commit (and PR if requested) AND emit the human-friendly summary marked `\u003C!-- standalone-only -->` below, followed by the `## Return` block at the very end.\n\nPer-step progress lines during the run are allowed in both paths.\n\n**Before anything else**, read these two files:\n- `..\u002F..\u002Fshared\u002Fgit-rules.md` — all git\u002FADO conventions (base branch discovery, repo ID discovery, commit format, staging, rebase, PRs)\n- `.ai\u002Fconfig.yaml` — project config, preferences (Auto-Commit, Auto-PR)\n\nFollow every rule in `git-rules.md`. The steps below assume you have read it.\n\n## Persona (optional)\n\nIf `.ai\u002Fme.md` exists, read it. Use it to shape PR titles and descriptions. Commit message format (`#\u003CID> \u003Cimperative>`) is a structural constraint and always wins. If `.ai\u002Fme.md` doesn't exist, use defaults.\n\n## 1. Determine Intent\n\nParse the user's request and argument:\n- **Commit only** — default if no \"pr\" keyword\n- **Commit + PR** — if user says \"pr\", \"pull request\", \"open pr\", etc.\n- **PR only** — if changes are already committed and user just wants a PR\n\n## 1. Gather Git Context\n\nRun the context discovery script:\n\n```bash\nbash .ai\u002Flib\u002Fgather-context.sh\n```\n\nThis outputs `CURRENT_BRANCH`, `BASE_BRANCH`, and `GITIGNORE_RULES`. Use these values throughout — do NOT re-run discovery commands.\n\n## 2. Setup\n\n1. **Base branch** — already discovered above (use `BASE_BRANCH` value). If `unknown`, fall back to git-rules.md probing.\n2. **Discover repo ID** — per git-rules.md\n3. **Check branch safety** — must be on `feature\u002F*` or `bugfix\u002F*` (check `CURRENT_BRANCH` above)\n\n## 3. Extract ADO Work Item ID\n\nFind it from (in priority order):\n1. **User argument** — if they passed an ID\n2. **Branch name** — extract digits from `feature\u002F#2416553-...` or `feature\u002F2416553-...` or `bugfix\u002F2416553-...`\n3. **Spec directory** — check `.ai\u002Fspecs\u002F\u003Cid>-*\u002F` for the most recent spec\n4. **Recent commits** — parse `git log -5 --oneline` for `#\u003Cdigits>` pattern\n\nIf no ID found, ask the user.\n\n## 4. Rebase (if needed)\n\nPer git-rules.md — fetch, check if behind, rebase. Never merge.\n\n## 5. Stage Changes\n\nRun `git status`. Stage files **specifically** per git-rules.md.\n\n### Identify YOUR changes only\n\nBefore staging, determine which files are actually yours vs came from the base branch:\n\n```bash\n# Files changed only on this branch (yours)\ngit diff origin\u002F$BASE_BRANCH...HEAD --name-only\n\n# Compare with git status to spot foreign files\ngit status --short\n```\n\nIf `git status` shows files NOT in the `git diff ...HEAD --name-only` output, those came from a merge or rebase — do NOT stage them.\n\n### Stage rules\n\n- Only stage files that appear in YOUR diff\n- Files the user explicitly mentioned\n- If a spec directory exists, also stage `implement.md` status updates\n- **Never** stage files that only exist in `git status` but not in your branch diff\n\nPresent the staged files to the user for confirmation before committing.\n\n## 6. Commit\n\nCraft message per git-rules.md format: `#\u003CADO-ID> \u003Cimperative description>`\n\nIf the user provided a message in the argument, use it (prepend the `#\u003CID>` if missing).\n\nCommit and verify with `git log -1 --oneline`.\n\n## 6b. Orchestrated PR update (headless)\n\nWhen `$ORCHESTRATED == 1` (e.g. `\u002Fdx-pr-answer` applying fixes to a reviewer's open PR), the branch usually already has an Active PR and the intent is **update it**, not create a new one. After committing, check:\n\n```\nmcp__ado__repo_pull_request\n  action: \"list\"\n  repositoryId: \"\u003Crepo ID>\"\n  sourceRefName: \"refs\u002Fheads\u002F\u003Ccurrent-branch>\"\n  status: \"Active\"\n```\n\nIf an **Active PR exists**, push the new commit to update it — no new PR, no prompt:\n\n```bash\ngit push origin \"$(git branch --show-current)\" \\\n  || { git pull --rebase origin \"$(git branch --show-current)\" && git push origin \"$(git branch --show-current)\"; }\n```\n\nPushing the source branch updates the existing PR automatically. Do **not** create a new PR and do **not** bare-`--force` (only `--force-with-lease`, and only after an explicit rebase). Capture the PR URL\u002FID for the caller's `## Return` block, then skip step 7.\n\nIf **no Active PR exists**, fall through: create one only if a PR was requested (the `pr` keyword), otherwise this was a commit-only run and you're done.\n\n## 7. Create PR (if requested)\n\nOnly if the user asked for a PR.\n\n### 7a. PR Pre-Flight Checks (per git-rules.md)\n\nRun all pre-flight checks from git-rules.md before creating:\n1. **Check for existing PR** — if Active, show it and stop. If Abandoned, offer to reactivate.\n2. **Check for empty diff** — if no commits vs base branch, stop.\n3. **Push branch** — `git push -u origin $(git branch --show-current)`. If rejected after rebase, use `--force-with-lease`.\n\n### 7b. Create PR via ADO MCP\n\nUse `mcp__ado__repo_pull_request_write` with `action: \"create\"` per git-rules.md:\n\n- **repositoryId:** auto-discovered\n- **sourceRefName:** `refs\u002Fheads\u002F\u003Ccurrent-branch>`\n- **targetRefName:** `refs\u002Fheads\u002F$BASE_BRANCH`\n- **title:** `#\u003CID> \u003Cshort description>` (under 70 chars)\n- **description:** Build from available context (share-plan.md, git log, diff stat). Use PR description template from git-rules.md.\n- **workItems:** `\u003CADO-ID>` to auto-link the work item\n\n### 7c. Post-Creation Check\n\nAfter creating the PR, verify merge status per git-rules.md. If conflicts detected, warn the user to rebase.\n\n### 7d. Set Auto-Complete (optional)\n\nIf the user asks, use `mcp__ado__repo_pull_request_write` with `action: \"update\"` and `autoComplete: true`.\n\n## Examples\n\n### Simple commit\n```\n\u002Fdx-pr-commit\n```\nDiscovers work item ID from branch name, stages your changes (not base branch files), commits with `#2435084 add language selector component`.\n\n### Commit with message\n```\n\u002Fdx-pr-commit fix null check in hero component\n```\nUses your message, prepends `#\u003CID>`: `#2435084 fix null check in hero component`.\n\n### Commit and create PR\n```\n\u002Fdx-pr-commit pr\n```\nCommits, pushes, creates ADO PR targeting the configured base branch with work item linked.\n\n## Troubleshooting\n\n### \"Not on a feature or bugfix branch\"\n**Cause:** You're on `development`, `main`, or another protected branch.\n**Fix:** Create a feature branch first: `git checkout -b feature\u002F\u003Cid>-\u003Cslug>`.\n\n### Stages unexpected files from base branch\n**Cause:** After rebase, files from the base branch appear in `git status`.\n**Fix:** The skill compares `git status` against `git diff origin\u002F\u003Cbase>...HEAD --name-only` to only stage YOUR changes.\n\n### PR creation fails — \"active PR already exists\"\n**Cause:** An active PR already exists for this branch.\n**Fix:** The skill detects this and shows the existing PR URL. Update the existing PR instead.\n\n## Present Summary (standalone path only)\n\n\u003C!-- standalone-only — emit only when $ORCHESTRATED == 0 -->\n\nWhen running standalone, emit:\n\n```markdown\n## Commit complete\n\n**\u003Ccount> files** committed as `\u003CSHA>` on `\u003Cbranch>`.\n\u003CIf PR was created:>\n**PR:** \u003Ctitle>\n**URL:** \u003CPR web URL>\n\n### Next steps:\n- Push branch: `git push -u origin \u003Cbranch>`\n- Or run `\u002Fdx-pr` to create the PR (if not already created)\n```\n\nAfter commit (detailed form):\n```markdown\n**Committed:** `#\u003CID> \u003Cmessage>`\n**Files:** \u003Ccount> files\n**Hash:** `\u003Cshort hash>`\n**Branch:** \u003Cbranch name>\n```\n\nAfter PR:\n```markdown\n**PR #\u003Cpr-id>:** `\u003Ctitle>`\n**Branch:** \u003Csource> → \u003C$BASE_BRANCH>\n**URL:** \u003CPR web URL from ADO response>\n```\n\nWhen orchestrated (`$ORCHESTRATED == 1`), skip this section entirely and emit only the `## Return` block.\n\n## Return\n\nThis skill runs in a forked context. It MUST end with a `## Return` block per `plugins\u002Fdx-core\u002Fshared\u002Fskill-return-contract.md`.\n\nExamples:\n\n```markdown\n## Return\nverdict: pass\nsummary: Committed 3 files as 26e7cb8 on feature\u002F2490722-microsite; PR not created (auto-pr=false).\nartifacts:\n  - .ai\u002Fspecs\u002F2490722-microsite\u002Fcommit-log.txt\nnext_action: open PR via printed URL\n```\n\n```markdown\n## Return\nverdict: fail\nsummary: Commit aborted — pre-commit hook failed: lint-staged eslint no-shadow on token.\nartifacts: []\nnext_action: fix lint error and re-run \u002Fdx-pr-commit\n```\n\nIf a PR was created, include the PR URL in `summary` (truncated if needed) and the full URL in an artifact file.\n","**Isolation check.** This skill is meant to run in its own context (`context: fork`). If you can see the user's messages from before this skill was invoked, you are running inline (Copilot CLI ignores `context: fork`): do not run the steps below yourself. Start one subagent with your task\u002Fsubagent tool, give it only this instruction — \"Invoke the dx-core:dx-pr-commit skill with these arguments: \u003Cthe arguments you were given, or none>. Run it fully and reply with its final report only.\" — then show the user that report and stop. If you cannot see earlier user messages, or your only earlier message is that instruction to invoke dx-core:dx-pr-commit (you are a fork or that subagent), continue below.\n\nYou handle git commits and Azure DevOps pull requests.\n\n## Provider check\n\nRead `scm.provider` from `.ai\u002Fconfig.yaml` (missing means `ado`). Only `ado` is implemented: the steps below call the ADO MCP server (`mcp__ado__*`). If it is anything else (e.g. `github`), stop before any git push or MCP call and tell the user: \"dx PR skills support only scm.provider: ado (found: \u003Cvalue>).\"\n\n## Output discipline\n\nYou run in a forked context. Before emitting any chat output, determine whether you were invoked by the orchestrator (`dx-agent-all`) or standalone — see `plugins\u002Fdx-core\u002Fshared\u002Forchestration-check.md`:\n\n```bash\nORCHESTRATED=0\nFLAG=\".ai\u002Frun-context\u002Forchestrating.flag\"\nif [ -f \"$FLAG\" ]; then\n  AGE=$(( $(date +%s) - $(date -r \"$FLAG\" +%s) ))\n  [ \"$AGE\" -lt 7200 ] && ORCHESTRATED=1\nfi\n```\n\n- **If `$ORCHESTRATED == 1`** (orchestrator path): complete the commit (and PR if requested) and emit ONLY the `## Return` block to chat.\n- **If `$ORCHESTRATED == 0`** (standalone path): complete the commit (and PR if requested) AND emit the human-friendly summary marked `\u003C!-- standalone-only -->` below, followed by the `## Return` block at the very end.\n\nPer-step progress lines during the run are allowed in both paths.\n\n**Before anything else**, read these two files:\n- `..\u002F..\u002Fshared\u002Fgit-rules.md` — all git\u002FADO conventions (base branch discovery, repo ID discovery, commit format, staging, rebase, PRs)\n- `.ai\u002Fconfig.yaml` — project config, preferences (Auto-Commit, Auto-PR)\n\nFollow every rule in `git-rules.md`. The steps below assume you have read it.\n\n## Persona (optional)\n\nIf `.ai\u002Fme.md` exists, read it. Use it to shape PR titles and descriptions. Commit message format (`#\u003CID> \u003Cimperative>`) is a structural constraint and always wins. If `.ai\u002Fme.md` doesn't exist, use defaults.\n\n## 1. Determine Intent\n\nParse the user's request and argument:\n- **Commit only** — default if no \"pr\" keyword\n- **Commit + PR** — if user says \"pr\", \"pull request\", \"open pr\", etc.\n- **PR only** — if changes are already committed and user just wants a PR\n\n## 1. Gather Git Context\n\nRun the context discovery script:\n\n```bash\nbash .ai\u002Flib\u002Fgather-context.sh\n```\n\nThis outputs `CURRENT_BRANCH`, `BASE_BRANCH`, and `GITIGNORE_RULES`. Use these values throughout — do NOT re-run discovery commands.\n\n## 2. Setup\n\n1. **Base branch** — already discovered above (use `BASE_BRANCH` value). If `unknown`, fall back to git-rules.md probing.\n2. **Discover repo ID** — per git-rules.md\n3. **Check branch safety** — must be on `feature\u002F*` or `bugfix\u002F*` (check `CURRENT_BRANCH` above)\n\n## 3. Extract ADO Work Item ID\n\nFind it from (in priority order):\n1. **User argument** — if they passed an ID\n2. **Branch name** — extract digits from `feature\u002F#2416553-...` or `feature\u002F2416553-...` or `bugfix\u002F2416553-...`\n3. **Spec directory** — check `.ai\u002Fspecs\u002F\u003Cid>-*\u002F` for the most recent spec\n4. **Recent commits** — parse `git log -5 --oneline` for `#\u003Cdigits>` pattern\n\nIf no ID found, ask the user.\n\n## 4. Rebase (if needed)\n\nPer git-rules.md — fetch, check if behind, rebase. Never merge.\n\n## 5. Stage Changes\n\nRun `git status`. Stage files **specifically** per git-rules.md.\n\n### Identify YOUR changes only\n\nBefore staging, determine which files are actually yours vs came from the base branch:\n\n```bash\n# Files changed only on this branch (yours)\ngit diff origin\u002F$BASE_BRANCH...HEAD --name-only\n\n# Compare with git status to spot foreign files\ngit status --short\n```\n\nIf `git status` shows files NOT in the `git diff ...HEAD --name-only` output, those came from a merge or rebase — do NOT stage them.\n\n### Stage rules\n\n- Only stage files that appear in YOUR diff\n- Files the user explicitly mentioned\n- If a spec directory exists, also stage `implement.md` status updates\n- **Never** stage files that only exist in `git status` but not in your branch diff\n\nPresent the staged files to the user for confirmation before committing.\n\n## 6. Commit\n\nCraft message per git-rules.md format: `#\u003CADO-ID> \u003Cimperative description>`\n\nIf the user provided a message in the argument, use it (prepend the `#\u003CID>` if missing).\n\nCommit and verify with `git log -1 --oneline`.\n\n## 6b. Orchestrated PR update (headless)\n\nWhen `$ORCHESTRATED == 1` (e.g. `\u002Fdx-pr-answer` applying fixes to a reviewer's open PR), the branch usually already has an Active PR and the intent is **update it**, not create a new one. After committing, check:\n\n```\nmcp__ado__repo_pull_request\n  action: \"list\"\n  repositoryId: \"\u003Crepo ID>\"\n  sourceRefName: \"refs\u002Fheads\u002F\u003Ccurrent-branch>\"\n  status: \"Active\"\n```\n\nIf an **Active PR exists**, push the new commit to update it — no new PR, no prompt:\n\n```bash\ngit push origin \"$(git branch --show-current)\" \\\n  || { git pull --rebase origin \"$(git branch --show-current)\" && git push origin \"$(git branch --show-current)\"; }\n```\n\nPushing the source branch updates the existing PR automatically. Do **not** create a new PR and do **not** bare-`--force` (only `--force-with-lease`, and only after an explicit rebase). Capture the PR URL\u002FID for the caller's `## Return` block, then skip step 7.\n\nIf **no Active PR exists**, fall through: create one only if a PR was requested (the `pr` keyword), otherwise this was a commit-only run and you're done.\n\n## 7. Create PR (if requested)\n\nOnly if the user asked for a PR.\n\n### 7a. PR Pre-Flight Checks (per git-rules.md)\n\nRun all pre-flight checks from git-rules.md before creating:\n1. **Check for existing PR** — if Active, show it and stop. If Abandoned, offer to reactivate.\n2. **Check for empty diff** — if no commits vs base branch, stop.\n3. **Push branch** — `git push -u origin $(git branch --show-current)`. If rejected after rebase, use `--force-with-lease`.\n\n### 7b. Create PR via ADO MCP\n\nUse `mcp__ado__repo_pull_request_write` with `action: \"create\"` per git-rules.md:\n\n- **repositoryId:** auto-discovered\n- **sourceRefName:** `refs\u002Fheads\u002F\u003Ccurrent-branch>`\n- **targetRefName:** `refs\u002Fheads\u002F$BASE_BRANCH`\n- **title:** `#\u003CID> \u003Cshort description>` (under 70 chars)\n- **description:** Build from available context (share-plan.md, git log, diff stat). Use PR description template from git-rules.md.\n- **workItems:** `\u003CADO-ID>` to auto-link the work item\n\n### 7c. Post-Creation Check\n\nAfter creating the PR, verify merge status per git-rules.md. If conflicts detected, warn the user to rebase.\n\n### 7d. Set Auto-Complete (optional)\n\nIf the user asks, use `mcp__ado__repo_pull_request_write` with `action: \"update\"` and `autoComplete: true`.\n\n## Examples\n\n### Simple commit\n```\n\u002Fdx-pr-commit\n```\nDiscovers work item ID from branch name, stages your changes (not base branch files), commits with `#2435084 add language selector component`.\n\n### Commit with message\n```\n\u002Fdx-pr-commit fix null check in hero component\n```\nUses your message, prepends `#\u003CID>`: `#2435084 fix null check in hero component`.\n\n### Commit and create PR\n```\n\u002Fdx-pr-commit pr\n```\nCommits, pushes, creates ADO PR targeting the configured base branch with work item linked.\n\n## Troubleshooting\n\n### \"Not on a feature or bugfix branch\"\n**Cause:** You're on `development`, `main`, or another protected branch.\n**Fix:** Create a feature branch first: `git checkout -b feature\u002F\u003Cid>-\u003Cslug>`.\n\n### Stages unexpected files from base branch\n**Cause:** After rebase, files from the base branch appear in `git status`.\n**Fix:** The skill compares `git status` against `git diff origin\u002F\u003Cbase>...HEAD --name-only` to only stage YOUR changes.\n\n### PR creation fails — \"active PR already exists\"\n**Cause:** An active PR already exists for this branch.\n**Fix:** The skill detects this and shows the existing PR URL. Update the existing PR instead.\n\n## Present Summary (standalone path only)\n\n\u003C!-- standalone-only — emit only when $ORCHESTRATED == 0 -->\n\nWhen running standalone, emit:\n\n```markdown\n## Commit complete\n\n**\u003Ccount> files** committed as `\u003CSHA>` on `\u003Cbranch>`.\n\u003CIf PR was created:>\n**PR:** \u003Ctitle>\n**URL:** \u003CPR web URL>\n\n### Next steps:\n- Push branch: `git push -u origin \u003Cbranch>`\n- Or run `\u002Fdx-pr` to create the PR (if not already created)\n```\n\nAfter commit (detailed form):\n```markdown\n**Committed:** `#\u003CID> \u003Cmessage>`\n**Files:** \u003Ccount> files\n**Hash:** `\u003Cshort hash>`\n**Branch:** \u003Cbranch name>\n```\n\nAfter PR:\n```markdown\n**PR #\u003Cpr-id>:** `\u003Ctitle>`\n**Branch:** \u003Csource> → \u003C$BASE_BRANCH>\n**URL:** \u003CPR web URL from ADO response>\n```\n\nWhen orchestrated (`$ORCHESTRATED == 1`), skip this section entirely and emit only the `## Return` block.\n\n## Return\n\nThis skill runs in a forked context. It MUST end with a `## Return` block per `plugins\u002Fdx-core\u002Fshared\u002Fskill-return-contract.md`.\n\nExamples:\n\n```markdown\n## Return\nverdict: pass\nsummary: Committed 3 files as 26e7cb8 on feature\u002F2490722-microsite; PR not created (auto-pr=false).\nartifacts:\n  - .ai\u002Fspecs\u002F2490722-microsite\u002Fcommit-log.txt\nnext_action: open PR via printed URL\n```\n\n```markdown\n## Return\nverdict: fail\nsummary: Commit aborted — pre-commit hook failed: lint-staged eslint no-shadow on token.\nartifacts: []\nnext_action: fix lint error and re-run \u002Fdx-pr-commit\n```\n\nIf a PR was created, include the PR URL in `summary` (truncated if needed) and the full URL in an artifact file.\n",{"name":5,"context":49,"description":7,"allowed-tools":50,"argument-hint":53},"fork",[31,29,42,30,51,52],"agent","ado\u002F*","[optional: commit message or 'pr' to also create PR]","main","5c642842a92100dc7561ae0682a152a74846e186","plugins\u002Fdx-core\u002Fskills\u002Fdx-pr-commit",3,"https:\u002F\u002Fgithub.com\u002Feasingthemes\u002Fdx-aem-flow","https:\u002F\u002Fgithub.com\u002Feasingthemes","https:\u002F\u002Fwww.linkedin.com\u002Fin\u002Fdraganfilipovic\u002F","Agentic SDLC platform in production. I build agent-ready codebases. AEM MCP Server author.","2026-11-11 09:59:48",{"source":8,"skillName":5,"commands":64,"prompt":74,"zipAvailable":75},[65,68,71],{"tool":66,"command":67},"npx","npx skills add easingthemes\u002Fdx-aem-flow --skill dx-pr-commit",{"tool":69,"command":70},"bunx","bunx skills add easingthemes\u002Fdx-aem-flow --skill dx-pr-commit",{"tool":72,"command":73},"pnpm","pnpm dlx skills add easingthemes\u002Fdx-aem-flow --skill dx-pr-commit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Feasingthemes\u002Fdx-aem-flow\u002Fblob\u002Fmain\u002Fplugins\u002Fdx-core\u002Fskills\u002Fdx-pr-commit\u002FSKILL.md",true,[],[78,101,122,140,156,171],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":44},"01M6H48W19F46A7B7TSSQAMYRW","dx-hub-status","Show hub dispatch status — which repos are running, done, blocked or failed. Use for 'hub status', 'what's running'.","https:\u002F\u002Fgithub.com\u002Feasingthemes\u002Fdx-aem-flow\u002Fblob\u002Fmain\u002Fplugins\u002Fdx-hub\u002Fskills\u002Fdx-hub-status\u002FSKILL.md",[],[26,85,86,87,88,89,90,91,92,93,94,95,96,97,98,31,30,99,100],"dx hub status","hub","status","hub status","which","show","for","ticket","clean","use","done","Bash","id","dispatch","repos","grep",{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":44},"01M6H48R6ZH7YMVPMVWMMWT3RA","dx-hub-init","Initialize a hub directory for multi-repo orchestration. Discovers sibling repos, merges configs, validates CLI compatibility. Use when setting up hub mode for the first time. Trigger on \"init hub\", \"set up hub\", \"multi-repo setup\".","https:\u002F\u002Fgithub.com\u002Feasingthemes\u002Fdx-aem-flow\u002Fblob\u002Fmain\u002Fplugins\u002Fdx-hub\u002Fskills\u002Fdx-hub-init\u002FSKILL.md",[],[108,109,26,110,86,111,112,113,114,115,116,117,118,119,96,120,121,31,30,29],"init","hub init","dx hub init","SET","time","mode","default","up","repo setup","orchestration","configure","multi-repo","cli","directory",{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":129,"publishedAt":44},"01M6H48K267CWEF8YNN3Y49BVT","dx-hub-dispatch","Dispatch a ticket to several repos — open an independent Claude session per repo in VS Code terminals. Use for 'hub dispatch', 'work on ticket across repos'.","https:\u002F\u002Fgithub.com\u002Feasingthemes\u002Fdx-aem-flow\u002Fblob\u002Fmain\u002Fplugins\u002Fdx-hub\u002Fskills\u002Fdx-hub-dispatch\u002FSKILL.md",[128],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[26,130,98,86,131,91,132,133,134,92,40,135,94,136,96,137,138,139,97,34],"dx hub dispatch","ado","repo","work on","session","MCP","URL","vscode","code","across",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":44},"01M6H48FAWKTT6AAWT3H80ZKE0","dx-hub-config","View and edit hub configuration — add repos, adjust terminal delay. Use to manage hub settings. Trigger on \"hub config\", \"add repo to hub\", \"terminal delay\".","https:\u002F\u002Fgithub.com\u002Feasingthemes\u002Fdx-aem-flow\u002Fblob\u002Fmain\u002Fplugins\u002Fdx-hub\u002Fskills\u002Fdx-hub-config\u002FSKILL.md",[],[26,147,86,148,90,149,132,150,151,152,153,94,118,96,154,31,155,30,29,99],"dx hub config","config","view","manage","trigger","true","adjust","terminal","settings",{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":44},"01M6H48BNMYEJY6CCWPYHNQDAT","dx-discover-repos","Resolve which repos a work item touches (explicit directive → simple block → cross-repo table → LLM). Used by the KAI-HUB router to fan an agent out across repos; 'which repos'.","https:\u002F\u002Fgithub.com\u002Feasingthemes\u002Fdx-aem-flow\u002Fblob\u002Fmain\u002Fplugins\u002Fdx-hub\u002Fskills\u002Fdx-discover-repos\u002FSKILL.md",[],[163,26,164,99,89,132,139,165,97,166,34,167,86,168,169,170],"discover","dx discover repos","router","directive","simple","block","sonnet","table",{"skillNo":172,"name":173,"nameZh":6,"description":174,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":175,"categories":176,"keywords":178,"publishedAt":44},"01M6H487QA1FDSBT1HTZGW4HAQ","dx-upgrade","Upgrade a consumer project to the installed plugin versions — run dx-doctor, fix stale and missing files, list manual actions. Use after upgrading plugins.","https:\u002F\u002Fgithub.com\u002Feasingthemes\u002Fdx-aem-flow\u002Fblob\u002Fmain\u002Fplugins\u002Fdx-core\u002Fskills\u002Fdx-upgrade\u002FSKILL.md",[177],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[179,26,180,181,182,42,183,184,185,186,31,30,29,187,188,189,190,94,191,192],"upgrade","dx upgrade","project","actions","fix","files","auto","run","list","doctor","manual","missing","plugin","plugins"]