本文へスキップ
Skillpedia
WebサイトとUI(フロントエンド)48k · #5160

markdown-rendering

できること

このツールは、Markdownと呼ばれる書式付きのテキストファイルを、cmuxというプログラム内の特定の領域に正しく表示するのに役立ちます。通常はプログラムに問題がある場合でも、テキストが正しく表示されるようにします。

使う場面

  • ✓cmuxでMarkdownファイルが空白に見えたり、書式が崩れて表示されたりするとき。
  • ✓cmuxの固定された領域にMarkdownファイルを表示したいとき。
  • ✓Markdownファイルを開こうとしてエラーになったり、表示がおかしくなったりするとき。

スキルのリンク

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/markdown-rendering/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/markdown-rendering/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“cmuxの右側のペインで 'document.md' を開き、書式が正しく表示されるようにしてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

ツールは、Markdownの表示領域を移動すると空白になるという、よくあるエラーを回避します。ファイルを正しい領域で直接開くか、競合している領域を閉じてからファイルを開き直すことで対処します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Markdown Rendering in cmux

When to Use

  • Use when opening Markdown in cmux shows a blank pane or wrong layout.
  • Use when you need to display a Markdown file in a stable cmux right pane.

The Problem

cmux markdown open defaults to spawning a brand-new pane every time, even with --direction right. The common "fix" — moving the new markdown surface into the existing right pane with move-surface — bugs out: the moved viewer renders BLANK. The surface keeps type=markdown and looks healthy, but shows nothing.

So you get stuck: either a stray extra pane, or a blank viewer after moving it.

The Rule

The contributor observed two workarounds for a particular cmux version. Verify the installed command/version; the blank-render issue may have changed. Prefer reopening an owned viewer without altering unrelated panes.

Option A — Open it right on the first try

If there is no usable right pane yet, just let cmux create one and leave it where it lands:

cmux markdown open /abs/path/file.md --direction right --focus false

Do NOT then move it. If it spawned where you want it, you're done.

Option B — Close existing right pane(s), then open fresh

If there are other right panes in the way (and they're unused or irrelevant), close them first, then open the markdown fresh as a new right pane:

# 1. find panes in THIS workspace
cmux list-panes --workspace "$CMUX_WORKSPACE_ID"

# 2. close the unused/irrelevant right pane(s) by closing their surfaces
cmux list-pane-surfaces --pane pane:NN
cmux close-surface --surface surface:XX     # repeat per surface in that pane

# 3. THEN open the markdown fresh — it creates its own clean right pane
cmux markdown open /abs/path/file.md --direction right --focus false

Hard Rules

  • Never move-surface a markdown viewer. It renders blank afterward. This is the core bug this skill exists for.
  • Open it correctly the first time (Option A), OR close the conflicting right pane(s) and open a fresh right pane from scratch (Option B).
  • Close only surfaces created for this task or explicitly authorized for closure; apparent irrelevance does not prove they contain no unsaved work.
  • Always anchor to $CMUX_WORKSPACE_ID; never assume the visually focused workspace.
  • Pass --focus false so you don't steal the user's focus.
  • Use any supported readback/rendered inspection available on the actual host. If it cannot inspect the viewer, report that limit instead of claiming success.

Limitations

  • Adapted from davidondrej/skills; verify local paths, tools, credentials, and agent features before acting.
  • For commands, remote access, scheduling, browser automation, or file-changing workflows, get explicit user approval and confirm the target environment first.
よくある質問

cmuxでMarkdownファイルが空白に表示されるのはなぜですか?

プログラムがファイル用に新しいペインを作成しようとし、それが移動されるとビューアーが失敗して空白になることがよくあります。このツールは、その問題を回避するように設計されています。

cmuxとは何ですか?

cmuxは、パネルのように複数のウィンドウやワークスペースをコンピュータ上で整理・管理できるプログラムです。

Markdownとは何ですか?

Markdownは、シンプルな記号(太字にするためのアスタリスクなど)を使って書くことで、簡単にWebページや整形された文書に変換できる、シンプルな文章の書き方です。

詳細

作者による元の説明

Open Markdown reliably in cmux panes and recover from blank rendered surfaces.

repo: sickn33/agentic-awesome-skills

人気

GitHubのスター
48k
ランキング
#5160
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル