forward-port
Manually forward-ports merged dev (v0) changes to the v1 branch, adapting code to v1's package layout and changeset names.
Skill by yamcodes
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/yamcodes-forward-port
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/forward-port
What's inside
- Skill name
forward-port- Description
- Manually forward-ports merged dev (v0) changes to the v1 branch, adapting code to v1's package layout and changeset names. Use when a dev PR is merged and needs v1 parity, when triaging "(v1)" reconciliation issues, or when the user mentions forward-porting, dual-tracking, or dev-to-v1 porting.
- License
- MIT
- Metadata
- internal: true
- Instructions
- 88 lines in SKILL.md · view on GitHub
Files (2)
- REFERENCE.md
- SKILL.md
SKILL.md (first lines)
# Forward-port (dev → v1) ArkEnv runs **dual-tracking**: non-breaking work lands on `dev` (v0) first, then is manually adapted onto `v1`. Never merge `dev` into `v1` wholesale - structural differences cause severe tree conflicts. See [REFERENCE.md](REFERENCE.md) for the full path/package map, changeset rename table, and real port examples. ## When to forward-port Forward-port after a **merged dev PR** that fixes a bug, adds a non-breaking feature, or updates shared integrations. **Skip forward-porting** when work is `(v1)`-only, introduces dev-only structure, or should be implemented natively on `v1`. ## Quick start ```bash gh pr view <number> --json title,mergeCommit,files git fetch origin v1 && git checkout -b forward-port/<name> origin/v1 # adapt changes (workflow below) pnpm run typecheck && pnpm run test gh pr create --base v1 --title "fix: Forward-port <summary> from dev" ``` ## Workflow ### 0. Pick what to port (if not specified) If the user did **not** name a PR, issue, or commit, **stop and ask** before writing code. 1. Discover candidates - recently merged dev PRs that touch published packages and likely need v1 parity (see [REFERENCE.md - discovery commands](REFERENCE.md#discover-candidates)). 2. Filter out PRs already forward-ported (v1 PR title/body mentions the dev PR, or commit message contains `Forward-port`). 3. Present **multiple choice** via `AskQuestion` with up to 4 candidates. Label each option as `#1234 - short title (packages touched)`. 4. Always include **"Other - I'll specify"** as the last option so the user can paste a PR/issue number. 5. If no candidates remain, say so and ask whether to port a specific PR/issue the user has in mind. Do **not** guess or auto-pick when multiple candidates exist. ### 1. Gather source context Read the merged dev PR: files, tests, changeset, linked issue. Note **behavior** - re-implement, don't blind cherry-pick. Map each touched package using [REFERENCE.md](REFERENCE.md). ### 2. Adapt the implementation Key path map: | dev | v1 | |-----|-----| | `packages/cli/src/**` | `packages/arkenv/src/**` | | `packages/arkenv/src/**` (core) | `packages/core/src/**` | | `nextjs`, `nuxt`, `build`, … | Same paths - verify imports | Checklist: - [ ] Fix imports (`@arkenv/cli` → `arkenv`, core → `@arkenv/core`) - [ ] Port tests and docs/examples if the dev PR touched them - [ ] Preserve v1-only decisions already on the branch (see REFERENCE) ### 3. Port the changeset Rename frontmatter keys: `"@arkenv/cli"` → `"arkenv"`, `"arkenv"` (core) → `"@arkenv/core"`. Follow the [changeset skill](../changeset/SKILL.md). ### 4. Verify and open PR Run `pnpm run typecheck`, `pnpm run test`, and package-scoped tests if localized. Open PR **targeting `v1`**, link the dev PR and tracking issue. ## Acceptance checklist - [ ] Behavior matches merged dev PR - [ ] No dev-only paths or imports remain - [ ] Changeset uses v1 package names - [ ] Tests pass on v1 branch ## Common mistakes | Mistake | Fix | |---------|-----| | `git merge dev` into `v1` | Feature-driven manual port | | Blind cherry-pick | Re-implement at v1 paths | | `"cli"` in v1 changeset | Rename to `"arkenv"` | | Core change in `packages/arkenv/` on v1 | Core is `packages/core/` | | Using the `next` npm tag on v1 | v1 publishes `@alpha` / `@beta` / `@rc` | ## Related - [REFERENCE.md](REFERENCE.md) - path map, changeset table, examples - [changeset skill](../changeset/SKILL.md) - [CONTRIBUTING.md Use Case 4](../../docs/CONTRIBUTING.md)
From yamcodes/arkenv, MIT.
More from yamcodes/arkenv
- 0.789score
docs-writer
Yam Borodetsky
Always use this skill when the task involves writing, reviewing, or editing files in the `/docs` directory or any `.md` files in the repository.
SkillAFreshness: A★ 147Claude Code +9 - 0.789score
nuxt
Yam C Borodetsky
Nuxt full-stack Vue framework with SSR, auto-imports, and file-based routing.
SkillAFreshness: A★ 147Claude Code +9 - 0.789score
pnpm
Anthony Fu
Node.js package manager with strict dependency resolution.
SkillAFreshness: A★ 147Claude Code +9 - 0.789score
bulletproof-react
Yam Borodetsky
Bulletproof React architecture patterns for scalable, maintainable applications.
SkillAFreshness: A★ 147Claude Code +9 - 0.789score
the-voice
Yam Borodetsky
Rewrite ArkEnv docs and site copy in the product voice: Turbo-shaped what/why/how, not skinny command lists and not marketing hype, then cut chatbot tells…
SkillAFreshness: A★ 147Claude Code +9 - 0.789score
create-skill
yamcodes
Create new skills, modify and improve existing skills, and measure skill performance.
SkillAFreshness: A★ 147Claude Code +9 - 0.786score
gh-cli
yamcodes
Use for GitHub-related tasks such as managing issues, pull requests, actions runs, and repository configuration using the GitHub CLI (gh).
SkillAFreshness: A★ 147Claude Code +9 - 0.784score
changeset
Yam C Borodetsky
Creates changesets for semantic versioning.
SkillAFreshness: A★ 147Claude Code +9 - 0.783score
code-review
yamcodes
Fetch, analyze, and address code reviews and comments on GitHub, or perform a code review on changes in the workspace.
SkillAFreshness: A★ 147Claude Code +9 - 0.783score
jsdoc
yamcodes
Use this skill to automatically write or fix JSDoc comments for JavaScript/TypeScript code.
SkillAFreshness: A★ 147Claude Code +9 - 0.783score
groom-issue
yamcodes
Groom a poorly written issue by grilling the user to clarify requirements, updating the issue on GitHub via the gh cli, and utilizing the triage skill to…
SkillAFreshness: A★ 147Claude Code +9 - 0.783score
arkenv
yamcodes
Answer questions about ArkEnv and help implement environment variable validation.
SkillAFreshness: A★ 147Claude Code +9
Signals
- Stars
- 147
- Forks
- 6
- Open issues
- 6
- Last commit (this folder)
- Sep 20, 2026 (1 month ago)
- Last release
- Sep 25, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/yamcodes/arkenv
- Website
- arkenv.js.org
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from yamcodes
- 0.789score
create-skill
yamcodes
Create new skills, modify and improve existing skills, and measure skill performance.
SkillAFreshness: A★ 147Claude Code +9 - 0.786score
gh-cli
yamcodes
Use for GitHub-related tasks such as managing issues, pull requests, actions runs, and repository configuration using the GitHub CLI (gh).
SkillAFreshness: A★ 147Claude Code +9 - 0.783score
code-review
yamcodes
Fetch, analyze, and address code reviews and comments on GitHub, or perform a code review on changes in the workspace.
SkillAFreshness: A★ 147Claude Code +9 - 0.783score
arkenv
yamcodes
Answer questions about ArkEnv and help implement environment variable validation.
SkillAFreshness: A★ 147Claude Code +9 - 0.783score
groom-issue
yamcodes
Groom a poorly written issue by grilling the user to clarify requirements, updating the issue on GitHub via the gh cli, and utilizing the triage skill to…
SkillAFreshness: A★ 147Claude Code +9 - 0.783score
jsdoc
yamcodes
Use this skill to automatically write or fix JSDoc comments for JavaScript/TypeScript code.
SkillAFreshness: A★ 147Claude Code +9
Cite this page
forward-port skill. Agent Mart. https://agentmart.dev/skills/yamcodes-forward-port (last updated 2026-10-24)