AGENT SKILL

agent-distribution-plan-apply

暂无简介

License 许可
MIT
最近更新
2026-08-15
Stars
★ 0
Forks
0

02 资源文件 3

03 SKILL.md 正文

agent-distribution-plan-apply

Use this skill to turn an intended Unity change into a validated and reviewable Agent Distribution request.

Workflow

  1. Read the target project state before writing the request.
  2. For every primitive operation in the request, run agent-distribution ops describe <opName> and use that runtime contract.
  3. Build the smallest JSON request that expresses the intended context, selection, action, and commit boundary.
  4. Run agent-distribution validate before any Unity-backed execution.
  5. Run agent-distribution plan and inspect the plan evidence before mutating.
  6. Run agent-distribution call only after the plan is acceptable, using a plan token when available or required.
  7. Run agent-distribution verify --profile built-in:mutation --from <result.json> after mutation, then add targeted reads, tests, or logs only when the claim packet requires them. Use built-in:script for C# script changes and omit --profile only when default project-level verification is intended.

The required sequence is read -> describe -> build request -> validate -> plan -> call -> verify.

Guardrails

  • Do not copy operation catalogs, argument schemas, result schemas, or command reference text into the skill output.
  • Do not use fixed sleep while waiting for readiness. Let Agent Distribution lifecycle and timeout results drive the next step.
  • Do not treat IPC_TIMEOUT as proof that no operation ran. Inspect any returned payload.opResults[].applied, changed, and touched evidence.
  • Use agent-distribution codes describe <CODE> for machine-readable code meaning; do not branch on free-form messages.
  • If mutation returns readPostcondition, perform the required follow-up read before using affected read surfaces.
  • Do not include --allowDangerous in normal workflows. Dangerous operation opt-in requires explicit user intent.
  • Keep output bounded: request path or snippet, validation result, plan result, call result, and verification evidence.

References

  • Read references/request-workflow.md before constructing or applying a non-trivial request.

04 同仓库更多 Skills