You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "choo121600 (via GitHub)" <gi...@apache.org> on 2026/05/10 16:11:21 UTC

[PR] feat(skill-validator): enforce Claude Code's 1,536-char metadata budget [airflow-steward]

choo121600 opened a new pull request, #104:
URL: https://github.com/apache/airflow-steward/pull/104

   ## Summary
   
   Adds a frontmatter validation to tools/skill-validator/ that fails when description + when_to_use exceeds Claude Code's 1,536-character per-skill metadata budget.
   
   The check runs through the existing skill-validator-pytest pre-commit hook so truncation issues are caught at commit time instead of silently in the UI later.
   
   This PR also fixes a parsing issue where YAML block-scalar indicators(|, >, etc.) were incorrectly counted as part of the field value.
   
   ## Changes
   * Add MAX_METADATA_CHARS = 1536
   * Validate combined metadata length in validate_frontmatter()
   * Exclude YAML block-scalar indicators from parsed scalar values
   * Add under/over-limit validation tests
   * Add regression test for block-scalar parsing
   
   ## Notes
   The parser fix is bundled here because the new metadata budget check
   depends on accurate length measurement.
   
   related: #92 
   This depends on #103 being merged first.


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat(skill-validator): enforce Claude Code's 1,536-char metadata budget [airflow-steward]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk merged PR #104:
URL: https://github.com/apache/airflow-steward/pull/104


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org