Standard collaboration patterns for all squad agents — worktree awareness, decisions, cross-agent communication
中文简介正在准备中。当前显示原文说明。
Prepare and publish a new version of the waza azd extension. USE FOR: "publish extension", "release new version", "bump version", "prepare release", "update changelog", "azd publish", "new release", "version bump", "cut a release". DO NOT USE FOR: running evals (use waza), writing skills (use skill-authoring), CI/CD pipeline changes (edit workflow files directly).
中文简介正在准备中。当前显示原文说明。
安装前可以查看交给 AI 代理的指令内容。
Automate version bumps, changelog updates, and PR creation for waza azd extension releases.
Follow these steps in order. Ask the user for input at each decision point.
Get the current version from version.txt and extension.yaml, then collect commits since the last release:
cat version.txt
# Find the latest azd extension version tags
git tag --list 'azd-ext-microsoft-azd-waza_*' --sort=-v:refname | head -5
# Get commits since last azd extension tag
last_tag=$(git tag --list 'azd-ext-microsoft-azd-waza_*' --sort=-v:refname | head -1)
git log "${last_tag}..HEAD" --oneline --no-decorate
If version.txt and extension.yaml differ, flag it to the user before proceeding.
Summarize the changes grouped by type:
feat: commitsfix: commitsrefactor:, chore:, docs: commitsPresent the summary to the user for review.
Then update CHANGELOG.md. The changelog follows Keep a Changelog format.
Perform these updates (using a placeholder version X.Y.Z — the actual version is determined in Step 2):
Move Unreleased content: Move any items currently under ## [Unreleased] into a staging area. If [Unreleased] is empty, populate from the git log summary gathered above.
Populate from commits: Prepare entries grouped under ### Added, ### Fixed, ### Changed as appropriate based on the commits gathered above.
Hold these changelog entries — the new version section header and comparison links will be finalized after the version is determined in Step 2.
Based on the changes gathered in Step 1, recommend a version bump type using standard semver semantics:
feat!:, BREAKING CHANGE:) → (MAJOR+1).0.0feat:) → MAJOR.(MINOR+1).0fix:, docs:, refactor:, chore:) → MAJOR.MINOR.(PATCH+1)Present the recommendation with rationale (e.g., "I see 3 feat: commits and no breaking changes — recommending a minor bump").
ASK THE USER to confirm the recommended bump or choose a different one.
Compute the new version and confirm with the user before proceeding.
Then finalize the changelog:
Create new version section: Insert a new section below ## [Unreleased] with today's date:
## [X.Y.Z] - YYYY-MM-DD
Add the prepared entries from Step 1 under the new version section.
Update comparison links at the bottom of the file:
[Unreleased]: https://github.com/microsoft/waza/compare/azd-ext-microsoft-azd-waza_X.Y.Z...HEAD
[X.Y.Z]: https://github.com/microsoft/waza/compare/azd-ext-microsoft-azd-waza_PREVIOUS...azd-ext-microsoft-azd-waza_X.Y.Z
Clear the Unreleased section: Leave ## [Unreleased] with empty subsections or blank.
Update these files with the new version:
version.txt — Replace contents with new version stringextension.yaml — Update the version: fieldShow the user a summary of all changes made:
version.txt, extension.yaml, CHANGELOG.mdgit diffASK THE USER: Should I create a PR with these changes?
If yes:
Create a feature branch:
git checkout -b release/v{VERSION}
Stage and commit all changes:
git add version.txt extension.yaml CHANGELOG.md
git commit -m "chore: Prepare release v{VERSION}"
Push the branch:
git push origin release/v{VERSION}
Create a PR using the GitHub CLI:
gh pr create \
--title "Release v{VERSION}" \
--body "## Release v{VERSION}
### Changes
{changelog entries for this version}
### Checklist
- [ ] Version bumped in version.txt and extension.yaml
- [ ] CHANGELOG.md updated
- [ ] CI passes
- [ ] Ready to publish via 'Publish azd Extension' workflow" \
--base main \
--head release/v{VERSION}
If no:
| File | Purpose | What Gets Updated |
|---|---|---|
version.txt | Single source of version truth | New semver version string |
extension.yaml | azd extension manifest | version: field |
CHANGELOG.md | Human-readable change history | New version section with entries |
feat:, fix:, chore:, docs:, refactor:) when interpreting git historyrelease/v{VERSION}azd-ext-release.yml) to build, pack, and publish the extension还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Standard collaboration patterns for all squad agents — worktree awareness, decisions, cross-agent communication
中文简介正在准备中。当前显示原文说明。
**UTILITY SKILL** - Explain code snippets, functions, and algorithms in plain language. USE FOR: explain code, what does this code do, break down this function, help me understand this, walk through this algorithm, clarify this logic, explain this snippet, describe what happens here. DO NOT USE FOR: writing new code (use code generation), fixing bugs (use debugging), refactoring (use refactoring skills), code review with action items. INVOKES: file reading tools to access code, language detection for tailored explanations. FOR SINGLE OPERATIONS: If the user just needs to see file contents, use file reading tools directly.
中文简介正在准备中。当前显示原文说明。
Explains code snippets in plain English, breaking down what the code does step by step. Perfect for learning, code reviews, or documentation.
中文简介正在准备中。当前显示原文说明。
The complete two-phase Init Mode protocol the Squad coordinator runs when no team exists yet in the current repo. Phase 1 = propose the team (no files created, wait for user confirm). Phase 2 = create .squad/ scaffolding, casting state, .gitattributes for merge drivers, and the always-on built-ins (Scribe, Ralph, Rai, Fact Checker). Loaded on demand when the coordinator detects no .squad/team.md exists.
中文简介正在准备中。当前显示原文说明。
Selecting WHO handles work is the Routing table; selecting HOW they handle it (Direct, Lightweight, Standard, Full) is Response Mode. This skill contains the complete decision table, exemplar prompts for each mode, the Lightweight spawn template, and the upgrade rules. Squad coordinator loads this on demand once routing has identified the agent — to pick the right ceremony level for the task.
中文简介正在准备中。当前显示原文说明。
The complete file-by-file source-of-truth hierarchy for Squad: which files are authoritative, which are derived/append-only, who may write each one, who may read each one, and the precedence rules when they conflict. Squad coordinator loads this on demand when it needs to resolve a write conflict, decide where a piece of state belongs, or answer a 'who owns this file' question.
中文简介正在准备中。当前显示原文说明。