Dev Post 标志

Dev Post

社区
naheel0
dev-post

Turn one raw idea into a dev.to article that sounds like you. Produces three title options, one full draft, and a copy-ready block. Never publishes without an explicit yes. Optional: can publish via Forem API if DEVTO_API_KEY is present.

概览

发布者naheel0
代码仓库dev-skills
技能名称dev-post
星标数
77
复刻数
1
附带文件
2
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 2 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 naheel0 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Dev Post AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/naheel0/dev-skills/tree/main/skills/dev-post
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/naheel0/dev-skills.git /tmp/dev-skills
mkdir -p .claude/skills
cp -r /tmp/dev-skills/skills/dev-post .claude/skills/dev-post
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Dev Post,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Dev Post。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Dev Post 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

dev-post

Turns one raw idea into a dev.to article that sounds like the person who wrote it. Optimized for dev.to's audience (beginner–intermediate web/dev tech), feed ranking (reactions + comment count + comment likes), and syndication best practices (canonical URL, cover image, tags).

Before you write

  1. Read ~/.claude/devto/voice.md if it exists. That file is the user's voice profile: how they talk, what they never say, who they are talking to. If it does not exist, ask for three of their own past posts (dev.to or elsewhere), infer the voice from those, and write the file. Do not skip this and do not invent a voice. An article in the wrong voice is worse than no article.
  2. Read title-formulas.json and tag-suggestions.json in this folder.
  3. If the idea is thin - "post about AI" - do not pad it. Ask one batched question: what happened, to whom, and what did it cost or return. An article needs one specific true thing. Get it before writing.
  4. Check ~/.claude/devto/log.md if it exists - avoid repeating the same tag stack or title formula two posts in a row unless the user asks. Tag and formula suggestions are weighted by dev-learn.py audit results (higher weight = more likely to be suggested).

The shape

dev.to rewards dwell time, reactions, and comments, in that order. So:

Line 1     the title. Alone. <10 words, keyword + optional number.
Lines 2-3  the hook. First sentence must pull the reader through.
Body       short paragraphs, 1-5 lines each, blank line between every one.
           No wall. Use H2/H3 headings only. Bold key bits.
Code       fenced markdown blocks for snippets; every block needs context.
Cover      1000×420 absolute URL. Strongly recommended; maximizes feed CTR.
CTA        one closing sentence: one specific question or one instruction.
           Never both.
Tags       exactly 4, comma-separated, mixed broad + niche.

Length: 800–2,500 words is the working range. Under 400 reads as a note, not an article. Over 3,000 needs to earn every line.

  • Read time: dev.to auto-computes reading_time_minutes (~260 wpm). Sweet spot for reach: 1–3 min reads. Sweet spot for depth: 4–7 min reads.
  • Half-life: most views land in the first week; median post half-life is ~4 days. Optimize for the first 7 days, not forever.

The loop

1. Pick three titles, not one. Run the idea through title-formulas.json and choose three formulas that genuinely fit it. Different formulas, not three variations of one. Show them as three numbered lines and say which you would ship and why, in one sentence.

2. Draft the full article on the strongest title.

3. Humanize it. Run the draft through /dev-human before showing it. Every article from this skill ships humanized.

4. Pick tags. Exactly 4 tags from tag-suggestions.json. Mix 2–3 broad (#javascript, #webdev, #beginners, #tutorial, #programming) + 1–2 niche (#react, #deno, #a11y, #graphql, #mcp). Flag {{cover image URL}} if missing.

5. Print the block. Copy-ready, in a fenced block, exactly as it should be pasted into the dev.to editor (Basic Markdown supports YAML front matter; Rich+Markdown editor uses the gear icon). Then, underneath:

POST READY
title:     #17 Build X in N Steps
length:    1,240 words · ~5 min read
humanizer: 6 artefacts stripped, human score 86 PASS
tags:      javascript, webdev, tutorial, react
cover:     {{cover image URL}}
canonical: {{canonical URL or none}}
series:    {{series name or none}}
published: {{draft or published}}
post at:   Tuesday 9:00am ET (from your plan)

Reply "yes" to log it, or tell me what to change.

6. Never publish automatically. This skill produces text. The user posts it manually into dev.to, OR if DEVTO_API_KEY is present in ~/.env, the skill can offer to publish via POST https://dev.to/api/articles with headers api-key: $DEVTO_API_KEY and accept: application/vnd.forem.api-v1+json. On "yes", append the post to ~/.claude/devto/log.md with the date, title, formula_id, tags, cover, canonical, series, published, and first line. Leave engagement_rate, comment_ratio, reach_multiple, human_score, and audit_rank blank — /dev-audit fills those in after the post has collected data. Then run /dev-learn (dev-learn.py audit --apply) to promote winning formulas/tags and demote losing ones.

Rules that make the difference

  • One idea per article. If the draft has two, you have two articles. Say so.
  • Numbers over adjectives. "$4,200" beats "a lot". If the user has not given you a number, ask for one rather than writing around the hole.
  • No engagement bait. "Thoughts?" and "Agree?" are dead. The closing question has to be one only this article could ask.
  • Four tags maximum, comma-separated, lowercase slugs (no spaces). Tags with spaces → 422 Unprocessable Entity.
  • Cover image must be an absolute URL. Local paths break.
  • Canonical URL goes on the dev.to copy, not the source. If cross-posting from a personal blog, set canonical_url on the dev.to article pointing back to the original. Let the original index first.
  • AI disclosure. If AI assisted the draft, add #ABotWroteThis tag or an in-article disclosure statement per dev.to's AI guidelines. Do not publish AI-generated educational content the human didn't already understand.
  • No promotional backlinks. dev.to bans posts whose main purpose is SEO backlinks (except personal blog or company blog posted under that company's org). Disclose affiliate links clearly.
  • Never fabricate. No invented metrics, clients, revenue figures or outcomes under the user's name. If a number is needed and unknown, leave {{your number}} in the draft and flag it.
  • Accessibility: alt text on images, H2/H3 headings, limit emoji at line ends, avoid fancy fonts.

Example

/dev-post we built an internal tool that cut proposal time from 5 hours to 20 min
TITLES
1. #12 Comparison    I cut proposal time from 5 hours to 20 minutes with one script
2. #3  Mistake        For two years I charged clients for hours I wasted formatting
3. #10 List          5 ways to automate proposals without hiring a VA

Shipping #12: the ratio is believable and the number is yours.

# I cut proposal time from 5 hours to 20 minutes with one script

The first proposal I sent took all afternoon. Not because the work was hard —
because I was formatting by hand.

[... body ...]

What's one repetitive task in your workflow you'd automate first?

---
tags: javascript, automation, productivity, webdev
cover_image: https://example.com/cover.png
canonical_url: https://yourblog.com/proposal-automation
ai_disclosure_level: no_ai

POST READY title: #12 Comparison · I cut proposal time from 5 hours to 20 minutes with one script length: 1,240 words · ~5 min read humanizer: 6 artefacts stripped, human score 86 PASS tags: javascript, automation, productivity, webdev cover: https://example.com/cover.png canonical: https://yourblog.com/proposal-automation series: none published: draft post at: Tuesday 9:00am ET

Reply "yes" to log it, or tell me what to change.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Dev Post AI 技能有什么作用?

Turn one raw idea into a dev.to article that sounds like you. Produces three title options, one full draft, and a copy-ready block. Never publishes without an explicit yes. Optional: can publish via Forem API if DEVTO_API_KEY is present.

为什么在 TypingMind 中使用 Dev Post?

因为您只需安装一次,就能搭配任何模型使用。Dev Post 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Dev Post?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/naheel0/dev-skills/tree/main/skills/dev-post。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Dev Post?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Dev Post 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Dev Post 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Dev Post AI 技能免费吗?

是的。naheel0 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇