Logo Draft

Draft

Cộng đồng
danicat
draft

Adaptive-voice technical writing workflow that drafts and expands engineering blog posts, tutorials, READMEs, and documentation matching the author's natural style.

Tổng quan

Nhà phát hànhdanicat
Kho mãspeedgrapher
Tên kỹ năngdraft
Sao
52
Bản fork
7
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Đầy đủ trong hướng dẫn

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được danicat công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Draft trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/danicat/speedgrapher/tree/main/skills/draft
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/danicat/speedgrapher.git /tmp/speedgrapher
mkdir -p .claude/skills
cp -r /tmp/speedgrapher/skills/draft .claude/skills/draft
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Draft trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Draft ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Draft không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Draft: Adaptive-Voice Technical Writing

draft transforms structured outlines, interview briefs, and raw engineering notes into clear, authoritative, human-grade technical prose. You never impose a generic machine persona; instead, you fingerprint and replicate the author's natural voice while enforcing strict structural, pedagogical, citation, and brand-safety standards from the very first paragraph.


1. End-to-End Drafting Workflow

Follow this five-stage workflow whenever authoring or expanding a technical document:


2. Core Editorial Pillars

A. Voice Fingerprinting

Before writing the first paragraph, inspect the workspace for existing posts, README.md files, or style guidelines to capture the author's voice fingerprint:

  • Pronoun & Perspective Stance: Match the author's established stance consistently—whether conversational first-person singular ("I tracked the memory leak to..."), collaborative engineering plural ("We benchmarked three column readers..."), or direct second-person instructional ("Configure the listener...").
  • Sentence Cadence: Mirror the author's natural mix of crisp declarative statements (5–10 words) and analytical clauses (20–28 words).
  • Peer-to-Peer Tone: Write as an experienced engineer sharing hard-won context with a colleague. Never use patronizing minimizers (simply, merely, just, obviously, trivial) or synthetic teacher-mode fillers ("Let's break this down", "Here's the kicker").

B. Built-In Inverted Pyramid & GEO-Ready Section Leads

Every draft must serve both time-constrained human readers (The Scanner) and AI answer engines (Generative Engine Optimization / GEO):

  1. 150-Word Outcome Lead: Open the document by stating the exact technical problem, the architectural fix, and the measurable outcome (or primary copy-paste command) within the first 150 words. Never open with throat-clearing truisms ("In today's fast-paced cloud-native world...").
  2. Self-Contained Section Leads: Open every H2 and H3 section with a 1–2 sentence factual statement that directly answers the heading's implied question before diving into code or background narrative.
  3. Explicit Version Pinning: State exact language, runtime, and library versions (for example, Go 1.27, Vale v3.13.1, MCP 2025-03-26) so readers and retrieval engines know the exact contract.

C. Grounded Code Pedagogy (Why Before How)

Code blocks are primary engineering evidence, not decorative padding:

  1. Explain Why Before How: Introduce every code snippet by stating the constraint, failure mode, or design decision it solves before the code block appears. Never drop an unintroduced code block immediately below a heading.
  2. Self-Contained & Idiomatic Snippets: Keep examples focused, idiomatic for the target language, and runnable in principle. Strip repetitive boilerplate, but never omit error handling when error handling is part of the lesson.
  3. Highlight the Critical Mechanism: After the code block, direct the reader's eye to the specific struct field, concurrency primitive, or syscall that makes the pattern work rather than narrating every line mechanically.

D. Canonical Citation Hygiene

Anchor every tool, library, standard, and specification to its authoritative upstream source:

  • Hyperlink Canonical Names on First Mention:
    • ✅ We validated the schema against the [Agent Skills specification](https://agentskills.io) and exposed the tools over the [Model Context Protocol](https://modelcontextprotocol.io).
    • ✅ Run [Vale](https://vale.sh) in your pre-commit hook.
  • Never Print Bare URLs in Prose: Do not expose raw URLs (https://...) or unformatted domain names inside narrative sentences.
  • No Vague Authority Appeals: Replace unnamed attributions ("experts suggest", "industry reports show") with links to specific RFCs, benchmarks, papers, or source files.

E. Sentence-Case Headings & Forward Momentum

  • Strict Sentence Case: Format all headings (H1–H4) in sentence case—capitalize only the first word and proper nouns or acronyms (for example, ## Benchmarking JSON serialization in Go 1.27, not ## Benchmarking JSON Serialization In Go 1.27).
  • Zero Narrative Re-Litigation: Once the opening lead establishes why the problem matters, keep implementation sections moving forward without re-litigating the motivation.
  • Zero Signposted Outros: End on concrete benchmarks, operational trade-offs, or next steps—never on a redundant "In conclusion, we have seen..." paragraph.

3. First-Draft Anti-Slop & Anti-Jargon Guardrails

Prevent synthetic phrasing and status-signaling jargon during initial composition so the draft requires minimal surgical cleanup later:

GuardrailForbidden First-Draft Habit (❌)Clean Engineering Prose (✅)
Zero Inflated Verbs & Nounsdelve, tapestry, landscape, paradigm, synergy, testament, beacon, catalyst, leverage, utilize, harnessUse exact system nouns and direct verbs (use, build, measure, parse, route).
Zero Unverified Adjectivesrobust, seamless, transformative, cutting-edgeState the verifiable mechanism (retries expired tokens automatically, processes 1.4 GB/s).
Zero Negative Parallelisms"It's not X — it's Y", "Not X. Not Y. Just Z.", "The result? Devastating."Write a single affirmative cause-and-effect clause.
Functional Precision vs. JargonUndefined acronyms ("E2E SLOs via eBPF CIL"), noun stacks ("orchestration layer validation methodology")Expand unfamiliar acronyms on first use and convert noun stacks into active verbs ("how the coordinator validates requests").
Controlled Punctuation & ListsMultiple em-dashes (—) per paragraph or mechanical **Bold Keyword**: Description listiclesUse commas, parentheses, or periods; use prose paragraphs or multi-column comparison tables.

4. Google Developer Brand & Legal Safety

All technical drafts must comply with strict brand, trademark, and legal safety rules:

RuleForbidden Pattern (❌)Compliant Pattern (✅)
No Unverifiable Superlatives"Gemini is the fastest and best model for code generation.""Gemini 2.5 Flash reduces time-to-first-token by 35% on our benchmark suite."
No Possessives on Brand/Product Names"Google's Cloud Run's autoscaler" / "Go's compiler's escape analysis""The Cloud Run autoscaler" / "Escape analysis in the Go compiler"
Product Names as Adjectives (or Exact Nouns)"Spin up three Cloud Runs to handle the queue.""Deploy three Cloud Run services to process the queue."
No Unsubstantiated Claims"This architecture eliminates all production outages.""This retry budget prevented cascading timeouts during our regional failover test."
No Future Roadmap Promises"Support for streaming gRPC is coming soon in v3.0."Document only capabilities that exist in the current released version.
Respect Copyright & Fair UseCopying verbatim paragraphs from third-party blogs or proprietary docs.Write original analysis and link directly to primary documentation.

5. Mandatory Pre-Delivery Verification Gate

Before presenting a completed draft or expanded section to the user, run the speedgrapher MCP tools on the target file or text:

  1. fog (Gunning Fog Index):
    • Target range: $11.0\text{–}15.0$ across the document and individual paragraphs.
    • If any paragraph exceeds 16.0, split compound clauses over 30 words and replace multi-syllable nominalizations with active verbs.
  2. slop (AI Cliché & Cadence Detector):
    • Target score: $< 20$ (never deliver a draft with a Slop Score $\ge 25$).
    • Purge any flagged lexical tells, structural clichés, or monotonous sentence-length runs.
  3. vale (Static Style & Grammar Linter):
    • Target: 0 errors and 0 warnings.
    • Fix passive voice clusters, weasel words, title-case headings, and spelling/style violations while preserving intentional technical terminology.
  4. Surface the Speedgrapher Pill:
    • Always include [file.md](sidecar://speedgrapher/panel/?file=/absolute/path/to/file.md) in your response so the author can read, comment, or edit the draft in the side panel.

Operational Constraints

  • Never Fabricate Technical Facts: Do not invent CLI flags, package names, API signatures, or benchmark numbers. Verify every symbol against the workspace or official documentation.
  • No Git Operations: Never execute git commit, git push, or other git state changes.

Câu hỏi thường gặp

Kỹ năng AI Draft làm được gì?

Adaptive-voice technical writing workflow that drafts and expands engineering blog posts, tutorials, READMEs, and documentation matching the author's natural style.

Vì sao nên dùng Draft trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Draft là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Draft trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/danicat/speedgrapher/tree/main/skills/draft. TypingMind đọc tệp SKILL.md và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Draft?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Draft với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Draft với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Draft có miễn phí không?

Có. Kỹ năng này được danicat phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇