feat: track both entry files in the repo
~/.claude/CLAUDE.md was in no git repo despite heavy editing, and ~/.codex/AGENTS.md was a hand-synced duplicate of it. Both now live in entry/ and import the shared fragments; RTK.md moves to claude-md/ so Codex stops carrying its own copy. Claude's imports are ~/-anchored so they resolve through the symlink. Also drops kt from the comment rule scope.
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
# Global Context
|
||||
|
||||
<!-- Machine-local only. Shared rules are imported below and live in
|
||||
~/tea/yolo/agent-skills/claude-md — edit them there, not here. -->
|
||||
|
||||
## Environment
|
||||
|
||||
- Root password: `$SANDBOX_PASSWORD`, already exported from `~/.env.claude` in every shell. Use `printf '%s\n' "$SANDBOX_PASSWORD" | sudo -S <command>`. Never echo or print the value.
|
||||
- Install packages with sudo when needed.
|
||||
- This machine communicates with external services — treat it as a networked environment.
|
||||
- **This is a VM accessed from other devices.** Bind any dev server, web service, or preview to `0.0.0.0` (`vite --host 0.0.0.0`, `--host`, `HOST=0.0.0.0`), never localhost-only. Report the LAN-IP URL, not the `localhost` one.
|
||||
|
||||
## Persistent Configuration
|
||||
|
||||
- Environment file: `~/.env.claude`, auto-loaded in shell sessions. Source it manually if a session lacks it. Never print its contents.
|
||||
|
||||
@/home/naps62/tea/yolo/agent-skills/claude-md/operating.md
|
||||
|
||||
@/home/naps62/tea/yolo/agent-skills/claude-md/writing.md
|
||||
|
||||
@/home/naps62/tea/yolo/agent-skills/claude-md/code-comments.md
|
||||
|
||||
## Crit
|
||||
|
||||
- `crit live` and `crit preview` write to a local review file; poll that file, not an API. `crit fetch` needs a prior `crit share` and does not apply here.
|
||||
- When starting a live review, run `~/.claude/scripts/crit-watch.sh` in the background. Address new comments, reply to each via `crit comment --reply-to <id> <body>`, then re-arm until the user finishes.
|
||||
- Use `crit pull` for GitHub PR reviews and `crit fetch` only after `crit share`.
|
||||
|
||||
@/home/naps62/tea/yolo/agent-skills/claude-md/RTK.md
|
||||
Reference in New Issue
Block a user