Skip to main content

cli-agent-surface-work

Change the public agent-facing CLI surface while preserving registry-backed discovery, JSON envelopes, aliases, docs, and tests.

소스 정보

저장소
clawic/Clawix
최근 소스 활동
2026년 5월 23일 00:03
감지된 SKILL.md 언어
영어
스타
8
포크
0

설치 방법

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

소스 파일 검토

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

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
cli-agent-surface-work
description
Change the public agent-facing CLI surface while preserving registry-backed discovery, JSON envelopes, aliases, docs, and tests.
keywords
["cli","claw","agent","json","aliases","help","registry"]
# cli-agent-surface-work Work on the public `claw` CLI as an agent-facing contract. ## Procedure 1. Use `claw search`, `claw commands resolve`, and `claw inspect commands|command-intents|why|schemas|storage|codebase --json` when available. For governance-heavy CLI/doc work, start with `claw governance doctor --json` to collect the current reads, skills, closing checks, external-pending lanes, and stale-doc risks. 2. Read the CLI ADR, decision map, naming guide, and the tests for the affected command. 3. Keep stable JSON output in the accepted envelope shape unless the command is explicitly in migration debt. 4. Add registry entries, generated/help docs, aliases, negative legacy tests, and smoke coverage with the behavior. 5. For new CLI words or aliases, classify the phrase as `covered`, `candidate_alias`, `gap`, `future`, `blocked`, or `external_pending`; record explicit demand through `claw commands record` instead of activating semantic routing by guess. 6. If the change adds durable docs, ADRs, guardrails, or harnesses, register the discovery route in `docs/discoverability.registry.json` per `docs/adr/0017-discoverability-and-meta-code-routing.md`. 7. Treat aliases as thin portals; avoid semantic routers that guess intent. 8. Update docs and examples in the same change when public usage changes. 9. Before closure for canon, route, storage, permission, ADR, skill, or Clawix/ClawJS integration changes, run `node scripts/discoverability-check.mjs closure --changed-file <path> --json`. The closing report must cite the real `claw search ... --json` and `claw inspect ... --json` evidence plus the discovered artifact, or mark the work `PARTIAL/BLOCKED`. ## Constraints - `claw` is the public CLI. Do not add new public `clawjs`, `clawix`, or framework-domain CLIs. - Do not expose secret-bearing, destructive, cost-bearing, or native permission actions without host approval boundaries. - Do not make source files the primary map when the CLI registry can answer. - Do not report public CLI surface closure as complete when the affected artifact cannot be found by `claw search` and inspected through `claw inspect`.
GitHub에서 보기