| name | template-updater |
| description | Research-backed template refresh workflow for updating existing templates with placeholder verification and rendering validation. |
| version | 1.0.0 |
| model | sonnet |
| invoked_by | both |
| user_invocable | true |
| tools | ["Read","Write","Edit","Glob","Grep","Bash","Skill","MemoryRecord"] |
| args | --template <name-or-path> [--trigger reflection|evolve|manual|stale] [--mode plan|execute] |
| error_handling | graceful |
| streaming | supported |
| verified | true |
| lastVerifiedAt | 2026-04-07 |
| dependencies | ["research-synthesis"] |
| category | framework-management |
| tags | ["templates","updater","maintenance","framework"] |
| aliases | ["update-template","refresh-template"] |
| source | builtin |
| trust_score | 100 |
| provenance_sha | ed53cddae9aa5d7c |
Template Updater
Overview
Use this skill to refresh an existing template safely: research current best practices, compare against current implementation, verify placeholder completeness, apply updates, and validate rendering.
When to Use
- Template produces outdated or incorrect output when rendered
- New framework conventions make template content stale
- Reflection flags template quality issues
- User asks to audit/refresh an existing template
The Iron Law
Never update a template blindly. Every refresh must be evidence-backed, TDD-gated, and integration-validated.
Workflow
Step 0: Evaluate Current State
- Read the template file and understand its purpose
- Identify all
{{PLACEHOLDER}} tokens and their expected values
- Check which creators/skills use this template
- Identify issues: missing placeholders, outdated content, wrong structure
Step 1: Research Best Practices
- Read
.claude/templates/CLAUDE.md for template conventions
- Review similar templates for patterns
- Check the
template-renderer skill for rendering expectations
- Use
Skill({ skill: 'research-synthesis' }) if external research needed
Step 2: Generate Patch Backlog
- List specific changes needed
- Prioritize: structural fixes > content updates > formatting improvements
- Ensure all placeholders are documented
Step 3: Apply Updates
- Write or update rendering tests first (RED phase)
- Apply template changes (GREEN phase)
- Refactor for clarity (REFACTOR phase)
- Use
Edit tool — never rewrite the entire file
Step 4: Verify Integration
- Verify all
{{PLACEHOLDER}} tokens are documented in the template header
- Test rendering with
Skill({ skill: 'template-renderer' })
- Verify output matches expected structure for the artifact type
- Run
pnpm lint:fix && pnpm format
Step 5: Record
- Log changes via
MemoryRecord if significant
- Update CHANGELOG.md entry
Domain-Specific Validation
- All
{{PLACEHOLDER}} tokens MUST be documented with description and example