Skip to content

fix: trim SKILL.md description to ≤1024 chars and add pre-push lint hook - #1

Merged
Peng-YM merged 1 commit into
masterfrom
copilot/fix-skill-md-description-length
May 8, 2026
Merged

fix: trim SKILL.md description to ≤1024 chars and add pre-push lint hook#1
Peng-YM merged 1 commit into
masterfrom
copilot/fix-skill-md-description-length

Conversation

Copilot AI commented May 8, 2026

Copy link
Copy Markdown
Contributor

Codex silently skips loading the skill when SKILL.md's frontmatter description exceeds 1024 characters. Additionally, clippy (lint) was only running on pre-commit, not pre-push.

Changes

  • skills/pdf-to-markdown/SKILL.md — Condensed description from 1095 → 707 chars; all key trigger conditions and behavioral directives preserved
  • .githooks/pre-push (new) — Runs cargo clippy -- -D warnings before push, mirroring the existing pre-commit pattern

@Peng-YM
Peng-YM marked this pull request as ready for review May 8, 2026 03:49
@Peng-YM
Peng-YM merged commit 5a347b5 into master May 8, 2026
1 check passed
@Peng-YM
Peng-YM deleted the copilot/fix-skill-md-description-length branch May 8, 2026 03:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants