fix(plugin): remove .ai-rules file path refs from slash commands (#1238)#1241
Merged
Conversation
Replace .ai-rules/agents/*.json file path references with agent names and '(loaded via parse_mode in MCP mode)' pattern in plan.md, eval.md, auto.md, and act.md. The npm tarball does not include .ai-rules/ assets, so these references were broken in standalone mode.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
JeremyDev87
commented
Apr 3, 2026
JeremyDev87
left a comment
Owner
Author
There was a problem hiding this comment.
Review: ✅ APPROVE
CI Status: ALL PASS
Code Review
4 command files (plan.md, act.md, eval.md, auto.md) — consistent pattern applied:
.ai-rules/agents/<name>.jsonfile paths → agent name +(loaded via parse_mode in MCP mode; defaults in standalone mode)or(dispatched via parse_mode in MCP mode)See .ai-rules/agents/<name>.json for complete→See agent documentation for complete.ai-rules/rules/clarification-guide.md→project rulesSee .ai-rules/agents/ for complete→See agent definitions for complete
All replacements are consistent and thorough across all 4 files. No .ai-rules/ references remain in slash commands.
Issues Found: None
Recommendation: APPROVE
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
.ai-rules/agents/*.jsonand.ai-rules/rules/*.mdfile path references fromcommands/plan.md,eval.md,auto.md, andact.md(loaded via parse_mode in MCP mode; defaults in standalone mode)or(dispatched via parse_mode in MCP mode)patterns.ai-rules/assets, so these paths were broken in standalone modeChanged Files
packages/claude-code-plugin/commands/plan.md— 13 references replacedpackages/claude-code-plugin/commands/eval.md— 23 references replacedpackages/claude-code-plugin/commands/auto.md— 4 references replacedpackages/claude-code-plugin/commands/act.md— 12 references replacedTest plan
grep -r ".ai-rules/" commands/returns emptyyarn workspace codingbuddy buildpassesyarn workspace codingbuddy testpasses (5822 tests)Closes #1238