Repository navigation
skills/security-issue-import-from-md: trim frontmatter to fit metadata budget - #126
Conversation
choo121600
left a comment
There was a problem hiding this comment.
Budget math verified: pre 1,149 (desc=539, wtu=610), post 975 (desc=444, wtu=531) — 561 chars of headroom, matches the PR table exactly.
All three trigger phrases ("import findings from <path>", "import this scan output", "load these issues from a markdown file") are intact in the post when_to_use. The last phrase wraps across a YAML line break but the block scalar folds it to a space on parse — no semantic regression.
Sibling delineation holds in both fields: both security-issue-import (Gmail) and security-issue-import-from-pr (public PR) are named explicitly in description, and both appear again by name in the Skip when guard in when_to_use. The "Not appropriate when" → "Skip when" rename is consistent with the broader audit pass.
The one detail dropped from description — "with the standard issue-template body fields populated from the markdown sections" — is correctly noted in the PR as moved to the skill body (Step 3b table), where it belongs as implementation detail rather than routing signal.
No structural regressions. Approving.
🤖 This review was drafted by an AI-assisted tool. An apache-steward maintainer has read and confirmed it before posting; mistakes are still possible — point them out and the maintainer will sort it. See CONTRIBUTING.md for what an apache-steward maintainer review covers.
…a budget Trims security-issue-import-from-md frontmatter from 1,149 → 975 chars (margin 387 → 561). Drops the "standard issue-template body fields populated from the markdown sections" implementation detail (body covers it), inlines the `/security-review`-style AI pass description into a tighter "AI security review output" phrasing, and tightens "Not appropriate when" → "Skip when" for consistency with the rest of the audit pass. All four literal trigger phrases preserved verbatim; sibling-skill distinctions (Gmail / public-PR paths) preserved verbatim; typical sources (AI / SAST / consultant) preserved as routing signals. Tracking: #118
Summary
Trims
security-issue-import-from-mdfrontmatter (description+when_to_use) from 1,149 → 975 characters.Same principle as #103 and the rest of #118's audit pass: frontmatter is the routing layer. The body's sibling-comparison table (L52-59) and the standard-issue-template population details belong in the body, not the routing layer.
Tracking: #118
Before / after
What moved where
with the standard issue-template body fields populated from the markdown sectionsthe output of a /security-review-style AI pass over an upstream branch(verbose source detail)AI security review output— the matchable substringAI security reviewsurvivesNot appropriate when→Skip whenThe three sibling on-ramps (
security-issue-import,security-issue-import-from-pr, this one) keep their distinguishing routing in the frontmatter: "Gmail", "public PR", "the file itself is the full report".Trigger-phrase preservation
Every literal trigger phrase from the original
when_to_useis preserved verbatim:"import findings from <path>""import this scan output""load these issues from a markdown file".mdfile with one or more issue blocks separated by---Typical-source routing signals preserved:
Sibling distinctions preserved verbatim:
security-issue-import(Gmail path)security-issue-import-from-pr(public PR path)Routing recall does not regress.