crestapps/crestapps.agentskills/crestapps-core-overview

Claude Code and agent skill by crestapps/crestapps.agentskills

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Entry point for CrestApps.Core 2.0 in any ASP.NET Core or generic .NET host. Covers the full NuGet package map, the AddCrestAppsCore and AddAISuite builder chain, the CrestApps AI Connections and Deployments configuration layout, declaring deployment model capabilities (Features) and resolving deployments through slots with ResolveSlotAsync and AIDeploymentSlotNames, choosing a storage backend and sample host, the cross-cutting 2.0 breaking changes (AIDeploymentPurpose removal, Indexers renamed…

Install

npx vskill@latest install crestapps/crestapps.agentskills/crestapps-core-overview

SKILL.md

The same SKILL.md was published earlier as crestapps/crestapps.agentskills/crestapps-core-overview.

CrestApps.Core Overview

You are a CrestApps.Core expert. Start here to pick packages, compose the builder chain, configure connections and deployments, and route the rest of the task to the right crestapps-core-* skill.

Guidelines

  • Compose everything through services.AddCrestAppsCore(crestApps => crestApps.AddAISuite(ai => ...)). AddAISuite(...) always registers AddCoreServices(), AddCoreAIServices() and AddCoreAIOrchestration(); every feature, provider and store is an opt-in call on a builder.
  • Reference the smallest package set the feature list needs. Install the packages in the web or startup project.
  • Keep provider credentials in CrestApps:AI:Connections and model choices in CrestApps:AI:Deployments.
  • A deployment declares what its model can do (capabilities, the Features list). Code asks for a slot (chat, utility, embedding, image, vision, speechToText, textToSpeech, realtime) and lets IAIDeploymentManager.ResolveSlotAsync(...) pick the deployment. Never select deployments by a purpose or type; those APIs are gone in 2.0.
  • Without a store package, connections and deployments come only from configuration, and nothing stores AI Profiles, chat sessions or Chat Interactions. Add CrestApps.Core.Data.EntityCore or CrestApps.Core.Data.YesSql (see crestapps-core-data-storage) before using those features.
  • Use the MVC sample host (CrestApps.Core.Mvc.Web) as the broadest reference and the Blazor host (CrestApps.Core.Blazor.Web) for an Entity Framework Core composition.
  • The packages target net10.0 and net11.0 (each NuGet package has both builds). Building the CrestApps.Core repository needs the .NET 11 SDK; the sample hosts, Aspire host, end-to-end tests and benchmarks build for net10.0 only.

Smallest Useful Setup

xml
<ItemGroup>
<PackageReference Include="CrestApps.Core.AI.Chat" />
<PackageReference Include="CrestApps.Core.AI.OpenAI" />
<PackageReference Include="CrestApps.Core.Data.EntityCore" />
</ItemGroup>

CrestApps.Core.AI.Chat brings CrestApps.Core, CrestApps.Core.AI and their abstractions transitively; list them explicitly only when you prefer explicit references.

csharp
using CrestApps.Core;
using CrestApps.Core.AI;
using CrestApps.Core.AI.Chat;
using CrestApps.Core.AI.OpenAI;
using CrestApps.Core.Data.EntityCore;
builder.Services.AddCrestAppsCore(crestApps => crestApps
.AddAISuite(ai => ai
.AddEntityCoreStores()
.AddOpenAI()
.AddChatInteractions(chat => chat.AddEntityCoreStores())
)
.AddEntityCoreSqliteDataStore("Data Source=crestapps.db")
);
var app = builder.Build();
await app.Services.InitializeEntityCoreSchemaAsync();

A console or worker that only calls IAICompletionService needs no store: AddAISuite(ai => ai.AddOpenAI()) and configured deployments are enough.

Configuration with Capabilities

json
{
"CrestApps": {
"AI": {
"Connections": [
{
"Name": "primary-openai",
"ClientName": "OpenAI",
"ApiKey": "YOUR_API_KEY"
}
],
"Deployments": [
{
"Name": "gpt-4.1",
"ConnectionName": "primary-openai",
"ModelName": "gpt-4.1",
"Features": [ "textGeneration", "toolCalling", "streaming", "imageInput" ]
},
{
"Name": "gpt-4.1-mini",
"ConnectionName": "primary-openai",
"ModelName": "gpt-4.1-mini",
"Features": [ "textGeneration", "toolCalling", "streaming" ]
},
{
"Name": "text-embedding-3-small",
"ConnectionName": "primary-openai",
"ModelName": "text-embedding-3-small",
"Features": [ "textEmbedding" ]
}
]
}
}
}
  • Features is shorthand for Properties:AIDeploymentMetadata:Features; both forms merge. Feature names are the constants in AIDeploymentFeatureNames (textGeneration, toolCalling, textEmbedding, speechToText, textToSpeech, structuredOutputs, streaming, reasoning, imageInput, imageOutput, audioInput, audioOutput, videoInput, videoOutput, realtime).
  • textGeneration is opt-out. A deployment with no capability metadata at all is unconstrained and can fill chat and utility. Every other capability is opt-in, so an embedding, image, speech or realtime deployment must declare it.
  • Once a deployment declares any Features, it fills only the slots whose required feature it lists. A deployment that declares realtime never fills chat or utility.
  • Use ConnectionName to point at a shared connection. A deployment may instead carry contained connection settings (ClientName, Endpoint, ApiKey, and so on) directly.

Resolve a Deployment by Slot

csharp
using CrestApps.Core.AI.Completions;
using CrestApps.Core.AI.Deployments;
using CrestApps.Core.AI.Models;
using Microsoft.Extensions.AI;
namespace MyApp.Services;
public sealed class QuickAnswerService
{
private readonly IAIDeploymentManager _deploymentManager;
private readonly IAICompletionService _completionService;
public QuickAnswerService(
IAIDeploymentManager deploymentManager,
IAICompletionService completionService)
{
_deploymentManager = deploymentManager;
_completionService = completionService;
}
public async Task<string> AskAsync(string question, CancellationToken cancellationToken = default)
{
var deployment = await _deploymentManager.ResolveSlotAsync(
AIDeploymentSlotNames.Chat,
cancellationToken: cancellationToken);
if (deployment is null)
{
return "No deployment can fill the chat slot. Check CrestApps:AI:Deployments.";
}
var response = await _completionService.CompleteAsync(
deployment,
[new ChatMessage(ChatRole.User, question)],
new AICompletionContext(),
cancellationToken);
return response.Text;
}
}

Resolution order for a slot is: the explicit deployment name, the slot's site default from DefaultAIDeploymentSettings (for example DefaultChatDeploymentName), the fallback slot's explicit name and default (utility falls back to chat), and only then the first capable deployment. Use GetAllBySlotAsync(slotName) to fill a picker, and ResolveSlotOrThrowAsync(slotName) from AIDeploymentManagerExtensions when a missing deployment is a configuration error. Details live in crestapps-core-ai-model-capabilities.

Package Map

AreaPackagesSkill
FoundationCrestApps.Core.Abstractions, CrestApps.Core, CrestApps.Core.Infrastructure.Abstractions, CrestApps.Core.Infrastructure, CrestApps.Core.Supportcrestapps-core-foundations
AI runtimeCrestApps.Core.AI.Abstractions, CrestApps.Core.AIcrestapps-core-ai-runtime
Chat and sessionsCrestApps.Core.AI.Chatcrestapps-core-chat, crestapps-core-chat-interactions
AG-UICrestApps.Core.AI.AGUI (plus CrestApps.Core.AI.Chat for RunAgent and MapAGUIChat)crestapps-core-ag-ui
Realtime voiceCrestApps.Core.AI.WebRTC (plus CrestApps.Core.AI.Chat)crestapps-core-realtime-voice
SignalR hubsCrestApps.Core.SignalRcrestapps-core-signalr
TemplatesCrestApps.Core.Templatescrestapps-core-templates, crestapps-core-ai-templates
MarkdownCrestApps.Core.AI.Markdowncrestapps-core-ai-markdown
ResilienceCrestApps.Core.AI.Resiliencecrestapps-core-resilience
ObservabilityCrestApps.Core.OpenTelemetrycrestapps-core-observability
IngestionCrestApps.Core.AI.Ingestion, CrestApps.Core.AI.Ingestion.Pdf, CrestApps.Core.Azure.DocumentIntelligence, CrestApps.Core.DataIngestioncrestapps-core-document-processing
Documents and generated filesCrestApps.Core.AI.Documents, CrestApps.Core.AI.Documents.OpenXml, CrestApps.Core.AI.Documents.Pdf, CrestApps.Core.AI.Documents.Wordcrestapps-core-document-processing, crestapps-core-document-agents
File sourcesCrestApps.Core.AI.FileSources, CrestApps.Core.AI.Ftp, CrestApps.Core.AI.Sftpcrestapps-core-file-sources, crestapps-core-mcp-file-resources
Web crawlersCrestApps.Core.AI.WebCrawlerscrestapps-core-web-crawlers
MCPCrestApps.Core.AI.Mcp, CrestApps.Core.AI.Mcp.Knowledgecrestapps-core-mcp
WebMCPCrestApps.Core.AI.WebMcp, npm @crestapps/webmcpcrestapps-core-webmcp
A2ACrestApps.Core.AI.A2Acrestapps-core-a2a
ProvidersCrestApps.Core.AI.OpenAI, CrestApps.Core.AI.OpenAI.Azure, CrestApps.Core.AI.AzureAIInference, CrestApps.Core.AI.Ollama, CrestApps.Core.Azureprovider skills below
Speech voicesCrestApps.Core.AI.ElevenLabs, CrestApps.Core.AI.Cartesiacrestapps-core-speech-voices
OrchestratorsCrestApps.Core.AI.Claude, CrestApps.Core.AI.Copilotcrestapps-core-claude-orchestrator, crestapps-core-copilot-orchestrator
Search backendsCrestApps.Core.Elasticsearch + CrestApps.Core.AI.Elasticsearch, CrestApps.Core.Azure.AISearch + CrestApps.Core.AI.Azure.AISearch, CrestApps.Core.PostgreSQL + CrestApps.Core.AI.PostgreSQLcrestapps-core-elasticsearch, crestapps-core-azure-ai-search, crestapps-core-postgresql
StorageCrestApps.Core.Data.EntityCore, CrestApps.Core.Data.YesSqlcrestapps-core-entitycore-stores, crestapps-core-yessql-stores
Chat UI assetsnpm @crestapps/ai-chat-ui (the CrestApps.AI.Resources Razor class library is not published to NuGet)crestapps-core-aspnet-hosting

Common Builder Calls

NeedBuilder callPackage
Chat sessions, Chat Interactions, hubs.AddChatInteractions(...)CrestApps.Core.AI.Chat
Uploaded documents and document RAG.AddDocumentProcessing(dp => dp.AddOpenXml().AddPdf().AddWord())CrestApps.Core.AI.Documents*
Ingestion only (no chat document stack)services.AddCoreAIDocumentIngestion(i => i.AddPlainTextReader().AddPdf())CrestApps.Core.AI.Ingestion*
Usage metering.AddUsageTracking()CrestApps.Core.AI
User, session and past-conversation memory.AddAIMemory(...)CrestApps.Core.AI
Speaking styles, guardrails.AddSpeakingStyles(), .AddGuardrails()CrestApps.Core.AI (see crestapps-core-ai-profiles)
Conversation privacy.AddConversationPrivacy()CrestApps.Core.AI.Chat
Profile versions.AddProfileVersions(v => v.AddYesSqlStores())store packages
Browser tools (WebMCP).AddWebMcp(webMcp => webMcp.AddPageTools<THub>()) and app.MapWebMcpTools()CrestApps.Core.AI.WebMcp
AG-UI over HTTP for other clientsapp.MapAGUIChat<THub>() (the chat hub's RunAgent needs nothing)CrestApps.Core.AI.Chat
ElevenLabs or Cartesia voices.AddElevenLabs(), .AddCartesia()CrestApps.Core.AI.ElevenLabs, CrestApps.Core.AI.Cartesia
Personas.AddPersonas(personas => personas.AddYesSqlStores())CrestApps.Core.AI
User-configured tool instances.AddToolInstances(...)CrestApps.Core.AI
MCP client or server.AddMcpClient(...), .AddMcpServer(...)CrestApps.Core.AI.Mcp
Remote A2A agents.AddA2AClient(...)CrestApps.Core.AI.A2A
SignalR with commit filter.AddSignalR(addStoreCommitterFilter: true)CrestApps.Core.SignalR
Search backends.AddIndexingServices(i => i.AddElasticsearch(...)) on the root buildersearch packages
Durable stores.AddEntityCoreStores() or .AddYesSqlStores() per feature builder, plus .AddEntityCoreSqliteDataStore(...) or .AddYesSqlDataStore(...) on the root builderstore packages

Skill Index

Hosting and infrastructure

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/crestapps/crestapps.agentskills/crestapps-core-overview/badge)](https://verified-skill.com/skills/crestapps/crestapps.agentskills/crestapps-core-overview)

Something wrong with this skill or its page? Tell us.