Token导航 LogoToken导航TokenDH.com
待分类只读github未标认证来源可访问许可证需确认审计未展示

ppw%3aabstractppw%3a 摘要

Agent Skill

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

总安装

412

周安装

17

GitHub Stars

280

下载量

135
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

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

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

SKILL.md

Purpose

This Skill generates or optimizes academic paper abstracts using the locked 5-sentence Farquhar formula: [1: Contribution], [2: Difficulty], [3: Method], [4: Evidence], [5: Key Result]. It operates on two mutually exclusive paths — generate a new abstract from raw materials (paper sections, bullet points, or a brief description), or restructure an existing abstract to comply with the formula. Both paths produce labeled output first so users can verify formula compliance sentence by sentence, followed by a clean plain-paragraph version ready for clipboard use. When a target journal is specified, journal-specific style conventions are applied.

Trigger

Activates when the user asks to:

  • Write, generate, or create an abstract from paper content
  • Optimize, restructure, or rewrite an existing abstract
  • 写摘要、生成摘要、改写摘要、优化摘要

Example invocations:

  • "Write an abstract for my paper" / "帮我写摘要"
  • "Optimize my existing abstract" / "改写我的摘要"
  • "Restructure this abstract using the 5-sentence formula"
  • "Generate a CEUS-ready abstract from my introduction and results"

Modes

ModeDefaultBehavior
directYesSingle-pass abstract output using the 5-sentence formula
batchNot supported — abstract requires full paper context

Default mode: direct. User provides content and receives labeled + clean abstract in one pass.

Path selection (within direct mode):

  • Input reads like a formed abstract → restructure path
  • Input is raw content (sections, bullets, "my paper is about...") → generate path
  • Ambiguous → ask before proceeding

References

Required (always loaded)

FilePurpose
references/expression-patterns.mdAcademic expression patterns overview

Leaf Hints (loaded when needed)

FileWhen to Load
references/expression-patterns/introduction-and-gap.mdContribution and gap framing (sentences 1-2)
references/expression-patterns/conclusions-and-claims.mdCalibrated claim language (sentences 1 and 5)
references/expression-patterns/methods-and-data.mdMethod description (sentence 3, when weak)
references/expression-patterns/results-and-discussion.mdEvidence and result framing (sentences 4-5)

Journal Template (conditional)

  • When user specifies a target journal, load references/journals/[journal].md.
  • If template missing, refuse: "Journal template for [X] not found. Available: CEUS."
  • If no journal specified, ask once; if declined, apply general academic style.

Ask Strategy

Before starting, ask about:

  1. Path: does the user have an existing abstract to restructure, or raw content to generate from? (skip if clear from input)
  2. Target journal if not specified (ask once; if declined, use general academic style)
  3. Word limit if known (typically 150-300 words; ask once)

Path inference:

  • User pastes text that reads like an abstract → restructure path
  • User provides sections, bullets, or "my paper is about..." → generate path
  • Ambiguous → ask: "Do you have an existing abstract to restructure, or shall I generate one from your materials?"

Rules:

  • Never ask more than 2 questions before starting.
  • Skip path question if inference is clear from input.
  • In direct mode with sufficient context, proceed without pre-questions.

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:abstract 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:abstract?" - 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: Collect Context

  • Load references/expression-patterns.md overview.
  • If journal specified, load references/journals/[journal].md. If missing, refuse with: "Journal template for [X] not found. Available: CEUS."
  • Read user input: file via Read tool, or pasted text from conversation.
  • Determine path: restructure if input reads like a formed abstract; generate if raw materials. Ask if ambiguous.
  • Opt-out check: Scan the user's trigger prompt for any of these phrases (case-insensitive, exact phrase match): english only, no bilingual, only english, 不要中文. Store result as bilingual_mode (true/false). This flag governs Step 3 output below.
  • Record workflow: Append {"skill": "ppw:abstract", "ts": "<ISO timestamp>"} to .planning/workflow-memory.json. Create file as [] if missing. Drop oldest entry if log length >= 50.

Step 2a: Generate Path (raw content provided)

  • Load references/expression-patterns/introduction-and-gap.md for contribution and gap framing.
  • Load references/expression-patterns/conclusions-and-claims.md for calibrated claim language.
  • Load references/expression-patterns/methods-and-data.md if the user's method description is weak.
  • Synthesize sentence 1 (contribution): start with "We introduce / propose / demonstrate / show..."
  • Synthesize sentence 2 (difficulty): why this problem is hard or why it matters.
  • Synthesize sentence 3 (method): how the problem is solved, with key technical terminology.
  • Load references/expression-patterns/results-and-discussion.md for sentences 4-5.
  • Synthesize sentence 4 (evidence): what was measured, on what benchmark or dataset.
  • Synthesize sentence 5 (key result): the most important number or qualitative outcome.

Step 2b: Restructure Path (existing abstract provided)

  • Load the same leaf hints as the generate path.
  • Map each existing sentence to one of the 5 formula positions.
  • Rewrite each sentence to tighten formula compliance while preserving the user's content.
  • Internal audit: After restructuring, verify all 5 positions are filled.
  • Flag any missing position with [MISSING: position-name] — never silently drop content.

Step 3: Output

  • Present the labeled version first (formula positions explicit, see Output Contract).
  • Present the clean version (plain paragraph, no labels) separated by ---.
  • If the user wants to save: offer to write to a file using the Write tool.
  • If word limit was specified, report word count; warn if over limit.
  • Bilingual display: If bilingual_mode is true: after presenting the labeled version and after presenting the clean version, append a > **[Chinese]**... blockquote for each sentence of the abstract. Use a header: "双语对照 / Bilingual Comparison:" before the blockquotes. Format: [Chinese] [1: 贡献]... [Chinese] [2: 难度]... [Chinese] [3: 方法]... [Chinese] [4: 证据]... [Chinese] [5: 关键结果]... Each blockquote corresponds to one Farquhar formula sentence. Label prefixes in Chinese are for readability only -- the clean version Chinese follows the plain paragraph structure without labels.
  • If bilingual_mode is false (opt-out detected): skip bilingual display entirely.
  • Optionally recommend the Polish Skill for further expression refinement.

Output Contract

OutputFormatCondition
labeled_abstractLabeled 5-sentence block with [N: Position] markersAlways
clean_abstractPlain paragraph with no labels, separated by ---Always
Word countIntegerWhen user specified a word limit
bilingual_abstract> **[Chinese]**... blockquotes in session (one per sentence)When bilingual_mode is true (default). Skipped when opt-out detected.

Exact labeled format:

[1: Contribution] We propose...
[2: Difficulty] Despite growing interest in X, existing approaches fail to...
[3: Method] We address this by...
[4: Evidence] Evaluated on N datasets...
[5: Key Result] Our approach achieves...

---
Clean version:
We propose... Despite growing interest in X, existing approaches fail to... We address this by... Evaluated on N datasets... Our approach achieves...

Edge Cases

SituationHandling
Input is ambiguous (not clearly raw content or existing abstract)Ask before proceeding: "Do you have an existing abstract to restructure, or shall I generate one?"
Existing abstract has fewer than 5 sentencesRun restructure path; flag missing positions with [MISSING:...]
User specifies word limitCount words in output; warn if over limit with exact count
Journal specified but template missingRefuse: "Journal template for [X] not found. Available: CEUS."
Formula position cannot be filled from available contentFlag with [MISSING: difficulty statement]; do not invent content
User provides only a title or one-sentence summaryAsk for more content before proceeding

Fallbacks

ScenarioFallback
Structured Interaction unavailableAsk 1-2 plain-text questions (path + journal)
Expression pattern leaf missingProceed with general academic register; warn user
Journal template missing (no journal specified)Ask once; if declined, use general academic style
Write tool failsPresent output in conversation instead

Examples

Invocation: "Help me restructure my abstract to follow the 5-sentence formula."

User pastes: "In this paper we study urban mobility patterns using GPS data. We find that mobility is highly predictable. We propose a model called MobNet. It outperforms existing approaches by 12% on the next-location prediction task."

Output:

[1: Contribution] We propose MobNet, a model for predicting urban mobility using GPS data.
[2: Difficulty] Despite the prevalence of GPS data, existing mobility models fail to capture [MISSING: difficulty statement — why prediction is hard or why existing approaches fall short].
[3: Method] MobNet addresses this by [MISSING: method description — how MobNet works].
[4: Evidence] Evaluated on a next-location prediction task using GPS traces from urban environments.
[5: Key Result] MobNet outperforms existing approaches by 12% on next-location prediction.

---
Clean version:
We propose MobNet, a model for predicting urban mobility using GPS data. [MISSING: difficulty statement]. MobNet addresses this by [MISSING: method description]. Evaluated on a next-location prediction task using GPS traces from urban environments. MobNet outperforms existing approaches by 12% on next-location prediction.

Two formula positions are flagged as missing. Please provide: (1) why mobility prediction is hard or what existing approaches fail to do, and (2) a brief description of how MobNet works.


*Skill: abstract-skill* *Conventions: references/skill-conventions.md*

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

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

平台分布

Codex

34.72%
按下载量换算47

Claude

29.35%
按下载量换算40

Cursor

18.18%
按下载量换算25

Gemini CLI

9.08%
按下载量换算12

安全审计

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

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills