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

create-apple-notes-mockup

JSONのメモ内容から、iPhoneのApple Notes画面を再現したHTMLとPNGを生成します。広告や絵コンテ向けの静止画や、入力中の画面を作れます。

原文原文の説明を見る

Render pixel-accurate Apple Notes (iPhone, light mode) screenshot mockups from a JSON note spec. Outputs HTML + PNG at the iPhone 16/15 Pro native 1180×2556. Supports paragraphs, images, checklists, dividers, autocorrect underline, smart quotes, and an optional iOS keyboard chrome overlay used by the parent video-ad molecule.

gooseworks-ai/goose-skillsスター 1,272(GitHub 1,272 + cccskills 0)
連携ツールPlaywright

実行スコア 未検証

インストール方法を見る

こんなときに便利

  • 広告用のメモ画面を作りたいとき
  • 入力中の画面を絵コンテにしたいとき
  • 画像やチェックリスト入りの画面を作る

日本語での紹介

できること

メモのタイトルや本文をJSONで指定すると、iPhoneのライトモード版Apple Notesに似た画面をHTMLとPNGで生成します。段落、画像、チェックリスト、区切り線を配置でき、カーソルやステータスバー、ツールバーも指定できます。スマートクォートや入力中を示す黄色い下線を反映し、必要ならiOSキーボードやiPhoneの枠も加えられます。画面サイズは標準で1180×2556です。

こんなときに便利

広告やSNS投稿、絵コンテ、製品イメージに使うメモ画面を用意したいときに向いています。タイトルだけの状態から文章が増えていく複数の画面を作り、入力アニメーション用の素材として使うこともできます。メモの文面は利用者側で用意し、スキルは画面の描画を担います。

使い方の例

  • 「この文章をApple Notesの画面にして、PNGで出力して」
  • 「タイトルから本文が入力される3段階の画面を作って」
  • 「チェックリストとキーボード付きのメモ画面を生成して」

注意点

利用にはNode.js、Playwright、Chromiumが必要です。初回はスキルのフォルダでnpm installとnpx playwright install chromiumを実行します。画像を使う場合はローカル画像パスを指定できます。スキルは後継のphone-chatに置き換えられていますが、記載上は単体スクリプトも引き続き動作します。

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

含まれるファイル(19)

  • SKILL.md10.0 KB
  • examples/frame-1-title-only.json457 B
  • examples/long.json867 B
  • examples/mid.json649 B
  • examples/short.json458 B
  • examples/with-checklist.json889 B
  • examples/with-image.json581 B
  • generate.js7.8 KB
  • package.json376 B
  • render.js3.8 KB
  • screenshot.js1.8 KB
  • skill.meta.json140 B
  • templates/icons.js6.4 KB
  • templates/note.css8.4 KB
  • tests/expected-output.md1.2 KB
  • tests/human-test.md848 B
  • tests/run-all.sh393 B
  • tests/sample-input.md1.1 KB
  • tests/smoke-test.md474 B

SKILL.md(原文)

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

Superseded: the video kit now does this with the phone-chat part, version 1.2.0, in the parts folder of this repository. Every phone-chat style is a style file that draws the same screen frame by frame from the plan's scenes, with the original sounds, in the kit's browser. This atom stays, unchanged in behaviour, for skills outside the kit until they move; its scripts still run.

create-apple-notes-mockup

Generate Apple Notes screens that look like real iPhone screenshots — correct status bar, floating toolbar pill, bold title, body text with paragraph spacing, yellow text cursor, autocorrect underline, optional embedded images and checklists, and an optional iOS keyboard.

Purpose

Turn a JSON note spec into a pixel-accurate Apple Notes (iPhone, light mode) screenshot — HTML + PNG at the native 1180×2556 (DPR 2). It is the deterministic, no-LLM renderer that an Apple Notes video ad drives frame-by-frame to fake a typing animation, and a standalone tool for one-off "noted to self" beats in ads, social posts, and storyboards. The orchestrating agent owns the copy; this atom owns the fidelity (status bar, smart punctuation, cursor, autocorrect underline, toolbar, keyboard chrome).

When to use

  • Need a fake Apple Notes screenshot for an ad, social post, video scene, or product mockup.
  • Need a sequence of Apple Notes frames (title-only → adding paragraphs → cursor moves) to drive a typing-animation video ad.
  • Need a static "noted to self" beat in a storyboard.

If you're rendering an iMessage thread, use the create-imessage-mockup skill instead.

Inputs

The skill is deterministic — it does not embed an LLM. The orchestrating agent composes a note JSON matching the schema below, then invokes the renderer.

Note JSON schema

{
  "title": "Hello",
  "body": [
    { "type": "paragraph", "text": "This is a screen recording of me typing on apple notes app." },
    { "type": "paragraph", "text": "Let's see how this feels." }
  ],
  "cursor": "end",
  "autocorrect_underline": ["this", "how"],
  "status_bar": {
    "time": "9:41",
    "battery_pct": 87,
    "battery_low": false,
    "show_focus_glyph": false
  },
  "show_keyboard": false,
  "keyboard_state": {
    "suggestions": ["see", "go", "do"],
    "shift": "lower",
    "letters_row1": "qwertyuiop",
    "letters_row2": "asdfghjkl",
    "letters_row3": "zxcvbnm"
  },
  "with_iphone_frame": false
}
  • title — string. Bold display headline, single line.
  • body[] — block list. Supported block types:
    • paragraph — { "text": "..." }. Smart punctuation is auto-applied (' → ', " → ", ... → …, -- → –, --- → —).
    • image — { "src": "<path|url>", "caption": "optional" }. Relative paths are resolved against the spec file's directory and inlined as data URIs. examples/with-image.json uses a placeholder src; point it at an image of your own before rendering.
    • checklist — { "items": [{ "text": "...", "checked": true|false }] }. Checked items get yellow filled circles with strikethrough; unchecked get gray-outlined circles.
    • divider — horizontal rule.
  • cursor — "title" | "end" | null. "title" places the yellow caret at the end of the title; "end" places it at the end of the last paragraph; null hides it.
  • autocorrect_underline[] — exact-case word list. Each occurrence gets the Apple Notes mid-typing yellow underline (<span class="spell">).
  • status_bar — time, battery_pct (0–100), battery_low (color battery red), show_focus_glyph (DND/car icon next to time). The Dynamic Island is not rendered.
  • show_keyboard — true overlays the iOS QWERTY + formatting toolbar.
  • keyboard_state — only consulted when show_keyboard is true. shift = "lower" | "upper".
  • with_iphone_frame — adds a thin dark bezel inset (for hero compositions).

CLI

node render.js --note examples/mid.json
node render.js --note examples/long.json --output ./my-exports/ --name todays-note
node render.js --note my-note.json --with-keyboard
node render.js --note my-note.json --viewport 1080x1920   # 9:16 ad delivery size

Flags

FlagEffect
--note <path>(required) JSON file matching the schema above
--with-keyboardforce-enables show_keyboard (overrides spec)
--with-iphone-frameforce-enables hardware bezel
--no-frameforce-disables hardware bezel
--output <dir>parent dir for the dated output folder; default ./apple-notes-mockup-exports/
--name <slug>override the output folder slug
--out-html <path> / --out-png <path>write directly to explicit paths (skip dated folder)
--viewport WxHoverride the render viewport (default 1180x2556)
--dpr Ndevice-pixel ratio (default 2)

Output

<output>/<YYYY-MM-DD>-<slug>/
  index.html       # full standalone HTML (images inlined as data URIs)
  screenshot.png   # rendered PNG at the chosen viewport × DPR
  spec.json        # copy of the input for reproducibility

Default <output> is ./apple-notes-mockup-exports/ in the cwd.

Workflow

  1. Receive a prompt or existing note JSON.
  2. If only a prompt was given: compose a note.json matching the schema, save it.
  3. Run node render.js --note <path> [--with-keyboard].
  4. Open the resulting PNG to verify the layout. If something looks wrong (wrong wrap, wrong cursor position, wrong battery color), edit the JSON and re-render.

Setup (one-time)

cd create-apple-notes-mockup
npm install
npx playwright install chromium

Nothing ships preinstalled: run both commands once in this skill's folder before the first render.

Files

FilePurpose
render.jsCLI entry — parses flags, resolves image paths, generates HTML, takes screenshot
generate.jsNote JSON → standalone HTML page (smart-punctuation + autocorrect underline applied here)
screenshot.jsHTML → PNG via Playwright (chromium headless) at 1180×2556, DPR 2
templates/note.cssAll visual styling (status bar, toolbar, body, checklist, image, keyboard)
templates/icons.jsInline SVG icons (back chevron, undo, share, more, done check, signal, wifi, battery, format toolbar icons, keyboard glyphs)
examples/*.json6 reference notes covering every variation (title-only, mid-typing, long multi-paragraph, with checklist, with image, frame-1 lowercase-keyboard)
tests/run-all.shBuilders only, in the goose-skills repo (installs have no tests/): render every example into tests/output/ for visual review

Quality Checks

Before declaring a note shippable:

  • Title renders as bold display headline, not regular weight.
  • Body text uses Apple's smart punctuation — ' is curly, " is curly, … is a single character.
  • Yellow cursor (#FFCC00) sits flush at the end of the target text, ~5px wide.
  • Body paragraphs are separated by one empty visual line (no manual <br>).
  • Autocorrect underlines are short yellow lines flush under the flagged token, with case-sensitive matching.
  • Status bar: time left, signal/wifi/battery right. Battery is red iff battery_low: true. No Dynamic Island.
  • Scroll mask: status bar and toolbar have opaque white backgrounds so body content scrolled by the molecule's driver doesn't bleed through. Verify by translating .note by -300px in DevTools and confirming the title is fully masked by the toolbar — not visible behind/through it.
  • Toolbar: floating back-chevron pill (left), white capsule with undo/share/more, yellow Done circle (right). All cast soft shadows.
  • Keyboard (when enabled): QWERTY layout matches shift casing, suggestion strip shows 3 words, formatting toolbar pill above keys, mic + globe at bottom.
  • Image blocks render with rounded corners (~18px) and respect the body left padding.
  • Checklist: filled yellow circles + strikethrough on checked items; gray outline circles otherwise.

Failure Modes

SymptomCauseFix
Body text wraps a word too early or too lateFont width differs from reference (Chromium picked up a non-SF fallback)Adjust font-size on .note-body in steps of 2px, or widen .note by reducing left/right padding
Title looks thin / not bold enoughHost doesn't have SF Pro Display; system falls back to a lighter faceSet font-weight: 900 (already the default) and check `fc-list
"Hello's", "Let's" render with straight quoteSmart-punctuation pre-processor disabledVerify smartQuotes() is called in generate.js before escapeHtml
Image doesn't render (blank space)Remote URL blocked or relative path didn't resolveUse a local file path; render.js inlines local images as base64
Autocorrect underline also matches "This" when only "this" was intendedRegex was case-insensitiveThe regex is case-sensitive by default. Pass exact-case strings in autocorrect_underline
Empty paragraph collapses (no cursor space)<p class="note-paragraph"></p> with no content has zero heightThe CSS sets margin: 0 0 84px 0 so an empty paragraph still occupies one paragraph gap; ensure you didn't strip the trailing margin
Yellow Done circle looks orangeCSS color driftPure Apple yellow is #FFCC00. Cursor + Done share the value; do not change to #FFC107 (Material amber)
Keyboard suggestion Hello's renders with straight apostropheSmart quotes not applied to suggestionsConfirmed applied via smartQuotes(s) in generate.js

Reference

The visual spec was extracted from a 36-second iPhone screen recording of typing into Apple Notes in light mode. The recording is not shipped; the examples in examples/ cover each state it showed.

レビュー

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

コメント

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

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

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

0 / 1000 文字

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

同じリポジトリのスキル

<slug>

無料概要あり

資料には具体的なスキルの内容や手順が記載されていないため、用途や得られる結果を特定できません。

  • 用途を確認したいとき
  • 入力や手順を確認したいとき
  • 期待する結果を確認したいとき
gooseworks-ai/goose-skills1,2722026年10月27日 更新

ad-angle-miner

無料概要あり

顧客の課題や商品情報、広告事例を調べ、根拠のある広告訴求と静止画・動画・コピー案にまとめます。動画案は実際の制作フォーマットとの相性も確認し、商品単位の角度集として整理します。

  • 商品の根拠に沿った広告の切り口を探したいとき
  • 静止画広告や動画広告の案を作りたいとき
  • 顧客の言葉から見出しや広告文を考えたいとき
gooseworks-ai/goose-skills1,2722026年10月27日 更新

ad-campaign-analyzer

無料概要あり

Google、Meta、LinkedInなどの広告実績を分析し、成果の出た広告や予算の無駄を特定します。停止・拡大・テスト案や、具体的な予算配分を提案します。

  • 広告予算の無駄を見つけたいとき
  • 複数媒体の成果を比較したいとき
  • 広告の停止・拡大候補を決めたいとき
gooseworks-ai/goose-skills1,2722026年10月27日 更新

ad-lead-quality-analyzer

無料概要あり

広告費と登録後の成果を照合し、質の高いリード獲得にかかった実コストを算出します。広告素材ごとに拡大・維持・調査・停止の判断材料を整理するスキルです。

  • 広告素材ごとの実質獲得コストを比べたいとき
  • 低CPAでも質の低い広告を見つけたいとき
  • 登録後の成果データとの照合状況を調べたいとき
gooseworks-ai/goose-skills1,2722026年10月27日 更新

ad-management-intake

無料概要あり

Meta広告を始める前にブランド情報を調べ、予算や広告表現に関わる不明点だけを質問して準備を整えます。確認事項と仮定を記録し、ブランド情報とキャンペーン概要を作成します。

  • ブランド情報が未記録の状態で広告を始めたいとき
  • 予算や広告期間の前提を整理したいとき
  • 広告で使う主張や制約を記録したいとき
gooseworks-ai/goose-skills1,2722026年10月27日 更新

ad-policy-check

無料概要あり

広告文や画像内の表現を配信先と商品カテゴリのルールに照らして確認し、直せる箇所を修正しながら、法務や人の判断が必要なリスクを広告ごとに整理します。

  • 広告の配信前チェック
  • 広告画像や動画の表現確認
  • クリエイター広告の表示確認
gooseworks-ai/goose-skills1,2722026年10月27日 更新

gooseworks-ai のスキルをすべて見る

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