Skip to content

Commit ce59d79

Browse files
committed
Add the normal open source contributing artifacts
1 parent 2391cd2 commit ce59d79

5 files changed

Lines changed: 256 additions & 0 deletions

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
name: Bug report
3+
about: Report something that isn't working correctly
4+
title: ""
5+
labels: bug
6+
---
7+
8+
## What happened?
9+
10+
<!-- Describe the bug. -->
11+
12+
## What did you expect?
13+
14+
<!-- What should have happened instead? -->
15+
16+
## How to reproduce
17+
18+
<!-- Command you ran, input you used, and any relevant flags. -->
19+
20+
```bash
21+
22+
```
23+
24+
## Environment
25+
26+
- skill-validator version:
27+
- Go version:
28+
- OS:
29+
30+
## Additional context
31+
32+
<!-- Logs, screenshots, or anything else that helps. -->
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: Feature request
3+
about: Suggest a new feature or improvement
4+
title: ""
5+
labels: enhancement
6+
---
7+
8+
## What problem does this solve?
9+
10+
<!-- Describe the use case or pain point. -->
11+
12+
## What would you like to see?
13+
14+
<!-- Describe the feature or behavior you'd like. -->
15+
16+
## Alternatives considered
17+
18+
<!-- Have you tried any workarounds or considered other approaches? -->

.github/pull_request_template.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
## What this PR does
2+
3+
<!-- Brief description of the change and why it's needed. -->
4+
5+
## How to test
6+
7+
<!-- Steps to verify the change works, or note which tests cover it. -->
8+
9+
## Checklist
10+
11+
- [ ] Tests pass locally (`go test -race ./... -count=1`)
12+
- [ ] Lint passes locally (`golangci-lint run`)
13+
- [ ] New functionality includes tests
14+
- [ ] Breaking changes are noted above (if any)

CODE_OF_CONDUCT.md

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
We as members, contributors, and leaders pledge to make participation in 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, caste, color, religion, or sexual identity and orientation.
6+
7+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8+
9+
## Our Standards
10+
11+
Examples of behavior that contributes to a positive environment for our community include:
12+
13+
* Demonstrating empathy and kindness toward other people
14+
* Being respectful of differing opinions, viewpoints, and experiences
15+
* Giving and gracefully accepting constructive feedback
16+
* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17+
* Focusing on what is best not just for us as individuals, but for the overall community
18+
19+
Examples of unacceptable behavior include:
20+
21+
* The use of sexualized language or imagery, and sexual attention or advances of any kind
22+
* Trolling, insulting or derogatory comments, and personal or political attacks
23+
* Public or private harassment
24+
* Publishing others' private information, such as a physical or email address, without their explicit permission
25+
* Other conduct which could reasonably be considered inappropriate in a professional setting
26+
27+
## Enforcement Responsibilities
28+
29+
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, threatening, offensive, or harmful.
30+
31+
Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
32+
33+
## Scope
34+
35+
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
36+
37+
## Enforcement
38+
39+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement via the [contact form](https://dacharycarey.com/contact/). All complaints will be reviewed and investigated promptly and fairly.
40+
41+
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
42+
43+
## Enforcement Guidelines
44+
45+
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
46+
47+
### 1. Correction
48+
49+
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
50+
51+
**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
52+
53+
### 2. Warning
54+
55+
**Community Impact**: A violation through a single incident or series of actions.
56+
57+
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
58+
59+
### 3. Temporary Ban
60+
61+
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
62+
63+
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
64+
65+
### 4. Permanent Ban
66+
67+
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
68+
69+
**Consequence**: A permanent ban from any sort of public interaction within the community.
70+
71+
## Attribution
72+
73+
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.html][v2.1].
74+
75+
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
76+
77+
For answers to common questions about this code of conduct, see the FAQ at [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at [https://www.contributor-covenant.org/translations][translations].
78+
79+
[homepage]: https://www.contributor-covenant.org
80+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
81+
[Mozilla CoC]: https://github.com/mozilla/diversity
82+
[FAQ]: https://www.contributor-covenant.org/faq
83+
[translations]: https://www.contributor-covenant.org/translations

CONTRIBUTING.md

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
# Contributing
2+
3+
Thank you for your interest in contributing to skill-validator. This guide covers
4+
how to set up your development environment, run checks, and submit changes.
5+
6+
## Getting started
7+
8+
### Prerequisites
9+
10+
- Go 1.25.5 or later
11+
- [golangci-lint](https://golangci-lint.run/welcome/install/) (for linting)
12+
13+
### Setup
14+
15+
1. Fork and clone the repository.
16+
2. Install dependencies:
17+
18+
```bash
19+
go mod download
20+
```
21+
22+
3. Verify everything works:
23+
24+
```bash
25+
go test -race ./... -count=1
26+
go build -o skill-validator ./cmd/skill-validator
27+
```
28+
29+
## Development workflow
30+
31+
### Running tests
32+
33+
```bash
34+
go test -race ./... -count=1
35+
```
36+
37+
### Linting
38+
39+
The project uses golangci-lint with gofumpt formatting. Run it locally before
40+
pushing:
41+
42+
```bash
43+
golangci-lint run
44+
```
45+
46+
CI runs both lint and test on every pull request. Your PR needs to pass both.
47+
48+
### Building
49+
50+
```bash
51+
go build -o skill-validator ./cmd/skill-validator
52+
```
53+
54+
## Making changes
55+
56+
### Bug fixes
57+
58+
If you've found a bug, check [existing issues](https://github.com/agent-ecosystem/skill-validator/issues)
59+
first. If it hasn't been reported, open an issue describing the bug, then submit
60+
a PR with the fix. Include a test that reproduces the bug where practical.
61+
62+
### New features
63+
64+
For anything beyond a small fix, open an issue first to discuss the approach.
65+
This saves you from investing time in a direction that might not fit the project's
66+
goals. Things worth discussing up front:
67+
68+
- New validation checks or scoring criteria
69+
- New output formats or integrations
70+
- Changes to existing check behavior
71+
- New CLI commands or flags
72+
73+
### Code style
74+
75+
- Follow standard Go conventions. The linter enforces most of this.
76+
- Use gofumpt for formatting (configured in `.golangci.yml`).
77+
- Write tests for new functionality. The CI runs `go test -race`, so avoid
78+
data races.
79+
- Keep commits focused. One logical change per commit is easier to review
80+
than a commit that mixes a bug fix with a refactor.
81+
82+
## Submitting a pull request
83+
84+
1. Create a branch from `main`.
85+
2. Make your changes, ensuring tests pass and lint is clean.
86+
3. Push your branch and open a PR against `main`.
87+
4. Fill in the PR template. A clear description of what changed and why helps
88+
reviewers give useful feedback faster.
89+
90+
## Reporting issues
91+
92+
Use GitHub Issues. For bug reports, include:
93+
94+
- What you ran (command, flags, input)
95+
- What you expected
96+
- What happened instead
97+
- Version info (`skill-validator --version`, Go version, OS)
98+
99+
## AI usage
100+
101+
We expect contributors to use AI tools. If you use AI to help write code, review
102+
the output before submitting. Make sure tests pass, the code handles edge cases
103+
you care about, and you understand what it does. The bar is the same whether you
104+
wrote it by hand or not.
105+
106+
## Code of Conduct
107+
108+
This project follows the [Contributor Covenant Code of Conduct](CODE_OF_CONDUCT.md).
109+
By participating, you agree to uphold it.

0 commit comments

Comments
 (0)