Skip to content

Commit 378d042

Browse files
Add theme-aware diagram for skill injection strategies (#3145)
1 parent bc4ac5a commit 378d042

3 files changed

Lines changed: 94 additions & 0 deletions

File tree

‎workshop/29-skills-and-domain-knowledge.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,12 @@ Once a skill exists, decide how your workflow prompt should point to it. There a
101101
- **Fusion** — reference only the exact skill fragment the agent needs with a `<!-- gh-skill-fusion: path#anchor -->` comment. Best when the task is narrow and well-defined and you want to keep the prompt compact.
102102
- **Inline** — embed the skill fragment directly in the workflow file under a `## skill: \`name\`` heading. Best when the skill is small and specific to a single workflow.
103103

104+
<picture>
105+
<source media="(prefers-color-scheme: dark)" srcset="images/29-skill-injection-strategies-dark.svg">
106+
<source media="(prefers-color-scheme: light)" srcset="images/29-skill-injection-strategies-light.svg">
107+
<img alt="Diagram showing a SKILL.md file feeding three injection strategies -- hint, fusion, and inline -- each flowing into the workflow prompt the agent reads." src="images/29-skill-injection-strategies-light.svg">
108+
</picture>
109+
104110
> :bulb: **Optional Side Quest:** For the full decision table, code examples for each strategy, and a hands-on practice exercise, see [Skill Injection Strategies — Hint, Fusion, and Inline](side-quest-29-01-skill-injection-strategies.md).
105111
106112
### Wire the skill into a workflow and validate
Lines changed: 44 additions & 0 deletions
Loading
Lines changed: 44 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)