Skip to content

fix(plugin): remove .ai-rules file path refs from slash commands (#1238)#1241

Merged
JeremyDev87 merged 1 commit into
masterfrom
fix/remove-ai-rules-file-refs-1238
Apr 3, 2026
Merged

fix(plugin): remove .ai-rules file path refs from slash commands (#1238)#1241
JeremyDev87 merged 1 commit into
masterfrom
fix/remove-ai-rules-file-refs-1238

Conversation

@JeremyDev87

Copy link
Copy Markdown
Owner

Summary

  • Remove all .ai-rules/agents/*.json and .ai-rules/rules/*.md file path references from commands/plan.md, eval.md, auto.md, and act.md
  • Replace with agent names + (loaded via parse_mode in MCP mode; defaults in standalone mode) or (dispatched via parse_mode in MCP mode) patterns
  • The npm tarball (53 files) does NOT include .ai-rules/ assets, so these paths were broken in standalone mode

Changed Files

  • packages/claude-code-plugin/commands/plan.md — 13 references replaced
  • packages/claude-code-plugin/commands/eval.md — 23 references replaced
  • packages/claude-code-plugin/commands/auto.md — 4 references replaced
  • packages/claude-code-plugin/commands/act.md — 12 references replaced

Test plan

  • grep -r ".ai-rules/" commands/ returns empty
  • yarn workspace codingbuddy build passes
  • yarn workspace codingbuddy test passes (5822 tests)

Closes #1238

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.
@JeremyDev87 JeremyDev87 added the fix label Apr 3, 2026
@vercel

vercel Bot commented Apr 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
codingbuddy-landing Ready Ready Preview, Comment Apr 3, 2026 5:27pm

@JeremyDev87 JeremyDev87 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review: ✅ APPROVE

CI Status: ALL PASS

Code Review

4 command files (plan.md, act.md, eval.md, auto.md) — consistent pattern applied:

  1. .ai-rules/agents/<name>.json file paths → agent name + (loaded via parse_mode in MCP mode; defaults in standalone mode) or (dispatched via parse_mode in MCP mode)
  2. See .ai-rules/agents/<name>.json for completeSee agent documentation for complete
  3. .ai-rules/rules/clarification-guide.mdproject rules
  4. See .ai-rules/agents/ for completeSee 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

@JeremyDev87 JeremyDev87 self-assigned this Apr 3, 2026
@JeremyDev87 JeremyDev87 merged commit 456003a into master Apr 3, 2026
25 checks passed
@JeremyDev87 JeremyDev87 deleted the fix/remove-ai-rules-file-refs-1238 branch April 3, 2026 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(plugin): remove .ai-rules file path references from slash commands

1 participant