fix(flow-ai): trim description under 1024-char install limit, add CI guard - #6
Merged
Merged
Conversation
…guard The plugin installer rejects a SKILL.md whose frontmatter `description` exceeds 1024 characters. flow-ai's description had grown to 1121 chars, blocking installation. Trim it to 988 by removing redundant phrasing only — all trigger keywords are preserved, so activation behaviour is unchanged. Add a lean, dependency-free CI guard (scripts/validate_skills.py, run by .github/workflows/validate-skills.yml) that fails the build if any skill's description exceeds the limit, so this cannot regress silently. Bump the version 0.7.0 -> 0.7.1 across plugin.json and the flow-ai/<version> User-Agent references, per the CHANGELOG's bump-both-together rule. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
Author
|
@claude please review this PR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
SKILL.mdwhose frontmatterdescriptionexceeds 1024 characters. flow-ai's had grown to 1121, causing install errors. Trimmed to 988 by removing only redundant phrasing — every trigger keyword is preserved, so activation behaviour is unchanged.scripts/validate_skills.py(stdlib-only, no deps) checks that everyplugins/**/SKILL.mdhasname+descriptionand thatdescription≤ 1024 chars. Wired via.github/workflows/validate-skills.ymlon PRs and pushes tomain.0.7.0 → 0.7.1acrossplugin.jsonand allflow-ai/<version>User-Agent references, per the CHANGELOG's bump-both-together rule. CHANGELOG entry added.Verification
Checked 1 skill(s), 0 error(s)., exit 0).description is 1200 chars (max 1024), exit 1).Out of scope
mainfirst.🤖 Generated with Claude Code