Inspiration

Inspiration

Before you sign a lease, the city already has a file on the building: every violation and every complaint. It is public, but it sits in data portals that most renters never see. The same is true of restaurant inspections. I wanted those records readable by anyone, in plain words, on a phone.

What it does

Civic Data Kit is one open-source template that turns a city's public records into simple lookup apps. It ships with two apps built from the same skeleton:

  • Lease Check: type an address and see what is open and closed, how serious and how recent it is, what the city wrote, and questions to ask the landlord.
  • Inspection Finder: type a business name and see its latest inspection result, serious violations and full history.

Both work today for New York City, Chicago and Austin, reading seven city datasets live. Every record links to the official record. There is no sign-in, and no names of people. These are records, not verdicts.

How I built it

I built it with Kiro, spec first. The repo has nine specs (seven features and two bug fixes), each with requirements, a design and a task list. Fifteen steering files hold the standing rules, such as "never invent a column name" and "never show a person's name". Six hooks and four custom agents reviewed the work as it was made, and a Kiro log records 86 steps. I planned the product and its look with Claude and used it to review the live apps. Kiro did the building.

Each city is a folder with a small mapping file that translates its columns into one shared model, so adding a city needs no new app code.

Challenges

  • Every city publishes differently. New York rates violations A, B and C. Chicago and Austin do not rate them at all. The apps show each city's own label and never compare cities.
  • Privacy. A review agent noticed that one "zip code" column could hold an owner's mailing address, so the kit now blocks it.
  • Live data is slow and sometimes missing. The apps retry once, then fall back to a saved copy and say when it was saved.
  • Bugs found late. Two were fixed through bug-fix specs that start with a failing test.

What I learned

Specs make an agent's work checkable. Property-based tests caught cases my examples missed. A separate reviewer finds different problems than the builder does.

What's next

More cities, a nightly copy of the data for faster search, summaries with links to the records behind them, and Spanish.

What it does

How we built it

Challenges we ran into

Accomplishments that we're proud of

What we learned

What's next for Civic data kit

Built With

Share this project:

Updates

Submission history