返回技能列表

dev-to-hashnode

jonathimer
更新于 2 days ago
4 次查看
76
4
76
在 GitHub 上查看
开发general

关于

This skill assists developers in publishing and cross-posting content to platforms like Dev.to and Hashnode. It provides guidance on platform comparison, SEO strategy with canonical URLs, and building an audience. Use it when you need to optimize technical blogging for these developer communities.

快速安装

Claude Code

推荐
主要方式
npx skills add jonathimer/devmarketing-skills -a claude-code
插件命令备选方式
/plugin add https://github.com/jonathimer/devmarketing-skills
Git 克隆备选方式
git clone https://github.com/jonathimer/devmarketing-skills.git ~/.claude/skills/dev-to-hashnode

在 Claude Code 中复制并粘贴此命令以安装该技能

技能文档

Dev.to & Hashnode Publishing

Developer blogging platforms offer built-in audiences of hundreds of thousands of developers. This skill covers cross-posting strategy, platform-specific optimization, and building followers on Dev.to and Hashnode.


Before You Start

  1. Read .agents/developer-audience-context.md if it exists
  2. Decide your canonical URL strategy (important for SEO)
  3. Create accounts on both platforms to reserve your username
  4. Understand: These platforms reward consistency and engagement

Platform Comparison

Dev.to vs Hashnode

FeatureDev.toHashnode
Monthly visitors~10M+~3M+
Custom domainNo (subdomain only)Yes (free)
Canonical URL supportYesYes
SEO benefitsHigh domain authorityYour domain gets SEO
MonetizationNo nativeSponsors, newsletter
NewsletterNoBuilt-in
Series supportYesYes
Code highlightingExcellentExcellent
Community featuresStrong (reactions, comments)Growing
AudienceBroader, more beginnersMore senior, focused

When to Use Each

Use Dev.to whenUse Hashnode when
Maximum reach is priorityBuilding your own brand
Targeting beginners/mid-levelWant custom domain SEO
Community engagement mattersBuilding email list
Quick validation of contentLong-term content strategy
Don't have your own blogSupplementing your main blog

Cross-Posting Strategy

The Canonical URL Decision

StrategyProsCons
Original on your blogSEO to your domain, full controlPlatforms may rank lower
Original on Dev.toMaximum initial reachNo SEO to your domain
Original on Hashnode (custom domain)SEO + platform reachSmaller initial audience

Best Practice: Your Blog + Cross-Post

  1. Publish on your blog first — This is canonical
  2. Wait 1-2 days — Let Google index your original
  3. Cross-post to Dev.to — Set canonical URL to your blog
  4. Cross-post to Hashnode — Set canonical URL to your blog

Setting Canonical URLs

Dev.to (in frontmatter):

---
title: Your Title
canonical_url: https://yourblog.com/your-post
---

Hashnode (in editor):

  • Click "Article settings" gear icon
  • Paste original URL in "Canonical URL" field

Dev.to Optimization

Frontmatter Structure

---
title: "Specific, Keyword-Rich Title (Not Clickbait)"
published: true
description: "One compelling sentence that shows up in previews and SEO"
tags: javascript, webdev, tutorial, beginners
cover_image: https://your-cdn.com/image.png
canonical_url: https://yourblog.com/original-post
series: "Building a CLI from Scratch"
---

Tag Strategy

TagFollowersUse for
#javascript200K+JS content
#webdev150K+General web development
#beginners120K+Accessible content
#tutorial100K+Step-by-step guides
#react80K+React specific
#programming80K+General programming
#python70K+Python content
#devops50K+DevOps, CI/CD
#opensource40K+OSS projects
#productivity40K+Dev tools, workflows

Rules:

  • Maximum 4 tags per post
  • First tag is primary (appears in URL)
  • Check tag follower count before using

What Performs on Dev.to

Content typePerformanceNotes
Beginner tutorialsHighLargest audience segment
Listicles ("10 tools...")HighEasy to consume
Career adviceHighAspirational content
Hot takesMedium-highControversial drives engagement
Deep technicalMediumNiche but engaged audience
Project showcasesMediumBest with story behind it
News/updatesLowCompetes with official sources

Dev.to Engagement Features

FeatureHow to use
ReactionsHeart, unicorn, saved, fire — different meanings
CommentsReply to every comment for algorithm boost
SeriesGroup related posts, drives binge reading
DiscussionTag #discuss for opinion/question posts
ListingsPost jobs, events, products

Hashnode Optimization

Article Settings

SettingRecommendation
SubtitleUse for SEO keywords
Cover image1600x840 optimal size
SEO titleCan differ from article title
SEO description155 characters max
Canonical URLYour original if cross-posting
Enable table of contentsYes for long posts
Disable commentsNo — engagement helps

Tag Strategy

Hashnode tags work differently:

  • Tags are linked to global topics
  • Some tags have dedicated feeds
  • Fewer tags, more focused

Popular Hashnode tags:

  • javascript, web-development, react
  • devops, cloud, aws
  • beginners, tutorial
  • opensource, programming

What Performs on Hashnode

Content typePerformanceNotes
In-depth tutorialsHighAudience expects depth
Architecture postsHighMore senior audience
DevOps/cloud contentHighStrong niche presence
Career storiesMedium-highPersonal narratives work
Quick tipsMediumLess than on Dev.to
ListiclesMediumLess effective here

Hashnode-Specific Features

FeatureHow to use
NewsletterEnable to collect subscribers
SeriesGreat for tutorials, courses
Custom CSSStyle your blog uniquely
WidgetsAdd GitHub, newsletter CTAs
SponsorsHashnode has sponsor program
AnalyticsBuilt-in, more detailed than Dev.to

Content Formatting

Structure That Works

# Title

[Compelling hook — why should they care?]

## Table of Contents (for long posts)
- [Section 1](#section-1)
- [Section 2](#section-2)

## The Problem

[What pain point are you solving?]

## The Solution

[Your approach, with code examples]

### Code Example

```language
// Well-commented code
const example = "explained";

Step-by-Step

  1. Step one — Explanation
  2. Step two — Explanation
  3. Step three — Explanation

Common Pitfalls

[What to watch out for]

Conclusion

[Summary + CTA]


If you found this helpful, follow me for more content about [topic].


### Formatting Best Practices

| Element | Guideline |
|---------|-----------|
| **Headers** | Use H2 for sections, H3 for subsections |
| **Code blocks** | Always specify language for syntax highlighting |
| **Images** | Use descriptive alt text, compress for speed |
| **Links** | Descriptive text, not "click here" |
| **Length** | 1000-2500 words performs best |
| **Paragraphs** | Keep short, 2-3 sentences max |
| **Lists** | Use liberally for scannability |

---

## Building Followers

### Consistency Strategy

| Frequency | Result |
|-----------|--------|
| 4+ posts/month | Rapid follower growth |
| 2-3 posts/month | Steady growth |
| 1 post/month | Slow but sustainable |
| Sporadic | Minimal follower retention |

### Engagement Tactics

| Tactic | Why it works |
|--------|--------------|
| Reply to every comment | Algorithm boost + relationship building |
| Comment on others' posts | Visibility + community |
| Follow relevant authors | Often reciprocated |
| Share on social media | Drives external traffic |
| Link between your posts | Keeps readers on your content |
| Create series | Encourages following for updates |

### Bio and Profile Optimization

**Dev.to profile**:
- Clear profile photo
- Bio with what you write about
- Link to your main site
- List your expertise areas

**Hashnode profile**:
- Custom domain setup
- Newsletter enabled
- Social links populated
- Blog name and tagline set

---

## Platform-Specific Do's and Don'ts

### Do's

1. **Do** set canonical URLs to protect your SEO
2. **Do** use platform-specific formatting (embeds, etc.)
3. **Do** engage with comments within 24 hours
4. **Do** cross-post to both platforms
5. **Do** use series for related content
6. **Do** optimize cover images for each platform
7. **Do** include a CTA at the end

### Don'ts

1. **Don't** post identical content without canonical URLs
2. **Don't** ignore comments
3. **Don't** use only self-promotional content
4. **Don't** neglect tags — they're discovery mechanisms
5. **Don't** forget mobile readability
6. **Don't** publish unfinished drafts
7. **Don't** keyword stuff your content

---

## Analytics and Iteration

### Dev.to Dashboard

| Metric | What it tells you |
|--------|-------------------|
| Views | Reach/impressions |
| Reactions | Engagement quality |
| Comments | Discussion value |
| Reading time | Content depth |
| Followers from post | Conversion rate |

### Hashnode Analytics

| Metric | What it tells you |
|--------|-------------------|
| Total views | Reach |
| Unique visitors | Audience size |
| Read ratio | Completion rate |
| Time on page | Engagement depth |
| Referrers | Traffic sources |
| Newsletter signups | List growth |

### What to Optimize

| Low metric | Try this |
|------------|----------|
| Low views | Better title, different tags |
| Low reactions | More engaging opening |
| Low comments | End with a question |
| High bounce | Better structure, hook |
| Low followers | Stronger CTA, series |

---

## Tools

| Tool | Use case |
|------|----------|
| **[Octolens](https://octolens.com)** | Monitor Dev.to and Hashnode for mentions of your topic, competitors, and trends. Find popular content to learn from. |
| **Hemingway Editor** | Improve readability |
| **Carbon** | Beautiful code screenshots |
| **Unsplash** | Free cover images |
| **Canva** | Custom cover image design |
| **Grammarly** | Catch errors before publishing |

---

## Content Calendar Template

| Week | Dev.to | Hashnode | Topic |
|------|--------|----------|-------|
| 1 | Publish | Cross-post (day 2) | Tutorial |
| 2 | Cross-post | Publish | Deep dive |
| 3 | Publish | Cross-post (day 2) | Listicle |
| 4 | Cross-post | Publish | Opinion/experience |

---

## Related Skills

- `developer-audience-context` — Know who you're writing for
- `hacker-news-strategy` — Drive traffic from HN to your posts
- `reddit-engagement` — Share posts in relevant subreddits
- `github-presence` — Link from READMEs to your content
- `x-devs` — Promote posts on Twitter/X

GitHub 仓库

jonathimer/devmarketing-skills
路径: skills/dev-to-hashnode
0

相关推荐技能

qmd

开发

这是一个本地搜索和索引的CLI工具,支持BM25、向量搜索和重排序功能。开发者可以用它快速索引本地文件(如Markdown文档)并进行混合搜索,特别适合代码库或文档的本地检索。它还提供MCP模式,能轻松集成到Claude开发环境中使用。

查看技能

subagent-driven-development

开发

该Skill用于在当前会话中执行包含独立任务的实施计划,它会为每个任务分派一个全新的子代理并在任务间进行代码审查。这种"全新子代理+任务间审查"的模式既能保障代码质量,又能实现快速迭代。适合需要在当前会话中连续执行独立任务,并希望在每个任务后都有质量把关的开发场景。

查看技能

mcporter

开发

mcporter Skill 让开发者能在Claude中直接管理和调用MCP服务器。它支持列出可用服务器、调用工具、处理OAuth认证以及管理服务器守护进程。开发者可以通过命令行式交互快速执行`mcporter list`查看服务器,或使用`mcporter call`直接调用工具,简化了MCP工作流程。

查看技能

adk-deployment-specialist

开发

这是一个用于部署和编排Google Vertex AI ADK智能体的Claude Skill,专为构建生产级多智能体系统而设计。它支持通过A2A协议进行智能体通信,提供代码执行沙箱和记忆库功能,并能处理智能体发现与任务提交。当开发者需要部署ADK智能体或编排多智能体协作时,可使用此Skill来简化Vertex AI Agent Engine的部署流程。

查看技能