Skip to content

A Web3-powered decentralized code snippet hub , enabling secure storage, sharing, and real-time collaboration with Web3 authentication and voice chat.

License

Notifications You must be signed in to change notification settings

Cloudra-Labs/Snipu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

215 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Templates

This directory contains templates for issues and pull requests to help maintain consistency and provide structure for contributions to the Snipu project.

📁 File Structure

.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

🎯 Templates Overview

Pull Request Template

  • 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 Templates

Bug Report Template

  • 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

Feature Request Template

  • 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

Smart Contract Issue Template

  • 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

Security Issue Template

  • 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

Documentation Issue Template

  • 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

General Issue Template

  • 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

🚀 Usage

Creating Issues

  1. Go to the Issues page
  2. Click "New Issue"
  3. 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
  4. Fill out the template completely
  5. Submit the issue

Creating Pull Requests

  1. Create a new branch for your changes
  2. Make your changes and commit them
  3. Push your branch and create a pull request
  4. The PR template will automatically load
  5. Fill out all relevant sections
  6. Link related issues using Closes #(issue_number)
  7. Add screenshots/videos for UI changes
  8. Submit the pull request

📋 Template Guidelines

For Contributors

  • 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 check before submitting PRs

For Maintainers

  • 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

🔗 Related Links

📞 Support

If you have questions about using these templates:


Thank you for contributing to Snipu! 🚀

About

A Web3-powered decentralized code snippet hub , enabling secure storage, sharing, and real-time collaboration with Web3 authentication and voice chat.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 47