Commit Graph

6 Commits

Author SHA1 Message Date
Paul O'Reilly
24081a1d6f Fix skills: replace \${} with \$VAR to pass Bash permission checks
Claude Code's Bash permission checker rejects \${VAR} parameter
substitution in skill ! commands. Replace all occurrences with \$VAR
(identical shell expansion) across log, reflect-logs, and
distill-best-practices skills. Rewrite \${VAR:-default} to use
test -n / || pattern instead.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 14:19:38 +13:00
Paul O'Reilly
bb6fb72705 Fix sandbox errors: use relative paths for cross-project file access
Skills used absolute paths (~/dev/claude/projects/claude-foundations/...)
which get blocked by Claude Code's sandbox when running from other projects.
Changed to relative paths (../claude-foundations/) with local-first fallback
and inline defaults so skills work regardless of sandbox restrictions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 22:33:47 +13:00
Paul O'Reilly
1e1e1d0557 Update distill skill to target BESTPRACTICES.md instead of INDEX.md
Matches the move of best-practices/INDEX.md to BESTPRACTICES.md in
claude-foundations root for context-load auto-discovery.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 12:05:31 +13:00
Paul O'Reilly
3c77f85403 Add three knowledge distillation skills: /log, /reflect-logs, /distill-best-practices
- /log: end-of-session capture of decisions, gotchas, open questions to memory/log/
- /reflect-logs: processes session logs into topic memory files with staleness detection
- /distill-best-practices: cross-project best practices extraction with interactive proposals
- README.md: updated skill table with all three new skills

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 23:39:12 +13:00
Paul O'Reilly
85dfa2ef2e Fix reflect skill: remove $() substitution that fails permission checks
The !`command` blocks in SKILL.md go through Claude Code's Bash permission
checker, which rejects $() command substitution. Simplified the git log
command, replaced dynamic verify script path with a Read tool instruction,
and narrowed allowed-tools to specific command patterns. Also documented
the constraints in CLAUDE.md for future skill development.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 20:06:52 +13:00
Paul O'Reilly
5ff98763cd Initial project setup with reflect skill
Reusable Claude Code skills shared across projects via symlinks
into ~/.claude/skills/. Includes the /reflect skill for structured
milestone reflections.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 15:33:46 +13:00