Skip to main content

format-citation

Format one or more scholarly identifiers as citations in a chosen style (Vancouver, AMA, APA, IEEE, CSE, or any CSL style ID).

설치로 이동

소스 정보

저장소
mlava/scholar-sidekick-cursor-plugin
최근 소스 활동
2026년 5월 26일 10:48
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
format-citation
description
Format one or more scholarly identifiers as citations in a chosen style (Vancouver, AMA, APA, IEEE, CSE, or any CSL style ID).
# formatCitation Takes a free-text block of identifiers (one per line, mixed types OK) and returns formatted citations in the requested style. Five builtins ship as plain-text formatters; any other style routes through citeproc-js with a CSL stylesheet. ## When to use - The user pastes a list of DOIs/PMIDs/ISBNs and wants Vancouver/APA/IEEE/etc. references. - An agent needs to render a bibliography for a draft manuscript. ## Inputs - `text` (string, required) — One identifier per line, or free text containing identifiers. - `style` (string, optional) — Builtin: `vancouver` (default), `ama`, `apa`, `ieee`, `cse`. Or any CSL style ID (e.g. `nature`, `lancet`, `chicago-author-date`). - `locale` (string, optional) — CSL locale, e.g. `en-US`, `en-GB`. - `output` (string, optional) — `"text"` (default) or `"html"`. - `footnotes` (boolean, optional) — Render HTML output as footnotes. ## Outputs `{ ok: true, items: [{ ok, formatted, _source }, ...] }`. Mixed success — per-item ok flag lets the agent surface partial failures. ## Underlying surfaces - **REST**: `POST /api/format` (or `/api/format/stream` for NDJSON streaming). - **MCP tool**: `formatCitation`. ## Example ```bash curl -sS -X POST "https://scholar-sidekick.com/api/format" \ -H "Content-Type: application/json" \ -d '{"text":"10.1038/nphys1170\n34812345","style":"apa","output":"text"}' ``` ## See also - `exportCitation` for file-format bibliographies (RIS, BibTeX, etc.). - [`/docs.md`](https://scholar-sidekick.com/docs.md) for full API reference.
GitHub에서 보기