contribute-skill

Automate local skill contributions to upstream GitHub repositories as pull requests.

1|Updated Mar 23, 2026
One-click install
npx skills add https://github.com/Fandhe-AI/agent-cli-skills --skill contribute-skill-fandhe-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: contribute-skill
Source: https://github.com/Fandhe-AI/agent-cli-skills/tree/main/skills/contribute-skill
Command: npx skills add https://github.com/Fandhe-AI/agent-cli-skills --skill contribute-skill-fandhe-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, jq, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of contributing local skill modifications to upstream repositories, ensuring that changes are properly submitted as pull requests and integrated into the main codebase.

Core Features & Use Cases

  • Local Skill Contribution: Automatically push local skill modifications to an upstream repository as a pull request.
  • Skill Lock Management: Ensures that only modifications from the specified upstream repository are contributed.
  • Security Checks: Performs security checks before submitting a pull request to prevent unauthorized actions.
  • Use Case: When you have made modifications to a skill locally and want to contribute them back to the main repository for review and merging.

Quick Start

To contribute your local skill modifications to the upstream repository, run the command: contribute-skill <skill-name>

Frequently Asked Questions about contribute-skill

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

FAQPage Schema
How do I automate contributing local skill modifications to a GitHub upstream repository?

To automate contributing local skill modifications, you can use a skill management tool that submits your changes as a pull request. It pushes local modifications to the upstream GitHub repository and integrates them into the main codebase for review.

What is skill lock management in code contribution?

Skill lock management in code contribution ensures that only modifications originating from the specified upstream repository are accepted. This restricts contributions to the designated source, preventing unauthorized forks from being submitted as pull requests.

Do I need the gh CLI and jq to submit a pull request for local skill changes?

Yes, you need the gh CLI and jq to submit a pull request for local skill changes. The gh CLI handles GitHub repository interactions and pull request submission, while jq is required for processing JSON data during the contribution workflow.

Does the skill contribution process perform security checks before submitting a pull request?

Yes, the skill contribution process performs security checks before submitting a pull request. These checks are executed prior to the pull request submission to prevent unauthorized actions and ensure safe integration into the main codebase.

What is the best way to contribute local skill modifications back to the main repository?

The best way to contribute local skill modifications back to the main repository is using an automated contribution skill. It handles pushing changes, enforces skill lock management, performs security checks, and opens a pull request on the upstream GitHub repository.

Can I use this automated pull request workflow for repositories other than GitHub?

You cannot use this automated pull request workflow for repositories other than GitHub. The skill contribution automation explicitly supports GitHub for source code management and relies on the gh CLI to submit pull requests to upstream repositories.