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-codeSKILL.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>.mdfor 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
selectto return only required properties. - For search, prefer
POST /search/querywith a complex body. - For directory-derived resources,
$countneeds an advanced query; set theConsistencyLevel: eventualrequest 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
| Scenario | Pattern | |
|---|---|---|
| Calendar methods | startDateTime and endDateTime are required; communicate range | |
| File/content download | Response is binary stream, not JSON; use stream handling | |
| Teams messages | POST 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
- SKILL.md in the repositoryCheckingskills/write-app-code/SKILL.md
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
[](https://verified-skill.com/skills/microsoftgraph/dev-skills/write-app-code)