一键导入
designer-notes
Wire designer-notes into the current project — adds the script tag, starts the dev server, and opens in browser for Figma-style feedback commenting
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Wire designer-notes into the current project — adds the script tag, starts the dev server, and opens in browser for Figma-style feedback commenting
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Read a UI feedback markdown file exported by designer-notes and apply targeted code revisions
Read a UI feedback markdown file exported by designer-notes and apply targeted code revisions
Wire designer-notes into the current project — adds the script tag, starts the dev server, and opens in browser for Figma-style feedback commenting
| name | designer-notes |
| description | Wire designer-notes into the current project — adds the script tag, starts the dev server, and opens in browser for Figma-style feedback commenting |
Set up the designer-notes feedback tool in the current project so the user can leave spatially-anchored comments on generated UI.
Run the setup script. Use the current working directory (or the path the user provided) as the project directory:
node ~/.agents/skills/designer-notes/setup.js --platform codex "<project-directory>" [filename.html]
Parse the JSON output. Here's the shape:
{
"projectDir": "/path/to/project",
"toolFilesPresent": true,
"htmlFiles": [
{ "file": "index.html", "status": "injected" },
{ "file": "about.html", "status": "already-present" }
],
"server": { "status": "started", "port": 3847, "url": "http://localhost:3847" },
"changelog": { "status": "already-exists" },
"config": { "exists": true, "preferences": { "autoApply": false, "defaultModel": "gpt-4o" } },
"update": { "installed": "1.6.0", "latest": "1.7.0", "command": "npx designer-notes@latest --force" }
}
If toolFilesPresent is false, tell the user to install: npx designer-notes@latest --codex
If any HTML file has status: "no-body-tag", warn the user.
If update is present, tell the user at the end of your report: designer-notes v{latest} is available (you have v{installed}). Run {command} to update. This is informational — don't block setup.
config.exists is false)If no dn-config.json exists yet, ask the user two questions:
$submit-feedback apply changes without asking for confirmation? (Default: no)Then generate dn-config.json in the project directory:
{
"editor": "codex",
"skills": [],
"directives": [
{ "name": "o3", "description": "Use o3 model (most capable)", "group": "model" },
{ "name": "gpt-4o", "description": "Use GPT-4o model (fast + capable)", "group": "model" },
{ "name": "o4-mini", "description": "Use o4-mini model (fastest)", "group": "model" },
{ "name": "high-effort", "description": "Maximum reasoning depth", "group": "effort" },
{ "name": "medium-effort", "description": "Balanced reasoning", "group": "effort" },
{ "name": "low-effort", "description": "Quick pass", "group": "effort" }
],
"preferences": {
"defaultModel": "<user's choice>",
"availableModels": ["o3", "gpt-4o", "o4-mini"],
"defaultEffort": "medium-effort",
"autoApply": false,
"showUI": true,
"hideToggleButton": false
}
}
Note: The skills array is empty for Codex — Codex skills use $ prefix invocation and don't need to be listed in config for autocomplete. If Codex gains a skill discovery API in the future, this can be populated.
If config already exists, skip this step.
Display this message (replace {url} with the actual server URL + filename):
designer-notes is ready. Here's how it works:
- Open {url} in your browser
- Press C to comment — click any element to pin your feedback
- Come back here and run
$submit-feedbackwhen you're ready to apply changesComments save automatically as you go. Nothing to export.
Open at the server URL from the setup results.
Tell the user: