Repository navigation
Open
Labels
needs-humanHuman-in-the-loop required; autonomous sessions must not resolve items carrying this.Human-in-the-loop required; autonomous sessions must not resolve items carrying this.priority: mediumReal value, no hard deadline; normal backlog flow.Real value, no hard deadline; normal backlog flow.status: needs-decisionAwaiting a human or maintainer judgment call.Awaiting a human or maintainer judgment call.work-class: scopedA briefed fix or small feature; blast radius bounded by the brief, tests exist.A briefed fix or small feature; blast radius bounded by the brief, tests exist.
Description
Parent
Refs #7556 (probe result).
Problem
Cursor ignores the when_to_use skill frontmatter key. When our plugins load in Cursor, each skill is listed with only its description. A trigger phrase kept in when_to_use never reaches the model, so automatic invocation in Cursor loses it.
- Probe, Cursor CLI 2026.10.19-6bbf2c4, 2026-11-02: a phrase placed only in
when_to_usewas absent from the skill's listing entry, and thedescriptionwas present. - Docs: https://cursor.com/docs/skills.md lists the skill frontmatter fields as
name,description,paths,disable-model-invocation,icon,colorandmetadata.when_to_useis not among them.
Affected skills on main today (3): computer-use/skills/diagnose, playwright/skills/demo-video and playwright/skills/playwright.
Outcome
Decide how a skill's trigger text reaches Cursor without a fork or Cursor-specific files. Options include moving it into description or keeping when_to_use and accepting the loss. Then apply the decision and record it in the skill-authoring guidance.
Out of scope
Cursor-specific files or a forked plugin.
Done when
Decision: comment.
- In
plugins/computer-use/skills/diagnose/SKILL.md,plugins/playwright/skills/demo-video/SKILL.mdandplugins/playwright/skills/playwright/SKILL.md, the trigger text moves intodescriptionandwhen_to_useis gone. - The skill-authoring guidance says trigger text goes in
description. -
plugins/skill-quality/scripts/check-listing-budget.shandcheck-skill.shpass on the changed skills, with text shortened rather than exempted. - A follow-up issue is filed for the other four skills that use
when_to_use(skill-qualitycheck, harness-opsaudit-native-overlapandinventory, session-flowrecommend-skills).
Metadata
Metadata
Assignees
Labels
needs-humanHuman-in-the-loop required; autonomous sessions must not resolve items carrying this.Human-in-the-loop required; autonomous sessions must not resolve items carrying this.priority: mediumReal value, no hard deadline; normal backlog flow.Real value, no hard deadline; normal backlog flow.status: needs-decisionAwaiting a human or maintainer judgment call.Awaiting a human or maintainer judgment call.work-class: scopedA briefed fix or small feature; blast radius bounded by the brief, tests exist.A briefed fix or small feature; blast radius bounded by the brief, tests exist.
Type
Fields
Work status
needs-human
Activity
github-actions commentedon Nov 2, 2026
Proposed work class: work-class: scoped
Basis: automated intake triage; the lanes App applied this class.
Size: Small
Complexity: Low
Uncertainty: Known
Flags: none
Blocked by: none
Understood: Cursor ignores the
when_to_usefrontmatter key, so trigger text in three skills (computer-usediagnose, playwrightdemo-videoandplaywright) never reaches Cursor. The issue asks to move that text intodescription, record the rule in the skill-authoring guidance, keep the listing-budget and skill checks passing by shortening text, and file a follow-up for the other four skills that usewhen_to_use.The done-when items are exact and the decision comment answers the open design question. Nothing is missing. I found no likely duplicates among the open issues.
Automated triage, applied by the lanes App.
melodic-automation-lanes commentedon Nov 2, 2026
The triage verdict left this issue at
status: needs-decision:melodic-automation-lanes commentedon Nov 2, 2026
Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.
Intended outcome: Fold the trigger text of the three skills' when_to_use into description (keeping the listing budget), and record in the skill-authoring guidance that Cursor ignores when_to_use.
Related work
Open questions
RECOMMENDED: Move it into description for the three affected skills, and drop when_to_use there. Basis: Cursor documents description as supported and the probe showed it reaches the listing; the three keys are at plugins/computer-use/skills/diagnose/SKILL.md:3, plugins/playwright/skills/demo-video/SKILL.md:3, plugins/playwright/skills/playwright/SKILL.md:3
RECOMMENDED: Make it a general rule in the guidance, but only change the three named skills in this issue; leave the other four to a follow-up. Basis: judgment
RECOMMENDED: Apply the merge and require that the listing-budget and skill checks still pass; if a skill goes over, shorten the text rather than exempting it. Basis: plugins/skill-quality/scripts/check-listing-budget.sh
Sources read
To answer, post a comment that starts with this line:
Automated refinement by the lanes App. Answer with a comment whose first line is
**Decision recorded.**.kyle-sexton commentedon Nov 2, 2026
Agent choice, not an owner answer. The owner did not answer this question. Lane 2 chose on the #7556 evidence, and Issue Triage owns the question. Accept the triage recommendations. (1) Move the trigger text into
descriptionfor the three skills (computer-usediagnose, playwrightdemo-videoandplaywright) and dropwhen_to_usethere. Basis: the #7556 probe showed Cursor readsdescriptionand ignoreswhen_to_use. (2) The skill-authoring guidance says trigger text goes indescription. The other four skills that usewhen_to_usemove in a follow-up issue this PR files. (3) The listing-budget and skill checks must still pass; shorten text rather than exempt a skill. Basis:plugins/skill-quality/scripts/check-listing-budget.sh. Decided under the owner's standing direction (decide from evidence; no intent, security or cost question here).melodic-automation-lanes commentedon Nov 2, 2026
This records a re-fire of an earlier refusal, not a new refusal. The lanes kill switch stopped run 41522463663, the work-resolve-issue run that
agent-readystarted, before it did any work; that run ended at 2026-11-02T20:53:57Z. work-unblock has now removed and addedagent-readyback to start a fresh run. A kill-switch refusal is no fault in this issue or the lanes, so it never counts against later re-fires; after limits.limit-stops-per-issue of them since a person last addedagent-readyor a run last reported, work-unblock waits longer before each one, up to 24 hours.github-actions commentedon Nov 2, 2026
melodic-automation-lanes commentedon Nov 2, 2026
The work-resolve-issue lane stopped partway through this issue and needs a person.
Reason:
securityWhy, in the run's own words:
Run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41532046031
To retry, remove
needs-humanand addagent-readyagain.