jedcunningham opened a new pull request, #66444:
URL: https://github.com/apache/airflow/pull/66444

   The `description` and `when_to_use` frontmatter fields of every available 
`SKILL.md` are loaded into the Claude Code system prompt at the start of every 
turn so it can route to the right skill; the body of each skill only loads on 
invocation. So frontmatter is the lever for steady-state context cost.
   
   Trims `maintainer-review`, `pr-triage`, and `pr-stats` to keep only what's 
useful for routing — what the skill does, how it picks its targets where that 
matters (`maintainer-review`'s "my reviews" working list, `pr-triage`'s `ready 
for maintainer review` label), and the trigger phrases. Drops file-path 
cross-refs, mutation names, "successor to breeze X" history, and verbose action 
enumerations — all still present in the SKILL.md bodies, which are unchanged.
   
   Saves roughly 500 tokens off the available-skills listing loaded each turn:
   
   ```
   maintainer-review: ~420 → ~170 tokens
   pr-triage:         ~300 → ~125 tokens
   pr-stats:          ~170 → ~105 tokens
   ```
   
   The `maintainer-review` skill was spitting out an warning before as well in 
`/doctor`:
   
   ```
   Some skill descriptions will be shortened
         1 description exceeds the per-entry cap: maintainer-review
   ```
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 4.7)
   
   Generated-by: Claude Code (Opus 4.7) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to