- name
SKILL.md
El archivo de la skill permanece en el repositorio del publicador.
Pega el comando copiado en una terminal. Instala este SKILL.md en ese agente.
npx skills add dzhng/skills --skill port-features -a cursor -yPega el comando copiado en una terminal. Instala este SKILL.md en ese agente.
npx skills add dzhng/skills --skill port-features -a claude-code -yPega el comando copiado en una terminal. Instala este SKILL.md en ese agente.
npx skills add dzhng/skills --skill port-features -a codex -yPega el comando copiado en una terminal. Instala este SKILL.md en ese agente.
npx skills add dzhng/skills --skill port-features -a grok -yEnvía el mensaje copiado en un chat de Grok Bot. El Bot obtiene este SKILL.md de GitHub y lo añade a las skills que comparten todos tus Bots.
Install this skill: https://github.com/dzhng/skills/tree/HEAD/skills/engineering/port-featuresDel publicador
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.mdResumen general
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.
Preguntas frecuentes
Descarga skills/engineering/port-features/SKILL.md desde el publicador, o copia la ruta y abre el repositorio. PlugMCP lista la skill y no aloja el archivo.
El publicador lo mantiene en https://github.com/dzhng/skills.
Claude, Cursor, Codex y Grok Build pueden leer un SKILL.md que añadas desde el repositorio del publicador. Grok Bot lo instala cuando envías en un chat el enlace a la carpeta de la skill en GitHub.