- name
SKILL.md
O arquivo da skill permanece no repositório do publicador.
Cole o comando copiado em um terminal. Ele instala este SKILL.md nesse agente.
npx skills add dzhng/skills --skill port-features -a cursor -yCole o comando copiado em um terminal. Ele instala este SKILL.md nesse agente.
npx skills add dzhng/skills --skill port-features -a claude-code -yCole o comando copiado em um terminal. Ele instala este SKILL.md nesse agente.
npx skills add dzhng/skills --skill port-features -a codex -yCole o comando copiado em um terminal. Ele instala este SKILL.md nesse agente.
npx skills add dzhng/skills --skill port-features -a grok -yEnvie a mensagem copiada em um chat do Grok Bot. O Bot busca este SKILL.md no GitHub e o adiciona às skills que todos os seus Bots compartilham.
Install this skill: https://github.com/dzhng/skills/tree/HEAD/skills/engineering/port-featuresDo 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.mdVisão geral
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.
Perguntas frequentes
Baixe skills/engineering/port-features/SKILL.md do publicador ou copie o caminho e abra o repositório. O PlugMCP lista a skill e não hospeda o arquivo.
O publicador o mantém em https://github.com/dzhng/skills.
Claude, Cursor, Codex e Grok Build conseguem ler um SKILL.md que você adiciona a partir do repositório do publicador. O Grok Bot o instala quando você envia em um chat o link da pasta da skill no GitHub.