Agent Skills
› langchain-ai/design-agent
› design-agent-update
design-agent-update
GitHub将 Design Agent 分叉同步至上游仓库,保留本地品牌、技能和配置。通过 Git 合并处理冲突,执行依赖同步、健康检查及测试,最终安全部署更新后的代理,确保团队定制内容不被覆盖且功能正常。
触发场景
请求更新或升级 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


