Skip to content

perf(planning): trim skill descriptions; keep extractor triggers (part of #4657) - #4774

Merged
cursor[bot] merged 3 commits into
mainfrom
cursor/4657-planning-descriptions-f6c4
Sep 28, 2026
Merged

cursor[bot] merged 3 commits into
mainfrom
cursor/4657-planning-descriptions-f6c4

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Part of #4657

Summary

Trims planning's listed skill descriptions to 500 characters or fewer. Next plugin in #4657's per-plugin trim order after session-flow (#4718), docs-hygiene, and claude-ops. Does not close #4657; other plugins still need their own trims.

Fix

Measure Before After
check-listing-budget.sh plugins/planning/skills aggregate 7,738 5,454
Listed skills over 500 chars 9 1 (interview, pinned)

Verification

  • bash scripts/check-changed-skills.sh origin/main: exit 0.
  • check-skill.sh plugins/planning/skills with CHECK_SKILL_BASE_REF=origin/main: every skill PASSES; no dropped triggers.
  • bash plugins/planning/tests/interview-defenses.test.sh: PASS=153 FAIL=0.
  • scripts/check-changelog-parity.sh --check-bump origin/main passes; markdownlint clean.

Related

Open in Web Open in Cursor 

cursoragent and others added 3 commits September 28, 2026 02:14
Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
…rs at 500 (part of #4657)

Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
#4278 took planning 0.44.9 on main; this branch moves to 0.44.10.

Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

PR body contract — issue linkage

This PR body does not yet satisfy the issue-linkage contract:

  • Negated closing reference ("close perf(skills): finish cutting the shared skill-listing cost after #4555 #4657" (trigger "not")). GitHub's linkage parser ignores the surrounding words, so this still registers a closing reference and still auto-closes the issue when this PR merges. Remove the closing keyword and use "Refs: #N" (or "Relates to: #N") on its own line instead.
  • Missing a native closing keyword (Closes/Fixes/Resolves #N). If this PR references an issue it must not close, put "Refs: #N" (or "Relates to: #N") on its own line. If it relates to no GitHub issue at all, state "No linked issue" (or "No related issue:") in the body instead.

Edit the body and this comment updates itself on the next run.

@cursor
cursor Bot marked this pull request as ready for review September 28, 2026 02:55
@cursor
cursor Bot merged commit 64cdc57 into main Sep 28, 2026
40 checks passed
@cursor
cursor Bot deleted the cursor/4657-planning-descriptions-f6c4 branch September 28, 2026 03:02
cursor Bot pushed a commit that referenced this pull request Sep 28, 2026
…t of #4657) (#4774)

<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
Part of #4657

## Summary

Trims planning's listed skill descriptions to 500 characters or fewer.
Next plugin in #4657's per-plugin trim order after session-flow (#4718),
docs-hygiene, and claude-ops. Does not close #4657; other plugins still
need their own trims.

## Fix

- Eight descriptions rewritten: `audit-answers`, `design-handoff`,
`design`, `devils-advocate`, `draft-goal-condition`, `prd`,
`questionnaire`, and `wayfind`. Each leads with its use case, keeps
every single-quoted trigger phrase, and names its nearest sibling.
- `interview` (969 chars) deliberately untouched —
`tests/interview-defenses.test.sh` pins its whole frontmatter by digest.
- planning 0.44.8 → 0.44.10 (#4278 took 0.44.9 on main).

| Measure | Before | After |
|---|---|---|
| `check-listing-budget.sh plugins/planning/skills` aggregate | 7,738 |
5,454 |
| Listed skills over 500 chars | 9 | 1 (`interview`, pinned) |

## Verification

- `bash scripts/check-changed-skills.sh origin/main`: exit 0.
- `check-skill.sh plugins/planning/skills` with
`CHECK_SKILL_BASE_REF=origin/main`: every skill PASSES; no dropped
triggers.
- `bash plugins/planning/tests/interview-defenses.test.sh`: PASS=153
FAIL=0.
- `scripts/check-changelog-parity.sh --check-bump origin/main` passes;
markdownlint clean.

## Related

- #4657 (parent) and #4661 (per-plugin trims child)
- #4718 (session-flow) and #4555 (discipline)
<!-- CURSOR_AGENT_PR_BODY_END -->

<div><a
href="https://cursor.com/agents/bc-ab53da24-b89d-4314-a060-0da474e837e9?cursor_ref=pr_footer&cursor_cta=open_in_web"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-web-light.png"><img
alt="Open in Web" width="114" height="28"
src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a>&nbsp;<a
href="https://cursor.com/background-agent?bcId=bc-ab53da24-b89d-4314-a060-0da474e837e9&cursor_ref=pr_footer&cursor_cta=open_in_cursor"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img
alt="Open in Cursor" width="131" height="28"
src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a>&nbsp;</div>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

perf(skills): finish cutting the shared skill-listing cost after #4555

2 participants