Skip to content
Church Life CoLab — Equipping & Growing TogetherCHURCH LIFECoLabEQUIPPING & GROWING TOGETHER
Menu
Back to the Sermon Life Workspace

For whoever maintains a copy

How it's built

Starter kit version 8 (APP_VERSION = 8), November 2026. For the pastor who runs a copy, or for Claude when asked to change or repair it. You don't need any of this to use the app.

Where everything lives

PieceWhereNotes
The app (layout, styles, all code)Your Claude artifact (one HTML file, sermon-life-workspace.html)claude.ai keeps every published version; any version can be restored.
App data (plan, manuscripts, Voice Profile, settings, Library index, devotions, ceremonies…)The artifact's built-in databasePrivate to the owner. Backed up as JSON by Settings → Back up now; Restore puts a backup back.
Who you are and your setupsettings/app in the databaseCollected by the first-run setup screen; editable in Settings.
Files (Word, PDF, backups, draft copies)Your Google Drive, in the folders listed in Settings → Folders & calendar → Google DriveThe setup screen can create them in a "Sermon Life Workspace" folder.
Forms (optional)Your Jotform accountLinks in Settings → Teams & forms → Wedding and funeral forms.
Song history (optional)Your Planning Center Services accountRead-only. Used by Service production when it's turned on.
Website devotions (optional)Your Wix site, collections DevotionWeeks (+ DevotionWeeks__drafts) and DevotionDaysOff unless turned on in Settings → You & connections → Optional features.
Weekend pickup (optional)A scheduled Claude task you createRuns outside the app; the prompt is in the install guide.

Capabilities the app declares

  • db: the database; one rule, path "" with read admin and write admin (only the owner and editors).
  • sample: Claude inside the app (drafts, chat, research, lessons, devotions, ceremonies, Voice Profile, Service production).
  • user: who is viewing.
  • artifact: lets App updates publish a new kit version over the app (same link).
  • mcp: Google Calendar (create_event, update_event, delete_event); Google Drive (create_file, search_files, read_file_content, trash_file, download_file_content; trash_file only removes the app's own older draft copies; download_file_content reads backups and updates byte for byte); Gmail (create_draft; you send); host:claude_browser (navigate, get_page_text, find, computer; desktop app only, for Bible Gateway and YouTube captions); Wix (CallWixSiteAPI; only used when Website devotions is on); Jotform (list_submissions, analyze_submissions); Planning Center (services_service_types, services_plans, services_plan_items; read-only, only used when Service production is on).

External libraries loaded from cdnjs: JSZip 3.10.1 (Word files) and jsPDF 2.5.1 (PDFs). Fonts from Google Fonts.

Screens

Side panel (rounded buttons with icons; Shrink panel turns it into icons only): Home · Series & messages · Pipeline · Devotions · MDWK lessons · Calendar · More. Every screen has a How this works button (HELP, remembered per browser). Service production appears under Calendar when it's turned on. Settings has five tabs: You & connections, Appearance, Folders & calendar, Teams & forms, Backups & more. The sermon editor's side tabs are Changes, Chat, Comments, Versions and Tools (Research; Lesson & devotions; Export, with the Media team email). The editor header, Home's Coming up and the message panel show a "Ver MM.DD.YY.h.mm.AM" stamp: the manuscript's updatedAt, in the app's time zone. Sermon statuses are Planning, Writing, Final and Preached (stored as Outline, Drafting, Final in Word, Preached; older values fold in). The More page (viewOptions, OPTION_GROUPS) links to Library · Voice Profile · Service production (only when turned on) · Delivery · Public notes · Weddings · Funerals · Settings · User Guide, and those screens show a ← More link. The sermon editor opens from any message. A first-run setup screen replaces every screen until settings/app has setupDone = true (Settings → Run setup again reopens it). The side panel shows the version as vN.MM.DD.YY (APP_BUILD).

Database collections

CollectionWhat it holds
settings/appprofile {fullName, callName, firstName, church, city, tradition, guardrails, tr1, tr2, appLink}; features {wix, pickup, production}; drive {url (workspace folder), folders: [{name, use, url}]}; config (libSunday, libWednesday, calendarId, devotionBrief, wix…, weddingForm, funeralForm, weddingExamples, funeralExamples, pcoServiceTypeId, pcoYears, musicEmails, marketingEmails); calendar; media {email}; workout {mode, pdf}; drafts; pickup; backup; pco (song history status); production (Drive folders); voiceChat; setupDone
voiceSections, voiceVersionsVoice Profile sections (proposed, accepted, sent back, updates) and official versions
series, messages, slots, calendarTrashThe preaching plan, calendar notes, and events waiting to be removed from Google Calendar. series.outlineNotes holds the notes for Outline every week. messages.speaker.role is "pastor", "inhouse" or "guest".
manuscripts/{id} + proposals, comments, research, versionsSermon manuscripts and their proposed changes, comments, research and history; also scratch (scratch-pad notes) and outline {text, status "draft" or "approved", at, history}
researchResearch briefs started from Home: passage or topic, sections, status, and the message or series it's linked to (msgId, seriesId)
mdwkWednesday (midweek) lesson plans, with the overlap check against Sunday
workoutsDevotion weeks (the collection keeps its original name)
delivery, finalsNotes-vs-delivered reports; final copies imported by the weekend pickup
library, libtextLibrary index cards and full text of indexed sermons (libtext is rebuilt by re-indexing, so backups skip it)
publicNotesReader-friendly chapters
ceremoniesWeddings and funerals
sourcesUploaded source documents: owner ("series:<id>" or "msg:<id>"), name, text (up to 200,000 characters), words, driveId and url, at
production, productionSeries, pcoSongsService production: each week's themes, two song sets, AV notes, marketing, PDFs and email drafts; series-wide marketing; the song history read from Planning Center
driveDraftsOne row per item copied to Drafts: its last two Google Doc copies and a fingerprint
roadmaps/{seriesId}Series roadmap (version 8): per week {sig, source (outline, manuscript, final, library or none), bigIdea, tagline, sections [{kind opening|body|closing, name, refs, items [{t, refs}]}]}, plus verses {"Book c:v–v|TR": wording}. sig records the outline and manuscript it was built from, so only changed weeks are redone. Backed up.
rfc, silas/chatRFC change requests {kind, priority, title, body, where, status, at} and the Ask Silas conversation

Google Drive folders

Found by name in settings/app drive.folders: Sermons · Final · Pipeline · MDWK · Devotions PDF · Public Notes · Weddings · Funerals · App Backup · Drafts (the app adds Sermons, Series, Weddings and Funerals inside it) · Uploads (made the first time you upload a PDF or other non-Word file) · Service Production (made the first time you approve a week, with a subfolder per series or message) · plus the two Library import folders in config (libSunday, libWednesday). Renaming a folder in Drive is fine; the app stores links, not names.

How personal details reach Claude

Every prompt reads the profile through small helpers near the top of the script: pFull() (name in writing), pName() (what the app calls you), pFirst(), pChurch(), pPlace() (church and city), pTrad() (tradition), pGuard() (theology guardrails), tr1()/tr2()/trs() (translations), and isPastorName() (recognizes your sermons in the Library). Prompt rule blocks (PN_RULES, MDWK_RULES, FORMAT_RULES, CER_FORMAT, OUTLINE_RULES and the wedding and funeral rules) are functions, so they always use the current settings. Optional features are checked with feat("wix"), feat("pickup") and feat("production") (wixOn() and pickupOn() for the first two).

Built into the code (ask Claude in chat to change)

  • Word export template (embedded .docx: Aptos 18 pt, 1.5 spacing, half-inch margins, page numbers; body is empty and filled at export).
  • Writing rules and prompts: sermon drafts, editor chat, research brief, Wednesday lesson rules and overlap check, devotions, public notes, wedding and funeral rules, delivery reports, Voice Profile building, review and learning, Service production (PREP_RULES).
  • The built-in devotions brief (DEFAULT_BRIEF), used unless Settings has a brief Google Doc.
  • The outline rules (OUTLINE_RULES): sections, 2–4 sub-points each, scripture as references, [STORY: …] slots, big idea and tagline.
  • Topic list and Bible book list for the Library; the Voice Profile section list (VB_SECTIONS); the User Guide text (GUIDES, GUIDE_INSTALL).

Flows in brief

  • Setup: writes settings/app; Make my folders creates the workspace folder and any blank folders with Drive create_file.
  • Library: scans the two import folders (skipping drafts, slides and archives of working files), keeps one final version per sermon, then indexes each with Claude into library and libtext.
  • Outlines: an empty manuscript opens on the Scratch pad. Build the outline turns the notes plus the message and series context into an outline that can be revised, edited or rolled back. Approving it writes the first draft from it. On a series page, Outline every week does this for each week without an outline or manuscript (skipping guests preaching from their own notes).
  • Uploads: Word, text and Markdown files are read in the browser; PDFs and other formats are saved to the Uploads folder and read by Google Drive. Source documents on a series or message are added to the context of the series chat, the outlines, the first draft, editor chat and research (up to about 40,000 characters in total).
  • Voice Profile: built from the newest indexed sermons and any linked files; sections are reviewed, revised, then finalized as voiceVersions/vN. The review chat (Review my Voice Profile) proposes fixes from the pastor's feedback; delivery reports and imported finals propose updates later.
  • MDWK lessons: inventories what Sunday covered, plans how the lesson expands it, writes the lesson, then checks it for overlap with Sunday and fixes what repeats.
  • Service production (when turned on): reads song history from Planning Center (service types, plans and plan items), suggests two song sets per week avoiding recent songs, AV notes and marketing ideas, saves PDFs to the Service Production folder, adds links to the Sunday calendar event and drafts the team emails in Gmail.
  • Time zone: settings/app timeZone (an IANA name, set in Settings → You & connections; the device's zone until saved). Every displayed date and time, and "today", use it.
  • Calendar sync: runs on its own about 90 seconds after a change while the app is open (Sync status turns this off), or on Sync to Google Calendar. All-day events for each future Sunday and Wednesday lesson and Sunday notes, on the calendar in config.calendarId ("primary" by default), with 1-day and 1-hour reminders and no guest notifications.
  • Devotions: built from the final copy (Final folder), else the app manuscript, else the Library copy. Approve marks it approved; with Website devotions on and Website mode Live, Approve saves a hidden Wix draft, writes five day rows, publishes, and checks it went live.
  • Backups: Back up now writes app-code.html (the page as loaded), README.txt and one JSON file per collection to a dated folder in App Backup. Every file is kept under 500,000 characters as sent (Google Drive's connector refuses larger ones): big collections are split into parts, and a single item too big for one file is saved as numbered big-<collection>-<id>-NNN.txt pieces that Restore joins.
  • Restore: lists the dated folders in App Backup, backs up first, reads each data-*.json with Drive download_file_content, then replaces each collection in the backup (deleting documents not in it); manuscripts come back with their sub-collections. The app's code isn't touched.
  • App updates: reads sermon-life-kit-latest.json from the shared Sermon Life folder (version, file id, bytes, SHA-256, notes). Update backs up, downloads the new kit with download_file_content, checks its size and fingerprint, and publishes it over the app with the artifact capability, so the link and all data stay.
  • Research: Home's Research runs a brief (Bible Gateway in the desktop app, plus a Library check) into the research collection; Start a sermon makes a Pipeline message with the research attached, Start a series opens New series filled in from it.
  • Drafts: every five minutes while the app is open, changed items are copied to Drafts as Google Docs; the two newest copies are kept, older ones go to Drive's trash.
  • Series roadmap: opens over the app (#roadmap). Each week reads its outline (parsed in the page, no Claude), else its manuscript, final or Library copy (Claude boils it down once, quoting verses only from the sermon), else just its title and text. Missing verse wording is read from Bible Gateway in the desktop app; a reference with no wording links to Bible Gateway. Saved in roadmaps; opening it redoes only changed weeks, and Refresh roadmap redoes all.
  • Appearance: settings/app appearance {mode: system|light|dark, color: preset name or #hex}, also kept in the browser so it shows at once. Dark/light sets data-theme on the page; a color other than the default adds one style block with the accent shades worked out from it.
  • Push as Final: builds the .docx from the editor, saves it to the Final folder (Settings → Folders), sets message.final, and records the sentences that changed since the last Word export (finals) for the Voice Profile and devotions.
  • User Guide: the guides' text is built in; screenshots and videos are linked from the shared Sermon Life folder on Google Drive.

How to recover

  1. The app broke after a change: restore an earlier version from the app's version history on claude.ai, or ask Claude to republish one.
  2. Data went wrong: Settings → Backups & more → Choose a backup to restore.
  3. The app is lost: attach app-code.html from the newest App Backup folder in a new session and ask Claude to publish it with the capabilities above; then ask Claude to load the data-*.json files into the new app's database (each file is a list of {id, data}; data-manuscripts items carry sub-collections in "sub").
  4. A connector stopped working: Settings → You & connections → Connections → Reconnect, then Check again.
  5. A folder or link moved: Settings → Google Drive or the matching section; paste the new link and Save.
  6. The app is unavailable and you need a sermon or ceremony: open Drafts in Google Drive; the newest copy has the latest date and time in its name.

Read the install guide · Back to the Sermon Life Workspace