spec-polish
Skill0 starsChanged 3 months agoMITView on GitHub
Start the dev server, inspect the feature in browser, and iterate on polish.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- fullstackhouse/skillstheir own version, first seen Nov 15, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- fullstackhouse/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository58 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- spec-app-consistency-auditSkill
- spec-brainstormSkill
- spec-code-reviewSkill
- spec-commit-push-prSkill
- spec-commitSkill
- spec-compound-refreshSkill
- spec-compoundSkill
- spec-debugSkill
- spec-doc-reviewSkill
- spec-dogfoodSkill
- spec-explainSkill
- spec-handoffSkill
- spec-ideateSkill
- spec-lfgSkill
- spec-optimizeSkill
- spec-planSkill
- spec-povSkill
- spec-prdSkill
- spec-product-pulseSkill
- spec-promoteSkill
- spec-resolve-pr-feedbackSkill
- spec-riffrec-feedback-analysisSkill
- spec-rule-minerSkill
- spec-runtime-setupSkill
- spec-simplify-codeSkill
- spec-strategySkill
- spec-sweepSkill
- spec-test-browserSkill
- spec-test-xcodeSkill
- spec-workSkill
- spec-worktreeSkill
- spec-write-skillSkill
- spec-write-tasksSkill
- using-spec-firstSkill
- spec-commit-push-prSkill
- spec-commitSkill
- spec-explainSkill
- spec-handoffSkill
- spec-lfgSkill
- spec-povSkill
- spec-product-pulseSkill
- spec-promoteSkill
- spec-resolve-pr-feedbackSkill
- spec-riffrec-feedback-analysisSkill
- spec-rule-minerSkill
- spec-simplify-codeSkill
- spec-strategySkill
- spec-sweepSkill
- spec-test-browserSkill
- spec-test-xcodeSkill
- spec-worktreeSkill
- using-spec-firstSkill
- creator-buddySkill
- evidence-first-writingSkill
- leo-ppt-generatorSkill
- software-article-en-zhSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 8 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Start the dev server, open the feature in a browser, and iterate.
- Distinctive: line 17
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 …
- Distinctive: line 20
Do not use for initial requirements, implementation planning, non-browser backend work, static code review, broad visual audits, or MCP …
- Distinctive: line 42
Before checkout or the first source edit, derive four independent run-local facts from the current user request and any visible upstream …
- Distinctive: line 59
If blank, use the current branch.
- Distinctive: line 60
If a PR number or branch name was provided, resolve it as scope and probe for existing worktrees without switching.
- Distinctive: line 63
Verify the selected checkout is not main/master.
- Distinctive: line 76
If it finds a configuration, use it — the user already told us how to start the project.
- Very specific: line 117
Start the dev server in the background, log output to a temp file.
- Very specific: line 133
When the user describes something to fix, that explicit request may authorize that bounded fix.
- Very specific: line 135
When the user says they're done, stop the loop.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Polish
Start the dev server, open the feature in a browser, and iterate. You use the feature, say what feels off, and fixes happen.
Workflow Contract Summary
When To Use
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.
When Not To Use
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.
Inputs
A PR number, branch name, or current branch; project dev-server conventions; feature URL/route when known; user feedback from browser inspection.
Outputs
Running local dev server URL, browser handoff, authorized scoped polish edits, verification notes, and an explicit commit status.
Artifacts
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.
Failure Modes
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.
Workflow
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.
Downstream Consumers
The user reviewing the browser result, spec-work for deeper implementation follow-up, and release/review workflows that consume the final branch changes.
Mutation Authority Boundary
Before checkout or the first source edit, derive four independent run-local facts from the current user request and any visible upstream handoff:
branch_mutation_authorization: authorized | missing
local_fix_authorization: authorized | missing
commit_authorization: authorized | missing
landing_authorization: authorized | missing- A PR number or branch name selects review/polish scope; it does not authorize checkout. Set
branch_mutation_authorization: authorizedonly when the current user or upstream owner explicitly requests the switch/worktree, or the user accepts the concrete checkout/isolation action after it is disclosed. - Set
local_fix_authorization: authorizedonly when the current user explicitly requests polishing/fixes or the upstream handoff explicitly owns local apply. A route recommendation, branch target, or tool permission is not mutation authority. - Set
commit_authorization: authorizedonly for an explicit commit request.doneis a completion signal, not commit authorization. - Set
landing_authorization: authorizedonly for an explicit push/PR request. Without landing authorization, do not push and do not open a PR. - These facts are non-transitive: local fixes do not imply checkout, commit, or landing; commit does not imply landing.
Phase 0: Get on the right branch
- If blank, use the current branch.
- If a PR number or branch name was provided, resolve it as scope and probe for existing worktrees without switching. When it is not the current checkout:
- with
branch_mutation_authorization: authorized, use the explicitly approved existing-worktree/checkout action; - otherwise stop before mutation with
branch_mutation_authorization_missing, name the current and requested refs, and ask the user to switch themselves or authorize the exact action.
- with
- Verify the selected checkout is not main/master.
Phase 1: Start the dev server
The scripts below ship in this skill's scripts/ directory. The Bash tool's working directory is the user's project, not the skill directory, so a bare scripts/<name> path will not resolve — invoke each by the skill's own absolute path. Every runnable block below sets SKILL_DIR inline (shell state does not persist between Bash tool calls, so each command must carry it); replace the <absolute path …> placeholder with the directory you loaded this spec-polish SKILL.md from before running.
1.1 Check for .claude/launch.json
SKILL_DIR="<absolute path of the directory containing this SKILL.md>";
bash "$SKILL_DIR/scripts/read-launch-json.sh"If it finds a configuration, use it — the user already told us how to start the project.
1.2 Auto-detect (when no launch.json)
Identify the framework:
SKILL_DIR="<absolute path of the directory containing this SKILL.md>";
bash "$SKILL_DIR/scripts/detect-project-type.sh"Route by type to the matching recipe reference for start command and port defaults:
| Type | Recipe |
rails | references/dev-server-rails.md |
next | references/dev-server-next.md |
vite | references/dev-server-vite.md |
nuxt | references/dev-server-nuxt.md |
astro | references/dev-server-astro.md |
remix | references/dev-server-remix.md |
sveltekit | references/dev-server-sveltekit.md |
procfile | references/dev-server-procfile.md |
unknown | Ask the user how to start the project |
For framework types that need a package manager, run the resolver and substitute the result into the start command:
SKILL_DIR="<absolute path of the directory containing this SKILL.md>";
bash "$SKILL_DIR/scripts/resolve-package-manager.sh"Resolve the port:
SKILL_DIR="<absolute path of the directory containing this SKILL.md>";
bash "$SKILL_DIR/scripts/resolve-port.sh" --type <type>1.3 Start the server
Start the dev server in the background, log output to a temp file. Probe http://localhost:<port> for up to 30 seconds. If it doesn't come up, show the last 20 lines of the log and ask the user what to do.
1.4 Open in browser
Load references/ide-detection.md for the env-var probe table. Open the browser using the IDE's mechanism (Claude Code → open, Cursor → Cursor browser, VS Code → Simple Browser).
Tell the user:
Dev server running on http://localhost:<port>
Browse the feature and tell me what could be better.Phase 2: Iterate
This is the core loop. The user browses the feature and tells you what to improve. You fix it. Repeat until they're happy.
- When the user describes something to fix, that explicit request may authorize that bounded fix. Re-resolve
local_fix_authorizationfor the requested change; when authorized, make only that scoped change and let the dev server hot-reload. When missing, describe the proposed fix without editing and returnlocal_fix_authorization_missing. - When the user asks to check something → use a browser-automation capability to screenshot or inspect the page; prefer
agent-browserif it's installed. If it is missing, tell them: "Browser automation helper unavailable. Runspec-runtime-setupto see the currentagent-browserinstall command, install it manually if browser automation is needed, then continue. This does not block spec-first baseline." Continue the human browser loop when automated screenshots are unavailable. - When the user says they're done, stop the loop. If
commit_authorization: authorized, commit only run-owned verified paths. Otherwise leave the changes uncommitted and returncommit_status: not-createdwith reasoncommit_authorization_missing.
Return a compact closeout with changed paths, verification notes, commit_status, landing_status, and limitations. This workflow never infers push or PR authority from completion.
References
Reference files (loaded on demand):
references/launch-json-schema.md— launch.json schema + per-framework stubsreferences/ide-detection.md— host IDE detection and browser-handoffreferences/dev-server-detection.md— port resolution documentationreferences/dev-server-rails.md— Rails dev-server defaultsreferences/dev-server-next.md— Next.js dev-server defaultsreferences/dev-server-vite.md— Vite dev-server defaultsreferences/dev-server-nuxt.md— Nuxt dev-server defaultsreferences/dev-server-astro.md— Astro dev-server defaultsreferences/dev-server-remix.md— Remix dev-server defaultsreferences/dev-server-sveltekit.md— SvelteKit dev-server defaultsreferences/dev-server-procfile.md— Procfile-based dev-server defaults
Scripts (invoked via bash "$SKILL_DIR/scripts/<name>" — see Phase 1 for SKILL_DIR):
scripts/read-launch-json.sh— launch.json readerscripts/detect-project-type.sh— project-type classifierscripts/resolve-package-manager.sh— lockfile-based package-manager resolverscripts/resolve-port.sh— port resolution cascade
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

