open-source-contributions

Guide pull request creation with artifact removal and commit message checks.

Updated Jan 31, 2026
One-click install
npx skills add https://github.com/bosquejun/bantai --skill open-source-contributions-bosquejun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: open-source-contributions
Source: https://github.com/bosquejun/bantai/tree/main/.agents/skills/open-source-contributions
Command: npx skills add https://github.com/bosquejun/bantai --skill open-source-contributions-bosquejun

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bash, grep, git, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill helps you create high-quality, maintainer-friendly pull requests by preventing common mistakes that lead to rejection, saving you time and frustration.

Core Features & Use Cases

  • Artifact Prevention: Identifies and helps remove personal development artifacts (notes, debug screenshots, temporary files) that shouldn't be in a PR.
  • Best Practice Guidance: Provides clear instructions on writing effective PR descriptions, commit messages, and adhering to project conventions.
  • Use Case: When contributing to an open-source project, use this Skill to ensure your PR is clean, well-documented, and follows all project guidelines before submission.

Quick Start

Run the pre-PR check script to scan your branch for common mistakes.

Frequently Asked Questions about open-source-contributions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent my pull request from getting rejected in open source?

To prevent pull request rejection, you must ensure your branch is free of personal development artifacts, follows project-specific commit message conventions, and includes a well-documented PR description. Running a pre-submission validation check helps identify common mistakes before review.

What should I remove from my code before submitting a pull request?

Before submitting a pull request, you should remove personal development artifacts such as debug screenshots, temporary files, and local notes. Scanning your branch ensures these unwanted items are excluded, keeping your contribution clean and maintainer-friendly.

How do I write a good commit message for an open source contribution?

Writing a good commit message for an open source contribution requires adhering to the project's specific formatting guidelines and best practices. Proper commit message formatting ensures maintainers can easily track changes and understand the intent of your code review submission.

Can I use bash and git to validate my branch before a PR?

Yes, you can use bash and git to validate your branch before a PR by running provided pre-submission check scripts. These scripts scan your git history and working directory to verify adherence to open-source contribution standards and prevent common formatting mistakes.

Why does my pull request fail code review due to project guidelines?

Your pull request may fail code review if it does not strictly adhere to project-specific guidelines. Maintainers expect contributions to follow established open-source standards, including proper PR descriptions, clean commit histories, and the removal of all temporary development artifacts.

What is the best way to format a PR description for open source projects?

The best way to format a PR description is to follow the project's specific best practice guidelines for documentation. A well-structured PR description clearly explains the changes, references relevant issues, and helps maintainers quickly understand your open-source contribution during code review.