A structured markdown syntax for iterating on documents with Claude AI
Visual highlighting and snippets for iteration markers in VS Code.
Use the setup-vscode.md prompt with Claude Code to install the skill and configure VS Code automatically.
Copy files from editor-configs/vscode/:
.vscode/settings.json → your project’s .vscode/ folder.vscode/markdown.code-snippets → your project’s .vscode/ folderkeybindings.json → merge into your user keybindings (Cmd+Shift+P → “Preferences: Open Keyboard Shortcuts (JSON)”)For highlighting, install the “TODO Highlight v2” extension (jgclark.vscode-todo-highlight). The extensions.json will prompt you to install it.
Add to VS Code: Cmd+Shift+P → “Snippets: Configure User Snippets” → “markdown.json”
{
"Comment": {
"prefix": "%%",
"body": "%% $1 %%",
"description": "Add a comment"
},
"Question": {
"prefix": "%%?",
"body": "%% ?: $1 %%",
"description": "Add a question"
},
"Token Comment": {
"prefix": "%%()",
"body": "%%($1) $2 %%",
"description": "Comment on a token"
},
"Highlight": {
"prefix": "==(",
"body": "==${TM_SELECTED_TEXT}($1)==",
"description": "Wrap selection with highlight token"
},
"Approved": {
"prefix": "%%a",
"body": "%% APPROVED %%",
"description": "Mark as approved"
},
"Revise": {
"prefix": "%%r",
"body": "%% REVISE %%",
"description": "Mark for revision"
},
"Info": {
"prefix": "%%i",
"body": "%% INFO: $1 %%",
"description": "Add actionable info"
},
"Note": {
"prefix": "%%n",
"body": "%% NOTE: $1 %%",
"description": "Add context note"
}
}
| Type | Get | Then fill in |
|---|---|---|
%% + Tab |
%% _ %% |
your comment |
%%? + Tab |
%% ?: _ %% |
your question |
%%a + Tab |
%% APPROVED %% |
(nothing) |
%%( + Tab |
%%(_) _ %% |
token, then comment |
Snippets aren’t ideal for wrapping text. Use a keyboard shortcut instead:
Cmd+Shift+P → “Preferences: Open Keyboard Shortcuts (JSON)”{
"key": "cmd+shift+h",
"command": "editor.action.insertSnippet",
"when": "editorTextFocus && editorLangId == markdown",
"args": {
"snippet": "==${TM_SELECTED_TEXT}($1)=="
}
}
Usage: Select text → Cmd+Shift+H → type token name → Escape
Add to .vscode/settings.json:
{
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "comment.block.percentage.markdown",
"settings": {
"foreground": "#FFA500",
"fontStyle": "italic"
}
}
]
}
}
Install “TODO Highlight v2” extension (jgclark.vscode-todo-highlight), then add to settings:
{
"todohighlight.include": [
"**/*.md",
"**/*.markdown"
],
"todohighlight.keywords": [
{
"text": "%%",
"color": "rgb(150, 135, 60)",
"backgroundColor": "transparent"
},
{
"text": "•%%>",
"color": "rgb(60, 140, 140)",
"backgroundColor": "transparent"
},
{
"text": "<%%•",
"color": "rgb(60, 140, 140)",
"backgroundColor": "transparent"
}
]
}
Install “Better Comments” - works out of the box for %% in many file types.