sync-with-nowstack
GitHub将项目 fork 同步至 NowStack 官方模板最新版本,保留本地修改。支持 dry-run、rebase 及自定义仓库,自动备份并处理冲突,确保同步安全。
触发场景
安装
npx skills add Melvynx/Parler --skill sync-with-nowstack -g -y
SKILL.md
Frontmatter
{
"name": "sync-with-nowstack",
"description": "Sync an app fork with the latest NowStack boilerplate changes from melvynx\/nowstack. Use when the user types \/sync-with-nowstack, asks to pull the latest NowStack changes, or wants to update a fork from the boilerplate.",
"argument-hint": "[--dry-run] [--rebase] [--merge] [--remote <name>] [--repo <owner\/name-or-url>] [--branch <name>] [--allow-dirty] [--no-install] [--no-verify]"
}
Sync With NowStack
<when_to_use> Use this workflow when:
- The user types
/sync-with-nowstack. - A project fork needs the latest boilerplate fixes/features from
melvynx/nowstack. - A collaborator has access to the canonical repository and wants to merge those changes into their app.
Do not use this for normal feature branches that should only pull from their own app repository. </when_to_use>
<quick_start> Run the bundled script from the repository root:
.agents/skills/sync-with-nowstack/scripts/sync-with-nowstack.sh
Common options:
.agents/skills/sync-with-nowstack/scripts/sync-with-nowstack.sh --dry-run
.agents/skills/sync-with-nowstack/scripts/sync-with-nowstack.sh --rebase
.agents/skills/sync-with-nowstack/scripts/sync-with-nowstack.sh --branch main
.agents/skills/sync-with-nowstack/scripts/sync-with-nowstack.sh --repo your-org/nowstack
</quick_start>
<repo_access>
The canonical repository is expected to be available at https://github.com/melvynx/nowstack.git.
If GitHub returns Repository not found, confirm the collaborator has access or pass an accessible repo with --repo owner/name or --repo https://github.com/owner/name.git.
</repo_access>
版本历史
- 1aaa38b 当前 2026-08-20 07:35


