fix(native.system): repair build-dashboard frontmatter, confirm via #opt link - #28
Merged
Merged
Conversation
|
Caution The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased. |
5 tasks
…opt link Two fixes to build-dashboard, split out of #27 so they can land independently of the two new skills. 1. The description was invalid YAML. It was a single-line plain scalar containing ": " (from "Typical phrasings: ..."), which YAML does not allow — gray-matter raises `incomplete explicit mapping pair`, so the frontmatter would not parse and the skill's whole trigger contract was unreadable. Rewritten as a block scalar with the same four paragraphs it always had; no wording changed. Also adds the `label` field its sibling skills carry. 2. Plan confirmation now closes with an option link. Workflow step 2 presented a plan and then waited on free text. It now ends with `[Yes — build it as planned](#opt)`, which the chat renders as a clickable chip; clicking it sends the link text verbatim as the user's next message. The step states the two consequences of that, since neither is guessable from the markdown: the link is not a tool call, so nothing pauses the agent — it must end its turn and wait; and the label becomes the user's message, so each is written as the instruction they'd have typed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
thinhnguyentruong
force-pushed
the
native-skills/build-dashboard-fixes
branch
from
August 4, 2026 10:49
5bc4989 to
2cb2948
Compare
datbth
approved these changes
Aug 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Split out of #27 so it can land independently — #27 keeps the two new skills, which have open review comments. This half has none, and fix 1 is a live bug on
main.1. The description was invalid YAML
build-dashboard'sdescriptionwas a single-line plain scalar containing": "(fromTypical phrasings: ...). YAML does not allow that —gray-matterraisesincomplete explicit mapping pair, so the frontmatter does not parse and the skill's entire trigger contract is unreadable.Rewritten as a block scalar with the same four paragraphs it always had. No wording changed — this is purely the scalar style. Also adds the
labelfield its sibling skills carry.2. Plan confirmation closes with an option link
Workflow step 2 presented a plan and then waited on free text. It now ends with:
The chat renders
[text](#opt)as a clickable chip, and clicking it sends the link text verbatim as the user's next message.The step spells out the two consequences of that, since neither is guessable from the markdown:
The first link is always the approval; any others follow from the plan.
Note for reviewers
scripts/validate-frontmatter.jshas a dedicated error path for bug 1 — including the hint "quote values that contain colons" — but globsplugins/**/SKILL.mdonly, so it validates 30 files and skips all 13 undernative-skills/. Broadening that glob is a one-line change; happy to add it here or split it out.Test plan
pnpm validate-links— all links validpnpm validate-frontmatter— passes (note the coverage gap above)