[DEPRECATED — use get_component_prompt] Render a prompt by mechanical substitution
render_promptReplaces motion tokens (ease/duration/stagger) in a component prompt with a chosen motion system's values for consistent timing. Structural values stay as-is and are listed.
Instructions
DEPRECATED in favour of get_component_prompt. Mechanical substitution does not fit this corpus: the prompts narrate their own numbers in prose, so replacing only the code values makes prose and code specify different components (judged 11/30). Coverage is deliberately narrow: 164 of 219 components have ZERO substitutable values because their prompts narrate their own numbers in prose ('over 4s', 'durations are 1'), and substituting those would make prose and code contradict each other. For those components this returns the prompt unchanged. See DECISIONS.md D15. Returns the component's build prompt with its motion tokens (ease/duration/stagger) replaced by the chosen motion system's values, so several components share one timing language. Values that are STRUCTURAL to the effect (elastic overshoot, loop cadence, scrub linearity, shader/physics constants) are never substituted — they come back listed under 'Valores no parametrizables'. Omit system to use the component's native one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Component slug. | |
| system | No | Motion system name. Default: the component's native system. |