| name | update-template |
| description | Searches online for the latest Claude Code best practices, changelog, and recommendations, then updates this template repo's structure accordingly. Use when you want to keep the template up to date with the latest Claude Code features. |
| argument-hint | [--dry-run] [--focus hooks|skills|agents|rules|docs|settings] |
| allowed-tools | WebSearch, WebFetch, Read, Glob, Grep, Edit, Write, Bash, Agent |
Update template repo with latest Claude Code best practices
Arguments
--dry-run — Only report recommendations, don't change files
--focus <area> — Focus on a specific area (hooks, skills, agents, rules, docs, settings, claude-md)
Parse arguments from $ARGUMENTS. Default: full update, live mode.
Step 1: Online research (MANDATORY)
Search for ALL of the following using WebSearch. Run searches in parallel where possible:
- "Claude Code changelog 2026 latest release notes"
- "CLAUDE.md best practices configuration guide"
- "claude code hooks PostToolUse PreToolUse Stop new hooks"
- "claude code skills SKILL.md agent skills standard"
- "claude code settings.json schema permissions deny"
- "anthropic claude code new features update"
- "context engineering claude code best practices"
- "claude code community CLAUDE.md examples github"
Collect ALL relevant findings before proceeding.
Step 2: Read current structure
Read these files from this repo:
CLAUDE.md
.claude/settings.json
.claude/docs/skills.md
.claude/docs/workflows.md
.claude/docs/conventions.md
.claude/rules/*.md (all files)
.claude/agents/*.md (all files)
.claude/skills/*/SKILL.md (all files)
Step 3: Gap analysis
Compare online findings (step 1) with current structure (step 2). Identify:
- New features that should be adopted
- Deprecated patterns to remove or replace
- Improved patterns to update
- New hooks/settings to add
- Security improvements missing
- Context optimizations available
- New skill types worth creating
Step 4: Apply or report
If --dry-run:
Write a detailed report in English with all findings and recommendations. Do NOT modify any files.
If live mode:
- Apply each recommended change using Edit tool (surgical changes only)
- Write a summary of all changes made
- Run
git diff to show what changed
Report format
## Update report (date)
### New features found
- [feature]: [description] → [action]
### Deprecated/changed patterns
- [pattern]: [what changed] → [action]
### Applied updates
1. [file]: [change]
### No changes needed
- [area]: [reason]
### Recommendations for next time
- [suggestion]
Rules
- Communicate in English, code in English
- Preserve ALL project-specific customizations (marked with # PROJECT-SPECIFIC)
- NEVER change the fundamental structure without strong justification
- Priority: Security > Correctness > Simplicity
- When unsure: report instead of changing
- Focus on
$ARGUMENTS area if specified, otherwise update everything