Command Palette

Search for a command to run...

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

ppw:team

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

Orchestrate parallel paper processing. Split paper into sections and run any eligible Skill (polish, translation, de-ai) across sections via subagents…

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

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

Purpose

This Skill orchestrates parallel paper processing by splitting a paper into H1 sections and dispatching eligible Skills to subagents. In Phase 19 (current), it validates the proof-of-concept gate by running a single subagent on one section. Full parallel dispatch across all sections is Phase 20.

Trigger

Activates on: ppw:team [skill] [file] invocations.

Examples:

  • "ppw:team polish paper.tex" / "团队模式润色论文"
  • "ppw:team translation draft.md" / "并行翻译论文各章节"
  • "ppw:team de-ai paper.tex"

Modes

Mode Default Behavior
guided Yes split -> user confirms sections -> user selects PoC section -> run PoC -> user confirms quality
direct skip confirmations, auto-select all body sections and first section for PoC

Mode inference: "直接" or "direct" in trigger switches to direct mode.

References

required: [] -- This Skill does not produce academic text itself. It orchestrates other Skills that load their own references at runtime. No reference files are needed by the orchestrator.

Ask Strategy

Guided mode -- three interaction points via AskUserQuestion:

  1. Section selection (multiSelect) after splitting
  2. PoC section selection (single select) from selected sections
  3. PoC quality confirmation (approve/retry/exit)

Direct mode -- skip all three: auto-select all body sections (exclude preamble and bibliography), auto-select first body section for PoC, auto-approve PoC output.

Workflow

Step 0: Workflow Memory (Recording Only)

  • Skip pattern detection -- orchestrator is not suitable for auto-direct-mode recommendation.
  • Recording happens after Step 1 validation (see Step 1).

Step 1: Parse Arguments and Validate

  • Parse $ARGUMENTS to extract: Skill name (first word) and file path (remaining words).
  • Validate Skill name against whitelist: ["translation", "polish", "de-ai"]
  • If Skill is not in whitelist, reject with exact message: "[Skill] requires full-paper context and cannot run in parallel. Please run /ppw:[skill] directly."
  • Validate file exists and is .tex or .md format. If file not found or wrong format, report error and stop.
  • Read the paper file content.
  • Record workflow: Append {"skill": "ppw:team", "ts": "<ISO timestamp>"} to .planning/workflow-memory.json. Create file as [] if missing. Drop oldest entry if log length >= 50.

Step 2: Create Working Directory

  • Create .paper-team/ directory structure: sections/, output/.
  • If .paper-team/ already exists: in guided mode, ask to overwrite or cancel; in direct mode, overwrite silently.
  • Create backup of original paper: .paper-team/{filename}-backup-{YYYYMMDD-HHmm}.{ext} (timestamped to prevent overwrite on re-runs).
  • Initialize .paper-team/manifest.json:
{
  "version": "1.0",
  "created": "<ISO timestamp>",
  "source_file": "<original file path>",
  "source_format": "tex|md",
  "target_skill": "<skill name>",
  "sections": [],
  "poc": { "section_id": null, "status": "pending", "timestamp": null },
  "backup": "<backup filename>"
}

Step 3: Split Paper into Sections

For .tex files:

  • Preamble: everything from start through \begin{document} (inclusive). Label "00 - Preamble".
  • Bibliography: from \bibliography{} or \printbibliography through \end{document}. Label "99 - Bibliography".
  • Section boundaries: each \section command. Match \section followed by optional * and optional [...] then {...}. Ignore lines starting with % (LaTeX comments).
  • Content between \begin{document} and the first \section{} is "00 - Pre-section content" (if non-empty after trimming).
  • Each section: content from its \section{Title} line through the line before the next \section{ or the bibliography boundary.

For .md files:

  • Frontmatter: content before the first # heading. Label "00 - Frontmatter" (if non-empty).
  • Split at lines beginning with # (H1 headings).
  • Each H1 heading and its content until the next # is one section.

Section file naming: {NN}-{sanitized-title}.{ext} where NN = zero-padded sequence number, sanitized-title = title lowercased, spaces to hyphens, special chars removed, max 50 chars. Preamble: 00-preamble.{ext}. Pre-section: 00-presection.{ext}. Bibliography: 99-bibliography.{ext}. Frontmatter: 00-frontmatter.md.

Edge cases:

  • No \section{} commands: treat entire body as "01 - Full Body".
  • Only one section: warn parallel processing has no benefit; proceed with PoC anyway.
  • Empty section (no content between boundaries): skip, do not create file.

Write each section to .paper-team/sections/{filename}. Update manifest.json sections array with { "id": "NN", "title": "...", "file": "sections/filename", "selected": false, "status": "pending" } for each section.

Step 4: Section Selection

Guided mode: Present all detected sections via AskUserQuestion multiSelect:

AskUserQuestion({
  question: "Select sections t
Полный SKILL.md на GitHub

Установить ppw:team в Claude Code и Claude Desktop

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

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

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

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

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

Read
Write
Structured Interaction
Agent

FAQ

Что делает скилл ppw:team?

Orchestrate parallel paper processing. Split paper into sections and run any eligible Skill (polish, translation, de-ai) across sections via subagents. 团队协作模式:将论文拆分为章节并行处理。

Как установить скилл ppw:team?

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

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

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

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

Сравнить ppw:team с