Chuyển đến nội dung
Skillpedia
Viết lách48k · #6310

markdown-no-artificial-line-wraps

Skill này làm gì

Nó bảo agent của bạn không thêm ngắt dòng thủ công theo độ rộng cố định khi viết file Markdown. Nó dành cho những ai viết tài liệu, ghi chú hoặc mô tả pull request và muốn văn bản nguồn gọn gàng.

Khi nào nên dùng

  • ✓Khi agent của bạn tạo hoặc sửa một file Markdown như README hoặc ghi chú thiết kế.
  • ✓Khi bạn muốn mô tả pull request viết bằng Markdown và dễ đọc.
  • ✓Khi bạn muốn tránh các thay đổi văn bản rối trong file Markdown được quản lý bằng phiên bản.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/prisma/orm/blob/main/skills-contrib/markdown-no-artificial-line-wraps/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Bạn có thể viết README này cho tôi và giữ mỗi đoạn trên một dòng để nó tự xuống dòng đẹp không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent giữ mỗi đoạn văn trên một dòng để trình xem có thể tự xuống dòng vừa màn hình. Danh sách, tiêu đề, khối mã và bảng giữ nguyên định dạng thông thường.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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.
Câu hỏi thường gặp

Vì sao không xuống dòng ở 80 ký tự?

Skill nói màn hình vẫn tự xuống dòng chữ, và ngắt dòng cố định làm việc đọc thay đổi file khó hơn.

Nó có thay đổi khối mã không?

Không. Skill nói hãy giữ khối mã đúng như tác giả đã viết.

Nó có định dạng lại file có sẵn không?

Không, trừ khi bạn yêu cầu kiểu đó trong file đó.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#6310
Giấy phép
Apache-2.0
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự