I'm always excited to take on new projects and collaborate with innovative minds.

Email

joshuerubio@gmail.com

Social

View on GitHub

Early scaffold · in use since October 2026

Pressroom - Press Release Automation

A journalist sends material to local media all the time. Pressroom lets Claude draft the Dutch press release from a dump of photos and notes, prepare the emails and messages, and remember who was told what.

Role

Design & Development

Stack

TypeScript, Zod, Vitest

Type

Automation for Claude Code

Data

Markdown + YAML, in git
A Pressroom press release as a markdown file
1. Overview

Built for one journalist, in her language. Carmen Zambrano writes and sends press material in Rotterdam, in Dutch, for outlets that each have their own style. Doing it by hand means rewriting the same structure, hunting for the last email thread and trying to remember who already got the flyer.

Pressroom is the memory and the rules around that work. Claude Code does the drafting, the repository holds what it needs to draft well, and nothing is sent without a yes in the chat. It is the first piece of a small ecosystem with The New Paper and her portfolio.

Pressroom, The New Paper and the portfolio
Pressroom drafts, the newspaper publishes, the portfolio shows

Its first real release, about an exhibition in Rotterdam, became an article in the newspaper.

⚠️ The Problem

Every release needs the right tone for the outlet, the right facts from a flyer, the right photos with the right credit, and a record of who was contacted and what they said. That context lives in a head, an inbox and a WhatsApp history, and a tool that forgets all of it has to be told everything again.

✓ The Solution

Make the memory a set of files. People, organizations, venues, subjects, releases and conversations are markdown with frontmatter. An AI with file access reads them, drafts from them and writes back to them, and the whole history is versioned in git.

2. The Data Model

Eleven entities, each a markdown file with YAML frontmatter, referencing each other by id. They are validated with Zod every time they load, so a malformed file fails loudly instead of quietly drifting.

The Pressroom entity model
Who publishes, what it is about, and what happened
  • Subjects link the facts: An exhibition points to its organization, the people involved, the venue and its assets, so a release is built from linked records rather than retyped details.

  • Assets carry their rights: Every photo has a credit and a rights flag, and only assets marked as cleared are attached to anything.

  • A reference check: The store can list every broken reference. It has to come back empty before data is committed, and the tests check it.

3. The Workflow

A new release starts with a dump: photos, a flyer, a few notes. Claude creates or reuses the entities, reads the outlet profile, the template for the beat and two or three similar past releases, and drafts the text in Dutch with status draft. Anything the source does not say is marked [TE BEVESTIGEN] instead of being invented.

From a dump to a sent release
Drafting, approval and memory
pressroom · new release
you ›   new release: the Licht en Water opening, flyer in inbox/2026-11-03
     reading the outlet profile, the culture template and two similar releases
✓     subject, venue and organization created, 1 asset linked
agent › Draft saved as data/releases/2026-11-03-licht-en-water.md, in Dutch.
⚑     [TE BEVESTIGEN] ticket price and opening hours are not in the flyer
you ›   approved, prepare the email and the WhatsApp text
✓     email saved as a Gmail draft, WhatsApp text ready to copy, thread logged
Illustrative session with the fictional example from the repository: the steps and the rules are real, the exact wording is an example.
4. Style Profiles and Templates

Each outlet has a profile that describes how it writes: how a headline is built, how long an intro is, how quotes and sources are handled, what closes a piece. A beat, such as culture, has a template with the ten parts of a release, from headline to editor's note.

  • Derived, not copied: A profile is written from samples of the outlet's articles, and contains patterns only. No sentence from those articles is in the repository.

  • Partner outlets: The profile of a regional broadcaster points to the culture agenda it partners with, because a cultural release should follow that agenda's style.

  • Rules, not just tone: Press text is in Dutch, facts are never invented, and nothing is attached without cleared rights.

5. Memory

Every email and WhatsApp conversation is a thread with its communications, and anything pending is an action. The thread's status is never typed by hand. It is computed from what is on record, in a fixed order, so it cannot go stale.

How a thread's status is derived
Six statuses, checked in order
6. Publishing to the Website

One command turns an approved release into an article entry in the newspaper's content file, placed at the top of its list. The target repository comes from a gitignored environment file, so no local path is ever committed. Nothing is committed or pushed: the diff is reviewed and published from the website's own repository.

Publishing a release to the website
From a release to a reviewable diff
7. Public and Private

The repository is public because the system is worth sharing. A journalist's contacts are not. The code, schemas, profiles, templates and fictional examples are tracked, and everything real lives in folders that git ignores.

What is public and what is private
The system is open, the memory is local
8. Key Decisions
Instructions over code for the drafting

The drafting is not a pipeline. It is a short, strict set of instructions that Claude Code follows with the repository in reach. The code is only what must be exact: the schemas, the reference check, the status rule and the publishing step.

Markdown instead of a database

Files are readable by a person, diffable in git and directly usable by an AI. A database would hide the memory behind queries that nobody would open.

Derive state, store facts

Communications and actions are facts. A thread's status is a conclusion from those facts, so it is computed and never stored.

Approval is part of the system

Emails are saved as drafts, WhatsApp messages are text to copy, and a person says yes in the chat first. For a tool that writes in someone's name, the safest feature is the one that cannot send by itself.

9. Outcome

11

entity types

2

outlet profiles

6

derived thread statuses

0

real contacts in the public repo

BuiltNext
Entity models, store and reference checkA retrieval index over past releases
Thread status, derivedDeeper Gmail and Drive integration
Two outlet profiles and a culture templateMore beats beyond culture
Release to article conversionTemplates refined per outlet and type of subject
Key Takeaways
  • Memory is the product: The drafting is the visible part, but remembering who was told what is what saves the time.
  • A public repository forces good boundaries: Having to keep contacts out of it made the layout of the data cleaner.
  • Give the AI files, not a database: What a person can read and diff, an AI can use too.

Next steps: Index past releases for retrieval, connect Gmail and Drive more directly, and add beats beyond culture.