Dev.to & Hashnode Publishing
When to Use
Use this skill when you need when the user wants to publish on Dev.to, Hashnode, or other developer blogging platforms. Trigger phrases include "Dev.to," "Hashnode," "developer blog," "cross-posting," "technical blogging," "canonical URL," or "developer content platform.".
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
- Read
.agents/developer-audience-context.md if it exists
- Decide your canonical URL strategy (important for SEO)
- Create accounts on both platforms to reserve your username
- Understand: These platforms reward consistency and engagement
Platform Comparison
Dev.to vs Hashnode
| Feature |
Dev.to |
Hashnode |
| Monthly visitors |
~10M+ |
~3M+ |
| Custom domain |
No (subdomain only) |
Yes (free) |
| Canonical URL support |
Yes |
Yes |
| SEO benefits |
High domain authority |
Your domain gets SEO |
| Monetization |
No native |
Sponsors, newsletter |
| Newsletter |
No |
Built-in |
| Series support |
Yes |
Yes |
| Code highlighting |
Excellent |
Excellent |
| Community features |
Strong (reactions, comments) |
Growing |
| Audience |
Broader, more beginners |
More senior, focused |
When to Use Each
| Use Dev.to when |
Use Hashnode when |
| Maximum reach is priority |
Building your own brand |
| Targeting beginners/mid-level |
Want custom domain SEO |
| Community engagement matters |
Building email list |
| Quick validation of content |
Long-term content strategy |
| Don't have your own blog |
Supplementing your main blog |
Cross-Posting Strategy
The Canonical URL Decision
| Strategy |
Pros |
Cons |
| Original on your blog |
SEO to your domain, full control |
Platforms may rank lower |
| Original on Dev.to |
Maximum initial reach |
No SEO to your domain |
| Original on Hashnode (custom domain) |
SEO + platform reach |
Smaller initial audience |
Best Practice: Your Blog + Cross-Post
- Publish on your blog first — This is canonical
- Wait 1-2 days — Let Google index your original
- Cross-post to Dev.to — Set canonical URL to your blog
- 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
| Tag |
Followers |
Use for |
| #javascript |
200K+ |
JS content |
| #webdev |
150K+ |
General web development |
| #beginners |
120K+ |
Accessible content |
| #tutorial |
100K+ |
Step-by-step guides |
| #react |
80K+ |
React specific |
| #programming |
80K+ |
General programming |
| #python |
70K+ |
Python content |
| #devops |
50K+ |
DevOps, CI/CD |
| #opensource |
40K+ |
OSS projects |
| #productivity |
40K+ |
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 type |
Performance |
Notes |
| Beginner tutorials |
High |
Largest audience segment |
| Listicles ("10 tools...") |
High |
Easy to consume |
| Career advice |
High |
Aspirational content |
| Hot takes |
Medium-high |
Controversial drives engagement |
| Deep technical |
Medium |
Niche but engaged audience |
| Project showcases |
Medium |
Best with story behind it |
| News/updates |
Low |
Competes with official sources |
Dev.to Engagement Features
| Feature |
How to use |
| Reactions |
Heart, unicorn, saved, fire — different meanings |
| Comments |
Reply to every comment for algorithm boost |
| Series |
Group related posts, drives binge reading |
| Discussion |
Tag #discuss for opinion/question posts |
| Listings |
Post jobs, events, products |
Hashnode Optimization
Article Settings
| Setting |
Recommendation |
| Subtitle |
Use for SEO keywords |
| Cover image |
1600x840 optimal size |
| SEO title |
Can differ from article title |
| SEO description |
155 characters max |
| Canonical URL |
Your original if cross-posting |
| Enable table of contents |
Yes for long posts |
| Disable comments |
No — 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 type |
Performance |
Notes |
| In-depth tutorials |
High |
Audience expects depth |
| Architecture posts |
High |
More senior audience |
| DevOps/cloud content |
High |
Strong niche presence |
| Career stories |
Medium-high |
Personal narratives work |
| Quick tips |
Medium |
Less than on Dev.to |
| Listicles |
Medium |
Less effective here |
Hashnode-Specific Features
| Feature |
How to use |
| Newsletter |
Enable to collect subscribers |
| Series |
Great for tutorials, courses |
| Custom CSS |
Style your blog uniquely |
| Widgets |
Add GitHub, newsletter CTAs |
| Sponsors |
Hashnode has sponsor program |
| Analytics |
Built-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
- Step one — Explanation
- Step two — Explanation
- 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
## Limitations
- Use this skill only when the task clearly matches its upstream source and local project context.
- Verify commands, generated code, dependencies, credentials, and external service behavior before applying changes.
- Do not treat examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.
1---2name: dev-to-hashnode3description: When the user wants to publish on Dev.to, Hashnode, or other developer blogging platforms. Trigger phrases include "Dev.to," "Hashnode," "developer blog," "cross-posting," "technical blogging," "canonical URL," or "developer content platform."4risk: critical5source: https://github.com/jonathimer/devmarketing-skills/tree/main/skills/dev-to-hashnode6source_repo: jonathimer/devmarketing-skills7source_type: community8date_added: 2026-07-019license: MIT10license_source: https://github.com/jonathimer/devmarketing-skills/blob/main/LICENSE11metadata:12 source: https://skillmd.com/skills/mhassan0000/dev-to-hashnode13---1415# Dev.to & Hashnode Publishing16## When to Use1718Use this skill when you need when the user wants to publish on Dev.to, Hashnode, or other developer blogging platforms. Trigger phrases include "Dev.to," "Hashnode," "developer blog," "cross-posting," "technical blogging," "canonical URL," or "developer content platform.".192021Developer 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.2223---2425## Before You Start26271. Read `.agents/developer-audience-context.md` if it exists282. Decide your canonical URL strategy (important for SEO)293. Create accounts on both platforms to reserve your username304. Understand: These platforms reward consistency and engagement3132---3334## Platform Comparison3536### Dev.to vs Hashnode3738| Feature | Dev.to | Hashnode |39|---------|--------|----------|40| Monthly visitors | ~10M+ | ~3M+ |41| Custom domain | No (subdomain only) | Yes (free) |42| Canonical URL support | Yes | Yes |43| SEO benefits | High domain authority | Your domain gets SEO |44| Monetization | No native | Sponsors, newsletter |45| Newsletter | No | Built-in |46| Series support | Yes | Yes |47| Code highlighting | Excellent | Excellent |48| Community features | Strong (reactions, comments) | Growing |49| Audience | Broader, more beginners | More senior, focused |5051### When to Use Each5253| Use Dev.to when | Use Hashnode when |54|-----------------|-------------------|55| Maximum reach is priority | Building your own brand |56| Targeting beginners/mid-level | Want custom domain SEO |57| Community engagement matters | Building email list |58| Quick validation of content | Long-term content strategy |59| Don't have your own blog | Supplementing your main blog |6061---6263## Cross-Posting Strategy6465### The Canonical URL Decision6667| Strategy | Pros | Cons |68|----------|------|------|69| **Original on your blog** | SEO to your domain, full control | Platforms may rank lower |70| **Original on Dev.to** | Maximum initial reach | No SEO to your domain |71| **Original on Hashnode (custom domain)** | SEO + platform reach | Smaller initial audience |7273### Best Practice: Your Blog + Cross-Post74751. **Publish on your blog first** — This is canonical762. **Wait 1-2 days** — Let Google index your original773. **Cross-post to Dev.to** — Set canonical URL to your blog784. **Cross-post to Hashnode** — Set canonical URL to your blog7980### Setting Canonical URLs8182**Dev.to** (in frontmatter):83```yaml84---85title: Your Title86canonical_url: https://yourblog.com/your-post87---88```8990**Hashnode** (in editor):91- Click "Article settings" gear icon92- Paste original URL in "Canonical URL" field9394---9596## Dev.to Optimization9798### Frontmatter Structure99100```yaml101---102title: "Specific, Keyword-Rich Title (Not Clickbait)"103published: true104description: "One compelling sentence that shows up in previews and SEO"105tags: javascript, webdev, tutorial, beginners106cover_image: https://your-cdn.com/image.png107canonical_url: https://yourblog.com/original-post108series: "Building a CLI from Scratch"109---110```111112### Tag Strategy113114| Tag | Followers | Use for |115|-----|-----------|---------|116| #javascript | 200K+ | JS content |117| #webdev | 150K+ | General web development |118| #beginners | 120K+ | Accessible content |119| #tutorial | 100K+ | Step-by-step guides |120| #react | 80K+ | React specific |121| #programming | 80K+ | General programming |122| #python | 70K+ | Python content |123| #devops | 50K+ | DevOps, CI/CD |124| #opensource | 40K+ | OSS projects |125| #productivity | 40K+ | Dev tools, workflows |126127**Rules**:128- Maximum 4 tags per post129- First tag is primary (appears in URL)130- Check tag follower count before using131132### What Performs on Dev.to133134| Content type | Performance | Notes |135|--------------|-------------|-------|136| Beginner tutorials | High | Largest audience segment |137| Listicles ("10 tools...") | High | Easy to consume |138| Career advice | High | Aspirational content |139| Hot takes | Medium-high | Controversial drives engagement |140| Deep technical | Medium | Niche but engaged audience |141| Project showcases | Medium | Best with story behind it |142| News/updates | Low | Competes with official sources |143144### Dev.to Engagement Features145146| Feature | How to use |147|---------|------------|148| **Reactions** | Heart, unicorn, saved, fire — different meanings |149| **Comments** | Reply to every comment for algorithm boost |150| **Series** | Group related posts, drives binge reading |151| **Discussion** | Tag #discuss for opinion/question posts |152| **Listings** | Post jobs, events, products |153154---155156## Hashnode Optimization157158### Article Settings159160| Setting | Recommendation |161|---------|----------------|162| **Subtitle** | Use for SEO keywords |163| **Cover image** | 1600x840 optimal size |164| **SEO title** | Can differ from article title |165| **SEO description** | 155 characters max |166| **Canonical URL** | Your original if cross-posting |167| **Enable table of contents** | Yes for long posts |168| **Disable comments** | No — engagement helps |169170### Tag Strategy171172Hashnode tags work differently:173- Tags are linked to global topics174- Some tags have dedicated feeds175- Fewer tags, more focused176177**Popular Hashnode tags**:178- `javascript`, `web-development`, `react`179- `devops`, `cloud`, `aws`180- `beginners`, `tutorial`181- `opensource`, `programming`182183### What Performs on Hashnode184185| Content type | Performance | Notes |186|--------------|-------------|-------|187| In-depth tutorials | High | Audience expects depth |188| Architecture posts | High | More senior audience |189| DevOps/cloud content | High | Strong niche presence |190| Career stories | Medium-high | Personal narratives work |191| Quick tips | Medium | Less than on Dev.to |192| Listicles | Medium | Less effective here |193194### Hashnode-Specific Features195196| Feature | How to use |197|---------|------------|198| **Newsletter** | Enable to collect subscribers |199| **Series** | Great for tutorials, courses |200| **Custom CSS** | Style your blog uniquely |201| **Widgets** | Add GitHub, newsletter CTAs |202| **Sponsors** | Hashnode has sponsor program |203| **Analytics** | Built-in, more detailed than Dev.to |204205---206207## Content Formatting208209### Structure That Works210211```markdown212# Title213214[Compelling hook — why should they care?]215216## Table of Contents (for long posts)217- [Section 1](#section-1)218- [Section 2](#section-2)219220## The Problem221222[What pain point are you solving?]223224## The Solution225226[Your approach, with code examples]227228### Code Example229230```language231// Well-commented code232const example = "explained";233```234235## Step-by-Step2362371. **Step one** — Explanation2382. **Step two** — Explanation2393. **Step three** — Explanation240241## Common Pitfalls242243[What to watch out for]244245## Conclusion246247[Summary + CTA]248249---250251*If you found this helpful, [follow me](https://github.com/jonathimer/devmarketing-skills/tree/main/skills/dev-to-hashnode/link) for more content about [topic].*252```253254### Formatting Best Practices255256| Element | Guideline |257|---------|-----------|258| **Headers** | Use H2 for sections, H3 for subsections |259| **Code blocks** | Always specify language for syntax highlighting |260| **Images** | Use descriptive alt text, compress for speed |261| **Links** | Descriptive text, not "click here" |262| **Length** | 1000-2500 words performs best |263| **Paragraphs** | Keep short, 2-3 sentences max |264| **Lists** | Use liberally for scannability |265266---267268## Building Followers269270### Consistency Strategy271272| Frequency | Result |273|-----------|--------|274| 4+ posts/month | Rapid follower growth |275| 2-3 posts/month | Steady growth |276| 1 post/month | Slow but sustainable |277| Sporadic | Minimal follower retention |278279### Engagement Tactics280281| Tactic | Why it works |282|--------|--------------|283| Reply to every comment | Algorithm boost + relationship building |284| Comment on others' posts | Visibility + community |285| Follow relevant authors | Often reciprocated |286| Share on social media | Drives external traffic |287| Link between your posts | Keeps readers on your content |288| Create series | Encourages following for updates |289290### Bio and Profile Optimization291292**Dev.to profile**:293- Clear profile photo294- Bio with what you write about295- Link to your main site296- List your expertise areas297298**Hashnode profile**:299- Custom domain setup300- Newsletter enabled301- Social links populated302- Blog name and tagline set303304---305306## Platform-Specific Do's and Don'ts307308### Do's3093101. **Do** set canonical URLs to protect your SEO3112. **Do** use platform-specific formatting (embeds, etc.)3123. **Do** engage with comments within 24 hours3134. **Do** cross-post to both platforms3145. **Do** use series for related content3156. **Do** optimize cover images for each platform3167. **Do** include a CTA at the end317318### Don'ts3193201. **Don't** post identical content without canonical URLs3212. **Don't** ignore comments3223. **Don't** use only self-promotional content3234. **Don't** neglect tags — they're discovery mechanisms3245. **Don't** forget mobile readability3256. **Don't** publish unfinished drafts3267. **Don't** keyword stuff your content327328---329330## Analytics and Iteration331332### Dev.to Dashboard333334| Metric | What it tells you |335|--------|-------------------|336| Views | Reach/impressions |337| Reactions | Engagement quality |338| Comments | Discussion value |339| Reading time | Content depth |340| Followers from post | Conversion rate |341342### Hashnode Analytics343344| Metric | What it tells you |345|--------|-------------------|346| Total views | Reach |347| Unique visitors | Audience size |348| Read ratio | Completion rate |349| Time on page | Engagement depth |350| Referrers | Traffic sources |351| Newsletter signups | List growth |352353### What to Optimize354355| Low metric | Try this |356|------------|----------|357| Low views | Better title, different tags |358| Low reactions | More engaging opening |359| Low comments | End with a question |360| High bounce | Better structure, hook |361| Low followers | Stronger CTA, series |362363---364365## Tools366367| Tool | Use case |368|------|----------|369| **[Octolens](https://octolens.com)** | Monitor Dev.to and Hashnode for mentions of your topic, competitors, and trends. Find popular content to learn from. |370| **Hemingway Editor** | Improve readability |371| **Carbon** | Beautiful code screenshots |372| **Unsplash** | Free cover images |373| **Canva** | Custom cover image design |374| **Grammarly** | Catch errors before publishing |375376---377378## Content Calendar Template379380| Week | Dev.to | Hashnode | Topic |381|------|--------|----------|-------|382| 1 | Publish | Cross-post (day 2) | Tutorial |383| 2 | Cross-post | Publish | Deep dive |384| 3 | Publish | Cross-post (day 2) | Listicle |385| 4 | Cross-post | Publish | Opinion/experience |386387---388389## Related Skills390391- `developer-audience-context` — Know who you're writing for392- `hacker-news-strategy` — Drive traffic from HN to your posts393- `reddit-engagement` — Share posts in relevant subreddits394- `github-presence` — Link from READMEs to your content395- `x-devs` — Promote posts on Twitter/X396397## Limitations398399- Use this skill only when the task clearly matches its upstream source and local project context.400- Verify commands, generated code, dependencies, credentials, and external service behavior before applying changes.401- Do not treat examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.