agent-sample-creating
Guide for creating samples by GitHub Copilot. Use this when instructed to create samples.
When & Why to Use This Skill
This Claude skill automates the end-to-end process of generating high-quality C# and .NET 10 code samples. By integrating with Microsoft Learn MCP tools, it searches official repositories for best practices, generates modern C# 14 code, and automatically drafts comprehensive README documentation based on technical specifications, significantly reducing manual boilerplate work for developers.
Use Cases
- Rapid Prototyping: Quickly generate functional boilerplate and reference implementations for new .NET 10 projects based on natural language descriptions.
- Technical Documentation: Automatically create well-documented code samples and README files for developer portals, tutorials, or internal knowledge bases.
- Modernization & Learning: Assist developers in adopting C# 14 features by providing runnable, search-backed examples that follow the latest Microsoft standards.
| name | agent-sample-creating |
|---|---|
| description | Guide for creating samples by GitHub Copilot. Use this when instructed to create samples. |
To create samples from a prompt, follow this process, using tools provided from the Microsoft Learn MCP Server:
- Use the
microsoft_code_sample_searchtool to search C# samples from the prompt. - Create an sample app using C# 14 and .NET 10.
- Use the
microsoft_docs_searchtool to search documents about the sample, to write README.md about technical topics for the sample.