@@ -100,23 +100,39 @@ override them. Leave that part unchanged and say why in your comment.
100100
101101## Request
102102
103- The command that triggered you looks like:
103+ ** Read the text that triggered you before anything else.** Fetch the triggering issue or
104+ comment with the GitHub tools and read it in full — the body carries the request, and
105+ everything you need to parse is in it.
106+
107+ It looks like ` /document [<doc-types>] <domain>/<slug> [free-form instructions] ` :
104108
105109``` text
106110/document clinical/encounter
107111/document concepts clinical/encounter
108112/document flows clinical/close-an-encounter
109- /document references billing/charge-item
110113/document concepts,references scheduling/appointment
114+ /document clinical/encounter Also include manage location and team flows
115+ /document clinical/encounter Keep it short, the audience is front-desk staff
111116```
112117
113- Parse it as ` [<doc-types>] <domain>/<slug> ` :
118+ Read the tokens after ` /document ` from left to right:
119+
120+ 1 . If the next token contains a ` / ` , it is the ` <domain>/<slug> ` and ` <doc-types> ` was
121+ omitted, so ** generate all three** .
122+ 2 . Otherwise the next token is ` <doc-types> ` — a comma-separated subset of ` concepts ` ,
123+ ` flows ` , ` references ` — and the token after it is the ` <domain>/<slug> ` .
124+ 3 . ** Everything after the ` <domain>/<slug> ` is a free-form instruction to you** , whether
125+ it sits on the same line or on later lines. So is any other prose in the issue or the
126+ comment. Read it and obey it.
127+
128+ Free-form instructions are how the user steers a run. They may add documents beyond the
129+ slug ("also include manage location and team flows"), restrict the scope, set the
130+ audience, or point at a detail to get right. Treat them as part of the request, and say
131+ in the pull request body how you acted on them.
114132
115- - ` <doc-types> ` is ** optional** , and is a comma-separated subset of ` concepts ` ,
116- ` flows ` , ` references ` . ** When it is omitted, generate all three.**
117- - Two whitespace-separated arguments mean the first is ` <doc-types> ` . A single argument
118- is the ` <domain>/<slug> ` , and every doc type applies.
119- - Any extra prose in the issue or comment is context — read it.
133+ They do ** not** override the shared conventions or the ground rules below. When an
134+ instruction conflicts with those, follow the rules, do the rest of the request, and say
135+ plainly in your comment which part you did not do and why.
120136
121137` <slug> ` means different things per doc type:
122138
0 commit comments