본문으로 건너뛰기
Skillpedia
모바일 앱40k · #7333

power-apps-code-app-scaffold

하는 일

이 프로그램은 Power Apps 안에 사용자 지정 웹 애플리케이션의 기본 구조를 만듭니다. 초기 도구와 파일처럼, 코딩을 시작하는 데 필요한 모든 것을 설정합니다.

사용하는 경우

  • ✓코드로 Power Apps에 새 웹 앱을 만들고 싶을 때.
  • ✓앱 프로젝트를 위한 체계적인 시작점이 필요할 때.
  • ✓처음부터 모범 사례를 따르는 앱을 만들고 싶을 때.

스킬 링크

https://github.com/github/awesome-copilot/blob/main/skills/power-apps-code-app-scaffold/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/power-apps-code-app-scaffold/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Power Apps 코드 앱의 초기 구조를 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

명령줄 도구를 사용해 React와 TypeScript로 프로젝트를 설정합니다. 그다음 Power Apps 환경 안에서 앱이 작동하기 위해 필요한 설정을 추가합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Power Apps Code Apps Project Scaffolding

You are an expert Power Platform developer who specializes in creating Power Apps Code Apps. Your task is to scaffold a complete Power Apps Code App project following Microsoft's best practices and current preview capabilities.

Context

Power Apps Code Apps (preview) allow developers to build custom web applications using code-first approaches while integrating with Power Platform capabilities. These apps can access 1,500+ connectors, use Microsoft Entra authentication, and run on managed Power Platform infrastructure.

Task

Create a complete Power Apps Code App project structure with the following components:

1. Project Initialization

  • Set up a Vite + React + TypeScript project configured for Code Apps
  • Configure the project to run on port 3000 (required by Power Apps SDK)
  • Install and configure the Power Apps SDK (@microsoft/power-apps ^0.3.1)
  • Initialize the project with PAC CLI (pac code init)

2. Essential Configuration Files

  • vite.config.ts: Configure for Power Apps Code Apps requirements
  • power.config.json: Generated by PAC CLI for Power Platform metadata
  • PowerProvider.tsx: React provider component for Power Platform initialization
  • tsconfig.json: TypeScript configuration compatible with Power Apps SDK
  • package.json: Scripts for development and deployment

3. Project Structure

Create a well-organized folder structure:

src/
├── components/          # Reusable UI components
├── services/           # Generated connector services (created by PAC CLI)
├── models/            # Generated TypeScript models (created by PAC CLI)
├── hooks/             # Custom React hooks for Power Platform integration
├── utils/             # Utility functions
├── types/             # TypeScript type definitions
├── PowerProvider.tsx  # Power Platform initialization component
└── main.tsx          # Application entry point

4. Development Scripts Setup

Configure package.json scripts based on official Microsoft samples:

  • dev: "concurrently "vite" "pac code run"" for parallel execution
  • build: "tsc -b && vite build" for TypeScript compilation and Vite build
  • preview: "vite preview" for production preview
  • lint: "eslint ." for code quality

5. Sample Implementation

Include a basic sample that demonstrates:

  • Power Platform authentication and initialization using PowerProvider component
  • Connection to at least one supported connector (Office 365 Users recommended)
  • TypeScript usage with generated models and services
  • Error handling and loading states with try/catch patterns
  • Responsive UI using Fluent UI React components (following official samples)
  • Proper PowerProvider implementation with useEffect and async initialization

Advanced Patterns to Consider (Optional)

  • Multi-environment configuration: Environment-specific settings for dev/test/prod
  • Offline-first architecture: Service worker and local storage for offline functionality
  • Accessibility features: ARIA attributes, keyboard navigation, screen reader support
  • Internationalization setup: Basic i18n structure for multi-language support
  • Theme system foundation: Light/dark mode toggle implementation
  • Responsive design patterns: Mobile-first approach with breakpoint system
  • Animation framework integration: Framer Motion for smooth transitions

6. Documentation

Create comprehensive README.md with:

  • Prerequisites and setup instructions
  • Authentication and environment configuration
  • Connector setup and data source configuration
  • Local development and deployment processes
  • Troubleshooting common issues

Implementation Guidelines

Prerequisites to Mention

  • Visual Studio Code with Power Platform Tools extension
  • Node.js (LTS version - v18.x or v20.x recommended)
  • Git for version control
  • Power Platform CLI (PAC CLI) - latest version
  • Power Platform environment with Code Apps enabled (admin setting required)
  • Power Apps Premium licenses for end users
  • Azure account (if using Azure SQL or other Azure connectors)

PAC CLI Commands to Include

  • pac auth create --environment {environment-id} - Authenticate with specific environment
  • pac env select --environment {environment-url} - Select target environment
  • pac code init --displayName "App Name" - Initialize code app project
  • pac connection list - List available connections

…

자주 묻는 질문

Power Apps 코드 앱은 무엇인가요?

시각적 도구만 쓰는 대신 코드를 사용해 Power Apps에서 사용자 지정 애플리케이션을 만드는 방법입니다. 더 많은 유연성과 다른 서비스와의 통합이 가능합니다.

코딩을 알아야 하나요?

네, 이 프로그램은 코드로 애플리케이션을 만들려는 사람을 위한 것입니다. 개발자를 위한 프로젝트를 설정해 줍니다.

어떤 기술이 쓰이나요?

React와 TypeScript를 사용합니다. 둘 다 인기 있는 웹 개발 기술이며, 통합을 위해 Power Apps CLI 도구도 사용합니다.

상세 정보

작성자의 원본 설명

Scaffold a complete Power Apps Code App project with PAC CLI setup, SDK integration, and connector configuration

repo: github/awesome-copilot

인기도

GitHub 스타
40k
순위
#7333
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬