internal/skills/content/update-framework/SKILL.md
Samuel version update workflow. Use when upgrading to a new Samuel version, migrating framework configurations, or applying upstream template changes while preserving local customizations.
npx skillsauth add ar4mirez/samuel update-frameworkInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
| Trigger | Action | |---------|--------| | New version announced | Full update | | Want new language/framework skills | Selective update | | Monthly maintenance | Check for updates | | New team member needs latest | Verify version parity | | Security advisory | Urgent update |
1. Check Current Version
└── Read CLAUDE.md version
↓
2. Fetch Latest Version
└── Clone/download latest
↓
3. Compare Versions
└── What's new? Breaking changes?
↓
4. Identify Customizations
└── What have you modified?
↓
5. Plan Update Strategy
└── Full replace vs. selective merge
↓
6. Execute Update
└── Backup, copy, merge
↓
7. Verify Update
└── Check files, validate
# Find current version in CLAUDE.md
grep "Current Version" CLAUDE.md
# Check when CLAUDE.md was last modified
ls -la CLAUDE.md
# List installed skills (language guides and framework skills)
ls .claude/skills/
# List installed workflows
ls .claude/skills/
CLAUDE.mdCLAUDE.mdCLAUDE.md.claude/memory/*.claude/tasks/*Files that are typically customized:
CLAUDE.md (always project-specific)CLAUDE.md (project conventions)Files that are typically NOT customized:
.claude/skills/*-guide/SKILL.md).claude/skills/<framework>/SKILL.md)# Clone latest version to temporary directory
git clone --depth 1 https://github.com/ar4mirez/samuel.git .ai-update-temp
# Check latest version
grep "Current Version" .ai-update-temp/CLAUDE.md
# Update subtree
git subtree pull --prefix=.ai-template \
https://github.com/ar4mirez/samuel.git main --squash
# View what's new
cat .ai-update-temp/CHANGELOG.md | head -100
# Compare versions
echo "Current: $(grep 'Current Version' CLAUDE.md)"
echo "Latest: $(grep 'Current Version' .ai-update-temp/CLAUDE.md)"
## Update Summary: v1.5.0 → v1.6.0
### New Files (safe to add):
- .claude/skills/new-framework/SKILL.md
- .claude/skills/new-workflow.md
### Modified Files (review recommended):
- CLAUDE.md (guardrails updated)
- .claude/skills/code-review.md (new checks)
### Your Customizations (will preserve):
- CLAUDE.md (project-specific)
- CLAUDE.md (project-specific)
- .claude/memory/* (decision logs)
- .claude/tasks/* (PRDs and tasks)
### Breaking Changes:
- None (or list if any)
Best when:
Process:
Best when:
Process:
Best when:
Process:
Based on:
# 1. Create backup directory
mkdir -p .ai-backup
# 2. Backup CLAUDE.md (if customized)
cp CLAUDE.md .ai-backup/
# 3. Backup project-specific files
cp CLAUDE.md .ai-backup/ 2>/dev/null || true
cp CLAUDE.md .ai-backup/ 2>/dev/null || true
cp CLAUDE.md .ai-backup/ 2>/dev/null || true
cp -r .claude/memory .ai-backup/ 2>/dev/null || true
cp -r .claude/tasks .ai-backup/ 2>/dev/null || true
# 4. Copy new template files
cp .ai-update-temp/CLAUDE.md ./
cp -r .ai-update-temp/.claude ./
# 5. Restore project-specific files
cp .ai-backup/project.md .claude/ 2>/dev/null || true
cp .ai-backup/patterns.md .claude/ 2>/dev/null || true
cp .ai-backup/state.md .claude/ 2>/dev/null || true
cp -r .ai-backup/memory/* .claude/memory/ 2>/dev/null || true
cp -r .ai-backup/tasks/* .claude/tasks/ 2>/dev/null || true
# 6. If you had CLAUDE.md customizations, merge them
# (AI will help with this step)
# 7. Clean up
rm -rf .ai-update-temp
rm -rf .ai-backup
# Add only new language guide skills
cp -r .ai-update-temp/.claude/skills/new-language-guide/ .claude/skills/
# Add only new framework skills
cp -r .ai-update-temp/.claude/skills/new-framework/ .claude/skills/
# Add only new workflows
cp .ai-update-temp/.claude/skills/new-workflow.md .claude/skills/
If you've customized CLAUDE.md:
Diff the files:
diff CLAUDE.md .ai-update-temp/CLAUDE.md
Identify your customizations (usually in specific sections)
AI will help merge:
CLAUDE.mdCLAUDE.mdCLAUDE.md.claude/memory/*.claude/tasks/*# Check version
grep "Current Version" CLAUDE.md
# List all skills (language guides and framework skills)
echo "=== Skills ==="
ls .claude/skills/
echo "=== Workflows ==="
ls .claude/skills/
# Verify project files exist
echo "=== Project Files ==="
ls -la CLAUDE.md CLAUDE.md CLAUDE.md 2>/dev/null
# Count memory files
echo "=== Memory Files ==="
ls .claude/memory/ 2>/dev/null | wc -l
Start a new AI session and verify:
User Request:
@.claude/skills/update-framework/SKILL.md
Update to the latest version of Samuel
AI Will:
User Request:
@.claude/skills/update-framework/SKILL.md
Check what's new in the latest version (don't update yet)
AI Will:
User Request:
@.claude/skills/update-framework/SKILL.md
I only want to add the new React and Next.js framework skills.
Keep everything else as-is.
AI Will:
User Request:
@.claude/skills/update-framework/SKILL.md
Verify my installation matches version 1.6.0 that the team is using.
AI Will:
User Request:
@.claude/skills/update-framework/SKILL.md
Update to latest. I have custom guardrails in CLAUDE.md that I need to keep.
AI Will:
| Workflow | Relationship | |----------|--------------| | initialize-project | For first-time installation | | cleanup-project | Remove unused guides after update | | generate-agents-md | Regenerate AGENTS.md after update | | document-work | Document the update decision |
For detailed migration steps, conflict resolution examples, and troubleshooting procedures, see:
development
Zig language guardrails, patterns, and best practices for AI-assisted development. Use when working with Zig files (.zig), build.zig, or when the user mentions Zig. Provides comptime patterns, allocator conventions, C interop guidelines, and testing standards specific to this project's coding standards.
tools
WordPress framework guardrails, patterns, and best practices for AI-assisted development. Use when working with WordPress projects, or when the user mentions WordPress. Provides theme development, plugin architecture, REST API, blocks, and security guidelines.
tools
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs. Use when testing web apps, automating browser interactions, or debugging frontend issues.
tools
Suite of tools for creating elaborate, multi-component web applications using modern frontend technologies (React, Tailwind CSS, shadcn/ui). Use for complex projects requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX pages.