wix-cli-app-validation

wix/skills · updated Apr 8, 2026

MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.

$npx skills add https://github.com/wix/skills --skill wix-cli-app-validation
0 commentsdiscussion
summary

Validates Wix CLI applications through a four-step sequential workflow: package installation, TypeScript compilation check, build, and preview.

skill.md

Wix App Validation

Validates Wix CLI applications through a four-step sequential workflow: package installation, TypeScript compilation check, build, and preview.

Validation Workflow

Execute these steps sequentially. Stop and report errors if any step fails.

Step 1: Package Installation

Ensure all dependencies are installed before proceeding with the build.

Detect package manager:

  • Check for package-lock.json → use npm
  • Check for yarn.lock → use yarn
  • Check for pnpm-lock.yaml → use pnpm
  • Default to npm if no lock file is found

Run installation command:

# For npm
npm install

# For yarn
yarn install

# For pnpm
pnpm install

Success criteria:

  • Exit code 0
  • All dependencies installed successfully
  • No missing peer dependencies warnings (unless expected)
  • node_modules directory exists and contains expected packages

On failure: Report the installation errors, check the debug log for detailed diagnostics, and stop validation. Common issues:

  • Network connectivity problems
  • Corrupted lock files
  • Version conflicts
  • Missing Node.js or package manager

Step 2: TypeScript Compilation Check

Run TypeScript compiler to check for type errors.

Full project check:

npx tsc --noEmit

Targeted check (specific files/directories):

When validating after implementing a specific extension, you can run TypeScript checks on just those files:

# Check specific directory
npx tsc --noEmit src/extensions/dashboard/pages/survey/**/*.ts src/extensions/dashboard/pages/survey/**/*.tsx

# Check dashboard pages only
npx tsc --noEmit src/extensions/dashboard/pages/**/*.ts src/extensions/dashboard/pages/**/*.tsx

# Check site widgets only
npx tsc --noEmit src/extensions/site/widgets/**/*.ts src/extensions/site/widgets/**/*.tsx

# Check dashboard modals only
npx tsc --noEmit src/extensions/dashboard/modals/**/*.ts src/extensions/dashboard/modals/**/*.tsx

# Check backend only
npx tsc --noEmit src/extensions/backend/**/*.ts

When to use targeted checks:

  • After implementing a single extension (faster feedback)
  • When debugging type errors in a specific area
  • During iterative development

When to use full project check:

  • Before final validation
  • When changes affect shared types
  • Before building/deploying

Success criteria:

  • Exit code 0
  • No TypeScript compilation errors
  • All type checks pass

On failure: Report the specific TypeScript errors and stop validation. Common issues:

  • Type mismatches between expected and actual types
  • Missing type declarations for imported modules
  • Incorrect generic type parameters
  • Properties not existing on declared types
  • Incompatible function signatures

Step 3: Build Validation

Run the build command and check for compilation errors:

npx wix build

Success criteria:

  • Exit code 0
  • No TypeScript errors
  • No missing dependencies

On failure: Report the specific compilation errors, check the debug log for detailed diagnostics, and stop validation.

Step 4: Preview Deployment

Start the preview server:

npx wix preview

Success criteria:

  • Preview server starts successfully
  • Preview URLs are generated (both site and dashboard)

URL extraction: Parse the terminal output to find both preview URLs. Look for patterns like:

  • Site preview: Site preview: https://... or Site URL: https://...
  • Dashboard preview: Dashboard preview: https://... or Preview URL: https://... or Your app is available at: https://...

Extract both URLs and provide them to the user for manual verification.

On failure: Report the preview startup errors, check the debug log for detailed diagnostics, and stop validation.

Validation Report

After completing all steps, provide a summary:

Pass:

  • Dependencies: ✓ All packages installed successfully
  • TypeScript: ✓ No compilation errors
  • Build: ✓ Compiled successfully
  • Preview: ✓ Running at [URL]

Fail:

  • Identify which step failed
  • Provide specific error messages
  • Suggest remediation steps

Debug Log on Errors

When a validation step fails (non-zero exit code, error output, or the CLI crashes/hangs), check .wix/debug.log in the project root for the full error trace. Only read this file when errors occur — skip it when steps pass or when the terminal output already makes the error clear (e.g. a straightforward TypeScript type error).

The .wix/ directory is automatically created by the Wix CLI and contains internal configuration and log files. Don't edit it, but reading debug.log for troubleshooting is expected.

Read: .wix/debug.log

# If the file is large, read the last 100 lines for the most recent errors
Read: .wix/debug.log (with offset to the end)

Common Issues

Issue Cause Solution
Package installation fails Missing lock file, network issues, or corrupted node_modules Delete node_modules and lock file, then reinstall
TypeScript compilation fails Type mismatches, missing declarations, or incorrect types Fix TypeScript errors shown in npx tsc --noEmit output
Build fails TypeScript errors, missing dependencies, or internal CLI error Fix TypeScript errors in source; for non-obvious failures, check .wix/debug.log
Preview fails to start Port conflict, config issue, or internal CLI error Check wix.config.json; if unclear, check .wix/debug.log for details
Console errors in preview Runtime exceptions Check browser console output
UI not rendering Component errors Review component code and imports
CLI error with no clear message Truncated terminal output Read .wix/debug.log for the full error trace and stack details
Mysterious failures after config change Stale CLI state Read .wix/debug.log to confirm, then delete .wix/ and rebuild
how to use wix-cli-app-validation

How to use wix-cli-app-validation on Cursor

AI-first code editor with Composer

1

Prerequisites

Before installing skills in Cursor, ensure your development environment meets these requirements:

  • Cursor installed and configured on your development machine
  • Node.js version 16.0+ with npm package manager (verify with node --version)
  • Active project directory or workspace where you want to add wix-cli-app-validation
2

Execute installation command

Execute the skills CLI command in your project's root directory to begin installation:

$npx skills add https://github.com/wix/skills --skill wix-cli-app-validation

The skills CLI fetches wix-cli-app-validation from GitHub repository wix/skills and configures it for Cursor.

3

Select Cursor when prompted

The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:

◆ Which agents do you want to install to?
│ ── Universal (.agents/skills) ── always included ────
│ • Amp
│ • Antigravity
│ • Cline
│ • Codex
│ ●Cursor(selected)
│ • Cursor
│ • Windsurf
4

Verify installation

Confirm successful installation by checking the skill directory location:

.cursor/skills/wix-cli-app-validation

Reload or restart Cursor to activate wix-cli-app-validation. Access the skill through slash commands (e.g., /wix-cli-app-validation) or your agent's skill management interface.

Security & Verification Notice

We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.

Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.

List & Monetize Your Skill

Submit your Claude Code skill and start earning

GET_STARTED →

Use Cases

User Story & Requirements Generation

Create detailed user stories, acceptance criteria, and feature specs

Example

Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios

Reduce spec writing time by 50%, ensure comprehensive coverage

Competitive Analysis

Research competitors, compare features, identify gaps

Example

Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities

Complete competitive research in 2 hours instead of 2 days

Roadmap Prioritization

Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs

Example

Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale

Make data-driven prioritization decisions faster

Stakeholder Communication

Draft PRDs, status updates, and stakeholder presentations

Example

Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement

Save 3-5 hours/week on communication overhead

Implementation Guide

Prerequisites

  • Claude Desktop or compatible AI client
  • Access to product documentation and roadmap tools (Jira, Notion, etc.)
  • Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
  • Stakeholder contact information and communication channels

Time Estimate

30-60 minutes to see productivity improvements

Installation Steps

  1. 1.Install product management skill
  2. 2.Start with user story generation for known feature
  3. 3.Progress to competitive analysis: research 2-3 competitors
  4. 4.Use for roadmap prioritization: apply RICE/ICE scoring
  5. 5.Draft stakeholder communications and refine based on feedback
  6. 6.Build template library for recurring PM tasks
  7. 7.Share effective prompts with product team

Common Pitfalls

  • Not validating competitive research—verify facts before sharing
  • Accepting user stories without involving engineering team
  • Over-relying on frameworks without qualitative judgment
  • Not customizing outputs to company culture and communication style
  • Skipping stakeholder validation of generated requirements

Best Practices

✓ Do

  • +Validate research and competitive analysis with real data
  • +Collaborate with engineering when generating technical requirements
  • +Customize frameworks and templates to your company context
  • +Use skill for first drafts, refine with stakeholder input
  • +Document successful prompt patterns for PM tasks
  • +Combine AI efficiency with human judgment and intuition

✗ Don't

  • Don't publish competitive analysis without fact-checking
  • Don't finalize user stories without engineering review
  • Don't make prioritization decisions solely on AI scoring
  • Don't skip customer validation of generated requirements
  • Don't ignore company-specific context and culture

💡 Pro Tips

  • Provide context: company goals, constraints, customer feedback
  • Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
  • Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
  • Use skill for 70% generation + 30% customization to company needs

When to Use This

✓ Use When

Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.

✗ Avoid When

Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.

Learning Path

  1. 1Basic: user stories, feature specs, status updates
  2. 2Intermediate: competitive analysis, prioritization frameworks, PRDs
  3. 3Advanced: product strategy, go-to-market planning, OKR setting
  4. 4Expert: product vision, market positioning, business model innovation

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.858 reviews
  • Omar Khan· Dec 28, 2024

    wix-cli-app-validation reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Lucas Lopez· Dec 24, 2024

    wix-cli-app-validation is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Ganesh Mohane· Dec 20, 2024

    Solid pick for teams standardizing on skills: wix-cli-app-validation is focused, and the summary matches what you get after install.

  • Arya Martinez· Dec 20, 2024

    Keeps context tight: wix-cli-app-validation is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Omar Jain· Dec 8, 2024

    We added wix-cli-app-validation from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Carlos Khan· Nov 27, 2024

    Solid pick for teams standardizing on skills: wix-cli-app-validation is focused, and the summary matches what you get after install.

  • Ava Agarwal· Nov 19, 2024

    I recommend wix-cli-app-validation for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Rahul Santra· Nov 11, 2024

    We added wix-cli-app-validation from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Luis Martin· Oct 18, 2024

    wix-cli-app-validation has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Omar Gonzalez· Oct 10, 2024

    Useful defaults in wix-cli-app-validation — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

showing 1-10 of 58

1 / 6