- name
SKILL.md
The skill file stays in the publisher's repository.
Paste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add dzhng/skills --skill port-features -a cursor -yPaste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add dzhng/skills --skill port-features -a claude-code -yPaste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add dzhng/skills --skill port-features -a codex -yPaste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add dzhng/skills --skill port-features -a grok -ySend the copied message in a Grok Bot chat. The Bot fetches this SKILL.md from GitHub and adds it to the skills all your Bots share.
Install this skill: https://github.com/dzhng/skills/tree/HEAD/skills/engineering/port-featuresFrom the publisher
Upstream code is the spec for the feature's behavior. Every guard, ordering, timeout, and odd branch in it may be a bug fix someone already paid for. A rewrite from your understanding of the feature drops the ones you didn't notice.
A port doesn't stop at the copy. The result must read as if this project wrote it: the feature is naturalized, in its names and in the environment it runs in.
git log, following renames, for
those files, and read the fixes. For each piece that looks unnecessary, find
out from history why it is there, and sort it: does it serve the feature, or
the place upstream runs (its platforms, its install story, its users'
machines)?Done when the destination is the pinned upstream feature, renamed and fitted to this project, plus a diff you can account for. The handover names the upstream commit and every deliberate difference.
Port a feature from an existing repository by copying its actual code and editing the copy, so its bug fixes and behavioral nuances survive, then naturalizing it to this project's names and environmen
---name: port-featuresdescription: Port a feature from an existing repository by copying its actual code and editing the copy, so its bug fixes…---# skills/engineering/port-features/SKILL.mdOverview
Port a feature from an existing repository by copying its actual code and editing the copy, so its bug fixes and behavioral nuances survive, then naturalizing it to this project's names and environment. Use when asked to copy or port an existing feature (especially an exact copy), when moving one into a different framework or host, or when a previous reimplementation missed upstream behavior.
FAQ
Download skills/engineering/port-features/SKILL.md from the publisher, or copy the path and open the repository. PlugMCP lists the skill and does not host the file.
The publisher keeps it at https://github.com/dzhng/skills.
Claude, Cursor, Codex, and Grok Build can read a SKILL.md you add from the publisher's repository. Grok Bot installs it when you send the skill's GitHub folder link in a chat.