preview-template
Skill1 starsChanged 5 months agoMITView on GitHub
Start the local dev server / preview environment for this project. Customize per project type. Use when iterating on UI or before visual verification.
- Installs packages
In this repository42 other files it gives its agents.
- codex/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- new-hookSkill
- new-ruleSkill
- new-skillSkill
- publishSkill
- agent-config-adapterSkill
- agent-update-watcherSkill
- autopilotSkill
- autoresearch-toolfinderSkill
- claude-desktop-sessionsSkill
- code-verifierSkill
- doc-writingSkill
- end-of-turn-markerSkill
- figma-authoring-constraintsSkill
- figma-design-fetchSkill
- autopilotSkill
- autoresearch-toolfinderSkill
- code-verifierSkill
- linux-freeze-triageSkill
- long-running-tasksSkill
- privacy-redactSkill
- research-criticSkill
- agent-harness-generalSkill
- system-cleanupSkill
- verify-templateSkill
- verify-visualSkill
- init-codex-configSkill
- long-running-tasksSkill
- memory-flywheelSkill
- preview-templateSkill
- privacy-redactSkill
- prompt-librarySkill
- research-criticSkill
- system-cleanupSkill
- task-orchestratorSkill
- feature-audit-templateSkill
- workflow-fix-templateSkill
- task-relationship-analysisSkill
- tui-installerSkill
- verify-templateSkill
- verify-visualSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Start the local dev server for this project.
- Very specific: line 52
Run in the background (run_in_background: true), not foreground — return control immediately.
- Distinctive: line 54
Don't kill an existing server unless the user asks — multiple dev servers can coexist on different ports.
- Very specific: line 55
If port is already in use, increment and report (e.g., 8001 instead of 8000).
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
/preview
Start the local dev server for this project.
Customize this skill per project — pick the relevant template below and delete the rest.
Static site (HTML / CSS / JS, no build)
python3 -m http.server 8000
# Then open http://localhost:8000/<entry-page>.htmlNote: file:// access often breaks fetch() calls (CORS-loaded JSON returns errors). Always use the server.
Vite (Vue / React / Svelte)
npm run dev
# Default: http://localhost:5173/Next.js
npm run dev
# Default: http://localhost:3000/MkDocs (docs site)
uv pip install mkdocs mkdocs-material # if not yet installed
mkdocs serve
# Default: http://127.0.0.1:8000/Storybook
npm run storybook
# Default: http://localhost:6006/Notes for the agent
- Run in the background (
run_in_background: true), not foreground — return control immediately. - Report the URL the user should open.
- Don't kill an existing server unless the user asks — multiple dev servers can coexist on different ports.
- If port is already in use, increment and report (e.g.,
8001instead of8000).
Customization checklist
- Pick the relevant template (delete others)
- Add the project's actual entry URL / port
- Add any project-specific env vars or pre-commands (e.g.,
WANDB_MODE=disabled npm run dev) - If
npm run devis wrapped (e.g.,npm run dev:full), use the wrapped command
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.

