The skill works fine overall, but posting a comment on an issue becomes tricky when the comment is long.
On Windows workstations, the problem comes from using the az.cmd command, which is limited by the command line length and can’t handle posting the full comment. The coding agent often forget to use azps.ps1—which was strongly recommended for posting comments—and this script avoids the issue in PowerShell.
The SKILL.md should be updated to detect the command processor being used and choose the right command, like azps.ps1 for PowerShell environments.
Without this, the coding agent ends up retrieving tokens and making API requests with scripts, taking three to five turns and wasting tokens for something should be straightforward.
The skill works fine overall, but posting a comment on an issue becomes tricky when the comment is long.
On Windows workstations, the problem comes from using the
az.cmdcommand, which is limited by the command line length and can’t handle posting the full comment. The coding agent often forget to useazps.ps1—which was strongly recommended for posting comments—and this script avoids the issue in PowerShell.The SKILL.md should be updated to detect the command processor being used and choose the right command, like
azps.ps1for PowerShell environments.Without this, the coding agent ends up retrieving tokens and making API requests with scripts, taking three to five turns and wasting tokens for something should be straightforward.