Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

ppw:cover-letter

БесплатноБез исполняемых скриптовНе проверен

Generate submission-ready cover letters from paper content and target journal requirements. Includes contribution statement, data availability, conflict of…

Lylll9436от Lylll9436★ 389 звёзд на GitHub

Об этом скилле

Purpose

This Skill generates complete, submission-ready academic cover letters by loading the target journal's template to align the contribution statement with journal scope and aims, collecting correspondence author details via Ask Strategy, and reading the paper (file or pasted text) to extract the paper title, key contribution, and data availability information. Output is a full letter with all four required content blocks: (1) contribution statement — explicitly aligned with the journal's stated scope from the loaded template; (2) data/code availability statement; (3) conflict of interest declaration; (4) correspondence author contact block. If the journal template is not found, the Skill refuses immediately — it never falls back to generic academic prose, consistent with the journal-aware pattern used throughout this project.

Trigger

Activates when the user asks to:

  • Write, generate, or draft a cover letter or submission letter for a paper
  • 写投稿信、生成cover letter、帮我写投稿信

Example invocations:

  • "Write a cover letter for my CEUS submission"
  • "帮我写投稿信"
  • "Generate a cover letter for my paper"
  • "写一封投稿到CEUS的cover letter"
  • "Help me draft a submission cover letter"
  • "帮我生成这篇论文的投稿信"

Modes

Mode Default Behavior
direct Yes Single-pass letter generation; all context collected upfront via Ask Strategy
batch NOT supported — each letter requires specific paper context and author details

Default mode: direct. User provides a paper and journal; Skill collects any missing details and generates the complete letter in one pass.

References

Required (always loaded)

None.

Leaf Hints (loaded conditionally)

File When to Load
references/journals/ceus.md When user targets CEUS; provides Aims & Scope, scope keywords for contribution alignment

Loading Rules

  • When journal is specified, load references/journals/[journal].md.
  • If template not found: refuse immediately with: "Journal template for [X] not found. Available: CEUS."
  • Do NOT proceed with generic framing if template is missing.
  • Extract the Aims & Scope section from the loaded template — the contribution statement must reference it directly.

Ask Strategy

The Skill needs four inputs. If already provided in trigger or paper content, skip the corresponding question.

  1. Target journal — required; determines which template to load. Ask if not specified.
  2. Paper file or text — required; for extracting paper title and key contribution. Ask for file path or paste if not provided.
  3. Correspondence author details (name, email, institution) — required; ask as a single grouped question if not provided.
  4. Data/code availability — optional; are datasets or code publicly available? If yes, ask for repository URLs. Default to "Data are not publicly available" if user declines or does not know.

Rules:

  • Ask at most 3 questions before proceeding.
  • Use Structured Interaction when available; fall back to plain-text questions otherwise.
  • If correspondence details not provided and user declines: use [Corresponding Author Name], [Email], [Institution] placeholders.

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:cover-letter 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:cover-letter?"
    • 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

  • Run Ask Strategy for any missing inputs (journal, paper, author details, data availability).
  • Load references/journals/[journal].md. If not found: refuse with "Journal template for [X] not found. Available: CEUS." Do NOT proceed.
  • If paper provided as file: use Read tool to load it; extract title and key contribution.
  • If paper provided as pasted text: extract title and key contribution from the pasted content.
  • Extract Aims & Scope section from the loaded journal template (contribution statement references this directly).
  • Record workflow: Append {"skill": "ppw:cover-letter", "ts": "<ISO timestamp>"} to .planning/workflow-memory.json. Create file as [] if missing. Drop oldest entry if log length >= 50.

Step 2: Draft Letter

Use the following locked letter format:

[Date]

The Editor-in-Chief
[Editor Name]
[Journal Name]

Dear [Editor Name],

We submit our manuscript entitled "[Paper Title]" for consideration in [Journal Name].

**Contribution Statement**
[1–2 sentences explicitly referenci
Полный SKILL.md на GitHub

Установить ppw:cover-letter в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Write
Structured Interaction

FAQ

Что делает скилл ppw:cover-letter?

Generate submission-ready cover letters from paper content and target journal requirements. Includes contribution statement, data availability, conflict of interest, and contact block. 生成投稿信,包含贡献声明、数据可用性、利益冲突声明和联系方式。

Как установить скилл ppw:cover-letter?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл ppw:cover-letter запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить ppw:cover-letter с