port-features
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
Install / Use
npx skills add dzhng/skills --skill port-featuresInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Our assessment of port-features
port-features scores 85/100 on our quality scale, 2634th of 4,650 Development & Engineering skills we index.
Its SKILL.md is 3.5 KB long, lightly structured (2 headings) and no code examples: a solid amount of guidance for an agent.
With 1,349 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 23 days ago, so port-features is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
port-features compared with similar skills
All 4 of these similar skills score higher than port-features; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| port-features (this skill)by dzhng | 85 | 1.3k | 23d ago | SKILL.md |
| taste-skillby Leonxlnx | 100 | 111.7k | today | CLAUDE.md |
| ai-job-searchby ai-job-search-dev | 100 | 70.3k | today | CLAUDE.md |
| claude-howtoby luongnv89 | 100 | 46.7k | 5d ago | CLAUDE.md |
| lobehubby lobehub | 100 | 84.4k | today | MCP Server |
Frequently asked questions
- How do I install port-features?
- Run
npx skills add dzhng/skills --skill port-features. The install tabs above show the steps for each supported agent. - Which AI agents does port-features work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is port-features safe to use?
- It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is port-features still maintained?
- The repository was last updated 23 days ago, so port-features is actively maintained.
Skill content
View source on GitHubname: port-features description: 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.
Port Features
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.
- Start from the code. Get a local checkout of upstream with its history, pin the exact commit, and read the feature's real files, not a screenshot, summary, or fetched snippet. Follow imports and callers until you know which files make up the feature.
- Read the history. Read path-scoped
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)? - Copy, then edit. Copy the exact files, with their tests, into the destination first. Keep upstream's structure and algorithms for the feature itself, even where you would have written them differently. Never write your own version in their place.
- Naturalize the names. Convert upstream's product name and naming scheme to this project's everywhere, except names an outside system still depends on. Use the destination's existing names for a concept that already has an owner here. Done when a case-insensitive search for upstream's names finds them only in the license notice and those outside contracts.
- Naturalize the environment. Map what upstream's host gave or lacked onto what this project's host gives. Logic that existed only because of upstream's environment is deleted, not ported: a fallback for a platform we never run on, provisioning for something our machines already have, a workaround for a constraint we don't share. Touchstone: code that downloads and installs a tool on first use, written for user desktops, ported onto machines whose image already ships that tool. When unsure whether the destination really has it, measure on the real host instead of keeping the machinery.
- Diff back. Diff the result against the pinned source and justify every change as a rename, a host binding, an environment deletion, or a deletion of upstream code the ported feature doesn't use. When a carried-over test fails, fix the adapter before touching the algorithm or the test.
Rules
- Attribution lives in the repository's single third-party notices file, which carries the upstream license and lists the ported paths. No per-file license headers, no copied license files, no "ported from" comments.
- Names and environment change; feature behavior does not. A difference in what the feature does for the user is a decision to raise, not a port edit.
- Never call a rewrite a port.
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.
Related Skills
taste-skill
111.7kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
ai-job-search
70.3kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
claude-howto
46.7kA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
lobehub
84.4k🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
