This directory contains templates for issues and pull requests to help maintain consistency and provide structure for contributions to the Snipu project.
.github/
├── ISSUE_TEMPLATE/
│ ├── bug_report.md # Template for bug reports
│ ├── feature_request.md # Template for feature requests
│ ├── smart_contract_issue.md # Template for smart contract issues
│ ├── security_issue.md # Template for security vulnerabilities
│ ├── documentation_issue.md # Template for documentation issues
│ ├── general.md # Template for general issues
│ └── config.yml # Issue template configuration
├── workflows/
│ └── update-contributors.yml
├── scripts/
├── PULL_REQUEST_TEMPLATE.md # Template for pull requests
└── README.md # This file
- File:
PULL_REQUEST_TEMPLATE.md - Purpose: Standardize pull request submissions
- Features:
- Issue linking with
Closes #(issue_number) - Type of change categorization
- Testing checklist
- Screenshots/videos section
- Technical details section
- Browser/device testing checklist
- Contact information
- Issue linking with
- File:
ISSUE_TEMPLATE/bug_report.md - Purpose: Report bugs and unexpected behavior
- Features:
- Environment information (browser, device, OS)
- Blockchain-specific details (wallet, network)
- Steps to reproduce
- Expected vs actual behavior
- Console errors and network issues
- Priority and impact assessment
- File:
ISSUE_TEMPLATE/feature_request.md - Purpose: Suggest new features and enhancements
- Features:
- Problem statement and proposed solution
- Technical implementation details (frontend, backend, smart contracts)
- Blockchain/Web3 considerations
- Bitcoin Script integration requirements
- Comprehensive testing strategy
- Impact assessment and acceptance criteria
- Timeline estimation
- File:
ISSUE_TEMPLATE/smart_contract_issue.md - Purpose: Report issues related to Cairo smart contracts and Bitcoin Script VM
- Features:
- Cairo compilation and deployment errors
- Contract interaction problems
- Environment details (Cairo, Scarb, Foundry versions)
- Contract source code and test cases
- Gas optimization and security considerations
- Economic impact assessment
- File:
ISSUE_TEMPLATE/security_issue.md - Purpose: Report security vulnerabilities and privacy concerns
- Features:
- Vulnerability categorization and severity levels
- Attack vector description
- Potential impact assessment (financial, data, user)
- Technical details and exploit conditions
- Responsible disclosure guidelines
- Confidentiality and bounty eligibility
- File:
ISSUE_TEMPLATE/documentation_issue.md - Purpose: Report issues with documentation, guides, or help content
- Features:
- Documentation type and issue categorization
- Current vs expected state
- Code examples for Cairo and TypeScript
- Impact on users and developers
- Suggested changes and fixes
- File:
ISSUE_TEMPLATE/general.md - Purpose: Handle issues that don't fit other categories
- Features:
- Flexible issue categorization
- Technical details section
- Impact assessment
- Proposed solutions
- Go to the Issues page
- Click "New Issue"
- Choose the appropriate template:
- 🐛 Bug Report for bugs and unexpected behavior
- ✨ Feature Request for new features and enhancements
- ⛓️ Smart Contract Issue for Cairo smart contract or Bitcoin Script VM problems
- 🔒 Security Issue for security vulnerabilities and privacy concerns
- 📚 Documentation Issue for documentation problems
- 📝 General Issue for everything else
- Fill out the template completely
- Submit the issue
- Create a new branch for your changes
- Make your changes and commit them
- Push your branch and create a pull request
- The PR template will automatically load
- Fill out all relevant sections
- Link related issues using
Closes #(issue_number) - Add screenshots/videos for UI changes
- Submit the pull request
- Be thorough: Fill out all relevant sections
- Be specific: Provide detailed descriptions and steps
- Include media: Add screenshots/videos for visual changes
- Link issues: Use
Closes #(issue_number)to link related issues - Test thoroughly: Run
npm run checkbefore submitting PRs
- Review thoroughly: Check all sections are completed
- Verify testing: Ensure all tests pass
- Check formatting: Verify code follows style guidelines
- Validate links: Confirm issue links are correct
- Test functionality: Verify the changes work as expected
- CONTRIBUTING.md - General contribution guidelines
- SETUP.md - Project setup instructions
- README.md - Project overview
If you have questions about using these templates:
- Join our Telegram Community
- Contact @Sudipta_31 on Telegram
- Create a general issue using the templates above
Thank you for contributing to Snipu! 🚀