ccf-paper-to-exemplar
Distill supplied papers or selected passages into reusable writing exemplar cards, register requested project/personal libraries, and save explicitly selected…
от mikubaka88★ 4 530 звёзд на GitHub
Установить ccf-paper-to-exemplar в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Paper-to-Exemplar
Preflight And Ownership
Apply ccf-humanization first, then ccf-common; reuse applicable active rules at handoffs. Both remain required. Handoff mode is PARTIAL, under Common's handoff rules.
Own reusable writing cards and requested library registration. Manuscript prose and one-time learning from a reference stay with ccf-paper-writer; do not make card extraction a prerequisite for ordinary writing. Visual reconstruction and scientific review retain their separate owners. Preserve attribution and the source's actual scientific meaning.
For files, use artifact-contracts.md. Reuse the existing card/source/cache and update in place; the new-task default is ccfa-workfiles/exemplars/<source-id>/. A no-new-files request can return the analysis in context. Reading or converting a paper does not authorize library registration or preference changes.
Workflow
- Identify the source/version, writing question and requested coverage: passage, section or whole paper. Reuse a matching completed analysis. An introduction paragraph needs its relevant context, not a forced full-paper audit; a full-paper request still requires reading coherent sections rather than extrapolating from the abstract.
- Read an existing original-text extraction directly. Only when PDF extraction is needed, run
scripts/convert.pywith explicit--output-dir,--full-text, and--full-text-dirin the chosen task directory.--section introductionor another selected function creates a scoped skeleton; repeat the option when useful. Omit it for the compatible whole-paper skeleton. The converter extracts text and creates unfinished cards; it does not perform the analysis. It preserves existing cards.pymupdfis needed only for PDF extraction. - Check source locations and extraction quality. Inspect actual PDF pages when reading order, equations or figures affect interpretation. Use exemplar-style-analysis.md to recover the scientific subject, operations, sentence relationships and paragraph progression. Judge the passage itself; awards do not establish a writing technique.
- For a whole-paper card, retain all eight established sections: Story Pattern, Abstract Moves, Introduction Moves, Method Moves, Evidence Moves, Citation Patterns, Reusable Techniques and Do-Not-Copy Boundary. Read and anchor the relevant source throughout; evidence can be a proof, analysis, observation or experiment as the paper actually uses it. For passage/section coverage, write the relevant observed moves plus Reusable Techniques and Do-Not-Copy Boundary, omitting unexamined sections. Record the original source/version and page, section or paragraph anchors; distinguish observed writing from adaptation advice. Preserve source-grounded language observations without imposing sentence templates, paragraph counts or a corpus quota. Completed cards have no
[ANALYZE]or[MANUAL]placeholders. - Register only when requested, using
scripts/personal_library.py. Project registration uses<project>/.ccfa/exemplars/library.json; explicit--scope useruses$CODEX_HOME/ccfa/exemplars/library.jsonor~/.codex/ccfa/exemplars/library.json. Registration references the existing completed card and original source without copying the PDF. Preserve their stable paths. Built-in cards, index and default format are maintained as package resources, not personal data; change them only during an explicitly authorized family-maintenance task. - When the user explicitly selects default exemplars, save the registered IDs with
set-defaultin the requested project or personal scope. Preserve other defaults when no change is requested. A project without an explicit selection inherits personal defaults; a project selection overrides them. The existing built-in custom format can still be explicitly selected, without editing its installed file to store private preferences. - Check the resulting source descriptions against the original passages. Return the canonical card and useful techniques; mention registration/default changes only if performed. Do not echo a full extraction or create a compulsory analysis report during drafting.
Personal Library Commands
Use the actual source/version, locations and writing functions. Registration rejects unfinished skeletons, updates the same ID without duplicate rows, and requires a new ID or explicit --replace-source to assign an existing ID to another paper.
python ccf-paper-to-exemplar/scripts/personal_library.py register --project . --id paper-a-motivation --card ccfa-workfiles/exemplars/paper-a/source/card.md --source ccfa-workfiles/exemplars/paper-a/cache/original.full.md --source-id paper-a --source-version accepted --location "Section 1 paragraph 2" --function motivation --
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- scripts/convert.py
- scripts/personal_library.py
- scripts/test_personal_library.py
FAQ
Что делает скилл ccf-paper-to-exemplar?
Distill supplied papers or selected passages into reusable writing exemplar cards, register requested project/personal libraries, and save explicitly selected default exemplars. Use for PDF to writing exemplar, 提炼写作范例, 建立个人范例库, and 设置默认范例. Ordinary drafting and one-time reference learning stay with ccf-paper-writer; figure reconstruction and scientific review have separate owners.
Как установить скилл ccf-paper-to-exemplar?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ccf-paper-to-exemplar запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…