docs: add Code of Conduct and issue templates

Add Contributor Covenant Code of Conduct and GitHub issue templates
(bug report + feature request) to reach 100% community health score.
This commit is contained in:
JackChen 2026-04-03 12:09:41 +08:00
parent 0db0a4d869
commit 277dac2fe4
3 changed files with 111 additions and 0 deletions

40
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View File

@ -0,0 +1,40 @@
---
name: Bug Report
about: Report a bug to help us improve
title: "[Bug] "
labels: bug
assignees: ''
---
## Describe the bug
A clear and concise description of what the bug is.
## To Reproduce
Steps to reproduce the behavior:
1. Configure agent with '...'
2. Call `runTeam(...)` with '...'
3. See error
## Expected behavior
A clear description of what you expected to happen.
## Error output
```
Paste any error messages or logs here
```
## Environment
- OS: [e.g. macOS 14, Ubuntu 22.04]
- Node.js version: [e.g. 20.11]
- Package version: [e.g. 0.1.0]
- LLM provider: [e.g. Anthropic, OpenAI]
## Additional context
Add any other context about the problem here.

View File

@ -0,0 +1,23 @@
---
name: Feature Request
about: Suggest an idea for this project
title: "[Feature] "
labels: enhancement
assignees: ''
---
## Problem
A clear description of the problem or limitation you're experiencing.
## Proposed Solution
Describe what you'd like to happen.
## Alternatives Considered
Any alternative solutions or features you've considered.
## Additional context
Add any other context, code examples, or screenshots about the feature request here.

48
CODE_OF_CONDUCT.md Normal file
View File

@ -0,0 +1,48 @@
# Contributor Covenant Code of Conduct
## Our Pledge
We as members, contributors, and leaders pledge to make participation in our
community a positive experience for everyone, regardless of background or
identity.
## Our Standards
Examples of behavior that contributes to a positive environment:
- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive feedback
- Focusing on what is best for the community
- Showing empathy towards other community members
Examples of unacceptable behavior:
- Trolling, insulting or derogatory comments, and personal attacks
- Public or private unwelcome conduct
- Publishing others' private information without explicit permission
- Other conduct which could reasonably be considered inappropriate in a
professional setting
## Enforcement Responsibilities
Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate or harmful.
## Scope
This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
## Enforcement
Instances of unacceptable behavior may be reported to the community leaders
responsible for enforcement at **jack@yuanasi.com**. All complaints will be
reviewed and investigated promptly and fairly.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org),
version 2.1, available at
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html](https://www.contributor-covenant.org/version/2/1/code_of_conduct.html).