Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .agents/skills/update-sdk/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,9 @@ git push -u origin $branchName
Preferred flow with GitHub CLI:
```powershell
$prBodyPath = ".\\update-sdk-pr-body.md"
@"
$TrelloCardUrl
$prBodyTemplate = @'
__TRELLO_CARD_URL__


## Summary
- Regenerated Java SDK code via Generator
Expand All @@ -159,7 +160,9 @@ $TrelloCardUrl

## Notes
- <known issues or limitations>
"@ | Set-Content $prBodyPath
'@
$prBody = $prBodyTemplate -replace '__TRELLO_CARD_URL__', $TrelloCardUrl
Set-Content -Path $prBodyPath -Value $prBody -Encoding utf8

$prUrl = gh pr create --base main --head $branchName --title "chore(java): update sdk generation ($stamp)" --body-file $prBodyPath
if ($LASTEXITCODE -ne 0) { throw 'gh pr create failed.' }
Expand All @@ -175,6 +178,7 @@ Write-Host "PR body file: $prBodyPath"
```

Keep the Trello URL as the first line of the PR description.
Write the PR body file as UTF-8 to avoid symbol corruption in GitHub-rendered text.

## Output Expectations
Provide a final summary with:
Expand Down