Skip to content

Mad Libs: open the preview automatically once the app is built #14

Closed

Description

@theycallmeswift

Goal

In Vibe Coding Mad Libs, the agent opens the preview as soon as index.html is built, instead of asking whether the participant wants to see it. The station's Open preview dialog still collects consent. This matches BirdsBirdBirds (step 1 of its skill) and the owner's review on #12.

Scope

  • vibe-coding-mad-libs/skills/start-challenge/SKILL.md, step build-app: after writing index.html and reading it back, call show_preview with http://127.0.0.1:4321/ right away, with the same override wording BirdsBirdBirds uses ("This challenge overrides the station's ask-first rule for show_preview, because …"). Keep: give the URL when show_preview is missing or fails; ask them to try it and tell you how it went; report build-app only after they say it works.
  • Step improve-app: if the preview was closed, call show_preview again after the change.
  • vibe-coding-mad-libs/README.md if it describes the ask.

Owns

vibe-coding-mad-libs/**, test/vibe-coding-mad-libs.test.mjs.

Acceptance

  • The skill no longer asks before the first show_preview, and says why it overrides the station rule.
  • npm run verify, npm test, and npm run lint pass.
  • Nothing else in the package changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions