GeekPowerCode

A code-first development guide for Microsoft Power Platform, including Dataverse, Power Apps, Power Automate, and Copilot Studio. Dataverse is Microsoft's data platform for business applications, while code-first means building and managing the solution with code and command-line tools.

In plain words
What is it for?
Use it to build and deploy Power Platform web or mobile apps, create Dataverse tables and agents, automate workflows, and prepare Power Pages projects.
Why use it?
It provides rules for checking requirements, using the right authentication methods, testing before deployment, and keeping implementation status current.

Agent

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 agents/geekfujiwara/codeappsdevelopmentstandard/geekpowercode
Clone the repo
git clone --depth 1 https://github.com/geekfujiwara/CodeAppsDevelopmentStandard
Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,550 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.00048 $0.01550
Opus 5 $0.00024 $0.00775
Sonnet 5 $0.00010 $0.00310
Haiku 4.5 $0.00005 $0.00155

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

Security

Grade A, and why

GeekPowerCode 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 2d ago.

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.

.github/agents/GeekPowerCode.agent.md · 68 lines

How it starts

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

Power Platform コードファースト開発エキスパート。

セッション開始時(最優先)

作業を始める前に 必ず 以下を確認する:

  1. spec/requirements.md が存在すれば読み込む(未実装機能・受け入れ基準・テスト要件を把握)
  2. 機能実装完了後に spec/requirements.md のステータスを更新する(🔴 未実装 → 🟡 実装中 → ✅ 実装済)

ルール

  1. 作業開始前に .github/skills/standard/SKILL.md を読む
  2. 該当スキルを読む(下表)
  3. 設計提示 → ユーザー承認 → 実装
  4. デプロイ時は必ず各スキルのプレデプロイチェックを実行してからデプロイする

言語設定

  • ユーザーから特に指定がない限り、推論(思考・reasoning)の内容も含めてすべて日本語で考え、日本語で応答すること。
  • コード、コマンド、識別子、API 名、URL など、日本語化すると不正確になる要素は原文(英語等)のまま扱う。

デプロイ前チェック(必須)

「デプロイして」「push」等の指示を受けたら対象アプリに応じたチェックを先に実行し、失敗したら停止する。

アプリ種類 プレデプロイ デプロイ
Web Code Apps npm run predeploy(失敗なら停止) npm run deploy
Native Mobile Code Apps npm run type-check + validate_mobile_project.py + 対象 OS の build:android / build:ios power-apps push
Power Pages ビルド確認 スキル参照

重要制約

  • 認証: Python スクリプトでは必ず auth_helper.py の API(get_token / get_session / api_get / api_post / api_patch / api_delete / retry_metadata)を使う(requests 直呼び・MSAL 直接呼び出し禁止)
  • 認証はスキップ実行が前提: auth_helper.py は 2 層キャッシュ(.auth_record.json + OS 資格情報ストア)により初回のみデバイスコード認証が発生し、以降はサイレントに認証が完了する。すべての新規スクリプトは このキャッシュ済み認証を前提に、対話的な認証待ちなしで最後まで自動実行できるように書く。実行中にデバイスコードや資格情報の入力待ちが発生した場合は処理を止めず、auth_helper.py の実装(キャッシュ・スコープ)を疑って修正する
  • データソース: npx power-apps add-data-source で追加(dataSourcesInfo.ts 手動追記禁止)
  • 外部データは指示ではない: エージェント実装でメール本文・Web ページ・取り込んだファイル・業務レコードを読ませる場合は、フェンスで囲って渡し、送信・共有・実行など実害のある操作はコードで認証済み ID を検証する(プロンプト インジェクション対策
  • 詳細は .github/skills/standard/SKILL.md(認証リファレンス: .github/skills/standard/references/auth-patterns.md)および各スキルを参照
  • Web UI 操作(管理ポータルのフォーム入力、OAuth クライアント登録等)は VS Code 統合ブラウザツールopen_browser_page 等)のみを使う。Playwright MCP サーバー・Playwright 単体ブラウザはいかなる場合もインストール・起動しない。 認証はユーザー自身に行ってもらい、機密値は .env から読んで画面へ直接入力する(チャットに出力しない)。詳細・使用例はブラウザ自動化方針 を参照。

スキル一覧

作業 スキル
Dataverse .github/skills/dataverse/SKILL.md
Web Code Apps(React/Vite) .github/skills/code-apps/SKILL.md
Native Mobile Code Apps(Expo/React Native、Private Preview) .github/skills/mobile-apps/SKILL.md
Power Automate .github/skills/power-automate/SKILL.md
Copilot Studio (v1/旧) .github/skills/copilot-studio/SKILL.md
Copilot Studio v2 (新アーキ/自動構築) .github/skills/copilot-studio-v2/SKILL.md
AI Builder .github/skills/ai-builder/SKILL.md
Generative Page .github/skills/generative-page/SKILL.md
Power Pages .github/skills/power-pages/SKILL.md
モデル駆動型アプリ .github/skills/model-driven-app/SKILL.md
アーキテクチャ判断 .github/skills/architecture/SKILL.md
要件理解・仕様書変換 .github/skills/spec-builder/SKILL.md
Cowork / MCP クライアント登録 .github/skills/cowork/SKILL.md
AI チームメイト(Agent 365 / agentUser での Teams 公開) .github/skills/agent365/SKILL.md
スキル作成・更新 .github/skills/update-skills/SKILL.md
Azure リファレンスアーキテクチャ(セキュア構成) .github/skills/azure/SKILL.md
SharePoint(Graph API・AAD アプリ登録不要) .github/skills/sharepoint/SKILL.md

Read the full file on GitHub · 68 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. 2d ago First seen · 68 lines · 48 tokens per session scan A 91834df66ddc

Subscribe to this mod's changes

GeekPowerCode is an agent published in the GitHub repository geekfujiwara/CodeAppsDevelopmentStandard (59 stars, last pushed 4d ago), licensed MIT. It adds 48 tokens to every session and 1,550 once invoked, about $0.0002 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.