contribute-skill
Part of the ACED plugin — see that page for install instructions.
Trigger: “send this skill fix upstream”, “contribute this back”, “open a PR for my skill change”
When you’ve improved a skill installed from another repo (global ~/.agents/skills/<name>/ or repo-internal .agents/skills/<name>/), this skill guides contributing that improvement back via pull request. Not for repo-native skills under this repo’s own skills/<name>/ — if you’re the author here, this repo IS the source.
- Identify the skill and its source —
npx cyberplace@<version> skill source <skill-name>resolves{ name, source, sourceUrl, skillPath, foundIn }from the repo-local lock, the global lock, ornpx skills find, in that order. - Diff against upstream — map each local file to
skills/<skill-name>/<relative-path>on the source repo’s default branch and diff. No diffs across every mapped file → nothing to contribute. - Check write access — push directly if you have it; otherwise fork.
- Branch and push as one commit — via the GitHub Git Data API (blobs → tree → commit → ref update), never one
PUT /contentscall per file, which would create a noisy multi-commit diff. - Open the PR — with a summary scoped to
skills/<skill-name>/and a test-plan checklist. - Report the PR URL. After merge, the consumer repo runs
npx skills updateto refreshskills-lock.jsonhashes.
What NOT to do
Section titled “What NOT to do”- Include
SKILL.local.mdcontent in the PR (machine-local augmentations stay local) - Push without showing diffs and getting user confirmation
- Update
.agents/skills/or any path outsideskills/<skill-name>/in the source repo
Install
Section titled “Install”npx skills add cyberuni/cyberplace --skill contribute-skill -gRelated
Section titled “Related”- skillify — generalizes a session workflow into a new skill (this skill contributes an existing one upstream)
improve-skill(acedplugin) — validate before opening the PR