Skip to content
cccskills
FreePublished on GitHub

deployprod

Use when the user says /deployprod, deploy prod, deploy production, upload production static hosting, or asks to deploy the current app to its production Convex static-hosting target.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md3.4 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Deploy Prod

Use this skill for a production @convex-dev/static-hosting deploy in the current repo.

Source of truth:

  • Component repo: https://github.com/get-convex/static-hosting
  • Component docs: https://www.convex.dev/components/static-hosting
  • Custom domains: https://docs.convex.dev/production/custom-domains

Portable Assumptions

  • The current repo is a Convex app that uses @convex-dev/static-hosting.
  • Prefer project scripts in package.json when present.
  • The common static hosting component name is staticHosting, but do not hard-code it if the repo defines another name.
  • Discover the component name from convex/convex.config.ts when needed by looking for app.use(staticHosting, { name: "..." }).
  • If no component name is configured, use staticHosting.

Required Rules

  • Prefer the repo's full production deploy script when one exists, commonly npm run deploy.
  • Use static-only production upload only when backend functions, schema, auth routes, and Convex components are already deployed.
  • Do not run npm run build separately before static upload. Static-hosting's --build flag injects the correct VITE_CONVEX_URL.
  • Do not assume a specific production URL. Read the public site URL and Convex cloud URL from command output.
  • Keep production as the canonical target in SEO, Open Graph, Twitter card, sitemap, robots, GitHub Auth callback URLs, SITE_URL, and CONVEX_SITE_URL.

/deployprod Workflow

  1. Run quick checks unless the user explicitly says to skip them. Use the scripts that exist in the current repo:

    npm run typecheck
    npm run lint
    
  2. Inspect available deploy scripts:

    npm run
    
  3. Prefer the repo's full production deploy script:

    npm run deploy
    
  4. If no full deploy script exists, deploy backend first, then upload production static hosting:

    npx convex deploy --yes
    npx @convex-dev/static-hosting upload --build -c staticHosting --prod
    

    Replace staticHosting with the configured component name if different.

  5. If a static-only production script exists and backend is already deployed, this is acceptable:

    npm run deploy:static:prod
    
  6. Confirm deploy output includes:

    Deploying to production environment
    Your app is now available at: <production convex site URL>
    
  7. Smoke check the production page using the URL printed by deploy output:

    curl -L -s <production convex site URL> | rg '/assets/index-|VITE_CONVEX_URL|<production deployment slug>'
    

    Also check that the known dev deployment slug is not present if the repo has one documented.

Troubleshooting

  • If production static upload fails with Could not find function for 'staticHosting:generateUploadUrls', deploy backend first:

    npx convex deploy --yes
    

    Then rerun the static-hosting production upload.

  • If the shell cannot reach Convex because of sandboxed network restrictions, rerun the same command with the required network approval.

When To Update Project Docs

Update docs only if deploy behavior changes:

  • README.md
  • changelog.md
  • task.md
  • files.md

If the deploy behavior change is non-trivial, create a PRD in prds/.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

adapt

Free

Adapt designs to work across different screen sizes, devices, contexts, or platforms. Implements breakpoints, fluid layouts, and touch targets. Use when the user mentions responsive design, mobile layouts, breakpoints, viewport adaptation, or cross-device compatibility.

The English summary is being prepared. Showing the original description.

waynesutton/agent-ready-component9Updated Aug 28, 2026

Agent Ready project design context for navigation, docs links, and interface tone. Use when building or reviewing UI in this repo so patterns match the documented product feel.

The English summary is being prepared. Showing the original description.

waynesutton/agent-ready-component9Updated Aug 28, 2026

Review a feature and enhance it with purposeful animations, micro-interactions, and motion effects that improve usability and delight. Use when the user mentions adding animation, transitions, micro-interactions, motion design, hover effects, or making the UI feel more alive.

The English summary is being prepared. Showing the original description.

waynesutton/agent-ready-component9Updated Aug 28, 2026

Improve layout, spacing, and visual rhythm. Fixes monotonous grids, inconsistent spacing, and weak visual hierarchy. Use when the user mentions layout feeling off, spacing issues, visual hierarchy, crowded UI, alignment problems, or wanting better composition.

The English summary is being prepared. Showing the original description.

waynesutton/agent-ready-component9Updated Aug 28, 2026

audit

Free

Run technical quality checks across accessibility, performance, theming, responsive design, and anti-patterns. Generates a scored report with P0-P3 severity ratings and actionable plan. Use when the user wants an accessibility check, performance audit, or technical quality review.

The English summary is being prepared. Showing the original description.

waynesutton/agent-ready-component9Updated Aug 28, 2026

bolder

Free

Amplify safe or boring designs to make them more visually interesting and stimulating. Increases impact while maintaining usability. Use when the user says the design looks bland, generic, too safe, lacks personality, or wants more visual impact and character.

The English summary is being prepared. Showing the original description.

waynesutton/agent-ready-component9Updated Aug 28, 2026

See all skills by waynesutton

Report a problem with this skill