Modules and blocks
The sidebar lists modules. Each module is built on a block, the reusable screen underneath it. Knowing the difference is what lets you add your own modules: most new modules are a new use of a block you already have, so they need no new code.
The words
Blocks are named for their shape, modules for their purpose, so the two never share a name.
The blocks and the modules on them
The kit has five modules: About, Goals, Tasks, People and Wiki. A new app gets all five unless you pick fewer on Create. About is always in. A module you left out can be added back later, and one you no longer want can be taken out: ask Claude, and it runs the starta command. There are no templates per job: beyond these five, the modules you add are the ones you build yourself, such as Accounts.
Why Tasks and People share a block
Tasks and People look different, but they are the same block, datatable, used twice:
- Tasks uses the task view: a checklist you tick off, with due dates and the person each task is waiting on.
- People uses the table view: a table of names, roles and organisations.
Each has its own name, its own columns and its own data file. The screen code is shared. That is the point of showing them side by side: once you see that Tasks and People are one block, a third module on the same block, such as Accounts, is an obvious next step.
The module file
Each module is one small file in app/src/modules/. Here is People's, without its field list:
{
"id": "people",
"title": "People",
"block": "datatable",
"view": "table",
"icon": "users",
"file": "people.json",
"order": 20,
"purpose": "Who you work with, and what to know about each of them.",
"fields": []
}
The sidebar comes from the module files
The app finds its modules by reading the folder of module files, and builds three things from them: the sidebar, each module's page, and each module's page in Settings. So:
- Add a module file and a new item appears in the sidebar, with its page and its Settings page.
- Change
titleororderand the sidebar changes. - Delete the module file and the module disappears. Its data file stays in
app/data/until you decide otherwise.
The kit's modules sit in this order: Tasks 10, People 20, Goals 35, Wiki 60, About 70. About is always last.
A module's Settings page is read-only. It shows the module's name, block, view, data file and fields. To change any of them, ask Claude.
Worked example: Accounts
Sam wants a list of the customer accounts they look after. They ask Claude:
"Build an Accounts module on the datatable block, as a table. Columns: name, plan, renewal date, health, main contact, and a notes tab."
Claude writes two files and no code:
Claude opens the new module to check it. Accounts now sits in the sidebar, with its own page and its own Settings page. The datatable block is the same one Tasks and People use.
A module that needs a screen no block offers, such as a board, means changing a block or building a new one. That is a bigger step, covered in Changing a block.