imoonkey

StackOverflow

```

imoonkey 56 3 Updated 4mo ago

Resources

6
GitHub

Install

npx skillscat add imoonkey/openweb/src-sites-stackoverflow

Install via the SkillsCat registry.

SKILL.md

StackOverflow

Overview

Developer Q&A platform. Public REST API (Stack Exchange API v2.3) for searching questions, reading answers, browsing user profiles, and exploring tags.

Workflows

Find answers to a programming question

  1. searchQuestions(q, site)question_id, title, score, owner.user_id
  2. getQuestion(id, site)body, tags, answer_count
  3. getAnswers(id, site)body, score, is_accepted

Research a user's expertise

  1. searchQuestions(q, site)owner.user_id from any result
  2. getUser(id=owner.user_id, site)reputation, badge_counts, display_name

Explore a technology's ecosystem

  1. searchTags(inname, site)name, count
  2. searchQuestions(q, tagged=name, site)question_id, title, score

Operations

Operation Intent Key Input Key Output Notes
searchQuestions find questions by keyword q, site question_id, title, score, answer_count, tags, owner.user_id entry point, supports tag filtering
getQuestion question details with body id ← searchQuestions, site title, body, score, tags, answer_count use filter=withbody for body HTML
getAnswers answers for a question id ← searchQuestions, site body, score, is_accepted, owner.user_id sorted by votes, use filter=withbody
getUser user profile id ← owner.user_id, site reputation, badge_counts, display_name from question/answer owner
searchTags browse/search tags inname, site name, count entry point, sorted by popularity

Quick Start

# Search for questions
openweb stackoverflow exec searchQuestions '{"q": "async await javascript", "site": "stackoverflow"}'

# Get question details
openweb stackoverflow exec getQuestion '{"id": 11227809, "site": "stackoverflow"}'

# Get answers for a question
openweb stackoverflow exec getAnswers '{"id": 11227809, "site": "stackoverflow"}'

# Get user profile
openweb stackoverflow exec getUser '{"id": 22656, "site": "stackoverflow"}'

# Search tags
openweb stackoverflow exec searchTags '{"inname": "javascript", "site": "stackoverflow"}'

Categories