microsoftgraph/dev-skills/write-app-code

Claude Code and agent skill by microsoftgraph/dev-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

USE FOR: Write app code with the generated SDK: validate exports, implement auth, and apply patterns. DO NOT USE FOR: Non-Microsoft Graph scenarios. INVOKES: None.

Install

npx vskill@latest install microsoftgraph/dev-skills/write-app-code

SKILL.md

SDK API validation

Verify SDK exports with a minimal compiling sample (auth + one Graph call).

Write application code

  • Use SDK models/methods/attributes for Graph calls; avoid raw HTTP.
  • Load references/<LANGUAGE>.md for language guidance: CSharp, Python, Typescript.

Authentication

  • Use authentication provider from Azure Identity; avoid custom credential wrappers unless required.
  • Mention enabling public client flows in app registration when needed.
  • Docs: Authentication

Error handling and resilience

  • Handle Graph-call exceptions in order: ODataError, operational errors (filesystem, etc), then a final catch-all.
  • Catch specific exception types where practical and log appropriately; do not expose raw exceptions.

CRUD Operations and Query Parameters

  • Use select to return only required properties.
  • For search, prefer POST /search/query with a complex body.
  • For directory-derived resources, $count needs an advanced query; set the ConsistencyLevel: eventual request header for subsequent pages.
  • Generated query-parameter fields are not always valid per endpoint; verify supported params in the API reference.
  • Docs: Query Params

Special patterns

Load Special Patterns for pagination, batching, large file uploads, delta queries, and webhooks.

Calling Patterns

ScenarioPattern
Calendar methodsstartDateTime and endDateTime are required; communicate range
File/content downloadResponse is binary stream, not JSON; use stream handling
Teams messagesPOST to channel/chat messages; include user@odata.bind in AdditionalData

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/microsoftgraph/dev-skills/write-app-code/badge)](https://verified-skill.com/skills/microsoftgraph/dev-skills/write-app-code)

Something wrong with this skill or its page? Tell us.