Skip to main content

agent-versioning

Use when creating or editing PilotSwarm .agent.md files, prompt-layer manifests, or builder templates that generate agents. Covers schemaVersion/version frontmatter, SemVer bump guidance, and session.prompt_layers expectations.

소스 정보

저장소
microsoft/PilotSwarm
최근 소스 활동
2026년 9월 13일 04:33
감지된 SKILL.md 언어
영어
스타
14
포크
7

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
agent-versioning
description
Use when creating or editing PilotSwarm .agent.md files, prompt-layer manifests, or builder templates that generate agents. Covers schemaVersion/version frontmatter, SemVer bump guidance, and session.prompt_layers expectations.
# Agent Versioning Use this skill whenever you create or update PilotSwarm agent definitions in `agents/*.agent.md`, embedded agents under `packages/sdk/plugins/**/agents/`, or builder templates that generate agent files. ## Required Frontmatter Every authored `.agent.md` should include: ```yaml --- schemaVersion: 1 version: 1.0.0 name: example-agent description: Example agent. --- ``` - `schemaVersion` is the PilotSwarm agent schema version. Use `1` by default, `3` for `initialRequiredTool`, and `4` for per-profile `nativeTaskTools` allowlists. See `docs/developer/native-task-tools.md`; never auto-inherit all parent tools into a native task. - `version` is a string. PilotSwarm-authored agents use SemVer. App authors may use any non-empty string, but SemVer is recommended. ## When To Bump `version` For PilotSwarm-authored agents and templates, bump `version` whenever you change prompt behavior, tool expectations, workflow guidance, frontmatter metadata, or output/contract expectations. Use SemVer intent: - Patch: wording clarifications or typo fixes that should not materially change behavior. - Minor: new capabilities, tools, guidance, examples, or backwards-compatible workflow behavior. - Major: changed role semantics, removed expectations, or incompatible output/contract changes. If you only move a file without changing prompt behavior or metadata, a version bump is not required. ## Builder Templates When a builder agent creates a new app agent, it should include `schemaVersion: 1` and `version: 1.0.0` by default. When it edits an existing app `.agent.md`, it should update the `version` string according to the change. If the existing app uses non-SemVer labels, preserve the user's style unless they ask to migrate. ## Prompt Layers PilotSwarm prompt-layer manifests have three authored layers: ```text PilotSwarm base -> App base -> Agent ``` Runtime context is not an agent layer; runtime behavior is tracked through orchestration version and session/runtime metadata. `session.prompt_layers` records the effective layer names, types, schema versions, and versions used by the worker that created or resumed the Copilot session. During rolling deploys, absence of the event means legacy/unreported, and old workers may report old loaded versions until restarted.
GitHub에서 보기