# Update

> 自动检查并同步工作室基础设施至 GitHub 最新版本。当用户要求更新 USDS、检查新版本或同步 .claude 配置时使用。

- **Type:** Skill
- **Install:** `agentstack add skill-wxxzy-claude-code-software-studios-update`
- **Verified:** Pending review
- **Seller:** [wxxzy](https://agentstack.voostack.com/s/wxxzy)
- **Installs:** 0
- **Category:** [Developer Tools](https://agentstack.voostack.com/c/developer-tools)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [wxxzy](https://github.com/wxxzy)
- **Source:** https://github.com/wxxzy/Claude-Code-Software-Studios/tree/master/.claude/skills/update

## Install

```sh
agentstack add skill-wxxzy-claude-code-software-studios-update
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 技能：工作室自动更新 (/update)

**执行代理**: `delivery-manager` (交付经理)

---

## 概述 (Summary)

此技能用于将当前项目的 USDS 基础设施（代理、技能、规则）更新至 GitHub 仓库的最新版本。它会自动备份当前配置并拉取新代码。

## 更新工作流

1.  **版本检查**: `delivery-manager` 展示本地版本与远程最新版本的差异。
2.  **变更摘要**: 列出新版本中的主要改进点。
3.  **用户确认**: 提示用户确认是否覆盖 `.claude/` 下的核心组件（`CLAUDE.local.md` 等本地文件不会被覆盖）。
4.  **执行更新**:
    - 在 Windows 上，它会提示用户运行：
      `irm https://raw.githubusercontent.com/wxxzy/Claude-Code-Software-Studios/master/scripts/install-usds.ps1 | iex`
    - 在 macOS/Linux 上，它会提示用户运行：
      `curl -fsSL https://raw.githubusercontent.com/wxxzy/Claude-Code-Software-Studios/master/scripts/install-usds.sh | bash`
5.  **完成**: 提示用户重启会话以加载新技能。

---

## 成功门控 (Success Gate)

- `.claude/VERSION` 文件已更新至最新版本号。
- 新的技能指令出现在 `/` 列表中。

## 输出约束 (Output Budget)

**[强制]** 完成后，返回主上下文只输出：

```
工作室已更新。

- 版本：[旧版本] → [新版本]
- 请重启会话以加载新配置。
```

更新已跳过或失败时：`更新跳过 — 当前已是最新版本 [版本号]`

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [wxxzy](https://github.com/wxxzy)
- **Source:** [wxxzy/Claude-Code-Software-Studios](https://github.com/wxxzy/Claude-Code-Software-Studios)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** yes
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: flagged — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-wxxzy-claude-code-software-studios-update
- Seller: https://agentstack.voostack.com/s/wxxzy
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
