JSConf JP

A One-Person Frontend: Keeping Code Quality in the Age of Agent-Written Code

Sponsor sessionTrack CJapanese

高橋 陽星

At NCDC, where client work is normally the focus, I launched a new product’s web frontend alone, from scratch. In this session, I’ll discuss the technical evolution from that launch to the present and the approaches we use to assure quality.

Today, AI Agents write all of this frontend’s code. Naturally, we have to address the challenge of ensuring the quality of code written by agents. Agents forget instructions, mute lint errors with disable comments, and use APIs that should not be used despite their existence.

In this session, using the actual pull requests of the first product, for which we spent a year growing safeguards, and the second product, launched using those insights, we’ll introduce our approaches and the pitfalls we encountered.

  • Rules to be read and lint that cannot be escaped
  • Turning lint messages into prompts
  • Having agents verify visual differences themselves
  • Leaving error logs with the expectation that agents will read them