bluesky-social/atproto — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a TypeScript reference implementation for the AT Protocol, basically the backend technology behind Bluesky. I don’t need the mobile or web social app, I need the reusable protocol pieces and services that developers can build on.

It should include client helpers for talking to AT Protocol APIs, shared utilities, identity and handle resolution, signing and key handling, lexicon schema support, repo storage, and HTTP helpers for both clients and servers. Also include the Bluesky style backend services, a Personal Data Server for account repo content and an AppView service for the app.bsky APIs.

Please set it up as a pnpm workspace using Node.js 22, with clear make commands to install dependencies, build everything, run tests, and start a local dev environment with fake accounts and data. Keep the canonical lexicon JSON files in the repo and include interoperability test files for other implementations. Look up the current AT Protocol docs online if you need to.

Want more depth? Deep Reverse