Coder Csharp Efcore Queries
Generates C# Entity Framework Core database queries based on natural language descriptions β streamlining development and reducing boilerplate code.
Install on your platform
We auto-selected Claude Code based on this skillβs supported platforms.
Run in terminal (recommended)
claude mcp add coder-csharp-efcore-queries npx -- -y @trustedskills/coder-csharp-efcore-queries
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"coder-csharp-efcore-queries": {
"command": "npx",
"args": [
"-y",
"@trustedskills/coder-csharp-efcore-queries"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows AI agents to generate and execute Entity Framework Core (EFCore) queries in C#. It can retrieve data from a database based on specified criteria, perform filtering, sorting, and joins. The agent will construct the query string and then execute it against a configured EFCore context.
When to use it
- Data Retrieval: You need to fetch specific records from a database table based on certain conditions (e.g., "Get all customers in California").
- Report Generation: You want to extract data for creating reports or dashboards, requiring complex filtering and aggregation.
- Application Logic: Your application requires querying the database as part of its core functionality (e.g., retrieving product details based on a user's search).
- Data Analysis: You need to analyze data stored in a relational database using C# queries.
Key capabilities
- Generates EFCore query strings.
- Executes generated queries against an EFCore context.
- Supports filtering, sorting and joins.
- Retrieves data from the database.
Example prompts
- "Write an EF Core query to get all products with a price greater than $50."
- "Generate a C# query using Entity Framework Core to find orders placed in the last week."
- βCreate an EF Core query that joins Customers and Orders tables to retrieve customer names and their corresponding order counts.β
Tips & gotchas
- Requires a configured EFCore context with appropriate database connection details. The agent needs access to this context to execute queries successfully.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates β what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
π Community
Passed automated security scans.