File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -270,6 +270,28 @@ Include them in any persona:
270270...
271271```
272272
273+ ### Template Variables
274+
275+ Use ` {{persona}} ` in shared blocks or meta files to reference the current persona name:
276+
277+ ``` markdown
278+ # .personas/.shared/planning-rules.md
279+
280+ ## Planning
281+ Save your plans to ` .persona/{{persona}}/PLAN.md ` .
282+ Update ` .persona/{{persona}}/SPEC.md ` with requirements.
283+ ```
284+
285+ When expanded for persona ` dev-agent ` , this becomes:
286+
287+ ``` markdown
288+ ## Planning
289+ Save your plans to ` .persona/dev-agent/PLAN.md ` .
290+ Update ` .persona/dev-agent/SPEC.md ` with requirements.
291+ ```
292+
293+ Unrecognized ` {{...}} ` patterns emit a warning but don't block execution.
294+
273295### Inheriting from Other Personas
274296
275297``` markdown
You can’t perform that action at this time.
0 commit comments