agentsclimarketplace

Deploy preview

Skill zakelfassi/skills-driven-development/examples/webapp-starter/skills/deploy-preview

Agents that learn by doing — and remember how they did it. A methodology for AI agents to create, evolve, and share reusable skills.

Install
npx -y skills add zakelfassi/skills-driven-development --skill deploy-preview

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 17 stars17 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

Deploy a preview branch to the staging environment for review. Use when a feature branch is ready for visual review, when someone asks to "deploy this for review", or before opening a PR.

SKILL.md

1.7 KB, as published. Nobody here has run it

Deploy Preview

Deploy the current branch to a preview URL for review before merging.

Inputs

  • Branch name (defaults to current branch)
  • Environment (defaults to staging)

Steps

  1. Verify branch is clean

    git status --porcelain
    

    If dirty, commit or stash before proceeding.

  2. Run tests locally

    npm test
    

    Do not deploy if tests fail.

  3. Push to remote

    git push origin HEAD
    
  4. Trigger preview deploy

    scripts/deploy-preview.sh
    

    This builds, uploads, and returns a preview URL.

  5. Verify the preview

    • Open the preview URL
    • Check: page loads, no console errors, key feature works
    • If broken: fix locally, re-push, re-deploy
  6. Share the preview URL

    • Post in the PR description
    • Or share in the team channel

Conventions

  • Preview URLs follow the pattern: preview-{branch}.staging.example.com
  • Preview deploys expire after 7 days
  • Only one preview per branch (re-deploying replaces the previous)

Edge Cases

  • Branch name has slashes: The deploy script sanitizes / to -
  • Large assets: Preview deploys skip video files >50MB
  • Environment variables: Preview uses staging env vars, not production

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.