| name | brief |
| description | Generate a strategic brief artifact by synthesizing all wiki knowledge for the active Strategic work item. Use when the hierarchy level is Strategic (Theme or Initiative). |
Skill: Brief (Strategic)
You were invoked by the orchestrator because the user wants to generate a strategic brief for the active work item. Your job is to synthesize all ingested knowledge from the wiki into a structured, decision-ready brief.
The orchestrator passed OUTPUT_PATH and WORK_ITEM_META at the top of this prompt — use those values for all file operations and document metadata.
Follow every step in order.
Buddy mode
By default this skill runs non-interactively — it writes the artifact without pausing for confirmation.
If BUDDY_MODE = true was passed by the orchestrator, pause at confirmation steps and wait for user input before writing.
⚠️ Language lock: Write the entire artifact — content, headings, table values, and all messages — in {LANGUAGE}. Source documents may be in a different language; never mirror them. This constraint is active from the first character to the last, throughout every step.
Step 1 — Verify wiki has content
Read {OUTPUT_PATH}index.md (the local wiki index for this work item).
- If the file does not exist or has no entries under Sources, Concepts, or Entities, tell the user no sources have been ingested for this work item and stop. Suggest running
/ingest first.
- If it exists, note the total number of pages listed (sources, concepts, entities).
Step 2 — Load all referenced wiki pages
From {OUTPUT_PATH}index.md, collect every page link listed. Each link points to a file in docs/wiki/. Load them in this order:
docs/wiki/overview.md — the synthesis layer; read this first. (Read directly — it is always the global synthesis.)
- All
sources/ pages listed in the local index — follow each link to load from docs/wiki/.
- All
concepts/ pages listed in the local index.
- All
entities/ pages listed in the local index.
If {CONTEXT_PATH} is non-empty, read all files present in {CONTEXT_PATH} after completing the list above. These are upstream artifacts from the parent work item. Treat them as authoritative constraints that take precedence over inferences from the local wiki when there is a conflict. Note each upstream source explicitly when you carry a fact forward (e.g., "per upstream requirements.md").
As you read, extract and track:
- Goals & outcomes explicitly stated across pages.
- Constraints & boundaries (what is out of scope or explicitly excluded).
- Key stakeholders (people, teams, organizations mentioned as responsible or affected).
- Success metrics or KPIs mentioned in any source.
- Risks, blockers, and dependencies flagged across pages.
- Open questions — any
## Open questions sections or [!contradiction] callouts.
- Timeline signals — dates, milestones, or delivery expectations mentioned.
Do not write the brief yet. Complete the full read first.
Step 3 — Confirm scope with the user
Before writing, surface a one-paragraph synthesis to the user:
Based on the wiki ({N} pages), here is what I plan to cover in the brief:
• [Goal or outcome 1]
• [Goal or outcome 2]
• [Key risk or open question]
• ...
Is this the right framing? Anything you want emphasized, excluded, or reworded?
Default mode: Proceed immediately with your judgment. Do not wait for a response.
Buddy mode: Wait for a response. Adjust your understanding if the user provides corrections. If the user says "go ahead", proceed with your judgment.
Step 4 — Lock the output language
Before writing any file, resolve and declare the language that will be used throughout:
- Read
{LANGUAGE} from the parameters passed by the orchestrator.
- Map to the expected locale:
pt-BR → Brazilian Portuguese
en → English
- anything else → English (and warn the user)
- If
{LANGUAGE} is not set or is empty, default to en and warn: "LANGUAGE was not set — defaulting to English."
- State the resolved language explicitly before proceeding:
Output language locked: {resolved language} ({LANGUAGE})
All artifact content, headings, and messages will be written in this language.
Do not begin writing any file until this step is complete. This prevents language drift across multiple generated files.
Step 5 — Write the strategic brief
Create the file {OUTPUT_PATH}artifacts/brief.md.
Use the template from locales/{LANGUAGE}/template.md if it exists (e.g., locales/pt-BR/template.md when {LANGUAGE} is pt-BR); otherwise fall back to template.md. Fill all placeholders, preserve section order, and do not add, remove, or change the count or hierarchy level of headings.
Validation runs automatically via hook after each Write or Edit. If a validation error appears in context, fix the artifact before proceeding. Do not update navigation files or report success before all errors are resolved.
Rules while writing:
- Every factual claim must cite a wiki page with
[[wikilinks]].
- Do not add facts from your training data. If the wiki does not cover a section, use a
> [!gap] callout.
- Flag contradictions with
> [!contradiction] and cite both sides.
- Write in plain, direct language. No filler. No passive voice where avoidable.
Step 6 — Update navigation files
After writing the brief, update:
{OUTPUT_PATH}index.md — add or update the ## Artifacts section:
## Artifacts
- [[artifacts/brief]] — Strategic Brief (generated YYYY-MM-DD)
{OUTPUT_PATH}log.md — append one entry at the top:
## [YYYY-MM-DD] artifact | Strategic Brief
Generated: artifacts/brief.md
Sources read: N pages (sources: N, concepts: N, entities: N)
Gaps flagged: N
Open questions: N
docs/forge.yaml — register the artifact in the work item entry:
- Find the entry whose
path matches {WORK_ITEM_PATH}.
- If it has no
artifacts field, add one as an empty list.
- If
brief is not already in the artifacts list, append it.
Use the Edit tool. Example — before:
- title: my-work-item
hierarchyLevel: Strategic
path: docs/strategic/initiatives/20260504-my-work-item/
After:
- title: my-work-item
hierarchyLevel: Strategic
path: docs/strategic/initiatives/20260504-my-work-item/
artifacts:
- brief
If artifacts already exists, append brief to the list. Never duplicate an entry already present.
Step 7 — Close the loop
Tell the user what was done:
Done. Strategic brief generated at {OUTPUT_PATH}artifacts/brief.md.
Pages read: N total (sources: N, concepts: N, entities: N)
Gaps flagged: N (sections with missing wiki coverage)
Open questions carried forward: N
Anything you want me to revise before we continue?
Rules
- Write all content in
{LANGUAGE}. If LANGUAGE is pt-BR, write in Brazilian Portuguese. If LANGUAGE is en, write in English. Apply this to artifact content, section headings, and all messages shown to the user. If LANGUAGE is not set, default to English.
- Never write content not supported by the wiki. Use
> [!gap] for any section the wiki does not cover. Do not fill gaps with your training knowledge.
- Never modify source or concept pages. Brief generation is read-only on the wiki (
docs/wiki/). The only files you write are artifacts/brief.md, index.md (Artifacts section), and log.md — all inside {OUTPUT_PATH}.
- Never skip Step 3. The user must confirm scope before you write 400+ words. This keeps the brief aligned with intent.
- Never skip Step 4. Language must be locked before any file is written — never assume or infer the language mid-generation.
- If
overview.md does not exist, proceed using source and concept pages only — note in the brief that the overview is absent.
- If the wiki has fewer than 3 pages, warn the user that the brief will have significant gaps and ask if they want to proceed or ingest more sources first.