- Pin tea CLI to 0.10.1 to avoid TTY bug in 0.11.x - Add .claude/skills/gitea for PR creation workflow - Document tea CLI usage in CLAUDE.md Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
972 B
972 B
Claude Code Notes
Development Server
Before starting the dev server, check if it's already running:
- Use
lsof -i :6827or check for existing background tasks - The dev server runs on port 6827 (may fall back to 6828 if port is in use)
- Start with
bun run --cwd apps/publisher-dashboard devordevenv up
Pull Requests
This repo uses Gitea (git.rev.iq) with the tea CLI for pull requests:
- Use the
/giteaskill when creating PRs - tea 0.10.1 is pinned in
nix/tea.nix(0.11.x has TTY bugs) - Always specify
-r igm/publisher-dashboardflag (SSH remote auto-detection doesn't work)
macOS sed Syntax
macOS uses BSD sed which differs from GNU sed:
- In-place edit requires empty string for backup:
sed -i '' 's/old/new/g' file - GNU sed (Linux):
sed -i 's/old/new/g' file - Use
|as delimiter when patterns contain/:sed -i '' 's|old/path|new/path|g' file - For multiple files:
for f in *.txt; do sed -i '' 's/old/new/g' "$f"; done