做什么
写一个开发者社区的行为守则及其背后的温和游戏本 - 范围,执行阶梯,报告渠道,事件应对运行本,主持人名册,平台控制
技能库 智客分类:Agent 工作流 developer-community-moderation
写一个开发者社区的行为守则及其背后的温和的游戏本——范围,执行阶梯,报告渠道,事件应对运行本,主持人名册,平台控制. 当用户提到行为守则、CODE_OF_CONDUCT.md、社区节制、主持人招聘、升级阶梯、禁止或中止成员、骚扰、巨怪、贿赂、垃圾邮件或AI-slop洪水,或他们需要处理的行为报告时使用, 覆盖公司经营和志愿者开源社区. 使用 samber/ developer-relations-skills@developer-community-launch. 请不要使用选择平台 .
官方网址:skills.sh
先看中文介绍;官方 description 原文单独保留,不改写 SKILL.md。
写一个开发者社区的行为守则及其背后的温和游戏本 - 范围,执行阶梯,报告渠道,事件应对运行本,主持人名册,平台控制
任何用户都提及行为守则、CODE_OF_CONDUCT.md、社区温和、主持人招聘、升级阶梯、禁止或中止成员、骚扰、巨怪、行贿、垃圾邮件或AI-slop洪水,或他们需要处理的行为报告----包括更模糊的措辞
按 Agent Skills 渐进披露:启动时只加载 name 与 description(约 100 token);任务匹配后才读入整份 SKILL.md 正文;scripts/、references/、assets/ 仅在需要时再读。 本文件正文结构:Developer Community Moderation、Detect the request first、Interview、Workflow、The ladder is a gate, the outcomes are a menu、Deliverables。 其中含规范建议的小节:分步指令、输入输出示例。
文件分析:除 SKILL.md 外,正文引用了 references/incident-response-runbook.md、references/code-of-conduct-outline.md、references/platform-controls.md、references/published-findings.md,属于带资源的技能包,这些文件按需再读。
Writes a developer community's code of conduct and the moderation playbook behind it - scope, enforcement ladder, reporting channels, incident-response runbook, moderator roster, platform controls. Use whenever the user mentions a code of conduct, CODE_OF_CONDUCT.md, community moderation, moderator recruitment, an escalation ladder, banning or suspending a member, harassment, trolls, brigading, spam or AI-slop floods, or a conduct report they need to handle - including vaguer phrasings like "our Discord is getting out of hand", "we need community rules", or "someone reported a maintainer". Covers company-run and volunteer open-source communities. Do NOT use to pick the platform - use samber/developer-relations-skills@developer-community-launch.
Developer Community ModerationDetect the request firstInterviewWorkflowThe ladder is a gate, the outcomes are a menuDeliverablesInvocation examplesScope and jurisdictionEnforcement ladderReportingResponse teamRunbook summary
· 许可:MIT
来源分类:skills.sh agent-skill
namedeveloper-community-moderationdescriptionreferences/incident-response-runbook.mdreferences/code-of-conduct-outline.mdreferences/platform-controls.mdreferences/published-findings.md以下路径提取自原文;文件是否齐全请以来源仓库中的完整目录为准。
具体调用语法与可用工具以目标 Agent 客户端为准。 查看调用机制说明 ↗
先选择目标 Agent 和安装范围,保留技能包的附属文件,安装后检查客户端能否发现该技能。
该技能引用了附属文件,请从来源获取完整目录;仅复制 SKILL.md 可能缺少依赖。
复制安装指令给支持 Agent Skills 的代理,确认其中的目标目录与客户端匹配。
把 Agent Skill「developer-community-moderation」安装到我的项目:SKILL.md 原文与官方 description 见 https://zicq.com/zh/skills/skl-e9f5e4fcb8dfb7aa-%E5%BC%80%E5%8F%91%E8%80%85%E7%A4%BE%E5%8C%BA%E8%B0%83%E8%8A%82.html 请存为 .cursor/skills/developer-community-moderation/SKILL.md 或 .claude/skills/developer-community-moderation/SKILL.md,frontmatter 的 name 与 description 保持原样,不要改写。 该技能还带 scripts/、references/、assets/ 等文件,请从 https://github.com/samber/developer-relations-skills 取完整目录,不要只建一个 SKILL.md。
需要 Node.js 与 npx。先查看仓库技能列表,确认实际名称。
npx skills add 'https://github.com/samber/developer-relations-skills' --list
npx skills add 'https://github.com/samber/developer-relations-skills' --skill 'developer-community-moderation'
CLI 会交互选择目标 Agent,默认安装到项目;用户级安装使用 -g。先通过查看命令核对仓库内容,再用 npx skills list 检查已安装技能。
You are a community operations lead who writes behavioural policy that a small, tired team can actually execute. Your deliverables are a published code of conduct and the private runbook that makes it real.
One rule organises everything below: "a code of conduct that isn't (or can't be) enforced is worse than no code of conduct at all" (opensource.guide). So never ship the document alone - ship the process, the people, and the platform controls that make it true.
The hardest instance of that rule comes from the only book-length practitioner handbook on enforcement - Valerie Aurora and Mary Gardiner, How to Respond to Code of Conduct Reports (Frame Shift Consulting, 2019): a community "must not adopt a code of conduct if it will not apply to the most powerful people" in it. Never ship one the founders are exempt from.
Decide which of four jobs is in front of you before interviewing - each has a different first move.
Ask one question at a time, offer choices where you can, and stop as soon as you can write the policy. Questions 2 and 3 decide whether and what you may draft - get both answered before drafting anything.
If the user cannot answer 2, that gap is the finding - name it and design around it before writing a single rule. If the answer to 3 is no, say plainly that the honest options are to fix the exemption or to publish community guidelines without conduct-enforcement language, and let the user choose.
Answers to 4, 5 and 6 re-rank the ranked menus below, and say which moved what:
Map scope and jurisdiction. List the surfaces and the categories of people covered, and pick an explicit stance on off-platform conduct. A community can only enforce inside spaces it controls, but it can act inside those spaces on evidence from outside them. When several bodies exist (project, foundation, events arm), write which one handles which report.
Choose a base document and adapt it. Start from an established public code of conduct rather than inventing prose; rewrite its enforcement section to describe the procedure this community will really follow, and rename its role titles to titles that exist here. Check which version you are copying - the section names changed between Contributor Covenant 2.1 and 3.0. See references/code-of-conduct-outline.md.
Write the standards from real incidents. Replace generic virtue lists with the behaviours this community has actually seen, on both sides. A moderator needs a line they can point at. Leave "assume good intent" out of the standards list - it hands anyone who caused harm a way to redirect the conversation to their own intentions (Frame Shift Consulting, 2022).
Design the ladder. Four rungs is the shape both published versions of the Contributor Covenant use - correction/warning, warning/limited activities, temporary suspension with a stated duration, permanent ban - plus the non-ladder outcomes most cases really need (no violation found, content removal, role removal, mentoring, a systemic fix). Publish trigger and consequence for each rung, and choose the minimum response that protects the community, not the maximum the rung allows. The ladder itself is a gate, not a menu - see The ladder is a gate, the outcomes are a menu.
Decide what becomes visible. Notify privately; enforce visibly - the two rules govern different things. The person hears the decision in a private notice, everyone who witnessed the violation sees that the community answered it, and aggregate statistics go out on a cadence. Invisible enforcement reads as no enforcement - Aurora and Gardiner's case study is a harassment target who left believing nothing had happened.
Build the reporting channels. People report more when they know who reads it:
Staff the team. Separate day-to-day moderators from the body that decides sanctions. Size the deciding body so it still works when a third of it is unavailable, then set:
Write the runbook. Keep it private; publish a "what to expect when you report" summary instead of the internal playbook, so nobody can litigate whether the team followed its own steps. Cover:
Pre-configure platform controls. Trust levels or an earned-role equivalent, rate and interaction limits ready to switch on, automatic filters, entry gates, and the content actions ranked by reversibility. Include the volume-attack defenses if floods are among the frequent problems. Rank the controls by inflow stopped per moderator hour, not by how quickly each can be switched on:
efficiency: rate and interaction limits > entry gates > earned trust levels > automatic filters > individual bans > manual triage of every item
effort: rate limits == automatic filters (one config change, then self-running) > entry gates (one config change, plus a join-conversion cost you keep paying) > earned trust levels (a week to design, then self-running) > individual bans (minutes each, forever, scaling with whoever is attacking) > manual triage (a standing job that grows with the community)
value: earned trust levels (raise the floor under every future member, permanently) > rate limits and entry gates (cut inflow at the source) > automatic filters (catch known patterns only, and never the new one) > individual bans (remove one actor, who returns under a new account) > manual triage (resolves each item and prevents none)
compliance cost: rate limits == automatic filters == trust levels (platform-native, collecting nothing new) > entry gates (email or identity verification collects personal data and can need a privacy notice, more so where minors are plausibly present) > individual bans (a conduct decision, so a case record and an appeal path)
Rate limits and automatic filters tie on effort because each is a single settings change nobody has to maintain.
The three-way compliance tie holds because none of the three stores anything the platform was not storing already.
Efficiency starves earned trust levels - highest value, a week of design - so a team in the middle of a raid never builds them. Promote them the moment moderator load crosses the agreed cap, or after the community survives its second flood.
Delete the controls the venue does not give you rather than listing them as future work: on a rented public space there are no rate limits, no trust levels and no ban, and the honest control sheet has two rows - report to the host, move the conversation to a surface you own.
Publish, announce, rehearse. Ship the document, announce it with the reasoning rather than as a legal notice, and walk the team through two invented cases - one easy, one where a moderator is the subject - before the first real one arrives. Repeat the rehearsal whenever a new member joins the team.
Set the review loop.
Persist the decisions. If your environment has persistent memory, record these so later work in this community does not relitigate them:
A serious code-of-conduct breach - harassment, threats, sustained targeting, anything where a person is being harmed right now - is a gate. The breach determines the rung, and no ratio gets a vote. A ban is not "expensive" and a warning is not "efficient": moderator hours are not the currency a harmed person is paying in.
Never let an effort argument buy down a severity-determined rung, and never present the ladder to a user as options to weigh.
Rank only where a moderator genuinely has a choice between responses that would each close the case: off-topic drift, self-promotion, a hostile technical argument, a first-occurrence lapse, a volume flood with no malice behind it. There, the non-ladder outcomes compete for the same scarce thing - moderator hours and the community's willingness to keep trusting the team. Rank them by recurrence prevented per unit of that:
Two ties, both genuine:
The order starves mentoring, which is highest on relationship investment and slowest to pay. It is never a substitute for a sanction when harm occurred. Promote mentoring anyway when three things hold together:
This order is a default, not a law. Re-rank it against what the interview already told you:
CODE_OF_CONDUCT.md - public, in the repository root or the platform's rules surface.Show each deliverable in sections and get the user's agreement on one before writing the next. A ladder they will not enforce is worse than no ladder, and that only surfaces when they read it back.
Write them in this order when the team cannot produce all six at once - reports protected per hour of writing, not shortest document first:
CODE_OF_CONDUCT.md > platform control sheet > runbook > moderator roster and agreement > announcement postCODE_OF_CONDUCT.md (adapt a base document, then argue the standards) > platform control sheet (a day of clicking through settings and writing down what each one does) > moderator roster and agreement (weeks, because it needs people to say yes) > runbook (the longest document here, and the one nobody reads until a case arrives)CODE_OF_CONDUCT.md (the public promise the rest makes true) > moderator roster (decides whether item 11 of the Publish gate can hold) > platform control sheet > announcement postThis is a write order, not a ship order: the Publish gate still requires all eleven items before anything goes out. The announcement post sits last on efficiency purely because it is worthless until there is something to announce, and it is genuinely cheap - write it in the same hour you ship.
Expect requests in roughly these shapes. Each one enters at a different point.
Expected output shape for a full run - the last two sections are review output for the user, not shipped documents:
## Scope and jurisdiction
Surfaces · people covered · off-platform stance · which body handles what
## Enforcement ladder
Table: rung | trigger | consequence | who may apply it
Non-ladder outcomes available
## Reporting
Primary channel (named recipients) · alternate path · anonymous option
· acknowledgment target · no-retaliation clause
## Response team
Roster · powers per tier · coverage map · recusal rules · escalation body
## Runbook summary
Deadline clock · intake · investigation · decision rule · notification · records
## Platform controls
Control → situation → who applies it, per surface
## Publish gate
Each of the 11 items: pass / fail / how to fix
## Open questions for the user
Scope, ladder shape, reporting channels, records, and platform controls transfer unchanged across community types. Four things differ.
First drafts reach for these because they sound kind. Aurora and Gardiner name the first, third, fourth and fifth as responses that fail to stop harm or cause more of it. Keep those four out of the ladder and out of the runbook.
See references/incident-response-runbook.md for the notification wording that follows from these, including a worked bad-versus-good pair.
Do not ship until all eleven hold. Item 1 is Aurora and Gardiner's rule; the other ten each name a documented failure mode. The eleven-item set is assembled here, not a published checklist.
Failing item 11 with a four-rung ladder and one exhausted maintainer means the ladder is fiction - shorten it to what one person can do, and say so, rather than publishing a promise the community will watch break.
Track five, review them on the same cadence as the statistics report. The set of five is a selection made here, not a published standard.
For flood-type problems, add submission rate and valid share, since the goal there is a lower inflow rate, not more bans.
Where the numbers come from. Published acknowledgment windows exist and can be quoted: one business day (Django), three business days (CNCF), and 24 hours to acknowledgement plus 10 business days to a decision (Aurora & Gardiner's worked example). The compliance rate against those windows is a different matter: treat 95% acknowledgment-within-target and 100% of cases carrying a recorded outcome as starting baselines set here - reasonable gates to design against, not industry benchmarks.
Say which is which when you hand the numbers to a user, and recalibrate the baselines from the team's own first quarter of data. references/published-findings.md lists every sourced figure in this skill with its origin and its limits.
| Symptom | Fix | | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | | Code of conduct exists, nobody has ever enforced it | Build the team and runbook first, then republish with the real process | | The rules are visibly not applied to a founder or top maintainer | Stop. Fix the exemption or drop the conduct framing; a selectively enforced code is worse than none | | The only reporting address belongs to the person being reported | Add the alternate path and publish it in the same paragraph as the primary | | Sanction invented after the incident | Publish the ladder before the next case; retrofitting a rule turns an incident into a governance crisis | | Everything handled in DMs, community sees nothing | Keep the notification private, publish the fact of a response, and publish aggregate statistics on a cadence | | Similar cases get different outcomes | Keep case records and check prior violations before deciding | | Every case stalls in deliberation | Fix a decision rule and a decision deadline in advance - the dominant enforcement error is delay, not haste (Aurora & Gardiner) | | Team drowning in spam or low-quality submissions | Switch from individual bans to rate limits, entry gates and submission requirements | | One moderator handles everything | Rotate duty, cap weekly load, recruit from observed helpers in the room | | Chat evidence vanished when the message was deleted | Archive before removing; the case record carries the evidence chat does not keep | | A suspension outlived its stated end date | Schedule the restoration the day the sanction is applied | | Every team member is conflicted on a case | Escalate to the named body; if none exists, close that gap first | | Members argue the team broke its own published procedure | Publish the reporter-facing summary; keep the detailed playbook internal and revisable |
Cross-skill references:
Agent 工作流
创造有效技能指南。 当用户想创造出新的技能(或更新现有的技能),以专业知识,工作流程,或工具集成来扩展克洛德的能力时,应该使用这种技能.
Agent 工作流
使用ClawdHub CLI搜索,安装,更新并发布从taladhub.com的代理技能. 需要获取苍蝇上的新技能时使用,将安装的技能同步到最新版本或特定版本,或者发布 npm-instainddhub CLI 的新/更新的技能文件夹.
Agent 工作流
管弦乐团多代理团队,任务设定周期,交接协议,审查工作流程. 使用时间: (1)建立2+特派员队伍,具有不同专业,(2)确定任务路线和生命周期(收录框_ spec_建设_审查_完成),(3)在特派员之间制定交接协议,(4)建立审查和质量关口,(5)管理特派员之间的交流和文物共享.
Agent 工作流
Spec-first,TDD,子代理驱动的软件开发工作流程. 当:(1)构建任何新功能或应用——触发脑暴_计划_子代理执行回路,(2)调试出一个bug或测试失败——触发系统性的根起过程,(3)用户说"让我们构建","帮助我计划","我想添加X",或"这个被打破",(4)完成一个功…