Thank you for your interest in contributing to the Trustless Work Development Skill! This document provides guidelines and instructions for contributing.
This project follows the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code.
If you find a bug, have a feature request, or want to suggest improvements:
- Check existing issues - Search GitHub Issues to see if your issue has already been reported
- Create a new issue - Use the appropriate issue template and provide:
- Clear description of the issue or feature
- Steps to reproduce (for bugs)
- Expected vs actual behavior
- Relevant context or examples
This skill is documentation-focused. Contributions typically involve:
- Updating existing documentation - Fix errors, clarify explanations, add examples
- Adding new documentation - Document new API endpoints, SDK features, or use cases
- Improving structure - Enhance organization and navigation
- Adding examples - Provide more code samples and use cases
- Git
- A text editor or IDE
- Basic knowledge of Markdown
-
Fork the repository
# Fork on GitHub, then clone your fork git clone https://github.com/YOUR_USERNAME/trustless-work-dev-skill.git cd trustless-work-dev-skill
-
Create a branch
git checkout -b your-feature-branch
-
Make your changes
- Edit files using your preferred editor
- Follow the Documentation Guidelines below
-
Test your changes
- Review the Markdown formatting
- Verify links work correctly
- Check that examples are accurate
-
Commit your changes
git add . git commit -m "Description of your changes"
-
Push and create a Pull Request
git push origin your-feature-branch
Then open a Pull Request on GitHub.
Maintain the existing structure:
trustless-work-dev-skill/
├── SKILL.md # Main skill definition (required)
├── README.md # Project documentation
├── CONTRIBUTING.md # This file
├── CODE_OF_CONDUCT.md # Code of Conduct
├── LICENSE # Apache-2.0 License
└── skills/ # Skill documentation
├── api/ # REST API documentation
├── react-sdk/ # React SDK documentation
└── blocks/ # Blocks SDK documentation
- Be concise - Skills should be concise and focused. Avoid unnecessary verbosity
- Use clear headings - Structure content with descriptive headings
- Include examples - Provide code examples for all concepts
- Keep it accurate - Ensure all API endpoints, types, and examples are current
- Link to resources - Reference official documentation when appropriate
- Use proper heading hierarchy (
#,##,###) - Format code blocks with language identifiers:
// Example - Use backticks for inline code:
useInitializeEscrow - Use lists for multiple items
- Include links to related documentation
When adding or updating documentation:
- Start with overview - Explain what the feature/concept is
- Provide context - When and why to use it
- Show examples - Include complete, working code examples
- Reference types - Link to TypeScript type definitions
- Add resources - Link to official docs and resources
The main SKILL.md file uses frontmatter:
---
name: trustless-work-dev
description: Comprehensive guide for developing with Trustless Work platform...
---- Keep the description concise but comprehensive
- Include key trigger words that should activate this skill
- Reference all relevant documentation files
- Review your changes for typos and formatting
- Ensure all links work correctly
- Verify code examples are accurate
- Check that your changes follow the documentation guidelines
- Update
README.mdif you've added new files or changed structure
- Clear title - Summarize your changes in the PR title
- Detailed description - Explain what you changed and why
- Reference issues - Link to related issues using
Closes #123 - Screenshots - If applicable, include examples of the changes
- Keep focused - One PR per feature or fix
- Maintainers will review your PR
- Feedback may be requested - please respond promptly
- Once approved, your PR will be merged
- Fix typos or errors in documentation
- Correct outdated API endpoints or examples
- Fix broken links
- Add missing documentation
- Improve clarity of existing content
- Add more examples or use cases
- Enhance structure and organization
- Document new API endpoints
- Add documentation for new SDK features
- Create guides for new use cases
- Keep API endpoints current
- Include complete request/response examples
- Document all required and optional parameters
- Include error handling examples
- Maintain TypeScript type definitions
- Document all hooks with examples
- Include complete component examples
- Show integration patterns
- Document TypeScript types
- Provide vibe-coding guides for AI workflows
- Document all available components
- Show provider setup and configuration
- Document hooks and context API
- Include installation and usage examples
- Provide AI context guides
- Open an issue for questions or discussions
- Check existing documentation first
- Review closed issues for similar questions
By contributing, you agree that your contributions will be licensed under the Apache-2.0 License.
Thank you for contributing to Trustless Work Development Skill! 🎉