dif.sh update: the agent layer, explained properly this time
We launched dif on Sep 5 and the most-asked question in the comments was some version of “what does the agent part actually do?” So here is a bit more context:
dif init writes a managed block into AGENTS.md, CLAUDE.md, and .cursorrules. The block tells the agent where flag files live, the frontmatter schema, the dif("flag-id") call at the render site, and to run dif validate before opening a PR. It also installs three Claude Code skills into .claude/skills/: one proposes the surfaces in your app, one drafts a flag or test, one concludes it and writes the learning back to the repo.
Every dif build refreshes dif/context.json, so the next session starts knowing what is live and what already got killed.
Pick what you want with --agents claude, --agents cursor, --agents general, or --agents none.
npm install -g @dif.sh/cli
dif init

Replies