cleanup-template

Replace template name references with the current project name across a repository.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/edri2or/project-life-132 --skill cleanup-template
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cleanup-template
Source: https://github.com/edri2or/project-life-132/tree/main/exported-skills/cleanup-template
Command: npx skills add https://github.com/edri2or/project-life-132 --skill cleanup-template

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Detaches a new project from its source template by replacing all template name references with the current project name. Use when cloning from templates and the repo still contains stale template references.

Core Features & Use Cases

  • Detects and replaces template-name references across the repo using the local clone's template markers (e.g., .claude/template-source).
  • Ensures safe edits by preparing a change summary and requiring explicit user approval before applying changes.
  • Provides a ready-to-run Quick Start path to detach a template in new projects and templates.

Quick Start

Run this skill on a cloned project to detach it from its template by replacing the template name with the new project name.

Frequently Asked Questions about cleanup-template

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I remove template references from a cloned git repository?

Detaching template references involves scanning a cloned repository for template markers like .claude/template-source and replacing the source template name with the current project name. This process ensures the new project is fully independent of its template.

When do I need to detach a template from an existing project?

You need to detach a template from a project when you have cloned a repository for a new project and it still contains stale references to the original source template name. Detaching replaces these references with the new project name to prevent conflicts.

How do I replace the template name with the project name across a whole repo?

You can replace a template name across a whole repo by running a detachment workflow that scans for template markers, prepares a change summary of all occurrences, and applies the edits to swap the template name with the current project name.

Can I review repository changes before the template name is replaced?

Yes, you can review changes before the template name is replaced because the detachment workflow prepares a change summary and requires explicit user approval before applying any edits to the repository files.

Does the detachment process check specific files like .claude/template-source?

Yes, the detachment process checks specific files like .claude/template-source and other template markers within the local clone to consistently detect and replace all references to the original template name.