AGENT SKILL

coderos-ambiguity-gate

Evaluates and resolves ambiguity in operator requests to prevent unsafe mutations on CoderOS.

License 许可
MIT
最近更新
2026-10-07
Stars
★ 1
Forks
0

01 前言 Front Matter

name
coderos-ambiguity-gate
description
Evaluates and resolves ambiguity in operator requests to prevent unsafe mutations on CoderOS.

02 资源文件 2

03 SKILL.md 正文

CoderOS Ambiguity Gate

This skill equips operators and agents with deterministic criteria for detecting ambiguity before any source code mutation occurs.

When to Use

Run this assessment before planning or executing a task if there is uncertainty about requirements, interfaces, test validation, or path scope.

Core Rules

The ambiguity workflow MUST halt mutation and demand operator clarification when:

  1. Target files are unbounded: The target paths are not explicitly identified, bounded, or restricted.
  2. Acceptance criteria are missing: It is unclear how to verify success or what test behaviors must pass.
  3. Path scope is contradictory: The requested paths span forbidden or explicitly restricted boundary zones (e.g. crossing between .agents/ and repo_dev_runtime/ unexpectedly).
  4. Insufficient Interface Detail for Refactors/Migrations: The requested refactor or migration lacks sufficient context about the intended interface changes or validation strategy.

Workflow

  1. Apply the ambiguity-checklist.md to the raw requirement.
  2. If any items fail, the assessment halts, no mutation takes place, and the operator must clarify.
  3. If all items pass, proceed to drafting a plan using /coderos-register-plan.

Artifacts

  • ambiguity-checklist.md: The required checklist for ambiguity resolution.
  • plan-template.md: Template for drafting registered plans.

04 同仓库更多 Skills