Skip to content

Establish a global Vite+ presence for coding agents #2781

Description

@Boshen

Description

Vite+ project instructions are currently created after running vp create or vp migrate. Before a project exists, coding agents may still default to npm create, npx, and direct package-manager commands.

Vite+ should have a global presence in supported coding agents so they know to use vp when creating projects and managing frontend workflows.

Suggested solution

  • Publish setup instructions at https://viteplus.dev/agent-setup/prompt.md.

  • Make the homepage and Getting Started CTA copy:

    Fetch and execute the appropriate instructions to set me up for Vite+ from https://viteplus.dev/agent-setup/prompt.md
    
  • Have the fetched instructions:

    • Keep an existing global vp installation or install it with the official platform installer when missing.
    • Verify it with vp --version and vp help.
    • Install an official Vite+ Agent Skill globally for the active agent, preferably through vpx.
    • Report the installed path and whether the agent must restart.
  • Add a global vite-plus skill that:

    • Activates for new JavaScript, TypeScript, and web projects even when Vite+ is not explicitly mentioned.
    • Prefers vp create over npm create and npx create-*.
    • Prefers vp install, vp add, vp remove, vp update, vp run, and vpx over direct package-manager equivalents.
    • Uses npm, pnpm, Yarn, or Bun directly only when explicitly requested or when vp has no equivalent.
    • Reads current Vite+ documentation or command help before selecting options.

Project-local agent instructions generated by vp create and vp migrate should remain unchanged and complement the global skill.

Acceptance criteria

  • The website copies the short bootstrap prompt above.
  • The Markdown endpoint is directly fetchable and is the canonical setup source.
  • Setup works on macOS/Linux and Windows.
  • Re-running setup is idempotent and preserves unrelated global agent configuration.
  • Supported agents load the Vite+ skill after restarting.
  • A request such as “create a new React project” results in a vp create workflow instead of npm create.
  • Global skill update and removal instructions are documented.

Additional context

Cloudflare's agent setup prompt demonstrates this remotely maintained bootstrap pattern.

This also revisits the earlier agent-skill discussions in #560 and #665. The project-local skill and MCP implementation removed in #1440 served a different purpose; this proposal is specifically about global, pre-project guidance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions