Preview template
Skill jajupmochi/agent-harness/skills/general/preview-template
Linlin's curated AI agent harness configuration: workflow rules, skills, hooks, plugin recommendations, tooling preferences, and project templates. Loadable into any new project so a fresh /init can pick the relevant subset.
npx -y skills add jajupmochi/agent-harness --skill preview-templateAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Start the local dev server / preview environment for this project. Customize per project type. Use when iterating on UI or before visual verification.
SKILL.md
1.6 KB, as published. Nobody here has run it
/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>.html
Note: 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