You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "potiuk (via GitHub)" <gi...@apache.org> on 2026/06/07 10:03:52 UTC
[PR] chore(setup): exclude .agents/skills + .github/skills from doctoc [airflow-steward]
potiuk opened a new pull request, #466:
URL: https://github.com/apache/airflow-steward/pull/466
## What
Add `.agents/skills/.*` and `.github/skills/.*` to the doctoc pre-commit `exclude` regex.
## Why
The exclude already skipped `.claude/skills/` and the `skills/` source, but not `.agents/skills/` — which is now the **canonical** skill home — nor the `.github/skills/` relays. doctoc therefore re-inserts a Table-of-Contents block into skill `SKILL.md` files reached via those paths, which:
- fights the agent-skill requirement that YAML frontmatter be the first thing in the file, and
- causes TOC churn on every adopter commit that touches the committed `magpie-setup` bootstrap (the TOC gets re-added, the commit aborts, the contributor has to re-stage).
The `skills/` source files are already TOC-free; this is a config-only fix so they stay that way regardless of which skill-dir path pre-commit feeds doctoc.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
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] chore(setup): exclude .agents/skills + .github/skills from doctoc [airflow-steward]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk merged PR #466:
URL: https://github.com/apache/airflow-steward/pull/466
--
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