Semantic Kernel

Semantic Kernel

Guides an AI coding agent building or reviewing Semantic Kernel apps, picking the .NET or Python workflow and checking live documentation first.

Skill files3 files

references/

SKILL.md57 lines
1
---
2
name: semantic-kernel
3
description: 'Create, update, refactor, explain, or review Semantic Kernel solutions using shared guidance plus language-specific references for .NET and Python.'
4
---
5
6
# Semantic Kernel
7
8
Use this skill when working with applications, plugins, function-calling flows, or AI integrations built on Semantic Kernel.
9
10
Always ground implementation advice in the latest Semantic Kernel documentation and samples rather than memory alone.
11
12
## Determine the target language first
13
14
Choose the language workflow before making recommendations or code changes:
15
16
1. Use the **.NET** workflow when the repository contains `.cs`, `.csproj`, `.sln`, or other .NET project files, or when the user explicitly asks for C# or .NET guidance. Follow [references/dotnet.md](references/dotnet.md).
17
2. Use the **Python** workflow when the repository contains `.py`, `pyproject.toml`, `requirements.txt`, or the user explicitly asks for Python guidance. Follow [references/python.md](references/python.md).
18
3. If the repository contains both ecosystems, match the language used by the files being edited or the user's stated target.
19
4. If the language is ambiguous, inspect the current workspace first and then choose the closest language-specific reference.
20
21
## Always consult live documentation
22
23
- Read the Semantic Kernel overview first: <https://learn.microsoft.com/semantic-kernel/overview/>
24
- Prefer official docs and samples for the current API surface.
25
- Use the Microsoft Docs MCP tooling when available to fetch up-to-date framework guidance and examples.
26
27
## Shared guidance
28
29
When working with Semantic Kernel in any language:
30
31
- Use async patterns for kernel operations.
32
- Follow official plugin and function-calling patterns.
33
- Implement explicit error handling and logging.
34
- Prefer strong typing, clear abstractions, and maintainable composition patterns.
35
- Use built-in connectors for Azure AI Foundry, Azure OpenAI, OpenAI, and other AI services, while preferring Azure AI Foundry services for new projects when that fits the task.
36
- Use the kernel's memory and context-management capabilities when they simplify the solution.
37
- Use `DefaultAzureCredential` when Azure authentication is appropriate.
38
39
## Workflow
40
41
1. Determine the target language and read the matching reference file.
42
2. Fetch the latest official docs and samples before making implementation choices.
43
3. Apply the shared Semantic Kernel guidance from this skill.
44
4. Use the language-specific package, repository, sample paths, and coding practices from the chosen reference.
45
5. When examples in the repo differ from current docs, explain the difference and follow the current supported pattern.
46
47
## References
48
49
- [.NET reference](references/dotnet.md)
50
- [Python reference](references/python.md)
51
52
## Completion criteria
53
54
- Recommendations match the target language.
55
- Package names, repository paths, and sample locations match the selected ecosystem.
56
- Guidance reflects current Semantic Kernel documentation rather than stale assumptions.
57

© GitHub, Inc. · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

1 view
Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…