Codex JournalOS Module Writer for Models, Views, and API Tests
Add a focused journal-entry module with coordinated model, actions, views, API resources, translation, and tests.
中文Install in Codex
Codex with a JournalOS checkout, PHP and Composer dependencies, and an isolated development database and fixtures.
- Copy the entire pinned `.codex/skills/module-writer/` directory to `.agents/skills/module-writer/` in the target checkout.
- Open Codex in that checkout and invoke `$module-writer` with the example task and desired output.
Example task
Invoke `$module-writer` to plan a synthetic reading flag in a practice branch. Check whether the edit view and API return the same saved value.What to check
The module has clear validation and consistent web and API behavior. Tests cover saving, reading back, and an invalid input.
Original SKILL.md on GitHub · Updated
Frequently asked question
Can the web and API reuse an action?
The upstream flow shares log and reset actions, then formats output through the appropriate interface.