code-apps

code-apps is a skill for Claude Code, Codex from korchard333/claude-power-platform-community. It costs 62 tokens per session (1,041 once invoked), scanned A, original, MIT.

Development guidance for Power Apps Code Apps, which are React and TypeScript web applications that run inside Microsoft Power Apps.

In plain words
What is it for?
It helps build or review Code Apps with Vite, Power Apps CLI, Zustand, TanStack Query, React Router, UI libraries, tables, charts, forms, and Playwright tests.
Why use it?
It gives agents consistent patterns for the app structure, data access, state, routing, testing, styling, and deployment tools used by these apps.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/korchard333/claude-power-platform-community/code-apps
Any agent
npx skills add korchard333/claude-power-platform-community --skill code-apps
Clone the repo
git clone --depth 1 https://github.com/korchard333/claude-power-platform-community

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for code-apps

README.md
[![agentmods](https://agentmods.dev/badge/skills/korchard333/claude-power-platform-community/code-apps.svg)](https://agentmods.dev/skills/korchard333/claude-power-platform-community/code-apps)
Your own site
<a href="https://agentmods.dev/skills/korchard333/claude-power-platform-community/code-apps"><img src="https://agentmods.dev/badge/skills/korchard333/claude-power-platform-community/code-apps.svg" alt="Measured on agentmods" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,041 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00062 $0.01041
Opus 5 $0.00031 $0.00521
Sonnet 5 $0.00012 $0.00208
Haiku 4.5 $0.00006 $0.00104

Measured 5d ago against content hash 29f71fe588af, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

code-apps scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (samples/hooks/useContacts.ts, samples/types/contact.types.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/code-apps/SKILL.md · 82 lines

How it starts

The opening of the file, as written. The whole thing — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill: Power Apps Code Apps Development

When to Use

Trigger when building, debugging, or reviewing Code Apps — React + TypeScript + Vite applications running inside Power Apps.


Tech Stack Reference

Layer Technology Notes
Language TypeScript (strict mode) Primary language for all code
UI Framework React 18/19 Functional components only
Build Tool Vite + @microsoft/power-apps plugin Dev server + Power Apps integration
Styling Tailwind CSS + shadcn/ui Starter template default
Styling (alt) Fluent UI v9 (@fluentui/react-components) Microsoft-branded enterprise apps — see fluent-ui.md
Client State Zustand Cross-component state
Server State TanStack Query v5 Caching, background refresh, mutations
Routing React Router v6 With basename normalization
Tables TanStack Table Sorting, filtering, pagination
Charts Recharts Data visualization
Notifications Sonner Toast notifications
Testing Playwright E2E testing
CLI PAC CLI + @microsoft/power-apps npm Scaffolding, data sources, deployment

Three-Layer Architecture

Layer 1: Presentation (components/) — Props in, callbacks out. ZERO service imports.
Layer 2: Business Logic (hooks/)    — TanStack Query + Zustand. ONLY layer calling services.
Layer 3: Data Access (generated/)   — PAC CLI auto-generated. NEVER manually edit.

⚠️ REQUIRED: Load Sub-Files Before Implementation

SKILL.md is a summary only — it is NOT sufficient for implementation.

The detailed content (complete payloads, XML templates, working examples, edge-case handling) lives in sub-files in the same directory as this SKILL.md. Before writing any code, you MUST use read_file on the sub-files relevant to your task:

  • Architecture & Critical Patterns — Three-layer pattern, project structure, auth model, env var access, router basename, provider stack, lookup handling
  • CLI Workflow — npm CLI (preview, becoming primary), PAC CLI commands, connector discovery (Wave 1 2026), agent.md, scaffold, init, data sources, build, deploy
  • State Management — Zustand stores for client state, TanStack Query for server state, caching patterns
  • Form Patterns — Create/edit hook pattern, component pattern, page composition, validation
  • Power Automate Integration — Triggering flows via Custom API or Dataverse record trigger
  • Fluent UI V9 — FluentProvider setup, theme customization (BrandVariants, dark/light mode), design tokens, makeStyles patterns, component patterns (forms, DataGrid, Dialog, layout), responsive design with Fluent
  • Performance & Localization — Performance checklist, error handling, language detection, translation dictionary, RTL layout, date/currency formatting

Read the full file on GitHub · 82 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 82 lines · 62 tokens per session scan A 29f71fe588af

Subscribe to this mod's changes

code-apps is a skill published in the GitHub repository korchard333/claude-power-platform-community (46 stars, last pushed 5mo ago), licensed MIT. It adds 62 tokens to every session and 1,041 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

client-setup

Create a vanilla tRPC client with createTRPCClient (), configure link chain with httpBatchLink/httpLink, dynamic headers for auth, transformer on links (not client constructor). Infer types with inferRouterInputs and inferRouterOutputs. AbortController signal support. TRPCClientError typing.

trpc/trpc · 63 tokens

adapter-express

Mount tRPC as Express middleware with createExpressMiddleware() from @trpc/server/adapters/express. Access Express req/res in createContext via CreateExpressContextOptions. Mount at a path prefix like app.use('/trpc', ...). Avoid global express.json() conflicting with tRPC body parsing for FormData.

trpc/trpc · 67 tokens

trpc-router

Entry point for all tRPC skills. Decision tree routing by task: initTRPC.create(), t.router(), t.procedure, createTRPCClient, adapters, subscriptions, React Query, Next.js, links, middleware, validators, error handling, caching, FormData.

trpc/trpc · 59 tokens

frontend-conventions

Coding conventions, architecture patterns, and testing rules for the SkillHub React frontend. Ensures agents follow Feature-Sliced Design and use the generated OpenAPI types.

iflytek/skillhub · 36 tokens

frontend-dev-guidelines

Frontend development guidelines for React/TypeScript applications. Modern patterns including Suspense, lazy loading, useSuspenseQuery, file organization with features directory, MUI v7 styling, TanStack Router, performance optimization, and TypeScript best practices. Use when creating components, pages, features…

diet103/claude-code-infrastructure-showcase · 76 tokens

fast-typescript-check

Keep www-sacred's TypeScript fast to type-check and fast to run. Use when touching the ASCII/canvas animation components (the only real per-frame code here), tightening type-check wall-clock, or auditing a change for runtime or compiler regressions. Scoped to this repo — a React 19 / Next.js 16 component library plus…

internet-development/www-sacred · 84 tokens