spec-polish
启动 dev server,在浏览器中查看功能,并用截图和交互证据迭代 UI polish。
ASCII 链路图
text
Codebase -> Spec -> Plan -> Tasks -> Code -> Review -> Knowledge
|
v
spec-polish
entry: spec-polish
type: workflow command链路图表示该技能在研发阶段上的位置;阶段之间不是必经顺序,按当前任务直接进入最匹配的入口即可。
基本信息
| 字段 | 内容 |
|---|---|
| Skill | spec-polish |
| 类型 | workflow command |
| 研发链路位置 | Code |
| 当前入口 | spec-polish |
| 兼容别名 | /spec:polish、$spec-polish |
| 宿主投递 | Claude Code: command · Codex: skill · Cursor: skill · Kiro: skill · Qoder: command · OpenCode: command · ZCode: skill · Pi: skill |
| Source | skills/spec-polish/SKILL.md |
源码描述(原文)
Start the dev server, inspect the feature in browser, and iterate on polish. Browser-interactive polish only: static code review belongs to spec-code-review and implementation planning to spec-plan — route such requests out by naming the destination skill, never by doing the work here.
Source 契约摘要
以下各条摘自上游 SKILL.md 的契约摘要小节(Workflow Contract Summary 或 Contract Summary),过长时截断。
- 何时使用 — Use when a feature or branch is ready for hands-on browser polish: start its dev server, inspect the feature in browser, and make iterative UI/UX fixes from direct feedback.
- 何时不使用 — Do not use for initial requirements, implementation planning, non-browser backend work, static code review, broad visual audits, or MCP setup/repair beyond the browser helper handoff. When routing out for one of these, name the destination skill explicitly in your reply (static code review belongs to
spec-code-review) — recognizing the mismatch and then doing the excluded work anyway is adopting the wrong workflow… - 输入 — A PR number, branch name, or current branch; project dev-server conventions; feature URL/route when known; user feedback from browser inspection.
- 输出 — Running local dev server URL, browser handoff, authorized scoped polish edits, verification notes, and an explicit commit status.
- 产物 — Authorized source edits in the user's project, dev-server log in temp space, optional browser screenshots/inspection notes, and a final commit only when separately authorized.
- 失败模式 — Wrong branch, main/master branch, missing branch-mutation authority, missing dev-server command, unresolved port, server startup failure, browser helper unavailable, or user feedback requiring upstream product/design decisions.
- 流程 — Select the branch, start the dev server, resolve the browser handoff, iterate on user-reported polish issues, and stop when the user says the loop is complete.
- 下游消费者 — The user reviewing the browser result,
spec-workfor deeper implementation follow-up, and release/review workflows that consume the final branch changes.
何时使用
- 页面可运行,但视觉、布局或交互需要打磨。
- 需要桌面和移动视口验证。
边界
- 只做浏览器内的交互式打磨;静态代码审查请用 spec-code-review。
- 不做需求、实施规划或非浏览器的后端工作。
源码校准
本页由脚本从上游
skills/spec-polish/SKILL.md生成;入口、兼容别名与宿主投递以src/cli/contracts/dual-host-governance/skills-governance.json为准。
