跳到正文
Skillpedia
智能体29k · #9549

coding-agent-rollout

它能做什么

这项技能检查团队中 Claude Code 的设置方式,确保规则一致地应用。适合向开发人员推广 AI 编程工具的团队负责人和管理员。

适用场景

  • ✓当你要在团队中推广 Claude Code、并希望有共享规则的时候。
  • ✓当你需要检查哪些工具服务器和插件已获批准的时候。
  • ✓当你想了解团队的指令文件如何分层叠加的时候。

技能链接

https://github.com/alirezarezvani/claude-skills/blob/main/engineering/coding-agent-rollout/skills/coding-agent-rollout/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/alirezarezvani/claude-skills/blob/main/engineering/coding-agent-rollout/skills/coding-agent-rollout/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请检查我们团队的 Claude Code 设置,告诉我哪些工具服务器不在获批名单上。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会检查共享和托管设置,将工具服务器和插件与获批名单进行对照,并审计指令文件的加载方式。它还可以汇总每位成员分享的采用人数。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Claude Code Team Rollout

Portability: 4 stdlib scripts, no network, no LLM calls. They read config and counts; they change nothing.

One engineer's Claude Code setup is a preference. A team's is a policy. Settings merge from five scopes, permissions.allow arrays combine across files, and deny beats ask beats allow wherever it is written, so nobody can read the effective policy from a single file. This skill makes it readable, then checks it.

Workflow

# 1 - Guardrails: lint shared, local and managed settings together.
python scripts/settings_linter.py --repo . --managed /etc/claude-code/managed-settings.json
# 2 - Inventory: every MCP server, plugin and marketplace, against your approved list.
python scripts/mcp_plugin_inventory.py --repo . --allowlist approved.json
# 3 - Instructions: what CLAUDE.md actually loads, layer by layer.
python scripts/claude_md_layering_audit.py --repo .
# 4 - Adoption: each member runs this locally and shares only the JSON counts.
python scripts/adoption_tracker.py --member alice --output json > alice.json
python scripts/adoption_tracker.py --merge *.json --seats 12 --weeks-since-launch 6

Start from assets/managed-settings.example.json: bypass mode disabled, secrets denied, risky commands on ask, managed hooks only, an MCP and marketplace allowlist. Ship it through MDM before the first seat; policy added after habits form becomes a negotiation.

What blocks (exit 4)

  • Blanket shell allows (Bash, Bash(*)) and pre-approved destructive commands (force push, rm -rf, sudo, pipe-to-shell, publish, infra apply).
  • A literal credential in a shared settings env block, a committed .mcp.json, or a committed CLAUDE.md.
  • .claude/settings.local.json committed to git.
  • An MCP server, plugin or marketplace missing from the approved list.

Warnings cover dead rules (an allow that a deny shadows, mcp__* in allow), enableAllProjectMcpServers, unpinned npx servers, plain-http remotes, network-calling hooks, broken or too-deep @imports, duplicated or contradictory instructions, and resident CLAUDE.md size.

Hard rules

  1. Policy lives in managed settings. Project files cannot enable bypass mode or telemetry, and a team guardrail in a file anyone can edit is a suggestion.
  2. Approve MCP servers by name, URL or command, never by enableAllProjectMcpServers.
  3. Pin what runs. Unpinned npx/uvx servers and unpinned marketplaces change under you.
  4. Never collect transcripts. Share the adoption JSON (counts only); transcripts are plaintext and can hold secrets.
  5. Report findings, not verdicts on people. Adoption is a team metric; inactive seats are a rollout question, not a performance one.
  6. Settings keys change fast. An unknown key is INFO; check the settings reference before calling it a typo.

Scripts

Script Role Exit codes
scripts/settings_linter.py S1-S13 across shared, local, user and managed scopes 0 · 2 warn · 3 bad input · 4 blocker
scripts/mcp_plugin_inventory.py One table of servers, plugins, marketplaces; M1-M6 0 · 2 · 3 · 4
scripts/claude_md_layering_audit.py Resident vs on-demand layers, imports (4 hops), L1-L11 0 · 2 · 3 · 4
scripts/adoption_tracker.py Member counts; team stage PILOT / SPREADING / EMBEDDED / STALLED 0 · 2 stalled · 3

All support --sample and --output json.

References and assets

常见问题

它会更改任何设置吗?

不会。这些脚本只读取配置和计数,不会更改任何内容。

什么是托管设置文件?

一组适用于整个组织的规则,可涵盖权限、钩子和获批的工具服务器。

它会分享私人数据吗?

每位成员在本地运行跟踪工具,只分享 JSON 计数,而不分享代码。

详情

作者的原始描述

Use when rolling Claude Code out to a team or reviewing a rollout: shared or managed settings, MCP and plugin approval, layered CLAUDE.md, adoption. Lints settings with settings_linter.py, inventories MCP servers and plugins, and audits CLAUDE.md layering.

repo: alirezarezvani/claude-skills

热度

GitHub 星标
29k
排名
#9549
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能