agentleFS
jonathimerjonathimer/devmarketing-skills/skills/devrel-content/SKILL.md

devrel-content

Skill87 starsChanged 9 months agoMITView on GitHub

When the user wants to create technical content for developers including blog posts, tutorials, and documentation. Trigger phrases include "write a blog post," "technical article," "developer content," "tutorial," "devrel content," "dev blog," "technical writing," or "content for developers.

  • Reads credentials
  • Installs packages

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Load your audience context first: Read .agents/developer-audience-context.md to understand:

    line 16
  2. Very specific:

    If the context file doesn't exist, run the developer-audience-context skill first.

    line 23
  3. Distinctive:

    Before writing anything, validate the topic is worth writing about.

    line 31
  4. Distinctive:

    Use this outline template:

    line 63
  5. Distinctive:

    Every code example must:

    line 110
  6. Distinctive:

    Run through before publishing:

    line 186
  7. Distinctive:

    Search/social → Blog post

    line 386

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

DevRel Content

This skill helps you create technical content that developers actually read: blog posts, tutorials, documentation, and thought leadership pieces that build trust and drive adoption.


Before You Start

Load your audience context first. Read .agents/developer-audience-context.md to understand:

  • Who you're writing for (role, seniority, tech stack)
  • Their pain points (what problems resonate)
  • Verbatim language (how they describe things)
  • Voice & tone (how formal/technical to be)

If the context file doesn't exist, run the developer-audience-context skill first.


The DevRel Content Framework

Phase 1: Research & Validation

Before writing anything, validate the topic is worth writing about.

Research TypeWhat to Do
Search intentGoogle your topic. What already ranks? What's missing?
Community signalsSearch Reddit, HN, Stack Overflow. Are developers asking about this?
Competitor gapsWhat have competitors written? What haven't they covered?
Internal dataSupport tickets, Discord questions, GitHub issues about this topic
Keyword researchUse Ahrefs/SEMrush for search volume on technical terms

Red flags — Don't write if:

  • You're the only one who cares about this topic
  • 10 identical articles already exist
  • The topic is too broad ("Introduction to JavaScript")
  • The topic is too narrow (no search volume, no community interest)

Phase 2: Content Type Selection

Choose the right format for your goal:

Content TypeBest ForStructure
TutorialTeaching a specific skillStep-by-step, code-heavy
GuideCovering a topic comprehensivelySections, reference material
ComparisonHelping with decisionsTable-based, pros/cons
AnnouncementLaunching features/productsNews lead, what/why/how
Thought leadershipBuilding authorityOpinion, predictions, takes
Case studySocial proofProblem → Solution → Results
TroubleshootingSolving specific errorsError → Cause → Fix

Phase 3: Outline Structure

Use this outline template:

# [Title that promises specific value]

## Hook (2-3 sentences)
- State the problem or opportunity
- Establish credibility ("We migrated 10,000 repos...")
- Promise what the reader will learn

## Context (optional)
- Brief background if needed
- Link to prerequisites

## The Meat
### Section 1: [First major concept]
- Explanation
- Code example
- Common pitfall

### Section 2: [Second major concept]
- Explanation
- Code example
- Real-world application

### Section 3: [Third major concept]
- Explanation
- Code example
- Advanced tip

## Putting It Together
- Complete example
- Working code

## What's Next
- Links to deeper content
- Call to action (try the product, join Discord, etc.)

Writing Code Examples

Code is the content. Get it right.

The Copy-Paste Test

Every code example must:

RequirementWhy It Matters
Run without modificationDevelopers will copy-paste. If it fails, you lose trust.
Include importsDon't assume they know which libraries to import.
Show outputWhat should they see when it works?
Handle errorsReal code has error handling. Show it.
Use real valuesNo foo, bar, example.com unless necessary.

Code Example Structure

First, install the dependencies:

\`\`\`bash
npm install your-library axios
\`\`\`

Now create a file called `fetch-data.js`:

\`\`\`javascript
// fetch-data.js
import { Client } from 'your-library';
import axios from 'axios';

const client = new Client({
  apiKey: process.env.YOUR_API_KEY // Use environment variables
});

async function fetchUserData(userId) {
  try {
    const user = await client.users.get(userId);
    console.log(`Fetched user: ${user.name}`);
    return user;
  } catch (error) {
    console.error(`Failed to fetch user: ${error.message}`);
    throw error;
  }
}

// Example usage
fetchUserData('user_123')
  .then(user => console.log(user))
  .catch(err => process.exit(1));
\`\`\`

Run it:

\`\`\`bash
YOUR_API_KEY=sk_test_xxx node fetch-data.js
\`\`\`

Expected output:

\`\`\`
Fetched user: Jane Developer
{ id: 'user_123', name: 'Jane Developer', email: 'jane@example.dev' }
\`\`\`

Language-Specific Conventions

LanguageCode BlockPackage InstallEnv Vars
JavaScript/Nodejavascript or jsnpm installprocess.env.VAR
TypeScripttypescript or tsnpm installprocess.env.VAR
Pythonpython or pypip installos.environ['VAR']
Gogogo getos.Getenv("VAR")
Rustrustcargo addstd::env::var("VAR")
Shellbash or shellN/A$VAR

Technical Accuracy Checklist

Run through before publishing:

CheckHow to Verify
Code runsCopy-paste every snippet and run it
Versions matchAre you using the current library version?
Links workClick every link
Commands workRun every CLI command
Screenshots currentDo UI screenshots match the current product?
No deprecated APIsCheck if any APIs used are deprecated
Security reviewNo hardcoded secrets, SQL injection, etc.
Peer reviewHave an engineer read it for accuracy

SEO for Developer Content

Developers use Google differently than consumers.

Developer Search Patterns

PatternExample Searches
Error messages"TypeError: Cannot read property 'map' of undefined"
How to"how to deploy next.js to vercel"
Comparison"prisma vs typeorm 2024"
Best practices"typescript project structure best practices"
Alternatives"alternatives to firebase"
With"react with typescript tutorial"

Technical SEO Checklist

ElementBest Practice
TitleInclude primary keyword, framework names, year if relevant
Meta description150 chars, include keyword, promise specific outcome
H1Match or closely match title
H2sInclude secondary keywords, make scannable
Code blocksUse proper syntax highlighting (helps featured snippets)
Internal linksLink to related docs, tutorials, API reference
External linksLink to official docs of tools mentioned
URL slugLowercase, hyphens, include keyword

Example Optimized Title

BadGood
"Using Our API""How to Authenticate with the YourProduct API (Node.js)"
"Database Guide""PostgreSQL Connection Pooling: Complete Guide with pgBouncer"
"Getting Started""Getting Started with YourProduct: Your First API Call in 5 Minutes"

Content Quality Signals

What separates great devrel content from mediocre:

Do This

  • Show, don't tell — Code over prose
  • Address the "why" — Not just how to do it, but when and why
  • Acknowledge tradeoffs — Nothing is perfect; developers respect honesty
  • Link to sources — Official docs, RFCs, related articles
  • Include dates — "Updated March 2024" or version numbers
  • Progressive disclosure — Start simple, add complexity
  • Real examples — Production scenarios, not just hello world

Don't Do This

  • Wall of text — Break up with code, headers, bullets
  • Marketing speak — "Best-in-class," "seamless," "revolutionary"
  • Assuming knowledge — Define acronyms, link to prerequisites
  • Outdated content — Nothing worse than a 2019 tutorial with deprecated APIs
  • Buried lede — Put the answer first, explanation second
  • No code — Developers came for code, not prose

Content Templates

Blog Post Template

# [Specific, keyword-rich title]

[2-3 sentence hook: problem + promise]

## The Problem

[1 paragraph explaining the pain point]

## The Solution

[Brief explanation of your approach]

### Step 1: [Action]

[Explanation]

\`\`\`language
// Code
\`\`\`

### Step 2: [Action]

[Explanation]

\`\`\`language
// Code
\`\`\`

### Step 3: [Action]

[Explanation]

\`\`\`language
// Code
\`\`\`

## Complete Example

\`\`\`language
// Full working code
\`\`\`

## Troubleshooting

### [Common Error 1]
[Solution]

### [Common Error 2]
[Solution]

## What's Next

- [Link to deeper dive]
- [Link to related tutorial]
- [CTA: Try it yourself]

Comparison Post Template

# [Tool A] vs [Tool B]: [Specific Use Case] ([Year])

[1 paragraph: Who this comparison is for and what you'll learn]

## Quick Comparison

| Feature | Tool A | Tool B |
|---------|--------|--------|
| [Feature 1] | | |
| [Feature 2] | | |
| [Feature 3] | | |

## When to Choose [Tool A]

- [Scenario 1]
- [Scenario 2]
- [Scenario 3]

## When to Choose [Tool B]

- [Scenario 1]
- [Scenario 2]
- [Scenario 3]

## Deep Dive: [Specific Aspect]

### Tool A Approach
[Explanation + code]

### Tool B Approach
[Explanation + code]

## Our Recommendation

[Specific guidance based on use case]

Measuring Content Success

Metrics to Track

MetricWhat It Tells You
Page viewsReach (but vanity without context)
Time on pageEngagement (are they reading?)
Scroll depthDid they read to the end?
Bounce rateDid they find what they needed?
Search rankingsSEO performance
BacklinksAuthority and reference value
Social sharesResonance (especially HN, Twitter, Reddit)
Conversion eventsSign-ups, installs, docs clicks

Content → Conversion Path

Track the journey:

  1. Search/social → Blog post
  2. Blog post → Docs / quickstart
  3. Docs → Sign up / install
  4. Sign up → Activation (first success)

Tools

ToolUse Case
OctolensMonitor where your content gets shared (HN, Reddit, Twitter). Track competitor content performance. Find content ideas from developer conversations.
Grammarly / HemingwayReadability and grammar checking
Carbon / Ray.soBeautiful code screenshots
ExcalidrawTechnical diagrams
LoomQuick video walkthroughs
Ahrefs / SEMrushKeyword research and SEO tracking
Google Search ConsoleTrack search performance

Related Skills

  • developer-audience-context — Foundation for knowing your readers
  • technical-tutorials — Deep dive into step-by-step content
  • developer-newsletter — Distributing content via email
  • developer-seo — Technical SEO optimization
  • hacker-news-strategy — Sharing content on HN effectively

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.