AGENT SKILL

run-sync-check

Use after editing specs or adapters to run sync --check and pick the next step

License 许可
MIT
最近更新
2026-11-12
Stars
★ 27
Forks
6

01 前言 Front Matter

name
run-sync-check
description
Use after editing specs or adapters to run sync --check and pick the next step

03 SKILL.md 正文

run-sync-check

Checks local generated files against the current specs and adapters. Most generated files are ignored by Git in this repository; .openhands/setup.sh is tracked for bootstrap.

Steps

  1. Run go run ./cmd/agnostic-ai sync --check. Exit 0 means the local generated files match. On drift, inspect the unified diff printed by the command; git diff cannot show ignored output.
  2. Run go run ./cmd/agnostic-ai sync for intended changes, then repeat go run ./cmd/agnostic-ai sync --check.
  3. Check git status --short for source and tracked output changes. Never edit generated files by hand to silence drift.

CI

CI runs spec lint. It cannot compare ignored output in a fresh checkout, so sync --check is a local check, not a CI gate.

04 同仓库更多 Skills