Agent Skills
› langchain-ai/design-agent
› design-agent-update
design-agent-update
GitHub将 Design Agent 从上游仓库同步更新,保留本地品牌、技能和配置。处理合并冲突后,执行依赖安装、健康检查、测试及沙箱构建验证,最终安全部署到生产环境。
触发场景
用户请求更新或升级 Design Agent
需要同步上游最新变更
安装
npx skills add langchain-ai/design-agent --skill design-agent-update -g -y
SKILL.md
Frontmatter
{
"name": "design-agent-update",
"description": "Bring a fork or clone of Design Agent up to date with the upstream repository while keeping the team's brand, skills and edits, rebuild what changed, and redeploy safely. Use when someone asks to update, upgrade or pull the latest Design Agent."
}
Update from upstream
The brand pack (workspace/brand/), licensed fonts (private-fonts/) and .env are Git-ignored,
so an update never touches them. The team's own skills and instruction edits can conflict.
git status. Commit the person's local work first, or ask; never use a baregit stash.- Add the remote once:
git remote add upstream https://github.com/langchain-ai/design-agent.git. Thengit fetch upstreamand read the new entries inCHANGELOG.mdfor breaking changes. - Merge
upstream/maininto the person's branch. In conflicts, keep their skills and instruction edits and take upstream's code; ask when a conflict touches both. uv sync,uv run design-agent doctor,uv run pytest -q,uv run design-agent skills verify.- If
sandbox/setup.shchanged:uv run design-agent sandbox build && uv run design-agent sandbox test; for Managed Deep Agents, alsouv run design-agent sandbox publish(the snapshot name follows the recipe's hash). - Try the update on a test copy (
uv run mda deploy --name design-agent-test), then deploy the team's agent after a yes (design-agent-deploy).
版本历史
- 8134d7c 当前 2026-11-20 21:40


