-
Notifications
You must be signed in to change notification settings - Fork 0
Add GitHub community health files and standard contribution templates #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
disk0Dancer
merged 2 commits into
main
from
copilot/create-code-of-conduct-and-templates
Apr 22, 2026
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| # Code of Conduct | ||
|
|
||
| ## Our Pledge | ||
|
|
||
| We as contributors and maintainers pledge to make participation in this project and | ||
| our community a harassment-free experience for everyone, regardless of age, body | ||
| size, visible or invisible disability, ethnicity, sex characteristics, gender | ||
| identity and expression, level of experience, education, socio-economic status, | ||
| nationality, personal appearance, race, religion, or sexual identity and | ||
| orientation. | ||
|
|
||
| We pledge to act and interact in ways that contribute to an open, welcoming, | ||
| diverse, inclusive, and healthy community. | ||
|
|
||
| ## Our Standards | ||
|
|
||
| Examples of behavior that contributes to a positive environment include: | ||
|
|
||
| - Being respectful, constructive, and empathetic | ||
| - Giving and gracefully accepting actionable feedback | ||
| - Focusing on what is best for the community and project | ||
| - Showing courtesy and professionalism in public and private interactions | ||
|
|
||
| Examples of unacceptable behavior include: | ||
|
|
||
| - The use of sexualized language or imagery, and sexual attention or advances | ||
| - Trolling, insulting or derogatory comments, and personal or political attacks | ||
| - Public or private harassment | ||
| - Publishing others' private information without explicit permission | ||
| - Other conduct that could reasonably be considered inappropriate in a | ||
| professional setting | ||
|
|
||
| ## Enforcement Responsibilities | ||
|
|
||
| Project maintainers are responsible for clarifying and enforcing our standards of | ||
| acceptable behavior and will take appropriate and fair corrective action in | ||
| response to any behavior they deem inappropriate, threatening, offensive, or | ||
| harmful. | ||
|
|
||
| ## Scope | ||
|
|
||
| This Code of Conduct applies in all project spaces and whenever an individual is | ||
| officially representing the project in public spaces. | ||
|
|
||
| ## Enforcement | ||
|
|
||
| Instances of abusive, harassing, or otherwise unacceptable behavior may be | ||
| reported to the maintainers by opening a private security report as described in | ||
| [`SECURITY.md`](./SECURITY.md) or by contacting the repository owner through | ||
| GitHub. | ||
|
|
||
| All complaints will be reviewed and investigated promptly and fairly. | ||
|
|
||
| ## Attribution | ||
|
|
||
| This Code of Conduct is adapted from the [Contributor Covenant][homepage], | ||
| version 2.1, available at | ||
| <https://www.contributor-covenant.org/version/2/1/code_of_conduct/>. | ||
|
|
||
| [homepage]: https://www.contributor-covenant.org | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| # Contributing to climate | ||
|
|
||
| Thanks for your interest in contributing. | ||
|
|
||
| ## Before you start | ||
|
|
||
| - Search existing issues and pull requests to avoid duplicate work. | ||
| - For larger changes, open an issue first to discuss approach and scope. | ||
|
|
||
| ## Required workflow for feature work | ||
|
|
||
| For feature changes, follow this sequence: | ||
|
|
||
| 1. **Design first** | ||
| - Describe problem, goals, non-goals, API/CLI UX, and edge cases. | ||
| - Add or update design docs in `docs/`. | ||
| 2. **Document behavior** | ||
| - Update user-facing docs (`README.md`, `docs/index.md`) when commands or capabilities change. | ||
| 3. **Write tests** | ||
| - Add targeted unit tests for new logic before/with implementation. | ||
| 4. **Implement code** | ||
| - Keep changes focused and consistent with project style. | ||
| 5. **Update skills** | ||
| - Update `skills/climate.md` and `skills/climate-generator/SKILL.md` when command set or workflows change. | ||
| 6. **Validate locally** | ||
| - Run: | ||
|
|
||
| ```bash | ||
| go build ./... | ||
| go test ./... | ||
| ``` | ||
|
|
||
| 7. **Validate CI health** | ||
| - Ensure PR checks are green before merge. | ||
|
|
||
| ## Pull request expectations | ||
|
|
||
| - Keep PRs small and clearly scoped. | ||
| - Explain what changed and why. | ||
| - Include tests for behavior changes. | ||
| - Update docs and skills files when required. | ||
| - Ensure CI is green. | ||
|
|
||
| ## Commit style | ||
|
|
||
| Use clear, imperative commit messages (for example: `Add security policy`). | ||
|
|
||
| ## Reporting bugs and requesting features | ||
|
|
||
| Use the issue templates to provide all required context. | ||
|
|
||
| ## Code of Conduct | ||
|
|
||
| By participating, you agree to abide by the | ||
| [Code of Conduct](./CODE_OF_CONDUCT.md). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| name: Bug report | ||
| description: Report a reproducible problem in climate | ||
| title: "bug: " | ||
| labels: | ||
| - bug | ||
| body: | ||
| - type: markdown | ||
| attributes: | ||
| value: | | ||
| Thanks for reporting a bug. Please provide enough detail to reproduce it. | ||
| - type: textarea | ||
| id: summary | ||
| attributes: | ||
| label: Summary | ||
| description: What happened? | ||
| placeholder: A clear and concise description of the bug. | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: steps | ||
| attributes: | ||
| label: Steps to reproduce | ||
| description: Exact steps, commands, and inputs. | ||
| placeholder: | | ||
| 1. Run ... | ||
| 2. Generate ... | ||
| 3. Observe ... | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: expected | ||
| attributes: | ||
| label: Expected behavior | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: actual | ||
| attributes: | ||
| label: Actual behavior | ||
| validations: | ||
| required: true | ||
| - type: input | ||
| id: version | ||
| attributes: | ||
| label: climate version | ||
| placeholder: e.g. climate version output | ||
| - type: textarea | ||
| id: environment | ||
| attributes: | ||
| label: Environment | ||
| description: OS, architecture, Go version (if building from source), etc. | ||
| - type: textarea | ||
| id: logs | ||
| attributes: | ||
| label: Relevant logs/output | ||
| render: shell |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| blank_issues_enabled: false | ||
| contact_links: | ||
| - name: Security vulnerability report | ||
| url: https://github.com/disk0Dancer/climate/security/advisories/new | ||
| about: Please report vulnerabilities privately. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| name: Feature request | ||
| description: Suggest an enhancement for climate | ||
| title: "feat: " | ||
| labels: | ||
| - enhancement | ||
| body: | ||
| - type: markdown | ||
| attributes: | ||
| value: | | ||
| Thanks for the suggestion. Share the problem first, then your proposed solution. | ||
| - type: textarea | ||
| id: problem | ||
| attributes: | ||
| label: Problem statement | ||
| description: What problem are you trying to solve? | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: proposal | ||
| attributes: | ||
| label: Proposed solution | ||
| description: What would you like to happen? | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: alternatives | ||
| attributes: | ||
| label: Alternatives considered | ||
| description: Any alternatives or workarounds you've tried. | ||
| - type: textarea | ||
| id: context | ||
| attributes: | ||
| label: Additional context | ||
| description: Links, examples, or related issues. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| # Security Policy | ||
|
|
||
| ## Supported versions | ||
|
|
||
| Only the latest release is actively supported with security fixes. | ||
|
|
||
| ## Reporting a vulnerability | ||
|
|
||
| Please do **not** report security vulnerabilities in public issues. | ||
|
|
||
| Instead, use GitHub's private vulnerability reporting for this repository: | ||
|
|
||
| - Go to the repository's **Security** tab | ||
| - Select **Report a vulnerability** | ||
|
|
||
| If private reporting is unavailable, contact the repository owner directly on | ||
| GitHub and include: | ||
|
|
||
| - A clear description of the issue | ||
| - Reproduction steps or proof of concept | ||
| - Potential impact | ||
| - Any suggested remediation | ||
|
|
||
| We will acknowledge reports as quickly as possible and work on a fix. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,18 @@ | ||||||
| ## Summary | ||||||
|
|
||||||
| Describe the change and why it is needed. | ||||||
|
|
||||||
| ## Changes | ||||||
|
|
||||||
| - | ||||||
|
||||||
| - | |
| - <change 1> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Code of Conduct’s enforcement section instructs reporting CoC incidents via a “private security report” and links to
SECURITY.md, butSECURITY.mdis specifically about vulnerability reporting. This is inconsistent and may misroute CoC complaints; suggest providing a separate reporting path for CoC issues (e.g., direct contact method) and reservingSECURITY.mdfor security vulnerabilities.