Contributing workflows
June 22, 2026 ยท View on GitHub
Thanks for helping improve the Atomic Workflows Registry. Community submissions are welcome when they provide reusable, well-documented workflow recipes for developer jobs.
What makes a good registry workflow
A good contribution should:
- Explain the value. Start with the developer job the workflow solves, why it should be a workflow instead of a one-off prompt, and where the workflow creates leverage.
- Be explicit about posture. State whether the workflow is read-only, report-only, approval-gated, or code-changing through another workflow such as Ralph.
- Design for clarity and token usage. Prefer focused stages, compact handoffs, saved artifacts, and concise final metadata over large inline transcripts.
- Document inputs and outputs. Include command examples, required inputs, generated files, artifact folders, status values, and any safety or failure behavior.
- Make it a useful template. Keep the TypeScript readable enough that another developer can copy it, trim it, extend it, or optimize it for their own team.
Workflow directory shape
Recommended structure:
workflows/<workflow-name>/
index.ts # workflow({ ... }) entrypoint discovered by the package manifest
README.md # user-facing usage, posture, inputs, stages, and outputs
helpers.ts # optional workflow-local helpers
Keep helper code workflow-local unless there is a strong reason to share it. Workflow-specific tests should live next to the workflow helpers they cover.
Adding a workflow
When adding a workflow:
- Create
workflows/<workflow-name>/index.ts. - Add a
workflows/<workflow-name>/README.mdwith usage, posture, inputs, execution stages, outputs, and artifact behavior. - Update
workflows/README.mdso the workflow appears in the registry index. - Add or update tests when helper logic is introduced or changed.
- Run the test suite before submitting:
bun test
The package manifest discovers ./workflows/*/index.ts, so new workflow folders become installable through the same registry install command.
Useful authoring references
- Atomic: https://github.com/flora131/atomic
- Docs: https://docs.bastani.ai/
- Workflow package setup: https://docs.bastani.ai/workflows#package-setup