Create the files of a new AutoMovie installation as a { posixPath: content } map.
The map joins scaffold layers with generated files, by kind:
production: the instructions and production layers, pnpm-workspace.yaml with catalogs and no packages, and evidence.config.ts reading the production's own .agents/skills.
workspace: the instructions and workspace layers, and pnpm-workspace.yaml listing movies/shorts/*, movies/series/* and packages/* with the same catalogs.
workspace-production: the production layer, and evidence.config.ts reading the workspace root's ../../../.agents/skills.
A $<name> placeholder under a layer's .agents/skills is replaced by the repository skill item the build copied to generated/skills. A layer's root _gitignore becomes .gitignore, because npm pack renames a packed .gitignore. {{name}} becomes the admitted name and {{skills}} the path of the skills the production reads. Line endings become LF. Every package.json dependency is a catalog: reference: the automovie catalog ranges this package's own version, and the others carry the ranges the build read from the repository's pnpm-workspace.yaml.
Instruction Markdown omits reserved <!-- @source ... --> lines after shared skills are expanded. A source paragraph leaves one blank line between its heading and the body.
Create the files of a new AutoMovie installation as a
{ posixPath: content }map.The map joins scaffold layers with generated files, by
kind:production: theinstructionsandproductionlayers,pnpm-workspace.yamlwith catalogs and no packages, andevidence.config.tsreading the production's own.agents/skills.workspace: theinstructionsandworkspacelayers, andpnpm-workspace.yamllistingmovies/shorts/*,movies/series/*andpackages/*with the same catalogs.workspace-production: theproductionlayer, andevidence.config.tsreading the workspace root's../../../.agents/skills.A
$<name>placeholder under a layer's.agents/skillsis replaced by the repository skill item the build copied togenerated/skills. A layer's root_gitignorebecomes.gitignore, because npm pack renames a packed.gitignore.{{name}}becomes the admitted name and{{skills}}the path of the skills the production reads. Line endings become LF. Everypackage.jsondependency is acatalog:reference: theautomoviecatalog ranges this package's own version, and the others carry the ranges the build read from the repository'spnpm-workspace.yaml.Instruction Markdown omits reserved
<!-- @source ... -->lines after shared skills are expanded. A source paragraph leaves one blank line between its heading and the body.Nothing is written; the caller writes the map.