360 Secure SkillHub
360 安全技能中心

Dev.to Surfer

该 Skill 通过公开接口访问 Dev.to,提供获取最新文章、热门文章、按标签搜索、查看文章详情和指定用户文章的能力;示例以 curl 配合 jq 实现,需网络连接,声明无需安装与 API Key。仓库含 SKILL.md、USAGE.md、一个 Shell 脚本与 package.json。

zhaog100
zhaog100
热度 38.54
最近更新 2026-03-11 14:06:49
分类:搜索依赖:第三方 API / 代码执行应用场景:研究 / 推荐

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add devto-surfer
Metadata
name
devto-surfer
description
Surf Dev.to for AI tutorials and tech articles. Get latest articles, search by tags, and analyze trending topics.

Dev.to Surfer

Dev.to 冲浪技能,获取 AI 教程和技术文章。

Features

  • ✅ Latest Articles - Get newest posts
  • ✅ Top Articles - Get most popular posts
  • ✅ Tag Search - Search by tags (AI, machinelearning, python)
  • ✅ Article Details - Get full article content
  • ✅ User Articles - Get posts by specific user

API

Base URL: https://dev.to/api/

Endpoints:

  • /articles - Get articles
  • /articles?tag=ai - Get articles by tag
  • /articles/{id} - Get article details
  • /articles?username=username - Get user articles

Usage

Get Latest Articles

# Get latest 10 articles
curl -s "https://dev.to/api/articles?per_page=10" | jq '.[] | {
  title: .title,
  url: .url,
  user: .user.username,
  reactions: .positive_reactions_count,
  comments: .comments_count
}'

Search AI Articles

# Get AI-tagged articles
curl -s "https://dev.to/api/articles?tag=ai&per_page=10" | jq '.[] | {
  title: .title,
  url: .url,
  user: .user.username,
  reactions: .positive_reactions_count
}'

Quick Test

# Test API connection
curl -s "https://dev.to/api/articles?per_page=1" | jq '.[0].title'

Examples

See USAGE.md for detailed examples:

  • Get top AI tutorials
  • Search by multiple tags
  • Get article details
  • Analyze trending topics

Installation

✅ No installation required - uses public API

Rate Limit

  • 1000 requests/10 minutes (per IP)
  • Be respectful

Cost

  • ✅ Free - No API key required