本文へ移動
cccskills
無料GitHub で公開

devto-optimizer-skill

Optimize and convert Zenn Flavored Markdown (ZFM) articles to Dev.to (Forem) compatible Markdown. Use this skill whenever the user wants to post a Zenn article to Dev.to, needs to convert markdown for cross-posting, or asks to "optimize for dev.to". It handles front matter conversion, Liquid tag embeds, KaTeX math blocks, callout transformations, and general formatting adjustments required by Dev.to.

インストール方法を見る

含まれるファイル(8)

  • SKILL.md3.6 KB
  • evals/devto-optimizer-skill-workspace/evals.json1.6 KB
  • evals/devto-optimizer-skill-workspace/iteration-1/eval-0/with_skill/outputs/converted.md315 B
  • evals/devto-optimizer-skill-workspace/iteration-1/eval-0/without_skill/outputs/converted.md186 B
  • evals/devto-optimizer-skill-workspace/iteration-1/eval-1/with_skill/outputs/converted.md155 B
  • evals/devto-optimizer-skill-workspace/iteration-1/eval-1/without_skill/outputs/converted.md77 B
  • references/conversion_rules.md2.6 KB
  • scripts/grade.py3.4 KB

SKILL.md(原文)

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

Dev.to Optimizer Skill

This skill transforms Zenn-specific Markdown into a polished, high-quality Dev.to post. It ensures that all technical components (embeds, math, code blocks) are correctly rendered and that the post follows Dev.to's Jekyll-style front matter and heading hierarchy conventions.

🚀 When to Use This Skill

  • When a user wants to cross-post a Zenn article to Dev.to.
  • When you see Zenn-specific notation like @[youtube](id) or :::message.
  • When the user explicitly asks to "convert to dev.to" or "optimize for dev.to".

🛠 Preparation

Before converting, refer to the detailed conversion rules in: references/conversion_rules.md

📝 Workflow

Step 1: Jekyll Front Matter Construction

Dev.to requires a specific YAML header. If the source article has Zenn front matter, convert it as follows:

  • title -> title (Keep it catchy! Dev.to titles often perform better with a "How to" or "Ultimate Guide" feel).
  • emoji -> (Remove, Dev.to doesn't use these in front matter).
  • type -> (Remove).
  • topics -> tags (Max 4 tags, lowercase, no spaces).
  • published -> published: true (or false for drafts).
  • Add canonical_url: The original Zenn article URL to avoid SEO penalties.
  • Add cover_image: If available.

Step 2: Content Transformation

Apply the following surgical changes to the markdown body:

  1. Heading Shift:

    • CRITICAL: Dev.to uses the title as the H1. The first heading in the body MUST be H2 (##).
    • If the Zenn article uses # Header inside the body, demote all headers by one level (# -> ##, ## -> ###, etc.).
  2. Liquid Tag Embeds:

    • Convert @[youtube](id) -> {% youtube id %}
    • Convert @[twitter](id) -> {% twitter id %}
    • Convert @[gist](id) -> {% gist id %}
    • Convert @[card](url) -> {% link url %}
    • For general URLs that Zenn automatically turns into cards, use {% embed URL %}.
  3. Math Blocks (KaTeX):

    • Block: $$ ... $$ -> {% katex %} ... {% endkatex %}
    • Inline: $ ... $ -> {% katex inline %} ... {% endkatex %}
  4. Callout (Message) Blocks:

    • Convert :::message -> > **Note** + > content
    • Convert :::message alert -> > **Warning** + > content
  5. Details/Accordions:

    • Convert :::details Title -> <details><summary>Title</summary>
    • Convert ::: -> </details>
  6. Code Blocks:

    • Remove filenames from language identifiers (e.g., js:index.js -> javascript).
    • Add the filename as a comment on the first line of the code block.
  7. Mermaid Diagrams:

    • Since Dev.to doesn't support Mermaid, wrap the Mermaid code in a <details> block or provide a link to the Mermaid Live Editor via {% embed %}.

Step 3: Polish for Global Audience

Dev.to is a global platform. While the user may post in Japanese, consider:

  • Suggesting an English translation of the title and tags.
  • Ensuring links use descriptive text (avoid "Click here").
  • Placing emojis at the end of sentences for better screen reader compatibility.

🏁 Final Output

The skill should output the complete, converted Markdown code block, ready to be pasted into the Dev.to editor.

レビュー

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

同じリポジトリのスキル

概要と使いどころ

ai-smell-remover

無料日本語概要

生成AIで書いた記事・スライド・文書の「AI臭」を徹底除去するスキル。 「なんかAIっぽい」「無機質」「整いすぎ」と感じる文章を人間の体温が宿る文体へ変換する。 記事・スライドのリライト依頼、AI臭チェック、「もっと人間らしく書いて」という要求で積極的に使用する。

shinobi-coder701/zenn-docs62026年9月17日 更新

intentional-design-guard

無料日本語概要

AI生成UIの没個性的パターン(AIスロップ美学)を検出・回避し、文脈に根ざした意図あるデザインを生成するためのガード。フロントエンドのUI実装、デザイン生成、コンポーネント設計、CSSスタイリング、カラーパレット選定、フォント選択、レイアウト構築を行う際に自動的に適用する。「UIを作って」「画面を実装して」「デザインして」「スタイルを当てて」「ランディングページを作って」「Webサイトを作成して」「ダッシュボードを構築して」「コンポーネントを実装して」等のUI生成タスク全般で使用する。Claude Code、Codex、GitHub Copilot、Cursor、その他AIエージェント共通で適用可能。

shinobi-coder701/zenn-docs62026年9月17日 更新

marp-presen-review

無料日本語概要

Marp形式プレゼンテーションの専門レビュー・評価・改善スキル。 10軸スコアリング(100点満点)で品質を定量評価し、具体的な改善コード付きで提案する。 Use when the user asks to: - Review, evaluate, or critique a Marp presentation / プレゼンをレビュー / 評価 / 添削 - Improve, polish, or upgrade existing slides / スライドを改善 / ブラッシュアップ - Check slide quality, score slides, or audit a deck / スライドの品質チェック / 採点 - "このプレゼンどう?" "スライドを見てほしい" "プレゼン資料のフィードバック" Reads .md files with Marp frontmatter, scores across 10 dimensions, and outputs a detailed review report with concrete before/after code improvements. Works as a companion to the marp-slides skill (generation → review → improvement cycle).

shinobi-coder701/zenn-docs62026年9月17日 更新

marp-slides

無料日本語概要

Create professional, visually excellent presentation slides in Marp Markdown format. Use this skill when the user asks to: - Create a presentation, slides, deck, slideshow, or プレゼン / スライド - Write or generate slides about a specific topic - Make a Marp .md file for presenting Produces complete, ready-to-render .md files with embedded custom CSS theme, narrative structure, and polished visual design. Supports Japanese and English content.

shinobi-coder701/zenn-docs62026年9月17日 更新

repo-documentation

無料日本語概要

リポジトリの構造・技術スタック・機能一覧・セットアップ手順を動的に解析し、 包括的なドキュメントを自動生成するスキル。言語・フレームワーク問わず汎用的に動作する。 Use this skill whenever the user asks to: - Explain a repository / リポジトリの説明 / リポジトリの概要 - Generate a README / README生成 / README作成 - Understand project structure / プロジェクト構成を教えて / 構造を説明して - Learn how to run a project / 使い方を教えて / 動かし方 / セットアップ方法 - Get a repo overview / repo overview / explain this repo / what does this repo do - List features / 機能一覧 / このプロジェクトは何ができる? - Onboard to a new codebase / コードベースのキャッチアップ / 新しいリポジトリに入った - "このリポジトリ何?" "プロジェクトの全体像" "how to run this project" - "コードの全体を把握したい" "ドキュメントを整備して" "技術スタックを知りたい" This skill is especially useful when joining a new project, onboarding team members, or when a repository lacks proper documentation. It works with ANY repository regardless of programming language, framework, or project type.

shinobi-coder701/zenn-docs62026年9月17日 更新

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

日本語の概要は準備中です。原文の説明を表示しています。

shinobi-coder701/zenn-docs62026年9月17日 更新

shinobi-coder701 のスキルをすべて見る

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