Skip to content

Commit 4eeb0f4

Browse files
authored
Merge pull request #1313 from LalatenduMohanty/fix/mdformat-skill-frontmatter
fix(tooling): protect Codex skill frontmatter from mdformat
2 parents cf4dc21 + 3e1546d commit 4eeb0f4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ repos:
3434
rev: 1.0.0
3535
hooks:
3636
- id: mdformat
37+
# mdformat treats Agent Skill YAML frontmatter as Markdown content.
38+
exclude: ^\.agents/skills/.*/SKILL\.md$
3739
additional_dependencies:
3840
- mdformat-gfm # GitHub Flavored Markdown support (tables, autolinks, etc.)
3941
- mdformat-simple-breaks # Use --- for thematic breaks instead of 70 underscores

0 commit comments

Comments
 (0)