ppw:abstract
БесплатноБез исполняемых скриптовНе проверенGenerate or optimize academic paper abstracts using the 5-sentence Farquhar formula. Supports generate-from-scratch and restructure-existing paths. Produces…
от Lylll9436★ 389 звёзд на GitHubОб этом скилле
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
| Mode | Default | Behavior |
|---|---|---|
direct |
Yes | Single-pass abstract output using the 5-sentence formula |
batch |
Not 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)
| File | Purpose |
|---|---|
references/expression-patterns.md |
Academic expression patterns overview |
Leaf Hints (loaded when needed)
| File | When to Load |
|---|---|
references/expression-patterns/introduction-and-gap.md |
Contribution and gap framing (sentences 1-2) |
references/expression-patterns/conclusions-and-claims.md |
Calibrated claim language (sentences 1 and 5) |
references/expression-patterns/methods-and-data.md |
Method description (sentence 3, when weak) |
references/expression-patterns/results-and-discussion.md |
Evidence 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:
- Path: does the user have an existing abstract to restructure, or raw content to generate from? (skip if clear from input)
- Target journal if not specified (ask once; if declined, use general academic style)
- 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
directmode 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:abstractthat has appeared >= threshold times in the log. Seeskill-conventions.md > Workflow Memory > Pattern Detectionfor 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.mdoverview. - 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 asbilingual_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 provide
Установить ppw:abstract в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteStructured InteractionFAQ
Что делает скилл ppw:abstract?
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. 摘要生成与优化,支持从原始材料生成或改写现有摘要。
Как установить скилл ppw:abstract?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ppw:abstract запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
agent-skill-stack
Find, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a…
от GitHubbuild-evidence-map
Build an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
от GitHubpinecone-rag
Build production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
от GitHubqdrant-monitoring-debugging
Diagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…
от GitHub