بنقرة واحدة
ppwupdate
Sync local skills and references from the GitHub repo. Triggers on update skills, sync skills, 更新技能, 同步技能
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Sync local skills and references from the GitHub repo. Triggers on update skills, sync skills, 更新技能, 同步技能
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Search Google Scholar via Chrome DevTools MCP, let the user select a paper, and retrieve its BibTeX entry. 通过 Chrome DevTools MCP 在 Google Scholar 搜索论文并获取 BibTeX 引用。
Systematic top-down workflow for polishing academic papers. Structure to logic to expression with user confirmation at each step.
Generate or optimize academic paper abstracts using the 5-sentence Farquhar formula. Supports generate-from-scratch and restructure-existing paths. Produces labeled output for formula verification plus a clean version for clipboard use. 摘要生成与优化,支持从原始材料生成或改写现有摘要。
Generate or optimize figure/table captions for academic papers. Geography-aware: study area, CRS notation, data source. Writes output to .tex file. 图表标题生成与优化。
Generate submission-ready cover letters from paper content and target journal requirements. Includes contribution statement, data availability, conflict of interest, and contact block. 生成投稿信,包含贡献声明、数据可用性、利益冲突声明和联系方式。
Detect and rewrite AI-generated patterns in English academic text. Two-phase workflow: scan with risk tagging, then batch rewrite. Triggers on "de-AI", "降AI", "reduce AI traces", "AI检测".
| name | ppw:update |
| description | Sync local skills and references from the GitHub repo. Triggers on update skills, sync skills, 更新技能, 同步技能 |
| triggers | {"primary_intent":"download latest skills from GitHub and update local files","examples":["update skills","sync skills","更新技能","同步技能"]} |
| tools | ["Read","Write","Bash"] |
| references | {"required":[],"leaf_hints":[]} |
| input_modes | ["command"] |
| output_contract | ["update_report"] |
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.
Activates when the user asks to:
Example invocations:
| Mode | Default | Behavior |
|---|---|---|
direct | Yes | Fetch, compare, update, report — no intermediate confirmation |
interactive | Show diff summary before applying each update |
Default mode: direct
.planning/workflow-memory.json. If file missing or empty, skip to Step 1.ppw:update that has appeared >= threshold times in the log. See skill-conventions.md > Workflow Memory > Pattern Detection for the full algorithm.direct, skip Ask Strategy questions.gh CLI is available and authenticated: gh auth statusgh api repos/Lylll9436/Paper-Polish-Workflow-skill --jq '.full_name'{"skill": "ppw:update", "ts": "<ISO timestamp>"} to .planning/workflow-memory.json. Create file as [] if missing. Drop oldest entry if log length >= 50.gh api repos/Lylll9436/Paper-Polish-Workflow-skill/contents/.claude/skills --jq '.[].name'
gh api repos/Lylll9436/Paper-Polish-Workflow-skill/contents/references --jq '.[] | .name + " " + .type'
For each remote skill directory:
SKILL.md content:
gh api repos/Lylll9436/Paper-Polish-Workflow-skill/contents/.claude/skills/{skill-name}/SKILL.md --jq '.content' | base64 -d
.claude/skills/{skill-name}/SKILL.md if it exists.In interactive mode: Before applying each update, show a summary of changes and ask for confirmation.
For each remote reference file:
gh api with base64 decode.references/{filename} if it exists.references/journals/, references/expression-patterns/), recurse into each file.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 | Format | Condition |
|---|---|---|
| Update report | Markdown table | Always produced |
| File count summary | Text | Always reported |
| Situation | Handling |
|---|---|
gh CLI not installed or not authenticated | Report error, suggest gh auth login |
| Remote repo not accessible | Report network/permission error |
| Local skill has modifications not in remote | Overwrite with remote (remote is source of truth) |
| New skill in remote not present locally | Create directory and write SKILL.md |
| Remote skill deleted but exists locally | Keep local (do not delete; report as "local-only") |
| Reference subdirectory doesn't exist locally | Create it |
| Scenario | Fallback |
|---|---|
gh api rate limited | Wait and retry once, then report error |
| Base64 decode fails | Try gh api with Accept: application/vnd.github.raw header |
| Single file fetch fails | Skip file, continue with remaining, report in summary |
Conventions: references/skill-conventions.md