Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

copilot-goodies

A collection of copilot goodies written by myself and others. I take no credit from other people's work, I just want to build stuff!

Use As a Git Submodule

If you want to consume these skills from another repository, add this repository as a submodule under .github/copilot-goodies:

git submodule add https://github.com/rmstdope/copilot-goodies.git .github/copilot-goodies
git submodule update --init --recursive

When pulling updates later:

git submodule update --remote --merge .github/copilot-goodies

Sync Script (Skills, Agents, and Instructions)

Copilot customization discovery expects direct entries under:

  • .github/skills/<skill-name>/SKILL.md
  • .github/agents/*.agent.md
  • .github/instructions/*.instructions.md

This repository ships a helper script that creates/updates symlinks for all of them.

Run from the consumer repository root:

.github/copilot-goodies/scripts/sync-symlinks.sh

What it does:

  • Verifies ../../.github/ exists (relative to the script location) to confirm the script is being run in a consumer repository root, and exits with an error if it is missing.
  • Creates ../../.github/skills/ and ../../.github/agents/ if they do not exist.
  • Scans .github/copilot-goodies/skills/* for folders that contain SKILL.md.
  • Creates/updates symlinks in .github/skills/ (for example .github/skills/epic-implementation -> .github/copilot-goodies/skills/epic-implementation).
  • Scans .github/copilot-goodies/agents/*.agent.md and creates/updates symlinks in .github/agents/.
  • Scans .github/copilot-goodies/instructions/*.instructions.md and creates/updates symlinks in .github/instructions/.
  • Removes the old aggregate symlink .github/skills/copilot-goodies if present.

Run it whenever:

  • You add or remove skills or agents in this repository.
  • You update the submodule to a newer commit.

Optional: Run Sync Automatically On Submodule Pointer Changes

This repository includes git hooks in .githooks/ that run the sync script automatically after merge/pull and checkout when the .github/copilot-goodies gitlink changes.

Enable once per clone from the consumer repository root:

.githooks/install.sh

What it configures:

  • core.hooksPath=.githooks
  • post-merge hook: syncs when .github/copilot-goodies changed between ORIG_HEAD and HEAD.
  • post-checkout hook: syncs when .github/copilot-goodies changed between old and new refs.

The script uses fixed locations relative to itself and does not support source/destination override variables.

Third-Party Attributions

This repository includes imported skills from Matt Pocock's MIT-licensed mattpocock/skills repository.

Upstream copyright notices for imported content are preserved in each imported skill folder.

Licensing

About

A collection of copilot goodies written by myself and others. I take no credit from other people's work, I just want to build stuff!

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages