Design or revise a Marin experiment pipeline that binds reusable work into an artifact graph. Use for new workflow entrypoints, stage wiring, and pipeline placement decisions; use a narrower domain skill when it owns the launch.
Resources
1Install
npx skillscat add marin-community/marin/write-pipeline Install via the SkillsCat registry.
Write a Marin pipeline
Keep the boundary between work and workflow explicit:
lib/**owns concrete implementations intended for reuse: functions, configurations, and produced data types. New library code must not compose a pipeline, construct anArtifactSteporStepSpec, or reference a particular artifact handle, name, version, or output. The execution framework'sArtifactandArtifactStepdefinitions are infrastructure, not a model for new library workflow builders.experiments/**owns artifact graph construction and one-off binding code: choosing inputs, names, versions, dependencies, resources, and which reusable functions to run. Keep a transformation here only when it is specific to that experiment. Move work intended for reuse into a concretelib/**implementation, then bind it inexperiments/**.- Put experiment-specific tests beside their experiment, including tests of its graph and one-off transformations; do not put them in root
tests/**orlib/**. Keep tests of reusable library behavior in the library's normal test location. Follow rootTESTING.mdand the relevant module instructions.
Inspect nearby current pipelines before editing. Read layout and examples for placement decisions and artifact binding when working with ArtifactStep, apply, paths, or caching. Existing library builders that return steps are exceptions, not precedent for adding more pipeline composition to lib/**.
For a change, verify that the experiment builds the intended dependencies and that reusable work can run without importing experiments/**. Dry-run the graph where the entrypoint supports it; run focused behavior tests without submitting a live job unless requested. Update user-facing docs when the workflow or API changes. Use the manage-pr skill if asked to publish the result.