Token导航 LogoToken导航TokenDH.com
开发可写文件github未标认证来源可访问许可证需确认审计未展示

ppw%3aupdateppw%3a 更新

Agent Skill

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

总安装

376

周安装

16

GitHub Stars

280

下载量

132
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/lylll9436/paper-polish-workflow-skill --skill ppw:update

简介

ppw%3aupdate 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。

  • 适用于开发类任务,可用于版本更新或维护状态跟踪。
  • 可通过 npx skills add 命令从指定 GitHub 仓库安装并使用。
  • 安装前建议确认权限范围和维护状态,避免触发联网或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Purpose

This Skill syncs local .claude/skills/ and references/ from the upstream GitHub repository Lylll9436/Paper-Polish-Workflow-skill. It downloads the latest SKILL.md files and reference documents, compares them with local versions, and updates any changed files.

Trigger

Activates when the user asks to:

  • Update or sync skills from the remote repo
  • 更新或同步技能包

Example invocations:

  • "update skills"
  • "sync skills from GitHub"
  • "更新技能"

Modes

ModeDefaultBehavior
directYesFetch, compare, update, report — no intermediate confirmation
interactiveShow diff summary before applying each update

Default mode: direct

Workflow

Step 0: Workflow Memory Check

  • Read .planning/workflow-memory.json. If file missing or empty, skip to Step 1.
  • Check if the last 1-2 log entries form a recognized pattern with ppw:update that has appeared >= threshold times in the log. See skill-conventions.md > Workflow Memory > Pattern Detection for the full algorithm.
  • If a pattern is found, present recommendation via AskUserQuestion:

- Question: "检测到常用流程:[pattern](已出现 N 次)。是否直接以 direct 模式运行 ppw:update?" - Options: "Yes, proceed" / "No, continue normally"

  • If user accepts: set mode to direct, skip Ask Strategy questions.
  • If user declines or AskUserQuestion unavailable: continue in normal mode.

Step 1: Pre-flight Check

  • Verify gh CLI is available and authenticated: gh auth status
  • Verify the upstream repo is accessible: gh api repos/Lylll9436/Paper-Polish-Workflow-skill --jq '.full_name'
  • If either check fails, report the error and stop.
  • Record workflow: Append {"skill": "ppw:update", "ts": "<ISO timestamp>"} to .planning/workflow-memory.json. Create file as [] if missing. Drop oldest entry if log length >= 50.

Step 2: Fetch Remote File Index

  • List all skill directories from the remote repo: gh api repos/Lylll9436/Paper-Polish-Workflow-skill/contents/.claude/skills --jq '.[].name'
  • List all reference files from the remote repo: gh api repos/Lylll9436/Paper-Polish-Workflow-skill/contents/references --jq '.[] |.name + " " +.type'
  • For reference subdirectories (type=dir), also list their contents recursively.

Step 3: Compare and Update Skills

For each remote skill directory:

  1. Fetch the remote SKILL.md content: gh api repos/Lylll9436/Paper-Polish-Workflow-skill/contents/.claude/skills/{skill-name}/SKILL.md --jq '.content' | base64 -d
  2. Read the local .claude/skills/{skill-name}/SKILL.md if it exists.
  3. Compare the two:

- If local file does not exist → NEW skill, create directory and write file. - If content differs → UPDATED, overwrite local file. - If content is identical → UNCHANGED, skip.

  1. Track results for the final report.

In interactive mode: Before applying each update, show a summary of changes and ask for confirmation.

Step 4: Compare and Update References

For each remote reference file:

  1. Fetch the remote file content via gh api with base64 decode.
  2. Read the local references/{filename} if it exists.
  3. Compare and apply the same NEW/UPDATED/UNCHANGED logic as Step 3.
  4. For subdirectories (e.g., references/journals/, references/expression-patterns/), recurse into each file.

Step 5: Output Report

Present a summary table:

## Skills Update Report

| Skill | Status |
|-------|--------|
| polish-skill | ✓ Updated |
| de-ai-skill | - Unchanged |
| new-skill | + New |

## References Update Report

| File | Status |
|------|--------|
| expression-patterns.md | ✓ Updated |
| skill-conventions.md | - Unchanged |

**Summary:** {updated_count} updated, {new_count} new, {unchanged_count} unchanged

Output Contract

OutputFormatCondition
Update reportMarkdown tableAlways produced
File count summaryTextAlways reported

Edge Cases

SituationHandling
gh CLI not installed or not authenticatedReport error, suggest gh auth login
Remote repo not accessibleReport network/permission error
Local skill has modifications not in remoteOverwrite with remote (remote is source of truth)
New skill in remote not present locallyCreate directory and write SKILL.md
Remote skill deleted but exists locallyKeep local (do not delete; report as "local-only")
Reference subdirectory doesn't exist locallyCreate it

Fallbacks

ScenarioFallback
gh api rate limitedWait and retry once, then report error
Base64 decode failsTry gh api with Accept: application/vnd.github.raw header
Single file fetch failsSkip file, continue with remaining, report in summary

*Conventions: references/skill-conventions.md*

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

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

平台分布

Codex

37.81%
按下载量换算50

Claude

28.78%
按下载量换算38

Cursor

17.18%
按下载量换算23

Gemini CLI

8.59%
按下载量换算11

安全审计

暂无安全审计结果可展示。

权限和风险

可写文件

该 Skill 可能写入或修改本地文件,使用前需要确认目标目录和修改范围。

安装前确认

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

来源信息

继续浏览同类 Skills