Fix YAML frontmatter parsing error in check-modern-code agent#4
Open
jrcrittenden wants to merge 1 commit intoFlineDev:mainfrom
Open
Fix YAML frontmatter parsing error in check-modern-code agent#4jrcrittenden wants to merge 1 commit intoFlineDev:mainfrom
jrcrittenden wants to merge 1 commit intoFlineDev:mainfrom
Conversation
The `tools` field on line 5 was using an unquoted comma-separated list which caused YAML parsing errors. This breaks Claude Code's ability to properly load the agent's frontmatter metadata, preventing tool detection and agent functionality. Changes: - Convert tools field to proper YAML array format - Increment Template Version from 6 to 7 - Update date to 2024-11-05 per contribution guidelines Why this matters: - Claude Code parses YAML frontmatter to determine available tools - Invalid YAML prevents agent from loading correctly - Easy fix prevents degraded UX for users of this template Fixes invalid YAML syntax and ensures agent loads properly in Claude Code. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
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.
Summary
Fix invalid YAML frontmatter in
check-modern-code.mdagent that prevents proper loading in Claude Code.Problem
The
toolsfield on line 5 was using an unquoted comma-separated list:This causes YAML parsing errors because unquoted comma-separated values are interpreted as multiline keys, breaking Claude Code's ability to parse the agent's frontmatter metadata.
Solution
Convert to proper YAML array format:
Why This Matters
Changes Made
🤖 Generated with Claude Code