Move the Vite frontend source into strix/viewer/frontend and rename the built bundle to strix/viewer/static, so all the viewer's pieces live under one directory. Updated the server bundle path, vite outDir, packaging (pyproject exclude, PyInstaller spec), Makefile, gitignore, and docs to match. Avoided naming the bundle dir 'dist' since gitignore matches that unanchored and would drop the shipped bundle.
3.5 KiB
Contributing to Strix
Thank you for your interest in contributing to Strix! This guide will help you get started with development and contributions.
🚀 Development Setup
Prerequisites
- Python 3.12+
- Docker (running)
- uv (for dependency management)
- Git
Local Development
-
Clone the repository
git clone https://github.com/usestrix/strix.git cd strix -
Install development dependencies
make setup-dev # or manually: uv sync uv run pre-commit install -
Configure your LLM provider
export STRIX_LLM="openai/gpt-5.4" export LLM_API_KEY="your-api-key" -
Run Strix in development mode
uv run strix --target https://example.com
📚 Contributing Skills
Skills are specialized knowledge packages that enhance agent capabilities. See strix/skills/README.md for detailed guidelines.
Quick Guide
- Choose the right category (
/vulnerabilities,/frameworks,/technologies, etc.) - Create a
.mdfile with your skill content - Include practical examples - Working payloads, commands, or test cases
- Provide validation methods - How to confirm findings and avoid false positives
- Submit via PR with clear description
🔧 Contributing Code
Pull Request Process
- Create an issue first - Describe the problem or feature
- Fork and branch - Work from the
mainbranch - Make your changes - Follow existing code style
- Write/update tests - Ensure coverage for new features
- Run quality checks -
make check-allshould pass - Submit PR - Link to issue and provide context
PR Guidelines
- Clear description - Explain what and why
- Small, focused changes - One feature/fix per PR
- Include examples - Show before/after behavior
- Update documentation - If adding features
- Pass all checks - Tests, linting, type checking
Code Style
- Follow PEP 8 with 100-character line limit
- Use type hints for all functions
- Write docstrings for public methods
- Keep functions focused and small
- Use meaningful variable names
🐛 Reporting Issues
When reporting bugs, please include:
- Python version and OS
- Strix version
- LLMs being used
- Full error traceback
- Steps to reproduce
- Expected vs actual behavior
💡 Feature Requests
We welcome feature ideas! Please:
- Check existing issues first
- Describe the use case clearly
- Explain why it would benefit users
- Consider implementation approach
- Be open to discussion
🖥️ Local viewer SPA
strix view serves a prebuilt web UI whose source lives in
strix/viewer/frontend/ (a Vite + React project) and whose built output is
committed to strix/viewer/static/ and shipped in the package. End users never
run a JS build. If you change anything under strix/viewer/frontend/, rebuild
and commit the output:
make viewer # or: cd strix/viewer/frontend && npm ci && npm run build
Commit both the source change and the regenerated strix/viewer/static/.
🤝 Community
- Discord: Join our community
- Issues: GitHub Issues
✨ Recognition
We value all contributions! Contributors will be:
- Listed in release notes
- Thanked in our Discord
- Added to contributors list (coming soon)
Questions? Reach out on Discord or create an issue. We're here to help!