Skip to content

Optimize the docs skill trigger description #21

Description

@ckrough

Optimize the description frontmatter for trigger accuracy using the skill-creator optimization loop.

Part of #15. Depends on #18 and #20.

The description is the primary triggering mechanism. This skill has an unusually high overtrigger risk: agents touch things they would call documentation constantly, and most of them (ADRs, commit messages, changelogs, code comments, CLAUDE.md) are out of scope. A pushy description without tested negatives will fire on all of them.

This task is the mitigation for that risk, not polish.

Subtasks

  • Write 20 trigger eval queries, realistic and specific, in the format {"query": "...", "should_trigger": true|false}
  • Weight the negatives toward near-misses: writing an ADR, drafting a changelog entry, wording a commit message, editing a README, a general "how do I make a markdown table" question
  • Include should-trigger cases where the user never says "documentation": moving a file into docs/, "this guide has gotten bloated", "where should this go"
  • Review the eval set before running the loop
  • Run the skill-creator optimization loop against the current session model
  • Apply best_description and record the before/after scores in this issue

Acceptance Criteria

  • 20 queries, roughly balanced between should-trigger and should-not-trigger
  • Negative queries are genuine near-misses, not obviously irrelevant prompts
  • The applied description scores better on the held-out test split than the draft it replaces
  • The final description stays under the 1024-character agentskills.io limit
  • Before and after scores recorded in this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedBlocked by another issue; not eligible for the ready queue

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions