md-to-json-string
Convert a markdown file to a JSON array of strings for embedding inline in room JSON scroll configs
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Convert a markdown file to a JSON array of strings for embedding inline in room JSON scroll configs
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Take a set of local feature branches/worktrees all the way to merged PRs — discover unmerged work, fix commit-time hygiene, push, raise PRs, watch CI, auto-fix mechanical failures, merge on green, and cascade-rebase the rest. Use when the user says "shepherd PRs" or wants several branches driven to merge autonomously.
Read BEFORE invoking `playwright test` in any form, for any reason — running e2e, visual regression, room snapshots, or verifying a change 'via e2e'. Covers required project scoping (chromium-desktop, matching CI), the sandbox browser-build bridge, and the pnpm webServer failure. Also load on these failure signatures: every test failing at browserType.launch, 'Executable doesn't exist at /opt/pw-browsers/...', or 'Process from config.webServer was not able to start'.
Run the true-site-size GitHub Action locally via `act` inside the Claude Code web sandbox, to measure the game/editor cold-load journey byte cost without a CI round-trip. Use when asked to measure or verify build/wire size, or to check a byte-saving change, in the sandbox.
Fetch a campaign from the Supabase DB and save as local JSON. Use when the user asks to load, download, or fetch a campaign from the database.
Drive the Head over Heels remake's UI via the chrome-devtools MCP. Use this skill when the user asks for browser automation, capturing localStorage, dispatching game actions, or anything that involves driving the running game on localhost.
Run Docker — and tools that need it, like `act` (local GitHub Actions) — inside the Claude Code web sandbox, where image pulls and in-container networking collide with the egress proxy. Use when `docker pull` returns 403 on image layers, when a container can't reach the network, or when running `act`/CI-in-docker locally (e.g. the `act-true-site-size.sh` script).
| name | md-to-json-string |
| description | Convert a markdown file to a JSON array of strings for embedding inline in room JSON scroll configs |
| argument-hint | ["file-path"] |
Convert the markdown file at the given path to a JSON array of strings (one element per line), preserving unicode characters (like curly apostrophes) as \uXXXX escape sequences. This format is used for "markdown" fields in inline scroll configs — the array is joined with "\n" at runtime.
Run this command, substituting the file path from $ARGUMENTS:
node -e 'var fs = require("fs"); var s = fs.readFileSync("$ARGUMENTS", "utf8"); var lines = s.replace(/\n$/, "").split("\n"); var escaped = JSON.stringify(lines).replace(/[\u0080-\uffff]/g, function(c) { var hex = c.charCodeAt(0).toString(16); while(hex.length < 4) hex = "0" + hex; return "\\u" + hex; }); process.stdout.write(escaped);'
Output the result in a json code block.