sharing-skills

Guide contributors through branch-based workflows and pull requests to share skills upstream.

270k|24.1k|Updated Oct 9, 2025
One-click install
npx skills add https://github.com/obra/superpowers --skill sharing-skills-obra
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sharing-skills
Source: https://github.com/obra/superpowers/tree/main/skills/sharing-skills
Command: npx skills add https://github.com/obra/superpowers --skill sharing-skills-obra

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solves? This Skill provides a clear, step-by-step workflow for contributing well-tested and broadly useful skills back to an upstream repository. It ensures quality and consistency in community contributions, making it easy to share your expertise.

Core Features & Use Cases

  • Contribution Workflow: Guides you through syncing your fork, creating a feature branch, committing changes, pushing to your fork, and creating a pull request using the gh CLI.
  • Quality Gates: Emphasizes prerequisites like testing skills with the writing-skills TDD process before sharing, ensuring high-quality contributions.
  • Troubleshooting: Offers solutions for common issues encountered during the contribution process, such as gh not found, permission denied, or merge conflicts.
  • Use Case: After developing a new, broadly applicable debugging technique and thoroughly testing it, use this skill to package it as a contribution, ensuring it meets community standards and is easily integrated into the main repository.

Quick Start

Example: Sharing a skill named "async-patterns"

Prerequisites: gh CLI installed and authenticated, skill tested using writing-skills

1. Ensure you're on main and synced

cd ~/.config/superpowers/skills/ git checkout main git pull upstream main git push origin main

2. Create feature branch

git checkout -b "add-async-patterns-skill"

3. Create or Edit Skill (work on skills/async-patterns/SKILL.md)

4. Commit Changes

git add skills/async-patterns/ git commit -m "Add async-patterns skill

Patterns for handling asynchronous operations..."

5. Push to Your Fork

git push -u origin "add-async-patterns-skill"

6. Create Pull Request

gh pr create
--repo upstream-org/upstream-repo
--title "Add async-patterns skill"
--body "## Summary Patterns for handling asynchronous operations..."

Frequently Asked Questions about sharing-skills

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

FAQPage Schema
How do I contribute a skill to an open source repository using pull requests?

Contributing a skill involves syncing your fork, creating a feature branch, editing the SKILL.md file, committing with a descriptive message, pushing to your fork, and opening a pull request via the gh CLI. This workflow ensures your well-tested skill meets community standards before integration.

What prerequisites do I need before sharing a skill upstream?

You need the gh CLI installed and authenticated, your skill tested using the writing-skills TDD process, a local fork at ~/.config/superpowers/skills/, and git configured to work with an upstream repository. These prerequisites ensure quality and proper workflow execution.

How do I create a feature branch for submitting a new skill?

Sync your local main with upstream, then run git checkout -b with a descriptive branch name like 'add-skillname-skill'. This isolates your contribution and enables independent review before merging to the main repository.

What should I include in a skill pull request?

Include a clear PR title, a summary explaining the skill's purpose, and the completed SKILL.md file with documentation. The gh CLI streamlines this submission, ensuring your contribution includes all metadata required by the repository.

Can I submit multiple skills at once through a single pull request?

No, this workflow prevents batch submissions to ensure independent review and quality control. Each skill requires its own feature branch and pull request for proper vetting by the community.

What should I do if I encounter a merge conflict or gh CLI errors?

The skill provides troubleshooting solutions for common issues like gh not found, permission denied, or merge conflicts during the contribution process. Resolve conflicts locally, ensure gh is authenticated, and follow the step-by-step workflow guidance.