Skip to content

Skills for Claude Code CLI such as full stack dev Cloudflare, React, Tailwind v4, and AI integrations.

docs: Complete TIER 2 rules updates + add private repo planning doc

Jezbd407e5b025f
diff --git a/planning/FUTURE_PRIVATE_CLAUDE_REPO.md b/planning/FUTURE_PRIVATE_CLAUDE_REPO.md
new file mode 100644
index 00000000..509cd0b7
--- /dev/null
+++ b/planning/FUTURE_PRIVATE_CLAUDE_REPO.md
@@ -0,0 +1,146 @@
+# Future Task: Private Repo for ~/.claude Folder
+
+**Created**: 2026-01-03
+**Status**: Proposed
+**Priority**: Low (when time permits)
+
+---
+
+## The Idea
+
+Create a separate **private** git repository to version control the contents of `~/.claude/` folder, specifically:
+
+- `~/.claude/rules/*.md` - User-level correction rules
+- `~/.claude/settings.json` - Global settings
+- `~/.claude/CLAUDE.md` - Global instructions
+
+## Why Private (Not Public)
+
+Per user preference: These rules represent "special secret sauce IP" - accumulated knowledge and corrections that give a competitive advantage. Unlike the open-source `claude-skills` repo, these are personal productivity enhancements.
+
+## Current State
+
+- **Backup exists**: User has a backup of these files
+- **Not version controlled**: Currently just local files
+- **49 user-level rules**: As of Jan 2026 audit
+
+## Implementation Approach
+
+### Option 1: Simple Private Repo
+
+```bash
+# Create private repo
+gh repo create jezweb/claude-config --private
+
+# Clone and set up
+cd ~/.claude
+git init
+git remote add origin [email protected]:jezweb/claude-config.git
+
+# Create .gitignore for sensitive items
+cat > .gitignore << 'EOF'
+# Exclude any API keys or secrets
+*.key
+*.secret
+auth-keys.txt
+
+# Exclude cache/temp
+.cache/
+*.log
+
+# Exclude plans (ephemeral)
+plans/
+EOF
+
+# Initial commit
+git add .
+git commit -m "Initial commit: Claude config and rules"
+git push -u origin main
+```
+
+### Option 2: Git Bare Repo with Dotfiles Pattern
+
+Use the popular "dotfiles" pattern with a bare git repo:
+
+```bash
+# Initialize bare repo
+git init --bare $HOME/.claude-repo
+
+# Create alias
+alias claude-config='git --git-dir=$HOME/.claude-repo --work-tree=$HOME/.claude'
+
+# Set up
+claude-config config --local status.showUntrackedFiles no
+claude-config remote add origin [email protected]:jezweb/claude-config.git
+
+# Use normally
+claude-config add rules/
+claude-config commit -m "Update rules"
+claude-config push
+```
+
+### Option 3: Symlink from Private Repo
+
+Keep repo elsewhere, symlink to ~/.claude:
+
+```bash
+# Repo lives in Documents
+gh repo create jezweb/claude-config --private --clone
+cd ~/Documents/claude-config
+
+# Create structure
+mkdir -p rules
+cp ~/.claude/rules/*.md rules/
+cp ~/.claude/CLAUDE.md .
+cp ~/.claude/settings.json .
+
+# Replace ~/.claude with symlink or symlink individual dirs
+ln -sf ~/Documents/claude-config/rules ~/.claude/rules
+```
+
+## Considerations
+
+| Aspect | Notes |
+|--------|-------|
+| **Sync across machines** | Git pull on each machine |
+| **Sensitive data** | Ensure no API keys in rules files |
+| **Conflicts with skills** | Rules are separate from skills (different concerns) |
+| **Backup redundancy** | Git provides history + remote backup |
+
+## What to Include
+
+**Include:**
+- `rules/*.md` - All correction rules
+- `CLAUDE.md` - Global instructions
+- `settings.json` - Preferences (if not sensitive)
+- `commands/*.md` - Custom slash commands (if any outside skills)
+
+**Exclude:**
+- `skills/` - These are symlinks to public repo
+- `plans/` - Ephemeral working files
+- Any files with API keys or secrets
+- `.cache/` or temp files
+
+## Relationship to claude-skills Repo
+
+```
+~/.claude/
+├── skills/ → Symlinks to public jezweb/claude-skills
+├── rules/ → Private repo (jezweb/claude-config)
+├── commands/ → Could be either (currently in public)
+├── CLAUDE.md → Private repo
+└── settings.json → Private repo
+```
+
+## Action Items (When Ready)
+
+1. [ ] Decide on implementation approach (Option 1 recommended for simplicity)
+2. [ ] Audit rules for any sensitive content before pushing
+3. [ ] Create private GitHub repo
+4. [ ] Set up git tracking
+5. [ ] Document sync workflow for multiple machines
+6. [ ] Update main CLAUDE.md to reference this setup
+
+---
+
+**Note**: This is a future enhancement, not urgent. Current backup is sufficient for now.
diff --git a/planning/RULES_UPDATES_JAN_2026.md b/planning/RULES_UPDATES_JAN_2026.md
index c82c32a6..d978f6b1 100644
--- a/planning/RULES_UPDATES_JAN_2026.md
+++ b/planning/RULES_UPDATES_JAN_2026.md
@@ -21,18 +21,18 @@
| ai-gateway-providers.md | Missing 16 of 24 providers (only 8 documented) | 0.5 | ✅ Done |
| cloudflare-ai-gateway.md | BYOK now uses Secrets Store (Aug 2025), custom providers missing | 0.5 | ✅ Done |
-### TIER 2: HIGH (Next Sprint) - ~5 hours
+### TIER 2: HIGH (Next Sprint) - ~5 hours ✅ COMPLETE (2026-01-03)
| Rule File | Issue | Est. Hours | Status |
|-----------|-------|------------|--------|
-| snowflake-native-app-marketplace.md | Legacy SQL → snow CLI, release channels, NAAPS details | 1.5 | ⏳ Not Started |
-| snowflake-native-apps.md | Release channels workflow, `snow app publish` command | 1 | ⏳ Not Started |
-| snowflake-marketplace-listing.md | Data dictionary now MANDATORY, data attributes field | 0.5 | ⏳ Not Started |
-| cloudflare-workers-ai-models.md | Missing 8 new 2025 models (OpenAI GPT-OSS, Deepgram, Leonardo) | 0.5 | ⏳ Not Started |
-| expo-android-sdk.md | Update deadline to Aug 31, 2025 (was "late 2024") | 0.25 | ⏳ Not Started |
-| git-patterns.md | Add tag performance impact, modern monorepo tools | 0.5 | ⏳ Not Started |
-| drizzle-orm.md | Add `timestamp_ms` mode info, modernize journal drift | 0.5 | ⏳ Not Started |
-| d1-batch-operations.md | Clarify Free (50) vs Paid (1,000) tier limits | 0.25 | ⏳ Not Started |
+| snowflake-native-app-marketplace.md | Legacy SQL → snow CLI, release channels, NAAPS details | 1.5 | ✅ Done |
+| snowflake-native-apps.md | Release channels workflow, `snow app publish` command | 1 | ✅ Done |
+| snowflake-marketplace-listing.md | Data dictionary now MANDATORY, data attributes field | 0.5 | ✅ Done |
+| cloudflare-workers-ai-models.md | Missing 8 new 2025 models (OpenAI GPT-OSS, Deepgram, Leonardo) | 0.5 | ✅ Done |
+| expo-android-sdk.md | Update deadline to Aug 31, 2025 (was "late 2024") | 0.25 | ✅ Done |
+| git-patterns.md | Add tag performance impact, modern monorepo tools | 0.5 | ✅ Done |
+| drizzle-orm.md | Add `timestamp_ms` mode info, modernize journal drift | 0.5 | ✅ Done |
+| d1-batch-operations.md | Clarify Free (50) vs Paid (1,000) tier limits | 0.25 | ✅ Done |
### TIER 3: MEDIUM (Following Sprint) - ~2 hours
@@ -164,6 +164,7 @@
|------|---------|-----------|------------|
| 2026-01-03 | Initial Audit | Launched 9 parallel rule audits, compiled findings | Start TIER 1 updates |
| 2026-01-03 | TIER 1 Updates | Completed all 5 TIER 1 rules (clerk-auth, better-auth-vite, vite-node, ai-gateway-providers, cloudflare-ai-gateway) | TIER 2 updates |
+| 2026-01-03 | TIER 2 Updates | Completed all 8 TIER 2 rules (snowflake ×3, workers-ai-models, expo, git, drizzle, d1) | TIER 3 when time permits |
---
@@ -180,7 +181,9 @@
## Completion Criteria
- [x] All TIER 1 rules updated ✅ (2026-01-03)
-- [ ] All TIER 2 rules updated
+- [x] All TIER 2 rules updated ✅ (2026-01-03)
+- [ ] All TIER 3 rules updated
+- [ ] All TIER 4 rules updated
- [ ] No rule below 90% accuracy
- [ ] All deprecated patterns removed
- [ ] Version references current