本文へスキップ
Skillpedia
ライティング48k · #6310

markdown-no-artificial-line-wraps

できること

このスキルは、Markdownファイルを書くとき、固定の幅で手動の改行を入れないよう、エージェントに指示します。文書、メモ、プルリクエストの説明を書き、きれいな元のテキストがほしい人向けです。

使う場面

  • ✓READMEや設計メモなど、Markdownファイルをエージェントが作成または編集するとき。
  • ✓読みやすいMarkdownで、プルリクエストの説明を書きたいとき。
  • ✓バージョン管理されたMarkdownファイルで、ノイズの多いテキストの変更を避けたいとき。

スキルのリンク

https://github.com/prisma/orm/blob/main/skills-contrib/markdown-no-artificial-line-wraps/SKILL.md

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“このREADMEを書いてください。各段落は1行にまとめ、きれいに折り返されるようにしてください。”

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

仕組み

エージェントは、各段落を1行のまま保ち、閲覧側が画面に合わせて折り返せるようにします。リスト、見出し、コードブロック、表は通常の書式のまま残します。

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

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

Markdown: no artificial line wraps

Instructions

  1. Prose paragraphs — Keep each paragraph as one line (or join wrapped lines into one) so the renderer can wrap in the viewer. Do not break lines mid-sentence to stay under ~80 characters.

  2. When hard newlines are correct

    • Lists: one line per list item is fine; keep item text on one line unless the item is genuinely multiple paragraphs.
    • Headings: single line.
    • Fenced code blocks: preserve author intent; do not reflow code to 80 cols.
    • Tables, block quotes, HTML: follow normal Markdown rules; table rows may be long.
    • Poetry / intentional line breaks: keep explicit breaks where semantics require them.
  3. Links and emphasis — Prefer not splitting a paragraph so that a [text](url) link is alone on a continuation line in a way that obscures reading; the whole paragraph can be one line.

  4. Rationale — GitHub and most Markdown renderers wrap to the viewport. Fixed-width breaks in source only help in raw terminals; they harm git diff and merge conflict resolution.

Don’t

  • Reformat existing Markdown by hard-wrapping every paragraph to 80 columns unless the user explicitly asks for that style in that file.
  • Apply this rule to non-Markdown formats (e.g. .ts comment blocks) unless the user asks for Markdown-style prose there.
よくある質問

80文字で折り返さないのはなぜ?

スキルによると、画面は文字をとにかく折り返すため、固定の改行は変更を読みにくくするだけです。

コードブロックは変わりますか?

いいえ。スキルは、コードブロックを作者が書いたとおりに保つよう定めています。

既存のファイルを整形し直しますか?

あなたがそのファイルでそのスタイルを頼まない限り、整形し直しません。

詳細

作者による元の説明

Writes and edits Markdown without inserting manual hard line breaks at a fixed column (e.g. 72 or 80). GitHub, docs sites, and editors soft-wrap prose; artificial breaks make diffs noisy and reflow awkward. Use when creating or editing .md files, PR bodies, ADRs, READMEs, rulecards, or any Markdown where the user cares about readable source and clean diffs — or when the user asks to avoid "hard wrapping" or "80-column" line breaks in prose.

repo: prisma/orm

人気

GitHubのスター
48k
ランキング
#6310
ライセンス
Apache-2.0
更新日
2026/11/2

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

0

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

コメント

  • …

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

似ているスキル