docs(skills): refresh SKILL.md frontmatter for routing clarity (sensei audit)#51
Open
spboyer wants to merge 1 commit intogoogle:mainfrom
Open
docs(skills): refresh SKILL.md frontmatter for routing clarity (sensei audit)#51spboyer wants to merge 1 commit intogoogle:mainfrom
spboyer wants to merge 1 commit intogoogle:mainfrom
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
1473a43 to
1a21c6c
Compare
1a21c6c to
036e1c2
Compare
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.
Summary
Refreshes the YAML frontmatter on all 13 skills under
skills/cloud/to improve agent skill-routing accuracy. Body content is unchanged across all files — your## Quick Start,## Prerequisites,## Reference Directory, and reference graph (references/cli-usage.md,references/iam-security.md, etc.) are preserved as-is.This was generated with
sensei, a SKILL.md frontmatter compliance auditor that follows research-backed routing patterns from Anthropic's skill design guidance and recent cross-model trigger studies.Why this matters
When an agent host loads many skills (Copilot CLI, Claude, Cursor, etc.), it relies on the YAML
description:field to decide which skill to invoke for a given user prompt. Sparse or generic descriptions cause:bigquery-basicstriggering for a Cloud SQL promptThe fix is positive routing: an action verb, a unique domain, and quoted trigger phrases the LLM can pattern-match.
What changed (per skill)
Each
description:field now follows this template:Concretely:
description: "..."instead of YAML block scalars (>-or|).Why: some skill loaders use minimal YAML parsers and miscount multiline values. Single-line strings are universally parsed.
**WORKFLOW SKILL**/**UTILITY SKILL**/**ANALYSIS SKILL**prefix.Why: gives the host a quick classification signal — orchestration vs. helper vs. read-only assessment.
WHEN: "phrase1", "phrase2", ...with quoted, distinctive triggers.Why: quoted phrases anchor pattern matching. Bare keywords blend into prose; quoted phrases stand out as routing signals.
INVOKES: ...listing MCP servers and CLI tools each skill calls (e.g.,BigQuery MCP server, bq CLI, Gemini CLI extension).Why: helps the host disambiguate when both a workflow skill and a same-named MCP tool are available.
Bug fix included
skills/cloud/google-cloud-networking-observability/SKILL.mdhad:The folder is
google-cloud-networking-observability(norecipe-). The other recipe skills (google-cloud-recipe-auth,google-cloud-recipe-onboarding) match their folders correctly. Updatedname:to match the folder.Sensei score (baseline → after refresh)
Sensei's content-quality scorer (0.0–1.0, higher is better) on each skill:
alloydb-basicsbigquery-basicscloud-run-basicscloud-sql-basicsfirebase-basicsgemini-apigke-basicsWHEN:)google-cloud-networking-observabilitygoogle-cloud-recipe-authgoogle-cloud-recipe-onboardinggoogle-cloud-waf-cost-optimizationgoogle-cloud-waf-reliabilitygoogle-cloud-waf-securityThe remaining ceiling (~0.50) is body-structural — sensei's scorer also rewards
## Rulesand## Stepssections in the body, but those would require rewriting your existing## Quick Start/## Reference Directorystructure. This PR deliberately stops at frontmatter to keep the change scope focused and non-destructive.What this PR does NOT change
## Quick Start, code sample, andreferences/link is preservedcompatibility:field changes (other than to fix the one name mismatch)Use when ...natural-language guidance —WHEN:augments routing, doesn't replace existing proseReproducing locally
References
spboyer/sensei— SKILL.md compliance tool used for this audit