-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Description
When running rulesync import -t claudecode, the tool looks for .claude/CLAUDE.md but Claude Code's standard location is CLAUDE.md at project root.
Error
[rulesync] ℹ Found 0 root tool rule files
[rulesync] ℹ Reading file: /path/to/project/.claude/CLAUDE.md
[rulesync] ERROR Failed to load tool files: Error: ENOENT: no such file or directory, open '/path/to/project/.claude/CLAUDE.md'
Expected Behavior
Rulesync should look for CLAUDE.md at project root (same directory as rulesync.jsonc), not inside .claude/ directory.
Claude Code Documentation
Per Claude Code docs, the standard locations are:
./CLAUDE.md- Project root~/.claude/CLAUDE.md- Global user config
There is no .claude/CLAUDE.md in the standard Claude Code setup.
Environment
- rulesync version: 5.2.1
- OS: macOS
Workaround
Creating a symlink: ln -s ../CLAUDE.md .claude/CLAUDE.md resolves the error, but this shouldn't be necessary.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers