Community moderation, code of conduct enforcement, and conflict resolution
Reviews community violations and applies fair moderation actions using a structured enforcement ladder. Triggers when reviewing reports, warnings, appeals, or ban requests with context about the incident.
/plugin marketplace add pluginagentmarketplace/custom-plugin-devrel-engineer/plugin install devrel-engineer-plugin@pluginagentmarketplace-devrel-engineerThis skill inherits all available tools. When active, it can use any tool Claude has access to.
assets/code-of-conduct-template.yamlreferences/MODERATION_GUIDE.mdscripts/mod_assistant.pyImplement fair, consistent moderation that keeps communities healthy and inclusive.
parameters:
required:
- action_type: enum[review, warn, remove, ban, appeal]
- incident_context: string
optional:
- severity: enum[minor, moderate, serious, severe]
- prior_violations: integer
output:
moderation_action:
decision: enum[no_action, warning, removal, ban]
rationale: string
communication: string
1. Be respectful and inclusive
2. No harassment, discrimination, or hate speech
3. Keep discussions constructive
4. Respect privacy and confidentiality
5. Follow platform rules
| Level | Violation | Action | Record |
|---|---|---|---|
| 1 | Minor (off-topic) | Friendly reminder | 30 days |
| 2 | Moderate (rude) | Warning + delete | 90 days |
| 3 | Serious (harassment) | Temp ban (1-7d) | 1 year |
| 4 | Severe (threats) | Permanent ban | Forever |
Report → Review → Decide → Act → Document → Follow-up
↓ ↓ ↓ ↓ ↓ ↓
Flag Context Policy Remove Log Appeal
System Check Apply Warn Event Process
| Situation | Approach | Escalation |
|---|---|---|
| Heated debate | Cool off period | Community manager |
| Repeated offender | Clear warning | Ban review |
| Doxxing/threats | Immediate ban | Legal team |
| Gray area | Team discussion | Policy update |
retry_patterns:
unclear_violation:
strategy: "Consult with another moderator"
escalation: "Team vote on action"
member_dispute:
strategy: "Private mediation session"
fallback: "Both parties warned"
appeal_received:
strategy: "Different moderator reviews"
| Failure Mode | Detection | Recovery |
|---|---|---|
| Inconsistent enforcement | Complaints | Audit, recalibrate |
| False positive ban | Appeal success | Apologize, restore |
| Mod burnout | Slow responses | Rotate, recruit |
□ Violation matches CoC section?
□ Context fully understood?
□ Prior history reviewed?
□ Consistent with past cases?
□ Action proportionate?
□ Communication respectful?
□ Documentation complete?
□ Appeal path explained?
test_moderation:
unit_tests:
- test_violation_classification:
assert: "Correct severity level"
- test_response_time:
assert: "Reviewed within 4 hours"
integration_tests:
- test_appeal_process:
assert: "Different reviewer, 72h decision"
metrics:
- reports_per_week: integer
- resolution_time_avg: duration
- appeal_rate: float
- overturn_rate: float
See assets/ for code of conduct templates.
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.