# Stackoverflow

> StackOverflow

- Skill: `spike-faye-lei/stackoverflow` (Agent Skill, multi-file: 11 files)
- Install (CLI): `npx skillmds@latest add spike-faye-lei/stackoverflow`
- Raw SKILL.md: https://api.skillmd.com/api/skills/spike-faye-lei/stackoverflow/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: spike-faye-lei (https://skillmd.com/u/spike-faye-lei)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/spike-faye-lei/stackoverflow

---

# 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

```bash
# 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"}'
```

