本文へスキップ
TakoAPI
スキル一覧に戻る

markdown-formatter

michael-laffin 作

PDF & Documents
4.3kダウンロード数はclawskills.shが公開している値です
3スター
1閲覧数
0件のいいねサインインするとこのスキルにいいねできます
—まだ評価がありません
あなたの評価

概要

Format and beautify markdown documents.

説明

このスキルでできること

Formats, lints, and beautifies markdown documents using configurable style guides including CommonMark, GitHub Flavored Markdown, and custom rules. Handles heading normalization, list consistency, line wrapping, whitespace cleanup, and link validation. Supports single-file and batch processing.

Handles batch processing and style-guide enforcement in one pass, replacing the need to manually run separate linters and formatters.

使いどころ

  • Normalizing heading styles across a project's README files
  • Cleaning up markdown output from LLMs before publishing
  • Batch-formatting docs before a documentation site deployment
  • Linting API spec markdown for consistency before code review
  • Reformatting blog posts to match a house style guide

ワークフロー例

入力

User asks: format this markdown file to GitHub style with 80-char line wrap

エージェント
  1. 1

    Receives markdown content or file path from user

  2. 2

    Calls formatMarkdown with style set to 'github' and maxWidth 80

  3. 3

    Checks returned warnings array for any issues

  4. 4

    Returns formattedMarkdown to user along with stats on changes made

出力

Formatted markdown string with normalized headings, consistent list markers, fenced code blocks, and lines wrapped at 80 characters

インストール

clawhub install michael-laffin/markdown-formatter

CLIコマンドを実行するか、Claude Code、Cursor、Codexなどお使いのコーディングエージェントにプロンプトを貼り付けてください。

リンク