Cookbook
The cookbook is where qp gets practical: complete patterns you can adapt directly to real repositories.
How To Use This Section
- Pick the recipe closest to your repo shape.
- Copy the
qp.yamlfragment. - Rename tasks/scopes to your domain language.
- Run
qp validate --suggest, then run the recipe command.
Every recipe favors:
- realistic defaults over toy examples
- explicit safety and scope boundaries
- outputs that work for both humans and automation
Recipe Catalog
- CI Guard Pipeline: one command for deterministic CI verification
- Monorepo Scoped Checks: target checks by subsystem
- Release Flow: profile-aware release with retries and safety gating
- Python Project Setup: pytest/ruff/black style quality gate
- Rust Workspace Setup: fmt/clippy/test/build workspace flow
- Java + Gradle Setup: wrapper-based build and test pipeline
- Agent Workflow: plan/brief/repair loop for agent collaboration
- Migration from Make: gradual transition without disruption
- Migration from just: keep recipe ergonomics while adding structure
- Docker Compose Integration: local stack lifecycle with cleanup
- Multi-file Config with Includes: split large configs safely
Choosing The Right Recipe
| If your team needs… | Start with… |
|---|---|
| Stable CI entrypoint | ci-guard |
| Fast checks in large repos | monorepo |
| Safer release automation | release-flow |
| Language-first onboarding | python-project, rust-workspace, java-gradle |
| Agent-ready handoffs | agent-workflow |
| Legacy task migration | migration-from-make, migration-from-just |
Make Recipes Your Own
The best recipe customizations are:
- add
scope:to critical tasks - add
safety:labels to side-effecting tasks - wrap validation in guards for CI reuse
- add
--json/--eventswhere tooling consumes results