chore(validate): fix frontmatter on 3 pre-existing skills#331
Merged
Conversation
Three skills were admin-merged on 2026-04-08 with the CI 'Typecheck, validate, and manifest freshness' job in FAILURE state. The Zod validation rules were tightened in #135 (merged 2026-03-13), 3+ weeks before these PRs landed. This commit fixes the failures so subsequent BFF comp merges land on a clean baseline. Fixes (frontmatter only, no code changes): hermetica-yield-rotator/SKILL.md (introduced by #273): - user-invocable: "true" → "false" (rule requires "false") - tags: trim to controlled vocab → "defi, write, mainnet-only, l2" jingswap-cycle-agent/SKILL.md (introduced by #294): - requires: MCP tool name → "wallet, jingswap" (valid skill dirs) - tags: trim to controlled vocab → "defi, write, mainnet-only, l2" sbtc-auto-funnel/SKILL.md (introduced by #278): - tags: trim to controlled vocab → "defi, write, mainnet-only, requires-funds, l2" skills.json regenerated via bun run manifest to reflect all changes. Also adds .quests/ to .gitignore (pre-staged harness addition). Refs: FINDINGS.md in .planning/2026-04-15-bff-comp-review-4/ Rule tightening: #135 Note to repo owner: branch protection on main should require the CI job so future comp batches cannot admin-merge past red CI. Co-Authored-By: Claude <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Fixes repository frontmatter validation failures introduced by three previously merged skills by aligning their SKILL.md metadata with the repo’s stricter Zod-tier rules (controlled tag vocabulary, user-invocable: "false", and requires referencing real skill dirs). Regenerates skills.json to reflect the corrected frontmatter.
Changes:
- Normalize
metadata.user-invocableto"false"and trimmetadata.tagsto the controlled vocabulary for affected skills. - Replace invalid free-form
metadata.requirestext with valid skill directory references. - Regenerate
skills.jsonmanifest after frontmatter fixes.
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| skills.json | Updates generated timestamp and reflects corrected requires/tags/userInvocable derived from SKILL.md frontmatter. |
| sbtc-auto-funnel/SKILL.md | Replaces invalid tags with controlled-vocab tags. |
| jingswap-cycle-agent/SKILL.md | Fixes requires to valid skill dirs and trims tags to controlled vocab. |
| hermetica-yield-rotator/SKILL.md | Sets user-invocable to "false" and trims tags to controlled vocab. |
| .gitignore | Ignores .quests/ directory (local-only). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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 broke and why
Three skills were admin-merged on 2026-04-08 with the CI job
Typecheck, validate, and manifest freshnessin FAILURE state. The Zod-tier frontmatter validation rules were tightened in PR #135 (merged 2026-03-13), three weeks before these PRs landed. Branch protection onmainis not currently requiring the CI job to pass, which allowed them through.Running
bun run scripts/validate-frontmatter.ts --skip-specon cleanmainbefore this fix produced:Failures were:
hermetica-yield-rotator/SKILL.mduser-invocable: "true"— rule requires"false"jingswap-cycle-agent/SKILL.mdtagsoutside controlled vocab;requiresis an MCP tool name, not a skill dirsbtc-auto-funnel/SKILL.mdtagsoutside controlled vocabFull investigation context:
.planning/2026-04-15-bff-comp-review-4/FINDINGS.mdChanges (frontmatter only — no code changes)
hermetica-yield-rotator/SKILL.md(PR #273)user-invocable: "true"→"false"(skills are invoked by Claude Code, not end users)tags: trimmed to controlled vocab →"defi, write, mainnet-only, l2"jingswap-cycle-agent/SKILL.md(PR #294)requires:"jingswap_deposit_stx (aibtc MCP) for live execution"→"wallet, jingswap"(valid skill directory names)tags: trimmed to controlled vocab →"defi, write, mainnet-only, l2"sbtc-auto-funnel/SKILL.md(PR #278)tags: trimmed to controlled vocab →"defi, write, mainnet-only, requires-funds, l2"skills.jsonRegenerated via
bun run manifestto reflect the three frontmatter fixes.Verification
After this change:
Flag for repo owner
Branch protection on
mainshould require theTypecheck, validate, and manifest freshnessCI job to pass before merging. Without that requirement, future comp batches can admin-merge past red CI and introduce the same category of failures. This is a GitHub repository settings change and is not part of this PR — flagging here for awareness.🤖 Generated with Claude Code