Cookbook: Migration from just
This recipe helps teams migrate from just while preserving ergonomics and gradually adding richer metadata.
Strategy
- Keep existing just recipes initially.
- Map important recipes to
qptasks. - Add params/scopes/safety gradually.
- Move CI and agent flows to
qponce stable.
Step 1: Wrap Existing just Recipes
tasks:
lint:
desc: Run just lint
cmd: just lint
test:
desc: Run just test
cmd: just test
build:
desc: Run just build
cmd: just build
check:
desc: Validation gate
steps: [lint, test]Step 3: Add Safety + Agent Visibility
tasks:
release:
desc: Trigger release workflow
cmd: just release
safety: external
agent: falseThis keeps autonomous runs safe while preserving human workflows.
Step 4: Introduce Guards and Structured Output
guards:
ci:
steps: [check, build]
tasks:
ci:
desc: CI entrypoint
cmd: qp guard ci --jsonUse in CI:
qp ciHelpful Compatibility Aliases
aliases:
t: test
l: lint
c: checkThis softens transition for developers used to short just invocations.
Why Teams Usually Like This Migration
- Keep familiar command behavior early.
- Gain explicit interfaces and validation over time.
- Add machine-readable outputs and agent-ready workflows without a big-bang rewrite.