csharp-project-init
C# Project Init
Set up a C# ASP.NET Core Web API project with proper tooling and configuration.
Git commit after each step that modifies or creates files. Skip commit if nothing to commit.
Steps
-
Ensure the Git working tree is clean:
git statusIf the working directory is not clean, stop execution.
-
Check .NET SDK version (must be >=
10.0.103):dotnet --version -
Create the project using the
webapitemplate without-nargument:dotnet new webapi -controllers -
Add Entity Framework Core 10 and related SQL Server NuGet packages. Don't use prerelease versions.
-
Check for EF Core Power Tools CLI:
efcpt --versionIf not installed or version is lower than
10, reinstall:dotnet tool install ErikEJ.EFCorePowerTools.Cli -g --version 10.* -
Set up C# Global Usings in
GlobalUsings.cswith common namespaces. -
Add
.gitignorefile — refer to the gitignore-generator skill. -
Add
.gitattributesfile:# Set default behavior to automatically normalize line endings. * text=auto # Force batch scripts to always use CRLF line endings. *.{cmd,[cC][mM][dD]} text eol=crlf *.{bat,[bB][aA][tT]} text eol=crlf # Force bash scripts to always use LF line endings. *.sh text eol=lf .env text eol=lf Dockerfile text eol=lf # Denote all files that are truly binary and should not be modified. *.mp3 binary *.wav binary *.bmp binary *.png binary *.jpg binary *.gif binary -
Download the
.editorconfig:curl -sL https://gist.github.com/jim60105/ae6ba63978a2dc3ffb3ebb77344cc7f7/raw/47f342c4b793a32697af6d62022692c26f849c07/.editorconfig > .editorconfig
Let's do this step by step.
More from jim60105/copilot-prompt
chinese-content-writing-guideline
>-
229docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.
140pdf
Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.
84rewrite-meeting-audio-transcription
Rewrite raw meeting audio transcriptions into clean, accurate meeting minutes in Traditional Chinese. Use when the user has an unprocessed audio transcription file with recognition errors and needs it cleaned up into proper meeting minutes.
26create-copilot-instructions
Create `AGENTS.md` file for a project. Use when the user wants to set up custom instructions, configure AI coding assistant behavior, or create project-specific coding guidelines for AI agents.
14drawio-diagrams-enhanced
This skill should be used when the user asks to "create a diagram", "draw a flowchart", "make a swimlane diagram", "create WBS", "generate RACI matrix", "build network diagram", "create org chart", or mentions draw.io, diagrams.net, BPMN, UML, Gantt, PERT, or project management diagrams. Integrates with next-ai-draw-io MCP server for real-time diagram creation and editing.
14