Skip to content

[skill-activity] fix: correct agent instructions editing guidance in step 12#192

Merged
pelikhan merged 1 commit into
mainfrom
fix/step-12-prompt-instruction-c1f2afd453e39e05
Jul 11, 2026
Merged

[skill-activity] fix: correct agent instructions editing guidance in step 12#192
pelikhan merged 1 commit into
mainfrom
fix/step-12-prompt-instruction-c1f2afd453e39e05

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

What was improved

Step 12 (Test and Improve Your Workflow) contained two instructional errors that would confuse learners at a critical point in the workshop.

Error 1 — Incorrect prompt: key reference:
The step told learners to "find the prompt: block in the frontmatter" and showed a prompt: | YAML key as the place to make changes. In reality, gh-aw workflows have no prompt: frontmatter key — the agent instructions live in the Markdown body below the closing --- fence. A learner following the original instructions would look for a key that doesn't exist.

Error 2 — Wrong permissions advice for failures:
The error-recovery section said to add issues: write to fix missing-permissions failures. The daily-status workflow uses safe-outputs for all write access — issues: write is not needed, and adding it contradicts the least-privilege principle the workshop explicitly teaches in step 11.

Learner pain point addressed

Both errors appear in the iteration loop (step 4 of step 12) — the exact moment learners are supposed to make their first successful improvement. Hitting a dead end here (can't find prompt:, wrong fix for failures) creates frustration that undermines confidence just before the scheduling step.

Why it helps workshop flow

Fixing these errors keeps the "write → run → improve" feedback loop working cleanly. Learners can now successfully edit the Markdown body, re-run, and see the effect of their change — which is the core learning outcome of this step.

Generated by 🧩 Workshop Skill Activity Author · 39.4 AIC · ⌖ 8.05 AIC · ⊞ 5.1K ·

Step 12 incorrectly told learners to find and edit a 'prompt:' key in
the YAML frontmatter. In gh-aw workflows, agent instructions live in the
Markdown body below the closing '---' fence — the frontmatter only holds
machine-readable configuration.

Also fix misleading error-recovery advice: the daily-status workflow uses
safe-outputs for write access, not 'issues: write' in permissions. Adding
'issues: write' is unnecessary and violates the least-privilege principle
the workshop teaches.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot added documentation Improvements or additions to documentation skill-activity workshop labels Jul 11, 2026
@pelikhan pelikhan marked this pull request as ready for review July 11, 2026 18:09
@pelikhan pelikhan merged commit 2b6d880 into main Jul 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation skill-activity workshop

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant