Skip to content
Back to skills

Preview

ASecurity

Show the human the site on their own machine first, and record their approval in their own words before any publish plan is shown.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 24, 2026
ai-agentsnode

Security analysis

A100/100

Scanned November 24, 2026

npx -y skills add DevPatel128/lilac-plugin --skill preview --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Preview?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Preview
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/devpatel128-preview/badge)](https://www.skillsdirectory.com/skills/devpatel128-preview)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: preview
description: Show the human the site on their own machine first, and record their approval in their own words before any publish plan is shown.
disable-model-invocation: false
---
# Preview before publish

Nothing is published until the human has looked at the site and said yes. `hosting.mjs deploy-plan` refuses until the approval is VALID.

1. Start the preview (`<dir>` is the project folder):
   `node "${CLAUDE_PLUGIN_ROOT}/scripts/preview.mjs" start --project "<dir>"`
   It serves the site folder on 127.0.0.1 only (this machine) and prints a URL.
2. If a built-in browser exists, open the URL in it. Otherwise give the human the URL.
3. Tell the human what to look at: phone width, keyboard Tab through the page, dark mode, each page, and the main action (the button or form the site exists for).
4. Ask: "Happy with it? Say yes to see the publish plan, or tell me what to change."
5. Only after an explicit yes in the human's own words, record it, passing their words exactly:
   `node "${CLAUDE_PLUGIN_ROOT}/scripts/preview.mjs" approve --project "<dir>" --by "<their name>" --quote "<their words>"`
   Never approve on your own, never write a quote for them, never reuse an earlier yes. An empty quote is refused.
6. If they ask for changes, make them, then start again from step 1.
7. Tell the human: editing any file in the site makes the approval STALE, and the publish plan will be refused until they approve again.

Check state any time: `node "${CLAUDE_PLUGIN_ROOT}/scripts/preview.mjs" status --project "<dir>"` prints VALID, STALE or NONE.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.