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.
npx agentmods add skills/geekfujiwara/codeappsdevelopmentstandard/generative-pagenpx skills add geekfujiwara/CodeAppsDevelopmentStandard --skill generative-pagegit clone --depth 1 https://github.com/geekfujiwara/CodeAppsDevelopmentStandardWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00062 | $0.05675 |
| Opus 5 | $0.00031 | $0.02838 |
| Sonnet 5 | $0.00012 | $0.01135 |
| Haiku 4.5 | $0.00006 | $0.00568 |
Grade A, and why
generative-page 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 381 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Generative Pages 開発スキル
Power Apps モデル駆動型アプリの Generative Pages (genux) を開発・デバッグ・デプロイするスキル。
Code Apps スキル (
code-apps) との違い: Code Apps は React 18 + Tailwind + Vite +npx power-apps pushのフルスタック開発。Generative Pages は React 17 + Fluent UI V9 + D3.js の 単一.tsxファイル構成 でpac model genpage uploadでデプロイする軽量ページ。
技術スタック
| レイヤー | 技術 |
|---|---|
| UI | React 17 + TypeScript |
| コンポーネント | @fluentui/react-components (Fluent UI V9) |
| アイコン | @fluentui/react-icons(サイズなしバリアントのみ) |
| チャート | D3.js v7 |
| データ | props.dataApi (DataAPI) |
| デプロイ | PAC CLI (pac model genpage upload) |
利用可能ライブラリ(これ以外は使用禁止):
react: ^17.0.2
@fluentui/react-components: ^9.46.4
@fluentui/react-icons: ^2.0.292
@fluentui/react-datepicker-compat: ^0.5.0
@fluentui/react-timepicker-compat: ^0.3.0
d3: ^7.9.0
uuid: ^9.0.1
必須要件
- React 17 構文のみ — React 18 の
useId,useTransition等は使用不可 - FluentProvider 追加禁止 — ルートで提供済み。追加すると React 17 でダブルレンダーが発生
100vh/100vw禁止 — flexbox と相対単位を使用- 単一ファイル構成 — 全コンポーネント・ユーティリティを 1 つの
.tsxファイルに記述 export default GeneratedComponent— エントリポイントの関数名と export 形式は固定makeStyles+tokensでスタイリング。インラインスタイルは動的値のみ- DataAPI は読み取り専用 —
props.dataApi.queryTable()とgetChoices()のみ使用可能。updateRecord,createRecord,deleteRecordは存在しない - 書き込みは
Xrm.WebApi.online—(window as any).Xrm.WebApi.online.updateRecord()/.createRecord()/.deleteRecord()を使用。dataApiには書き込みメソッドがない - カラム名は RuntimeTypes.ts を確認 — 推測禁止
@fluentui/react-iconsはサイズなしバリアントのみ —AddRegular✅ /Add24Regular❌Map/Setにfor...of禁止 —.forEach()または[...map]でイテレーション- ダークモードはデフォルトで実装しない — ユーザーが明示的にダークモード対応を要求した場合のみ
themeToVarsパターンを実装する。デフォルトは Fluent UI のシステムテーマに従う(追加実装なし)
13 以降の詳細ルール・教訓(Lookup 解決・SiteMap の Url 属性方式・D3 チャート・OData アノテーション回避・
genpage upload/PublishXmlのタイムアウト対策等、コード例つき)は 必須要件 詳細 を参照。
What ships with it
10 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/code-patterns.md 39 KB
- references/design-template.md 82 KB
- references/genpage-design-system.md 20 KB
- references/japan-map-pattern.md 17 KB
- references/objectflow-example.tsx 55 KB
- references/objectflow-RuntimeTypes.ts 4.3 KB runs code
- references/page-design-gallery.md 46 KB
- references/requirements-and-lessons.md 16 KB
- references/troubleshooting.md 21 KB
- scripts/.gitkeep 0 B
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.
- 3d ago First seen · 381 lines · 62 tokens per session scan A da5765be097a
generative-page is a skill published in the GitHub repository geekfujiwara/CodeAppsDevelopmentStandard (59 stars, last pushed 5d ago), licensed MIT. It adds 62 tokens to every session and 5,675 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.
Other skills, from other repositories
feature-flags
Use when feature flag tests fail, flags need updating, understanding @gate pragmas, debugging channel-specific test failures, or adding new flags to React.
flags
Use when you need to check feature flag states, compare channels, or debug why a feature behaves differently across release channels.
flow
Use when you need to run Flow type checking, or when seeing Flow type errors in React code.
extract-errors
Use when adding new error messages to React, or seeing "unknown error code" warnings.
tamagui
Universal React UI framework for web and native. Use when building cross-platform apps with Tamagui, creating styled components with styled(), configuring design tokens/themes, using Tamagui UI components, or working with animations. Triggers: "tamagui", "styled()", "$token", "XStack/YStack", "useTheme", "@tamagui/"…
beui
Pick and install beUI (@beui) animated React components from the shadcn registry. Use when building motion UI, agent/chat interfaces, toasts, docks, bottom sheets, drawers, popovers, sliders, loaders, 404 pages, or any beui.dev component. Maps user intent to exact @beui install slugs instead of inventing custom…