
Project retrofit
Splits a bloated CLAUDE.md or notes file into a standard doc set without losing text
Project retrofit is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 5
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Project retrofit
This skill helps migrate an existing project whose agent instructions, notes or TODO have grown into one large file. The agent decides which block of text belongs in which destination document, then hands the actual moves to a bundled Python script that copies text verbatim and checks that every source block is accounted for.
The workflow is staged and gated. The agent first surveys the repository read-only, asks the operator which sources to migrate and which optional docs to scaffold, then writes a plan in a working file outside the destinations. A dry run shows a summary for approval before anything is written. After applying, a coverage check reports any missing text, and a slim replacement entry doc is written and archived with the original kept under docs/archive.
It expects a git repository with the project-factory scripts available, Python 3 and bash. The operator is asked to commit or stash first so changes can be reverted with git restore.
When your agent uses it
Move an existing project's big CLAUDE.md, notes or TODO into the standard doc set without losing any text. Use for "retrofit this project", "split up this CLAUDE.md" or "migrate our notes to the standard docs".
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 3 files (9 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/project-retrofit to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/oneafrikan/the-grid.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/project-retrofit &&
cp -R "$tmp/skills/project-retrofit" ~/.claude/skills/project-retrofit &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/project-retrofit inside it instead.
Copy the skill folder to ~/.agents/skills/project-retrofit to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/oneafrikan/the-grid.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/project-retrofit &&
cp -R "$tmp/skills/project-retrofit" ~/.agents/skills/project-retrofit &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/project-retrofit inside it instead.
Copy the skill folder to ~/.cursor/skills/project-retrofit to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/oneafrikan/the-grid.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/project-retrofit &&
cp -R "$tmp/skills/project-retrofit" ~/.cursor/skills/project-retrofit &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/project-retrofit inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/oneafrikan/the-grid.git --path skills/project-retrofitOr copy the folder to ~/.gemini/skills/project-retrofit yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/project-retrofit:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/oneafrikan/the-grid.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/project-retrofit &&
cp -R "$tmp/skills/project-retrofit" ~/.copilot/skills/project-retrofit &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/project-retrofit inside it instead.
Get the folder:
git clone --depth 1 https://github.com/oneafrikan/the-grid.gitThen copy the-grid/skills/project-retrofit into your agent's skills folder as project-retrofit. Agents that support SKILL.md read one folder per skill.
What it does
- Verbatim block moves
- A script relocates each source block unchanged, so the agent never retypes or rewords the text.
- Coverage verification
- A check reports any source block that did not land in a destination document.
- Staged approval flow
- The agent surveys, plans and dry-runs the migration before the operator approves writes.
- Slim entry doc replacement
- The large original is replaced with a short pointer document, and the original is archived.
- Unsorted fallback
- Ambiguous blocks are routed to an UNSORTED file instead of being guessed or dropped.
- Git-based undo
- The workflow relies on committing or stashing first so changes can be restored with git.
Good for
- Split up a large CLAUDE.md into separate project docs
- Migrate scattered agent notes into the standard doc set
- Retrofit an existing project with a documentation structure
- Move a long TODO file into organised docs without losing items
Project retrofit FAQ
When does Project retrofit trigger?
It is meant for requests such as retrofit this project, split up this CLAUDE.md or migrate our notes to the standard docs.
Does Project retrofit need any scripts?
Yes, it calls retrofit.py and cut-project.sh from the project-factory scripts folder, and it uses map.py for the final check.
Will Project retrofit overwrite existing files?
Scaffolding skips existing files, and the workflow asks the operator to commit or stash first so changes can be undone with git restore.
Is Project retrofit tied to one AI client?
The skill text is written for Claude Code style CLAUDE.md files, and the plugin marketplace field is not set.
How do I install Project retrofit in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/project-retrofit to use it in all your projects, or to .claude/skills/project-retrofit in one project.
Does Project retrofit run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Project retrofit?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Project retrofit?
The closest alternatives to Project retrofit are Project scaffold, Migrate to codex, Doc and modernize, Codebase onboarding and Figure it out.
Where this comes from
- Description: from the skill's own SKILL.md.
More from oneafrikan/the-grid

Turns a business goal into funded bets, budgets, kill conditions and release gates
- Open source
- 5 GitHub stars
- Productivity

Runs hypothesis-driven funnel experiments to move a growth metric, one variable at a time
- Open source
- 5 GitHub stars
- Marketing and SEO

Coordinates a multi-step dev team: writes PRDs, makes architecture calls, reviews output
- Open source
- 5 GitHub stars
- Developer tools

Splits small fixes across specialist agents, merges them, then runs independent QA
- Open source
- 5 GitHub stars
- Developer tools

Lists open GitHub issues grouped by the repo's own severity labels, highest first
- Open source
- 5 GitHub stars
- Developer tools

Guides you through using the-grid: which commands, agents and factories to reach for
- Open source
- 5 GitHub stars
- Developer tools




