SkillPedia Skills Encyclopedia
中文 EN

Skills 2026-09-28 15:57 UTC

intel-performance-skillslatest

Version [latest] committed by fenrus75. Update Category: Feature Addition & Enhancement. Commit details: performance-patterns: trim redundant generic explanations to cut token cost. This update introduces new capabilities and module extensions.

fenrus75 3e33aec intel/intel-performance-skills

CommitRaw commit message

performance-patterns: trim redundant generic explanations to cut token cost

Feedback indicated skill content has a high token cost relative to value
because larger models already know a lot of the generic domain/CS
knowledge being spelled out. Audit found this concentrated in
triggers/from-source.md, whose "Pattern descriptions" section (77% of the
file) duplicated generic mechanism explanations already present in each
patterns/*.md file's "Why this is slow" section, and in the prose length
of those "Why this is slow" sections themselves.

- triggers/from-source.md: removed the generic descriptions section,
  replaced with a compact "Additional detection notes" block containing
  only facts not already in the quick-match table (name-variant lists,
  caveats). 1664 -> 580 words.
- triggers/from-profile.md: lightly trimmed 2 sentences that duplicated
  pattern-file content; left mostly intact since it is already
  signal-specific (perf event names, instruction mnemonics, thresholds)
  rather than generic.
- patterns/{ttas,missing-restrict,cv-thundering-herd,missing-vzeroupper,
  mutex-to-rwlock,parallel-accumulator,cold-path-annotation,
  false-sharing,per-cpu-stats}.md: shortened "why this is slow" sections
  to 1 short paragraph, keeping concrete numbers/formulas and cutting
  narrative explanation of well-known mechanisms.

linux-perf and phoronix-test-suite SKILL.md files were left untouched --
they are dense with project-specific facts (exact perf event names, PTS
JSON schema, file paths) that models don't already know.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>