$npx -y skills add jonathimer/devmarketing-skills --skill dev-to-hashnodeWhen 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.
| 1 | # Dev.to & Hashnode Publishing |
| 2 | |
| 3 | 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. |
| 4 | |
| 5 | --- |
| 6 | |
| 7 | ## Before You Start |
| 8 | |
| 9 | 1. Read `.agents/developer-audience-context.md` if it exists |
| 10 | 2. Decide your canonical URL strategy (important for SEO) |
| 11 | 3. Create accounts on both platforms to reserve your username |
| 12 | 4. Understand: These platforms reward consistency and engagement |
| 13 | |
| 14 | --- |
| 15 | |
| 16 | ## Platform Comparison |
| 17 | |
| 18 | ### Dev.to vs Hashnode |
| 19 | |
| 20 | | Feature | Dev.to | Hashnode | |
| 21 | |---------|--------|----------| |
| 22 | | Monthly visitors | ~10M+ | ~3M+ | |
| 23 | | Custom domain | No (subdomain only) | Yes (free) | |
| 24 | | Canonical URL support | Yes | Yes | |
| 25 | | SEO benefits | High domain authority | Your domain gets SEO | |
| 26 | | Monetization | No native | Sponsors, newsletter | |
| 27 | | Newsletter | No | Built-in | |
| 28 | | Series support | Yes | Yes | |
| 29 | | Code highlighting | Excellent | Excellent | |
| 30 | | Community features | Strong (reactions, comments) | Growing | |
| 31 | | Audience | Broader, more beginners | More senior, focused | |
| 32 | |
| 33 | ### When to Use Each |
| 34 | |
| 35 | | Use Dev.to when | Use Hashnode when | |
| 36 | |-----------------|-------------------| |
| 37 | | Maximum reach is priority | Building your own brand | |
| 38 | | Targeting beginners/mid-level | Want custom domain SEO | |
| 39 | | Community engagement matters | Building email list | |
| 40 | | Quick validation of content | Long-term content strategy | |
| 41 | | Don't have your own blog | Supplementing your main blog | |
| 42 | |
| 43 | --- |
| 44 | |
| 45 | ## Cross-Posting Strategy |
| 46 | |
| 47 | ### The Canonical URL Decision |
| 48 | |
| 49 | | Strategy | Pros | Cons | |
| 50 | |----------|------|------| |
| 51 | | **Original on your blog** | SEO to your domain, full control | Platforms may rank lower | |
| 52 | | **Original on Dev.to** | Maximum initial reach | No SEO to your domain | |
| 53 | | **Original on Hashnode (custom domain)** | SEO + platform reach | Smaller initial audience | |
| 54 | |
| 55 | ### Best Practice: Your Blog + Cross-Post |
| 56 | |
| 57 | 1. **Publish on your blog first** — This is canonical |
| 58 | 2. **Wait 1-2 days** — Let Google index your original |
| 59 | 3. **Cross-post to Dev.to** — Set canonical URL to your blog |
| 60 | 4. **Cross-post to Hashnode** — Set canonical URL to your blog |
| 61 | |
| 62 | ### Setting Canonical URLs |
| 63 | |
| 64 | **Dev.to** (in frontmatter): |
| 65 | ```yaml |
| 66 | --- |
| 67 | title: Your Title |
| 68 | canonical_url: https://yourblog.com/your-post |
| 69 | --- |
| 70 | ``` |
| 71 | |
| 72 | **Hashnode** (in editor): |
| 73 | - Click "Article settings" gear icon |
| 74 | - Paste original URL in "Canonical URL" field |
| 75 | |
| 76 | --- |
| 77 | |
| 78 | ## Dev.to Optimization |
| 79 | |
| 80 | ### Frontmatter Structure |
| 81 | |
| 82 | ```yaml |
| 83 | --- |
| 84 | title: "Specific, Keyword-Rich Title (Not Clickbait)" |
| 85 | published: true |
| 86 | description: "One compelling sentence that shows up in previews and SEO" |
| 87 | tags: javascript, webdev, tutorial, beginners |
| 88 | cover_image: https://your-cdn.com/image.png |
| 89 | canonical_url: https://yourblog.com/original-post |
| 90 | series: "Building a CLI from Scratch" |
| 91 | --- |
| 92 | ``` |
| 93 | |
| 94 | ### Tag Strategy |
| 95 | |
| 96 | | Tag | Followers | Use for | |
| 97 | |-----|-----------|---------| |
| 98 | | #javascript | 200K+ | JS content | |
| 99 | | #webdev | 150K+ | General web development | |
| 100 | | #beginners | 120K+ | Accessible content | |
| 101 | | #tutorial | 100K+ | Step-by-step guides | |
| 102 | | #react | 80K+ | React specific | |
| 103 | | #programming | 80K+ | General programming | |
| 104 | | #python | 70K+ | Python content | |
| 105 | | #devops | 50K+ | DevOps, CI/CD | |
| 106 | | #opensource | 40K+ | OSS projects | |
| 107 | | #productivity | 40K+ | Dev tools, workflows | |
| 108 | |
| 109 | **Rules**: |
| 110 | - Maximum 4 tags per post |
| 111 | - First tag is primary (appears in URL) |
| 112 | - Check tag follower count before using |
| 113 | |
| 114 | ### What Performs on Dev.to |
| 115 | |
| 116 | | Content type | Performance | Notes | |
| 117 | |--------------|-------------|-------| |
| 118 | | Beginner tutorials | High | Largest audience segment | |
| 119 | | Listicles ("10 tools...") | High | Easy to consume | |
| 120 | | Career advice | High | Aspirational content | |
| 121 | | Hot takes | Medium-high | Controversial drives engagement | |
| 122 | | Deep technical | Medium | Niche but engaged audience | |
| 123 | | Project showcases | Medium | Best with story behind it | |
| 124 | | News/updates | Low | Competes with official sources | |
| 125 | |
| 126 | ### Dev.to Engagement Features |
| 127 | |
| 128 | | Feature | How to use | |
| 129 | |---------|------------| |
| 130 | | **Reactions** | Heart, unicorn, saved, fire — different meanings | |
| 131 | | **Comments** | Reply to every comment for algorithm boost | |
| 132 | | **Series** | Group related posts, drives binge reading | |
| 133 | | **Discussion** | Tag #discuss for opinion/question posts | |
| 134 | | **Listings** | Post jobs, events, products | |
| 135 | |
| 136 | --- |
| 137 | |
| 138 | ## Hashnode Optimization |
| 139 | |
| 140 | ### Article Settings |
| 141 | |
| 142 | | Setting | Recommendation | |
| 143 | |---------|----------------| |
| 144 | | **Subtitle** | Use for SEO keywords | |
| 145 | | **Cover image** | 1600x840 optimal size | |
| 146 | | **SEO title** | Can differ from article title | |
| 147 | | **SEO description** | 155 characters max | |
| 148 | | **Canonical URL** | Your original if cross-posting | |
| 149 | | **Enable table of contents** | Y |