Skip to content

Community Guidelines

Welcome to the stx community! This guide outlines how to participate in and contribute to the stx ecosystem.

Code of Conduct

Our Pledge

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, religion, or sexual identity and orientation.

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 criticism
  • Focusing on what is best for the community
  • Showing empathy towards other community members

Examples of unacceptable behavior:

  • The use of sexualized language or imagery
  • Trolling, insulting/derogatory comments, and personal or political attacks
  • Public or private harassment
  • Publishing others' private information without explicit permission
  • Other conduct which could reasonably be considered inappropriate

Contributing

Getting Started

  1. Fork the Repository
bash
# Clone your fork
git clone https://github.com/your-username/stx.git
cd stx

# Install dependencies
bun install

# Create a branch
git checkout -b feature/amazing-feature
  1. Set Up Development Environment
bash
# Start development server
bun run dev

# Run tests
bun run test

# Build documentation
bun run docs:dev

Pull Request Process

  1. Update Documentation
  • Add/update documentation for new features
  • Include code examples where appropriate
  • Update type definitions if necessary
  1. Write Tests
  • Add unit tests for new functionality
  • Ensure all tests pass
  • Add integration tests if needed
  1. Follow Code Style
  • Use TypeScript
  • Follow existing code formatting
  • Add appropriate comments
  1. Create Pull Request
  • Use a clear and descriptive title
  • Reference any related issues
  • Provide a detailed description
  • Include screenshots for UI changes

Example PR template:

markdown
## Description
Brief description of the changes

## Type of Change
- [ ] Bug fix
- [ ] New feature
- [ ] Breaking change
- [ ] Documentation update

## How Has This Been Tested?
Describe the tests you ran

## Checklist
- [ ] My code follows the style guidelines
- [ ] I have performed a self-review
- [ ] I have commented my code
- [ ] I have updated the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests
- [ ] All tests pass

Issue Guidelines

Bug Reports

When filing a bug report, include:

  1. Environment Information
markdown
- stx Version:
- Node Version:
- Bun Version:
- Operating System:
- Browser (if applicable):
  1. Bug Description
markdown
## Expected Behavior
What should happen

## Current Behavior
What happens instead

## Steps to Reproduce
1. Step one
2. Step two
3. Step three

## Minimal Code Example
```stx
@component('BugExample')
  <!-- Code that demonstrates the issue -->
@endcomponent

#### Feature Requests
When proposing a feature:

1. Describe the Problem
- What problem does this solve?
- Who would benefit from this?
- What alternatives have you considered?

2. Propose a Solution
- How should it work?
- What are the trade-offs?
- How would it be implemented?

## Communication Channels

### Official Channels

1. GitHub Discussions
- Technical questions
- Feature discussions
- Community announcements
- Show and tell

2. Discord Server
- Real-time chat
- Community support
- Team collaboration
- Announcements

3. Stack Overflow
- Use the `stx` tag
- Follow Stack Overflow guidelines
- Be specific in questions

### Best Practices

#### Asking Questions

1. Search First
- Check documentation
- Search existing issues
- Look through discussions

2. Provide Context
```markdown
## Question
Clear, specific question

## Context
- What I'm trying to achieve
- What I've tried
- Relevant code examples

## Environment
- stx version
- Other relevant details

Providing Answers

  1. Be Helpful
  • Explain the why, not just the how
  • Include code examples
  • Link to relevant documentation
  1. Be Respectful
  • Not everyone has the same experience level
  • Guide rather than criticize
  • Suggest improvements constructively

Events and Programs

Community Events

  1. Online Meetups
  • Monthly community calls
  • Technical presentations
  • Q&A sessions
  • Lightning talks
  1. Workshops
  • Getting started with stx
  • Advanced topics
  • Best practices
  • Case studies

Mentorship Program

  1. Becoming a Mentor
  • Requirements
    • Active community member
    • Strong technical knowledge
    • Good communication skills
  • Responsibilities
    • Guide new contributors
    • Review pull requests
    • Answer questions
    • Share knowledge
  1. Finding a Mentor
  • Join the Discord server
  • Introduce yourself
  • Share your goals
  • Be active in the community

Recognition and Rewards

Contributor Recognition

  1. Hall of Fame
  • Outstanding contributors
  • Consistent participation
  • Significant impact
  • Community leadership
  1. Badges and Roles
  • Issue solver
  • Documentation writer
  • Feature contributor
  • Community helper

Rewards Program

  1. Points System
  • Bug fixes: 5 points
  • Documentation: 3 points
  • Feature implementation: 10 points
  • Code review: 2 points
  1. Benefits
  • Custom Discord roles
  • Priority support
  • Early access to features
  • Swag and merchandise

Resources

Learning Resources

  1. Official Resources
  • Documentation
  • Tutorials
  • Video guides
  • Example projects
  1. Community Resources
  • Blog posts
  • Video tutorials
  • Code snippets
  • Starter templates

Support

  1. Commercial Support
  • Enterprise support
  • Custom development
  • Training
  • Consulting
  1. Community Support
  • GitHub issues
  • Discord channels
  • Stack Overflow
  • Community forums

Branding Guidelines

Logo Usage

  1. Official Logo
  • Download formats
  • Color variations
  • Size requirements
  • Clear space rules
  1. Usage Guidelines
  • Permitted uses
  • Prohibited modifications
  • Placement rules
  • Background requirements

Content Guidelines

  1. Writing Style
  • Clear and concise
  • Technical accuracy
  • Inclusive language
  • Consistent terminology
  1. Code Examples
  • Follow best practices
  • Include comments
  • Use TypeScript
  • Follow style guide

Sponsorship

Sponsoring stx

  1. GitHub Sponsors
  • Monthly contributions
  • One-time donations
  • Custom amounts
  • Special recognition
  1. Benefits
  • Logo on website
  • Priority support
  • Early access
  • Custom features

Becoming a Partner

  1. Requirements
  • Active usage of stx
  • Contribution to ecosystem
  • Community engagement
  • Technical expertise
  1. Process
  • Submit application
  • Initial discussion
  • Partnership agreement
  • Announcement

Code of Ethics

Data Privacy

  1. User Data
  • Minimal collection
  • Secure storage
  • Clear purpose
  • User control
  1. Analytics
  • Anonymous data
  • Opt-out options
  • Transparent usage
  • Regular cleanup

Sustainability

  1. Environmental Impact
  • Efficient code
  • Minimal dependencies
  • Optimized builds
  • Green hosting
  1. Social Impact
  • Accessible design
  • Inclusive features
  • Global consideration
  • Educational support

Released under the MIT License.