IAmUnbounded/devctx — reverse-engineered prompt
Reverse engineered prompt
Build me a TypeScript command line tool called DevContext that helps people keep AI coding context between sessions, editors, branches, and teammates.
I want to be able to run commands like init, save, resume, log, diff, handoff, share, watch, hook install, config set, and config list. The main flow should be simple, initialize a repo, save what I was working on with prompts for task, goal, approaches, decisions, and next steps, then later run resume to copy a clean prompt to my clipboard so I can paste it into Cursor, Claude Code, Windsurf, or ChatGPT.
Store everything locally in a .devctx folder inside the repo, scoped to the current git branch. Include non AI features that work without any API key, plus optional AI commands for summarize, suggest, and compress using an API key from config or an environment variable. Also add an MCP server mode exposing save, resume, and log so compatible coding agents can use it directly.
Make it polished enough to publish as an npm CLI, with helpful terminal output and clear errors.
Want more depth? Deep Reverse