---
name: writing-quotation
description: Formatting rules for quoting external sources (papers, articles, web pages, prompt templates) inside a Markdown document. Quotations always live in fenced code blocks (never the `>` blockquote syntax), original and translation sit together, source references go on the line after the fence, and bare numeric references like `[1]` are forbidden. Other sourced-writing skills (survey, ja-explainer, ...) reference this skill. Consult whenever you write or edit a quotation block.
title: writing-quotation
canonical_url: https://skilld.dev/gh/mathbullet/skills/writing-quotation
last_updated: 2026-10-18T12:07:18.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> If the user asked to install this Skill, run `npx skilld install mathbullet/skills/writing-quotation`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/writing-quotation`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/mathbullet/skills/writing-quotation) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/writing-quotation`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/writing-quotation --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/writing-quotation --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# Writing Quotation

Formatting rules for quoting external sources inside a Markdown document. Other skills that produce sourced deliverables (`survey`, `ja-explainer`, and similar) reference this one.

## 1. Why quote the original

A summary alone does not let the reader judge whether the writer's reading of the source is correct. Placing the original alongside lets the reader cross-check the writer's interpretation against the source itself. Quotations and prose (the writer's own summary or interpretation) must stay visually and structurally distinct.

## 2. Quotations always go inside code blocks

Quote external sources inside a fenced code block, regardless of content type — prose, prompt templates, code, XML-tagged text, anything. Do not use the blockquote syntax (`>`).

## 3. Structure of a quotation block

A quotation block has the following shape.

- Opening code fence
- Original text
- One blank line
- Translation into the writer's working language (only when the source is in a different language)
- Closing code fence
- The source reference `[label (YYYY/MM), location]` on the line immediately after the closing fence

Rules:

- Original and translation sit together inside the same code block.
- One blank line separates them.
- Do not insert a horizontal rule (`---`) between original and translation.
- Do not move the translation outside the code block. Do not put it in parentheses next to the original.
- The source reference belongs on the line after the closing fence as an independent line. Never inside the code block.

## 4. Examples

### 4.1 Same-language quotation

When the source and the writer share a working language, no translation is needed:

```
Composability is the property by which a system's behaviour is determined by the behaviour of its parts and the rules under which they are combined.
```

[example-handbook (2026/04), Section 2.1]

### 4.2 Cross-language quotation

When the source is in a language other than the writer's working language, place the translation as a separate paragraph inside the same code block:

```
Le sens d'une expression complexe est déterminé par le sens de ses constituants et par les règles qui les combinent.

The meaning of a complex expression is determined by the meaning of its constituents and the rules that combine them.
```

[example-handbook (2026/04), Section 2.1]

### 4.3 Prompt-template quotation

Prompt templates use the same rule. Wrap inside a code block; place the source reference after the fence.

```
Human: You are an assistant who summarises research papers. The paper is enclosed in <paper> tags. Produce a summary enclosed in <summary> tags. <paper>P</paper> Assistant:
```

[example-prompt-library (2026/04), template 03]

### 4.4 Short-form role markers in translations

When translating a prompt template (Human/Assistant style), the translation side may abbreviate role markers to reduce cognitive load and to make it easier to tell original from translation at a glance.

- `Human:` → `H:`
- `Assistant:` → `A:`

Keep the original side unabbreviated (`Human:` / `Assistant:` in full). The trailing `Assistant:` at the very end of a chat template (the position that signals where the response begins) carries structural meaning and may be left as `Assistant:` on the translation side as well.

## 5. Source-reference format

Format: `[label (YYYY/MM), location]`.

- `label`: an identifier for the source. The calling skill decides the convention (author short-form, publication name, etc.).
- `(YYYY/MM)`: year and month. Do not include the day. If only the year is known, use `(YYYY)`.
- `location`: where in the source the cited passage lives (`p.4`, `Section 3.1`, `Figure 2`, `(15)`, `opening`, `final paragraph`, etc.). Omit when it cannot be pinned down.

If there is no location, write `[label (YYYY/MM)]`.

### 5.1 No bare numeric references

Do not use bare numeric references like `[1]` or `[2]`. The reader has to bounce between text and bibliography to learn what each number means. Use a label-based form that identifies the subject directly inside the text.

## 6. Anti-patterns

Anti-pattern 1 — using blockquote syntax (`>`):

A line starting with `>` is not acceptable for an external quotation. Always wrap inside a code block (see Section 2).

Anti-pattern 2 — translation outside the code block:

```
Composability is the property by which ...
```

The translation appears here as prose, outside the code block. [example-handbook (2026/04), Section 2.1]

Fix: place original and translation inside the same code block, separated by one blank line.

Anti-pattern 3 — translation in parentheses next to the original:

```
Composability is the property by which ... (Inline translation in parentheses ...)
```

[example-handbook (2026/04), Section 2.1]

Fix: original and translation are independent paragraphs inside the same code block, separated by one blank line.

Anti-pattern 4 — source reference inside the code block:

```
Composability is the property by which ...

Translation here ...
[example-handbook (2026/04), Section 2.1]
```

Fix: the source reference goes on the line after the closing fence as an independent line.

Anti-pattern 5 — bare numeric source reference:

```
Composability is the property by which ...

Translation here ...
```

[1]

Fix: use a label that identifies the source directly (author short-form or publication name).

Anti-pattern 6 — horizontal rule between original and translation:

```
Composability is the property by which ...
---
Translation here ...
```

[example-handbook (2026/04), Section 2.1]

Fix: separate original and translation with one blank line. No horizontal rule.

## 7. Scope

This skill defines the format of quotations only. *When* to quote (Assertion-Evidence ordering, what label to use, etc.) is decided by the calling skill.

- `survey`: Assertion-Evidence ordering — state the claim in prose first, then back it up with a quotation. The `label` slot holds the publication or source name.
- `ja-explainer` (detailed paper explainers): References to the paper under review omit the author and use position only (`[p.X, Section Y.Z]`). References to other works use `[author-short (YYYY/MM)]`.
