Implement comprehensive content moderation and community protection · codehornets/agents-claude-code@ea5644a · GitHub
Skip to content

Commit ea5644a

Browse files
committed
Implement comprehensive content moderation and community protection
- Added Code of Conduct with clear behavioral standards - Created Contributing guidelines with submission requirements - Implemented structured issue templates (bug reports, features, new agents, moderation) - Disabled blank issues to enforce template usage - Added automated content moderation via GitHub Actions: * Real-time scanning for hate speech, threats, and profanity * Automatic closure/locking of critical violations * Moderation alerts for maintainer review - Set up welcome system for new contributors with community guidelines - Enabled GitHub Discussions as alternative to issues for general questions - Closed and locked existing hate speech issue #30 - Blocked offending user account This creates a multi-layered defense against inappropriate content while maintaining an open, welcoming environment for legitimate contributors.
1 parent bb90279 commit ea5644a

9 files changed

Lines changed: 882 additions & 0 deletions

File tree

‎.github/CODE_OF_CONDUCT.md‎

Lines changed: 70 additions & 0 deletions

‎.github/CONTRIBUTING.md‎

Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
# Contributing to Agents
2+
3+
Thank you for your interest in contributing to this collection of Claude Code subagents! This guide will help you contribute effectively while maintaining a positive community environment.
4+
5+
## Before You Contribute
6+
7+
1. **Read our [Code of Conduct](.github/CODE_OF_CONDUCT.md)** - All interactions must follow our community standards
8+
2. **Search existing issues** - Check if your suggestion or bug report already exists
9+
3. **Use appropriate templates** - Follow the provided issue and PR templates
10+
11+
## Types of Contributions
12+
13+
### Subagent Improvements
14+
- Bug fixes in existing agent prompts
15+
- Performance optimizations
16+
- Enhanced capabilities or instructions
17+
- Documentation improvements
18+
19+
### New Subagents
20+
- Well-defined specialized agents for specific domains
21+
- Clear use cases and examples
22+
- Comprehensive documentation
23+
- Integration with existing workflows
24+
25+
### Infrastructure
26+
- GitHub Actions improvements
27+
- Template enhancements
28+
- Community tooling
29+
30+
## Contribution Process
31+
32+
### 1. Issues First
33+
- **Always create an issue before starting work** on significant changes
34+
- Use the appropriate issue template
35+
- Provide clear, detailed descriptions
36+
- Include relevant examples or use cases
37+
38+
### 2. Pull Requests
39+
- Fork the repository and create a feature branch
40+
- Follow existing code style and formatting
41+
- Include tests or examples where appropriate
42+
- Reference the related issue in your PR description
43+
- Use clear, descriptive commit messages
44+
45+
### 3. Review Process
46+
- All PRs require review from maintainers
47+
- Address feedback promptly and professionally
48+
- Be patient - reviews may take time
49+
50+
## Content Guidelines
51+
52+
### What We Accept
53+
- ✅ Constructive feedback and suggestions
54+
- ✅ Well-researched feature requests
55+
- ✅ Clear bug reports with reproduction steps
56+
- ✅ Professional, respectful communication
57+
- ✅ Documentation improvements
58+
- ✅ Specialized domain expertise
59+
60+
### What We Don't Accept
61+
- ❌ Hate speech, discrimination, or harassment
62+
- ❌ Spam, promotional content, or off-topic posts
63+
- ❌ Personal attacks or inflammatory language
64+
- ❌ Duplicate or low-effort submissions
65+
- ❌ Requests for malicious or harmful capabilities
66+
- ❌ Copyright infringement
67+
68+
## Quality Standards
69+
70+
### For Subagents
71+
- Clear, specific domain expertise
72+
- Well-structured prompt engineering
73+
- Practical use cases and examples
74+
- Appropriate safety considerations
75+
- Integration with existing patterns
76+
77+
### For Documentation
78+
- Clear, concise writing
79+
- Accurate technical information
80+
- Consistent formatting and style
81+
- Practical examples
82+
83+
## Community Guidelines
84+
85+
### Communication
86+
- **Be respectful** - Treat all community members with dignity
87+
- **Be constructive** - Focus on improving the project
88+
- **Be patient** - Allow time for responses and reviews
89+
- **Be helpful** - Share knowledge and assist others
90+
91+
### Collaboration
92+
- **Give credit** - Acknowledge others' contributions
93+
- **Share knowledge** - Help others learn and grow
94+
- **Stay focused** - Keep discussions on topic
95+
- **Follow up** - Respond to feedback and requests
96+
97+
## Getting Help
98+
99+
- 📖 **Documentation**: Check existing README files and agent descriptions
100+
- 💬 **Discussions**: Use GitHub Discussions for questions and brainstorming
101+
- 🐛 **Issues**: Report bugs or request features through issue templates
102+
- 📧 **Direct Contact**: Reach out to maintainers for sensitive matters
103+
104+
## Recognition
105+
106+
Contributors who consistently provide high-quality submissions and maintain professional conduct will be:
107+
- Acknowledged in release notes
108+
- Given priority review for future contributions
109+
- Potentially invited to become maintainers
110+
111+
## Enforcement
112+
113+
Violations of these guidelines may result in:
114+
1. **Warning** - First offense or minor issues
115+
2. **Temporary restrictions** - Suspension of contribution privileges
116+
3. **Permanent ban** - Severe or repeated violations
117+
118+
Reports of violations should be made through:
119+
- GitHub's built-in reporting tools
120+
- Issues tagged with `moderation`
121+
- Direct contact with maintainers
122+
123+
---
124+
125+
Thank you for helping make this project a welcoming, productive environment for everyone!
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
name: Bug Report
2+
description: Report a bug or issue with an existing subagent
3+
title: "[BUG] "
4+
labels: ["bug"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thank you for reporting a bug! Please fill out this template to help us understand and resolve the issue.
10+
11+
**Important**: This template is for technical bugs only. For questions, discussions, or general feedback, please use GitHub Discussions instead.
12+
13+
- type: checkboxes
14+
id: preliminary-checks
15+
attributes:
16+
label: Preliminary Checks
17+
description: Please confirm you have completed these steps
18+
options:
19+
- label: I have read the [Code of Conduct](.github/CODE_OF_CONDUCT.md)
20+
required: true
21+
- label: I have searched existing issues to ensure this is not a duplicate
22+
required: true
23+
- label: This report contains only technical information about a bug
24+
25+
- type: input
26+
id: subagent
27+
attributes:
28+
label: Affected Subagent
29+
description: Which subagent is experiencing the issue?
30+
placeholder: e.g., python-pro, frontend-developer, etc.
31+
validations:
32+
required: true
33+
34+
- type: textarea
35+
id: bug-description
36+
attributes:
37+
label: Bug Description
38+
description: A clear and concise description of what the bug is
39+
placeholder: Describe the unexpected behavior...
40+
validations:
41+
required: true
42+
43+
- type: textarea
44+
id: reproduction-steps
45+
attributes:
46+
label: Steps to Reproduce
47+
description: Steps to reproduce the behavior
48+
placeholder: |
49+
1. Use subagent for...
50+
2. Provide input...
51+
3. Observe output...
52+
4. See error...
53+
validations:
54+
required: true
55+
56+
- type: textarea
57+
id: expected-behavior
58+
attributes:
59+
label: Expected Behavior
60+
description: What you expected to happen
61+
placeholder: The subagent should have...
62+
validations:
63+
required: true
64+
65+
- type: textarea
66+
id: additional-context
67+
attributes:
68+
label: Additional Context
69+
description: Any other context, screenshots, or examples
70+
placeholder: Add any other context about the problem here...

‎.github/ISSUE_TEMPLATE/config.yml‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: GitHub Discussions
4+
url: https://github.com/wshobson/agents/discussions
5+
about: For questions, brainstorming, and general discussions about subagents
6+
- name: Community Guidelines
7+
url: https://github.com/wshobson/agents/blob/main/.github/CODE_OF_CONDUCT.md
8+
about: Read our Code of Conduct and community standards
9+
- name: Contributing Guide
10+
url: https://github.com/wshobson/agents/blob/main/.github/CONTRIBUTING.md
11+
about: Learn how to contribute effectively to this project
Lines changed: 77 additions & 0 deletions

0 commit comments

Comments
 (0)