ClaudeDevs 推出 ant apply:以 repo 宣告並同步 Claude Managed Agent 資源 episode artwork

EPISODE · Sep 4, 2026 · 2 MIN

ClaudeDevs 推出 ant apply:以 repo 宣告並同步 Claude Managed Agent 資源

from EasyVibeCoding Podcast · host ClaudeDevs

ClaudeDevs 推出 ant apply:以 repo 宣告並同步 Claude Managed Agent 資源。團隊可把 Claude Managed Agent 的設定放進 repo,預覽變更後再同步至遠端資源。核心功能 ant apply 支援以 YAML、JSON、Markdown 或 skill 目錄宣告下列資源:agent、environment、skill、memory-store 與 deployment 互動式 create/update plan,執行前會列出新增或更新內容並要求核准 以 claude-lock.json 記錄遠端 resource ID、雜湊值、organization 與 workspace identity,後續執行會更新原有物件,避免重複建立 透過 repo 相對路徑引用資源,並依相依性順序解析、填入實際 ID同步與變更控制 只有被 claude-lock.json 追蹤的資源會由 workflow 管理。若遠端資源遭到外部編輯、封存或刪除,正常的 apply 會阻擋同步;--force 可覆寫已記錄的 drift,--prune 則可移除已不再宣告的資源。部分變更失敗時,lockfile 仍會保存已建立的物件,因此文件要求即使部分失敗也提交 claude-lock.json。CI 與安全操作 Anthropic 建議在 pull request 執行 ant apply --dry-run,合併後執行 ant apply --yes .。由於 lockfile 沒有 concurrency lock,同一時間只能執行一個 apply;憑證方面則建議使用 Workload Identity Federation,而不是把 API key 儲存在環境中。來源未說明部分套用後的 rollback 語意,也未列出各資源類型所需的精確 API 權限,這兩點仍需人工查閱文件。實際流程 媒體展示先以 agents/summarizer.md 定義 agent,再執行 ant apply agents/summarizer.md;首次成功套用會建立 claude-lock.json 與遠端 agent。接著將 skill、environment、memory store、其他 agent 與 deployment 放入同一個專案目錄,執行 ant apply .,畫面顯示 6 個資源建立、1 個資源未變更。修改 skills/pr-summary/SKILL.md 後,相關的 reviewer、lead 與 deployment 也在同一次 apply 中更新,呈現出接近 infrastructure-as-code 的資源 reconciliation,而非一次性的 Agent 建立指令。ant apply 指令執行介面與專案目錄結構ant apply 指令執行介面與專案目錄結構 影片中的 Prompt 與操作:操作步驟: 1. (00:14)ant apply agents/summarizer.md 2. (00:33)ant apply .原文:https://easyvibecoding.app/curated/3258-claudedevs-ant-apply-declarative-claude-managed-agent-sync

Episode metadata supplied by the publisher feed · Published Sep 4, 2026

Embed this episode

Ready to play

ClaudeDevs 推出 ant apply:以 repo 宣告並同步 Claude Managed Agent 資源

0:00 2:03

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

No similar podcasts found.

Frequently Asked Questions

How long is this episode of EasyVibeCoding Podcast?

This episode is 2 minutes long.

When was this EasyVibeCoding Podcast episode published?

This episode was published on September 4, 2026.

Can I download this EasyVibeCoding Podcast episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!