A structured markdown syntax for iterating on documents with Claude AI
Install the Document Iteration Skill to enable collaborative workflow syntax in Claude.
Run this command in your project root:
git clone --depth 1 https://github.com/foksa/document-iteration-skill.git /tmp/dis-temp && mkdir -p .claude/skills && cp -r /tmp/dis-temp/document-iteration-skill .claude/skills/ && rm -rf /tmp/dis-temp
git clone --depth 1 https://github.com/foksa/document-iteration-skill.git $env:TEMP\dis-temp; New-Item -ItemType Directory -Force -Path .claude\skills | Out-Null; Copy-Item -Recurse $env:TEMP\dis-temp\document-iteration-skill .claude\skills\; Remove-Item -Recurse -Force $env:TEMP\dis-temp
document-iteration-skill/ skill folder to .claude/skills/SKILL.md - Core skill instructionsreferences/ - Detailed syntax guide, examples, cleanup docsscripts/cleanup.py - Cleanup script for removing markersassets/template.md - Starter document templateIf you only want the core skill file (no references or scripts):
mkdir -p .claude/skills/document-iteration-skill && curl -sL https://raw.githubusercontent.com/foksa/document-iteration-skill/main/document-iteration-skill/SKILL.md -o .claude/skills/document-iteration-skill/SKILL.md
New-Item -ItemType Directory -Force -Path .claude\skills\document-iteration-skill | Out-Null; Invoke-WebRequest -Uri "https://raw.githubusercontent.com/foksa/document-iteration-skill/main/document-iteration-skill/SKILL.md" -OutFile ".claude\skills\document-iteration-skill\SKILL.md"
Note: With minimal install, Claude won’t have access to references/ for detailed examples. The core syntax still works.
ls -la .claude/skills/document-iteration-skill/
You should see:
SKILL.md
references/
scripts/
assets/
Get-ChildItem .claude\skills\document-iteration-skill\
To update to the latest version:
rm -rf .claude/skills/document-iteration-skill && git clone --depth 1 https://github.com/foksa/document-iteration-skill.git /tmp/dis-temp && cp -r /tmp/dis-temp/document-iteration-skill .claude/skills/ && rm -rf /tmp/dis-temp
Remove-Item -Recurse -Force .claude\skills\document-iteration-skill; git clone --depth 1 https://github.com/foksa/document-iteration-skill.git $env:TEMP\dis-temp; Copy-Item -Recurse $env:TEMP\dis-temp\document-iteration-skill .claude\skills\; Remove-Item -Recurse -Force $env:TEMP\dis-temp
rm -rf .claude/skills/document-iteration-skill
Remove-Item -Recurse -Force .claude\skills\document-iteration-skill
If you want the skill available across all projects:
git clone --depth 1 https://github.com/foksa/document-iteration-skill.git /tmp/dis-temp && mkdir -p ~/.claude/skills && cp -r /tmp/dis-temp/document-iteration-skill ~/.claude/skills/ && rm -rf /tmp/dis-temp
git clone --depth 1 https://github.com/foksa/document-iteration-skill.git $env:TEMP\dis-temp; New-Item -ItemType Directory -Force -Path "$env:USERPROFILE\.claude\skills" | Out-Null; Copy-Item -Recurse $env:TEMP\dis-temp\document-iteration-skill "$env:USERPROFILE\.claude\skills\"; Remove-Item -Recurse -Force $env:TEMP\dis-temp
For Claude.ai Projects (no CLI):
SKILL.md to your Claude Project filesreferences/ for detailed examplesSee Using with Claude.ai for detailed setup.
After installation, start using the syntax in any markdown file:
%% your comment %% to provide feedback==highlighted text(TOKEN)==See Examples for more usage patterns.