Skip to content

Commit 3bcc8b0

Browse files
ducpm2303claude
andcommitted
fix: remove unsupported commands/rules fields from plugin.json manifests
Claude Code plugin.json does not accept "commands" or "rules" glob declarations — these directories are auto-discovered by convention. Adding them caused "Validation errors: commands: Invalid input" on plugin load for java-core and java-quality. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent a988bd2 commit 3bcc8b0

3 files changed

Lines changed: 3 additions & 9 deletions

File tree

plugins/java-core/.claude-plugin/plugin.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,5 @@
55
"author": {
66
"name": "java-plugins contributors"
77
},
8-
"keywords": ["java", "review", "refactor", "explain", "fix", "docs"],
9-
"commands": ["commands/*.md"],
10-
"rules": ["rules/*.md"]
8+
"keywords": ["java", "review", "refactor", "explain", "fix", "docs"]
119
}

plugins/java-quality/.claude-plugin/plugin.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,5 @@
55
"author": {
66
"name": "java-plugins contributors"
77
},
8-
"keywords": ["java", "security", "owasp", "performance", "testing", "junit", "mockito", "testcontainers"],
9-
"commands": ["commands/*.md"],
10-
"rules": ["rules/*.md"]
8+
"keywords": ["java", "security", "owasp", "performance", "testing", "junit", "mockito", "testcontainers"]
119
}

plugins/java-spring/.claude-plugin/plugin.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,5 @@
55
"author": {
66
"name": "java-plugins contributors"
77
},
8-
"keywords": ["java", "spring", "spring-boot", "scaffold", "rest", "jpa"],
9-
"commands": ["commands/*.md"],
10-
"rules": ["rules/*.md"]
8+
"keywords": ["java", "spring", "spring-boot", "scaffold", "rest", "jpa"]
119
}

0 commit comments

Comments
 (0)