本文へ移動
cccskills
無料GitHub で公開日本語紹介

miaoyan

MiaoYan向けのノートや発表資料を作成・編集し、ノート間リンク、数式、図、添付画像を対応構文で整え、既存のMarkdownも用途に合わせて調整するスキル。

原文原文の説明を見る

Create, edit, review, organize, and present content for MiaoYan. Use when a user asks an agent to work with MiaoYan notes, MiaoYan Markdown, wikilinks and backlinks, math, Mermaid, PlantUML, Markmap, local attachments, PPT mode, or the miao CLI, including adapting generic Markdown specifically for MiaoYan.

インストール方法を見る

こんなときに便利

  • 既存MarkdownをMiaoYan向けに整えたいとき
  • 関連ノートをリンクで整理したいとき
  • PPTモード用の発表資料作成
  • 数式・図・ローカル画像を追加したいとき

日本語での紹介

できること

MiaoYanで使うノートや発表資料を作成・編集し、既存のMarkdownを対応する構文に整えます。ノート同士を結ぶwikilinks、数式、Mermaid・PlantUML・Markmapの図、ローカル画像を扱います。編集時は、冒頭のメタデータやコード、リンク、添付ファイルの参照先を保持し、構文やパスを確認します。

こんなときに便利

関連ノートをつなげて整理したいときや、図と数式を含む説明をまとめる場面に向いています。ノートをもとにPPTモード用のスライドを作り、必要に応じて背景や段階表示を設定する用途にも使えます。

使い方の例

  • 「このMarkdownをMiaoYan向けに整え、関連ノートへのリンクを付けて」
  • 「この内容をPPTモード用に分け、Mermaidの図を入れて」
  • 「miaoでノートを検索し、内容を確認して」

注意点

表示や発表にはMiaoYanを使います。CLI操作にはmiaoが必要ですが、既存ノートを編集するコマンドはありません。ローカル画像はi/に置き、/i/ファイル名で参照します。PPTでは単独行の---がスライドの区切りになるため、スライド内の横罫線には使えません。

この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。

含まれるファイル(2)

  • SKILL.md6.6 KB
  • agents/openai.yaml189 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

MiaoYan

Create content for MiaoYan's actual Markdown and presentation surfaces. Prefer portable MiaoYan syntax over app-specific guesses or absolute local paths.

Work from the requested surface

  1. Identify whether the user needs a normal note, a PPT presentation, note organization, or a CLI operation.
  2. Keep the user's language and desired tone. Do not translate content unless asked.
  3. Preserve existing frontmatter, fenced code, inline code, math, links, wikilinks, and attachment paths when editing.
  4. Use the supported patterns below. Fall back to standard GitHub Flavored Markdown when no MiaoYan-specific feature is needed.
  5. Check the final Markdown for closed fences, valid paths, exact wikilink targets, and standalone PPT separators.

Write MiaoYan Markdown

Use standard Markdown for headings, paragraphs, emphasis, links, images, blockquotes, ordered and unordered lists, code, and horizontal rules.

Use these supported extensions when they improve the content:

| Item | Status |
|------|--------|
| Draft | Done |

- [ ] Follow up
- [x] Draft complete

~~Removed text~~

Text with a footnote.[^1]

[^1]: Footnote details.

Use fenced code with a language identifier:

```swift
let title = "MiaoYan"
```

Link notes with wikilinks

Link to another note by its exact title, without the .md suffix:

See [[Project plan]] for the next steps.

Keep the target text aligned with the note title so MiaoYan can build backlinks. Do not invent alias, heading, or block-reference syntax.

Add local images

Keep local attachments in an i/ folder under the note's current MiaoYan folder and use the shared root-relative form:

![Architecture](/i/architecture.png)

Prefer /i/<filename> over file:// URLs or machine-specific absolute paths. Keep remote images as normal https:// URLs.

When writing raw HTML for media, tables, or iframes, keep it responsive and avoid horizontal scrolling:

<img src="/i/architecture.png" alt="Architecture" style="max-width: 100%; height: auto;">

Add math and diagrams

Use $...$ for inline math and $$...$$ for display math:

The result is $E = mc^2$.

$$
\sum_{i=1}^{n} i = \frac{n(n+1)}{2}
$$

Use the matching fenced language for each diagram:

```mermaid
flowchart LR
    Draft --> Review --> Publish
```

```plantuml
@startuml
Alice -> Bob: Hello
@enduml
```

```markmap
# Topic
## Branch
- Detail
```

Do not wrap diagram fences in additional HTML.

Add callouts and collapsible content

Use GitHub Alert markers for callouts:

> [!NOTE]
> This is useful context.

> [!WARNING]
> Back up the folder before moving it.

Supported markers are NOTE, TIP, IMPORTANT, WARNING, and CAUTION.

Use native HTML for collapsible details:

<details>
<summary>More details</summary>

Markdown content goes here.

</details>

Preserve frontmatter

Keep leading YAML frontmatter at the very start of the note:

---
date: 2026-07-24
tags:
  - notes
---

MiaoYan hides leading frontmatter in rendered output when the block holds only key: value lines (with their continuations and comments); a --- block without keys renders as content, and in a deck it is the first slide. Do not move it into the body or add frontmatter unless the user needs metadata.

Create MiaoYan PPT presentations

Separate slides with --- on its own line. Do not use a horizontal rule inside a slide because MiaoYan treats it as a slide boundary.

Start with this minimal structure:

# Presentation title

Opening idea

---

## Second slide

- One point
- Another point

Use Command + Option + P to open PPT mode in MiaoYan.

Configure Reveal.js only when needed

Place an optional HTML comment at the start of the presentation, after any YAML frontmatter:

<!--
transition: slide
backgroundTransition: none
slideNumber: c/t
controls: true
progress: true
-->

Use Reveal.js keys only when the user asks for presentation behavior. Keep defaults otherwise.

Use slide effects sparingly

Add slide backgrounds immediately before a slide heading:

<!-- .slide: data-background="#F5F1E8" -->
## Context

Reveal points progressively with fragments:

- First point <!-- .element: class="fragment" data-fragment-index="1" -->
- Second point <!-- .element: class="fragment" data-fragment-index="2" -->

Highlight code lines with Reveal.js line ranges:

```swift [1|2-3|4]
struct Note {
    let title: String
    let body: String
}
```

Use raw HTML for a two-column slide only when the content truly needs columns:

<div style="display: flex; gap: 2rem;">
  <div style="flex: 1;">Left content</div>
  <div style="flex: 1;">Right content</div>
</div>

Keep local PPT images in /i/ just like normal notes. Avoid absolute file:// paths so presentations stay portable when the library moves or syncs to another Mac.

Use the miao CLI

Use only the commands that MiaoYan actually provides:

miao list [folder]
miao search <query>
miao cat <title|path>
miao open <title|path>
miao new <title> [text]
miao update

Use miao list . to include notes stored at the library root. When note titles repeat, inspect the candidate paths and use an explicit path; an exact title still resolves to the first match.

Use miao cat to inspect a note and miao open to show it in the app. Use miao new only for new notes. The CLI does not provide an edit-existing command, so do not invent miao edit, miao append, or similar commands.

miao update replaces the installed CLI. Run it only when the user asks to update the CLI, not while inspecting or editing notes.

If the CLI cannot detect the library, use the user's configured MiaoYan folder through MIAOYAN_PATH for that command. Never guess a private folder or write outside the user-approved library.

Final checks

  • Keep note content as plain Markdown unless a supported extension is needed.
  • Match wikilinks to real note titles.
  • Keep local attachments under i/ and reference them as /i/<filename>.
  • Keep diagram and code fences balanced.
  • Keep PPT --- separators on their own lines.
  • Avoid machine-specific paths and unsupported CLI commands.
  • Preserve user content and metadata that were not part of the request.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

このスキルの問題を報告する