init-codeapp

Initialize Power Apps Code App projects from official Microsoft templates.

5|1|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/Ramakrishnan24689/codeapps-toolkit --skill init-codeapp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: init-codeapp
Source: https://github.com/Ramakrishnan24689/codeapps-toolkit/tree/main/skills/init-codeapp
Command: npx skills add https://github.com/Ramakrishnan24689/codeapps-toolkit --skill init-codeapp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Initialize a new Power Apps Code App project with proper configuration and validation to streamline setup, dual-server development, and deployment readiness.

Core Features & Use Cases

  • Project bootstrap from official Microsoft templates
  • Dual-server development setup (Vite + pac code run)
  • Critical vite.config.ts base path configuration and validation
  • Integrated validation and automated setup checks
  • One-step initialization for Power Platform registration

Quick Start

Run the init-codeapp command to bootstrap a new Code App project named my-app-name

Frequently Asked Questions about init-codeapp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I initialize a Power Apps Code App project from official templates?

To initialize a Power Apps Code App project, run the init-codeapp command to bootstrap from official Microsoft templates. This process acquires the template, installs dependencies, configures vite.config.ts base settings, and registers with Power Platform via pac code init.

Why does my vite.config.ts base path configuration fail during Code App setup?

Vite configuration issues occur when the base path is missing or incorrectly set. The initialization workflow enforces critical vite.config.ts base path configuration and applies automated validation checks to ensure the dual-server development setup functions correctly.

Does Power Apps Code App development support a dual-server setup with Vite?

Yes, Power Apps Code App development supports a dual-server setup. The bootstrap workflow configures both the Vite development server and the pac code run server simultaneously, ensuring reliable local development and automated validation before deployment.

What's the best way to automate Power Platform registration for a new Code App?

The best way to automate Power Platform registration is through a one-step initialization process. It executes pac code init to register the project with Power Platform while simultaneously applying template acquisition and dependency installation in a repeatable workflow.

Do I need pac code init to bootstrap a Power Apps Code App?

Yes, pac code init is required to register the project with Power Platform. The initialization workflow integrates this command to ensure proper registration, alongside applying official template acquisition and dependency installation for a reliable bootstrap.

When do I need to configure the vite.config.ts base path for Power Apps Code Apps?

You need to configure the vite.config.ts base path during project initialization. This critical configuration ensures the Vite server correctly resolves assets in the dual-server development setup, preventing runtime errors during local development and deployment.