Back to browse
GitHub Repository

Auto-generate an OpenAPI 3.1 spec from the official Slack Node SDK via TypeScript AST analysis

4 starsJavaScript

Slack killed their OpenAPI spec, so we reverse engineered it

by jmclai·Apr 15, 2026·8 points·1 comment

AI Analysis

●●SolidBig BrainNiche Gem

AST parsing beats scraping when Slack kills their OpenAPI spec.

Strengths
  • ts-morph AST analysis extracts exact TypeScript generics from official SDK
  • Weekly GitHub Action keeps spec current without manual intervention
  • Handles intersections, unions, and literal enums that scrapers break on
Weaknesses
  • Niche audience—only matters if you're building Slack API integrations
  • No validation against actual Slack API responses, just type inference
Target Audience

Backend developers building Slack integrations

Similar To

Stoplight · Swagger Codegen

Similar Projects

Developer Tools●●Solid

SpecFact CLI – reverse engineer Python repos into enforceable specs

This repo actually wires the specfact CLI to a tiny, reproducible codebase so you can import-from-code, generate .specfact bundles, and run enforcement presets with one-liners. The backlog-sync adapter and a deliberately buggy sidecar demo make failure modes easy to exercise, and the README lists exact smoke commands and logs to verify results. Inferred specs will always risk false positives, but the project shows practical artifacts (change_tracking, results logs) rather than theory.

Niche GemSolve My Problem
noldai
113mo ago
Developer Tools●●Solid

Turn any OpenAPI spec into agent-callable skills

It extracts focused, executable operations from giant OpenAPI files (the GitHub REST YAML is shown) to shrink context and avoid sidecar adapter sprawl — a pragmatic answer to token bloat and brittle ad-hoc integrations. Useful and concrete: if it actually generates tidy, updateable skill units and runtime hooks it saves a lot of maintenance. That said, the idea competes with existing LangChain/openai-function patterns; the repo will need clear runtime, versioning, and update strategies to feel like more than a nicer converter.

Solve My ProblemNiche Gem
yz-yu
103mo ago
Developer Tools●●Solid

Retrospec: reverse-engineer a spec prompt for an AI agent from a commit

It doesn't guess diff hunks — it runs iterative Copilot-agent loops and ranks candidate prompts by technical similarity and a separate 'realism' score, with explicit rules (no code blocks, structured markdown sections) to keep outputs human-like. The alpha-weighted scoring, model override, and prebuilt binaries show this is more than an experiment: it's practical for mining realistic specs from history or auditing intent at scale.

Big BrainNiche Gem
igolaizola
103mo ago