.github/skills/fix-sync-sdk/SKILL.md
**WORKFLOW SKILL** - Update TypeSpec project, regenerate SDK, to fix error on SDK project. USE FOR: "fix sdk lib <project-name>".
npx skillsauth add azure/autorest.java fix-sync-sdkInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The request would come in the form of:
You have full access to these locally cloned repositories/folders.
Verify that specs repo is on "main" branch, and is up-to-date. Note the commit hash of "main" branch, call it "<specs-main-commit>".
Run npm ci in "eng/common/tsp-client" folder in sdk repo to make sure the tsp-client is installed.
There can be multiple projects to fix in one request. Repeat the following steps for each "<project-name>".
Search for folder of "<project-name>" under "/sdk" in sdk repo. It should be in the form of "/sdk/<service-name>/<project-name>".
"<project-path>" refers to the full path of the project folder.
There is a "tsp-location.yaml" file under "<project-path>" folder.
Read value of directory property in this file.
This is the relative path of the TypeSpec project in specs repo.
"<tsp-path>" refers to the full path of this TypeSpec project folder in specs repo.
Update the "tsp-location.yaml" file, update the commit property to "<specs-main-commit>".
Run tsp-client update command under "<project-path>" folder to regenerate the project.
If generation succeeded, commit the "tsp-location.yaml", all ".java" and ".json" files in "<project-path>/src/main" folder (discard changes to other files). We have fixed this project. Summarize the changes to specs repo and sdk repo.
If the generate fails, continue to next step.
All the fixes should be done under "<tsp-path>" folder.
See common errors and their fixes to fix common errors.
When finished, check if the specs repo is on "main" branch. If yes, create a new branch, and create a draft pull request to "main" branch of specs repo.
Commit the changes in "<tsp-path>" folder, push to origin.
Make sure the pull request is created. Use the HEAD commit hash of the pull request branch as "<specs-fix-commit>".
Repeat step "Regenerate the project in sdk repo", use "<specs-fix-commit>" to update commit property in "tsp-location.yaml" file.
If it still fails, summarize the details (include the link to draft pull request) and ask user for help.
All the changes should be done under "<tsp-path>" folder.
Modify the TypeSpec project as per "<requested-change-to-typespec-project>".
When finished, check if the specs repo is on "main" branch. If yes, create a new branch, and create a draft pull request to "main" branch of specs repo.
Commit the changes in "<tsp-path>" folder, push to origin. Note the commit hash on the current branch, call it "<specs-fix-commit>".
Make sure the pull request is created.
Repeat step "Regenerate the project in sdk repo", use "<specs-fix-commit>" to update commit property in "tsp-location.yaml" file.
Summarize the changes to specs repo and sdk repo (include the link to draft pull request).
commit property in "tsp-location.yaml" fileThe created pull request would need human review and merge. User will notify you when all pull requests are merged.
When notified, update the commit property in "tsp-location.yaml" file to the latest commit hash of "main" branch of specs repo.
development
**WORKFLOW SKILL** - Build the emitter with dev dependencies, and validate end-to-end tests. USE FOR: "validate dev build".
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
development
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.