Token导航 LogoToken导航TokenDH.com
开发需要联网github未标认证来源可访问许可证需确认审计提醒

theme-update主题更新

Agent Skill

theme-update 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

216

周安装

9

GitHub Stars

33

下载量

72
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:theme-update(主题更新)
来源仓库:https://github.com/weaverse/shopify-hydrogen-skills
仓库路径:skills/theme-update
安装命令:
npx skills add https://github.com/weaverse/shopify-hydrogen-skills --skill theme-update
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/weaverse/shopify-hydrogen-skills --skill theme-update

简介

theme-update 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态或代码变更进行整理。
  • 通过 npx skills add 命令从指定仓库安装并使用。
  • 需确认权限范围和维护状态,注意是否触发联网或文件操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Theme Update — Weaverse Pilot

Safely upgrade a Weaverse Pilot theme from its current version to a newer release. This skill walks through detection, planning, execution, and verification — never overwriting user customizations without explicit approval.

Source

Quick Check

node skills/theme-update/scripts/check_pilot_updates.mjs
node skills/theme-update/scripts/check_pilot_updates.mjs --target v2026.4.7

Procedure

Follow these phases in order. Do NOT skip steps.

Phase 1 — Detection

  1. Read package.json → get version field
  2. If name is not @weaverse/pilot, ask the user to confirm this is a Pilot-based project
  3. Fetch releases:
curl -s "https://api.github.com/repos/Weaverse/pilot/releases?per_page=50"
  1. Identify all releases between current version and latest (or user-specified target)
  2. Present to user:

- Current version - Target version (latest unless specified) - Number of intermediate releases - Summary of key changes (features, fixes, breaking changes)

If already on latest → stop here and tell the user.

Phase 2 — Branch

git checkout -b update/v{CURRENT}-to-v{TARGET}
git push -u origin update/v{CURRENT}-to-v{TARGET}

Always work on a branch. Never update on main directly.

Phase 3 — Plan

For each release in the update range (oldest to newest):

  1. Fetch the diff between consecutive versions:
# Full comparison URL
https://api.github.com/repos/Weaverse/pilot/compare/v{OLD}...v{NEW}

# Raw diff
https://github.com/Weaverse/pilot/compare/v{OLD}...v{NEW}.diff
  1. Download the target version's source (for reference files):
curl -sL "https://api.github.com/repos/Weaverse/pilot/tarball/v{TARGET}" | tar xz
  1. Categorize every changed file into three buckets:

Auto-merge (safe to apply without asking)

  • package.json version bump, dependencies
  • Lock files (package-lock.json, bun.lockb, pnpm-lock.yaml)
  • tsconfig.json, vite.config.ts, tailwind.config.ts — ONLY if user hasn't customized them
  • New files that don't exist in user's project (additive only)
  • .github/, CHANGELOG.md, LICENSE

Needs review (show diff, get approval)

  • app/components/ — UI components user may have customized
  • app/routes/ — route files user may have modified
  • app/lib/ — utility modules
  • app/root.tsx, app/entry.client.tsx, app/entry.server.tsx
  • app/styles/ — CSS/Tailwind changes
  • Any file where the user has local changes (git diff shows modifications from Pilot base)

Skip (mention but don't touch)

  • Files the user deleted (they removed the feature intentionally)
  • Files in directories the user reorganized
  • .env, .env.example — never overwrite environment files
  1. Present the plan in a clear table:
## Update Plan: v2026.3.23 → v2026.4.7

### Auto-merge (3 files)
✅ package.json — version + dependency bumps
✅ bun.lockb — lock file update
✅ app/lib/utils.ts — new helper function added

### Needs Review (5 files)
⚠️  app/components/Header.tsx — Pilot added shopify-account web component
    Your version: custom mega menu logic
    Pilot change: replaced AccountButton with <shopify-account>
    → Recommend: keep your mega menu, add shopify-account separately

⚠️  app/routes/_index.tsx — performance improvements
    Your version: added custom hero section
    Pilot change: caching + skeleton loading
    → Recommend: apply caching, keep your hero

### New Files (2 files)
➕ app/components/ScrollReveal.tsx — new scroll animation component
➕ app/lib/reviews.ts — extracted reviews API

### Skipped (1 file)
⏭️  app/components/CombinedListings.tsx — you deleted this file

Wait for user confirmation before proceeding. Ask:

"Review the plan above. Approve to continue, or tell me which files to handle differently."

Phase 4 — Execute

Apply changes in order, one release at a time if multi-version jump:

4a. Auto-merge files

# Copy new file from Pilot source
cp /tmp/pilot-reference/{FILE_PATH} {FILE_PATH}

# Or apply targeted patch
git apply --3way <patch-file>

After each auto-merge, verify with git diff --stat.

4b. Needs-review files

For each file:

  1. Show a three-way comparison:

- Pilot at user's version (baseline) - Pilot at target version (their changes) - User's current file (local modifications)

  1. Identify what the user changed vs what Pilot changed:

- User-only changes → preserve - Pilot-only changes → apply - Overlapping changes → flag conflict

  1. For conflicts, present options:

- Accept Pilot's version (lose user customization) - Keep user's version (skip Pilot improvement) - Manual merge (show both, let user edit) - Smart merge (try to combine both — only if non-overlapping regions)

  1. Wait for user decision on each conflict before proceeding.

4c. Commit per release

git add -A
git commit -m "chore: update Pilot v{OLD} → v{NEW}

- [list key changes applied]
- [list files with manual merge decisions]
"

If doing multi-version jump, repeat for each intermediate release.

Phase 5 — Verify

After all changes applied:

# 1. Install dependencies
bun install  # or npm install / pnpm install based on lockfile

# 2. TypeScript check
bun run typecheck

# 3. Build check
bun run build

If build fails:

  1. List the errors
  2. Analyze root cause (dependency mismatch? breaking change missed?)
  3. Propose fixes
  4. Apply fixes with user approval
  5. Re-run build

If build succeeds:

  1. Run bun run dev briefly to check no runtime errors
  2. Summarize all changes made
  3. List any manual follow-up steps:

- New features that need configuration - Breaking changes requiring code updates in customized files - Deprecated patterns to migrate later

Phase 6 — Finalize

  1. Present final summary:
## Update Complete: v2026.3.23 → v2026.4.7

✅ 12 files auto-merged
✅ 5 files reviewed and merged
✅ 2 new files added
✅ Build passes
✅ TypeCheck passes

### New features available
- Shopify Account Web Component (<shopify-account>)
- Vite chunk splitting for better caching
- ScrollReveal component for animations

### Manual follow-up (optional)
- Configure shopify-account in your Header if you want native sign-in
- Review ScrollReveal component for use in custom sections

### Rollback
git checkout main
git branch -D update/v2026.3.23-to-v2026.4.7
  1. Ask user: "Ready to merge into main?"
# If approved
git checkout main
git merge update/v{CURRENT}-to-v{TARGET}
git push origin main

Safety Rules

  1. Always branch first — never update on main directly
  2. Never overwrite without asking — every file that could have user changes needs review
  3. Commit per release — easy to bisect if something breaks
  4. Build must pass — don't declare success until typecheck + build both pass
  5. Offer rollback — always tell user how to undo the whole update
  6. Respect user deletions — if they removed a file, don't re-add it without asking

Common Pitfalls

  • Version format: package.json has no v prefix (2026.4.7), GitHub tags have v prefix (v2026.4.7). Always normalize.
  • Lock files: After updating package.json, MUST run the correct package manager (check which lockfile exists)
  • Custom components: User components not in original Pilot are always preserved — never delete or move them
  • Route structure: If user reorganized routes, don't force Pilot's structure — apply route logic changes to user's structure instead
  • CSS conflicts: Pilot may change Tailwind classes or base styles — these need careful merge to avoid breaking user styling

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.09%
按下载量换算25

Claude

26.39%
按下载量换算19

Cursor

19.35%
按下载量换算14

Gemini CLI

9.7%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills