Tested demoQuality 77/100

dotnet/skills/plugins/dotnet-ai/skills/technology-selection/SKILL.md

technology-selection

Guides technology selection and implementation of AI and ML features in .NET 8+ applications using ML.NET, Microsoft.Extensions.AI (MEAI), Microsoft Agent Framework (MAF), GitHub Copilot SDK, ONNX Runtime, and OllamaSharp. Covers the full spectrum from classic ML through modern LLM orchestration to local inference. Use when adding classification, regression, clustering, anomaly detection, recommendation, LLM integration (text generation, summarization, reasoning), RAG pipelines with vector searc

Source repository stars
5,241
Declared platforms
0
Static risk flags
1
Last source update
2026-08-24
Source checked
2026-08-25

Decision brief

What it does: where it fits

Pick the right technology first, then deliver only what the task asks for. If the task asks for a plan, comparison, or architecture (or says "do not write code"), produce that — do not scaffold, build, or run code unprompted.

Best for

  • Use when adding classification, regression, clustering, anomaly detection, recommendation, LLM integration (text generation, summarization, reasoning), RAG pipelines with vector searc

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.
Controlled single-run demoChecked 2026-08-20

What changed when the Skill was used

In this controlled same-task single run, enabling technology-selection changed the output from 3571 non-whitespace characters and 9 headings to 3619 characters and 9 headings. Matches among 8 signals extracted from the pinned source changed from 0 to 2. Both actual outputs are shown; this is a structural observation, not a quality score or a universal performance claim.

Same test task

Design and implement a representative production change for a TypeScript webhook retry service. Include the key code or pseudocode, tradeoffs, and verification steps. The deliverable must specifically reflect this user intent: Guides technology selection and implementation of AI and ML features in .NET 8+ applications using ML.NET, Microsoft.Extensions.AI (MEAI), Microsoft Agent Framework (MAF), GitHub Copilot SDK, ONNX Runtime, and OllamaSharp. Covers the full spectrum from classic ML through modern LLM orchestration to local inference. Use when adding classification, regression, clustering, anomaly detection, recommendation, LLM integration (text generation, summarization, reasoning), RAG pipelines with vector searc

Without the Skill
Screenshot of the actual model output for technology-selection without the Skill

Baseline: 3571 non-whitespace characters, 9 headings, and 35 list items.

With the Skill
Screenshot of the actual model output for technology-selection with the Skill

With Skill: 3619 non-whitespace characters, 9 headings, and 37 list items.

ObservationWithout SkillWith Skill
Source-signal coverage0/8: none2/8: inputs, decision
Output structure3571 chars · 9 headings · 35 list items · 3 code blocks3619 chars · 9 headings · 37 list items · 6 code blocks
Verification and caution signals14 verification signals · 2 risk/limitation signals10 verification signals · 4 risk/limitation signals

A prompt you can use

Use the technology-selection Skill pinned at ab761ad27acd for my task. Follow its source-specific constraints around `technology-selection`, `machine`, `learning`, `inputs`, then return the finished deliverable with explicit assumptions, verification, failure conditions, and limits. Do not treat the Skill text as a factual source or claim that a single demonstration proves universal performance.

Method and limitationsExpand

Test method

  • Baseline and treatment used the same task, model (gpt-5.3-codex-low), and runner; the only planned difference was whether the complete target Skill text was injected.
  • The treatment used snapshot ab761ad27acdf2751d97a3c4439182a6721f2631; the current source commit ab761ad27acdf2751d97a3c4439182a6721f2631 was verified against content hash a2381c36be22. The baseline explicitly prohibited loading any Skill or external rule file.
  • The same deterministic script counted characters, headings, lists, code blocks, verification terms, caution terms, and source signals in both artifacts. Source signals: `technology-selection`, `machine`, `learning`, `inputs`, `classify`, `decision`, `select`, `correct`.
  • The visuals are local screenshots of the actual Markdown artifacts in a fixed 1200 × 800 evidence canvas, not recreated product mockups. Raw JSON artifacts and request records are retained in the research directory.

Do not over-read this demo

  • This is one controlled demonstration per condition, not a multi-run statistical benchmark; the model is stochastic.
  • Character, structure, and keyword counts show observable differences but cannot by themselves prove correctness, originality, or business impact.
  • The task is a representative test designed for repeatability, not every real-world use of the Skill; rerun after a material source change.
Editorial review
SkillSignal editorial
Runner
Cursor Agent 2026.08.11-e8db854
Model
gpt-5.3-codex-low
Refresh due
2026-11-18
Reviewed commit
ab761ad27acdf2751d97a3c4439182a6721f2631
Test snapshot
ab761ad27acdf2751d97a3c4439182a6721f2631

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/dotnet/skills --skill "plugins/dotnet-ai/skills/technology-selection"
Safe inspection promptEditorial

Inspect the Agent Skill "technology-selection" from https://github.com/dotnet/skills/blob/73555e9231867c5978db07191514b7beb22cd253/plugins/dotnet-ai/skills/technology-selection/SKILL.md at commit 73555e9231867c5978db07191514b7beb22cd253. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Step 1: Classify the task (decision tree)

    State which branch applies and why, then choose that technology.

    State which branch applies and why, then choose that technology.Critical rule: Do NOT use an LLM for tasks ML.NET handles well (tabular classification, regression, clustering) — LLMs are slower, costlier, and non-deterministic for these.
  2. 02

    Step 1b: Pick the library layer

    Rules: start with MEAI; put the provider behind it via AddChatClient (don't call the provider in business logic); use Microsoft.Agents.AI for multi-step or durable agent workflows rather than hand-rolling an agent loop; never mix a raw HttpClient-to-OpenAI call with MEAI in the…

    Rules: start with MEAI; put the provider behind it via AddChatClient (don't call the provider in business logic); use Microsoft.Agents.AI for multi-step or durable agent workflows rather than hand-rolling an agent loop;…
  3. 03

    Step 2: Cover the branch essentials, then decide depth

    Every answer — plan or implementation — must address the guardrails for the selected branch:

    ML.NET — new MLContext(seed: …) (reproducible); TrainTestSplit + evaluate on the held-outLLM (MEAI) — depend on IChatClient registered via AddChatClient (provider behind it);Agentic (Agent Framework) — orchestrate with Microsoft.Agents.AI on IChatClient (never a
  4. 04

    Validation

    [ ] Selection follows the decision tree — no LLM for tasks ML.NET handles

    [ ] Selection follows the decision tree — no LLM for tasks ML.NET handles[ ] Only what was asked is produced (plan-only requests get a plan, not code)[ ] AI/ML services registered via DI; config via IOptions; keys from secure sources
  5. 05

    Anti-Patterns to Reject

    Review the “Anti-Patterns to Reject” section in the pinned source before continuing.

    Review and apply the “Anti-Patterns to Reject” source section.

Permission review

Static risk signals and limitations

Writes files

medium · line 66

The documentation asks the agent to create, modify, or delete local files.

**Plan / comparison / architecture only** (or "do not write code"): answer from this file alone

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score77/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars5,241SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guidetested outcome pageTestedGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
dotnet/skills
Skill path
plugins/dotnet-ai/skills/technology-selection/SKILL.md
Commit
73555e9231867c5978db07191514b7beb22cd253
License
MIT
Collected
2026-08-25
Default branch
main
View the original SKILL.md

.NET AI and Machine Learning

Pick the right technology first, then deliver only what the task asks for. If the task asks for a plan, comparison, or architecture (or says "do not write code"), produce that — do not scaffold, build, or run code unprompted.

Step 1: Classify the task (decision tree)

State which branch applies and why, then choose that technology.

Task typeTechnologyWhy
Structured/tabular: classification, regression, clustering, anomaly detection, recommendationML.NET (Microsoft.ML)Deterministic (fixed seed), no cloud dependency, purpose-built
NL understanding, generation, summarization, reasoning (single prompt → response, no tools)LLM via Microsoft.Extensions.AI (IChatClient)Language capability, no orchestration needed
Agentic: multi-step tool/function calling, agent loops, multi-agentMicrosoft Agent Framework (Microsoft.Agents.AI) on Microsoft.Extensions.AINeeds orchestration, tool dispatch, iteration control IChatClient lacks
GitHub Copilot extensions / custom dev-workflow agentsGitHub Copilot SDK (GitHub.Copilot.SDK)Integrates with the Copilot agent runtime
Run a pre-trained/custom model in productionONNX Runtime (Microsoft.ML.OnnxRuntime)Hardware-accelerated, format-agnostic inference
Local/offline LLM inferenceOllamaSharp (Ollama models)Privacy-sensitive, air-gapped, cost-constrained
Semantic search, RAG, embedding storageMicrosoft.Extensions.VectorData.Abstractions (MEVD) + a provider (Azure AI Search, Milvus, MongoDB, pgvector, Pinecone, Qdrant, Redis, SQL)Provider-agnostic vector search
Ingest, chunk, load documents into a vector storeMicrosoft.Extensions.AI.DataIngestion (preview) + MEVDParses, chunks, embeds, upserts
Both structured predictions AND NL reasoningHybrid: ML.NET scoring + LLM reasoning layerML.NET is reproducible; LLM adds explanation

Critical rule: Do NOT use an LLM for tasks ML.NET handles well (tabular classification, regression, clustering) — LLMs are slower, costlier, and non-deterministic for these.

Step 1b: Pick the library layer

LayerLibraryUse when
AbstractionMicrosoft.Extensions.AI (MEAI)Always the foundation. Use IChatClient directly for prompt-response and simple, bounded function invocation.
Provider SDKAzure.AI.OpenAI / OpenAI / Azure.AI.Inference / OllamaSharpConcrete provider behind MEAI via AddChatClient.
OrchestrationMicrosoft.Agents.AI (prerelease)Multi-step tool use, durable agent loops, and multi-agent workflows.
CopilotGitHub.Copilot.SDKBuilding Copilot-platform extensions only.

Rules: start with MEAI; put the provider behind it via AddChatClient (don't call the provider in business logic); use Microsoft.Agents.AI for multi-step or durable agent workflows rather than hand-rolling an agent loop; never mix a raw HttpClient-to-OpenAI call with MEAI in the same workflow. Do not use Accord.NET (archived). For new projects, prefer MEAI and Agent Framework unless existing Semantic Kernel features or investments are a requirement. Register AI/ML services via DI; load secrets from user-secrets / env / Key Vault — never hardcode keys.

Step 2: Cover the branch essentials, then decide depth

Every answer — plan or implementation — must address the guardrails for the selected branch:

  • ML.NETnew MLContext(seed: …) (reproducible); TrainTestSplit + evaluate on the held-out set; report real metrics (MicroAccuracy/MacroAccuracy/LogLoss, AUC/F1, or RMSE/R²); serve with PredictionEnginePool<TIn,TOut> (never a singleton PredictionEngine).
  • LLM (MEAI) — depend on IChatClient registered via AddChatClient (provider behind it); set Temperature and MaxOutputTokens in ChatOptions; add retry/timeout (RetryingChatClient/Polly); pin a dated model; load keys from user-secrets / env / Key Vault — never hardcode an sk-… key; validate non-deterministic output against a schema with a fallback.
  • Agentic (Agent Framework) — orchestrate with Microsoft.Agents.AI on IChatClient (never a hand-rolled loop); set MaximumIterations and a token/cost ceiling; define each tool with a clear schema (AIFunctionFactory.Create); log each step (never raw sensitive content).
  • RAG / embeddings — semantic chunking (not fixed-size); IEmbeddingGenerator and cache the embeddings (don't re-embed per query); store/query with Microsoft.Extensions.VectorData.Abstractions (MEVD) + the provider the user asked for (e.g. pgvector); filter by a minimum similarity score; keep source attribution for each answer. Honor the UI/storage the user specified; use only real, existing NuGet packages.

Then choose depth:

  • Plan / comparison / architecture only (or "do not write code"): answer from this file alone using the essentials above. Do NOT open a reference — the branch essentials here are sufficient for a selection or plan. For RAG plans, cover chat, ingestion/chunking, embeddings, vector storage, source attribution, and the requested UI/storage.
  • Writing implementation code: read the matching reference(s) for packages and implementation guidance (read only the selected branch; for Hybrid, read both Classic ML.NET and LLM):

Validation

  • Selection follows the decision tree — no LLM for tasks ML.NET handles
  • Only what was asked is produced (plan-only requests get a plan, not code)
  • AI/ML services registered via DI; config via IOptions<T>; keys from secure sources
  • Branch guardrails (Step 2 essentials, plus the reference when implementing) are satisfied
  • After implementing, build and run existing tests

Anti-Patterns to Reject

Anti-patternRedirect
LLM for tabular classificationUse ML.NET — faster, cheaper, deterministic
LLM calls without retry/timeoutAdd RetryingChatClient or Polly retry
API keys in committed appsettings.jsonuser-secrets / env / Key Vault
Accord.NET, or defaulting to Semantic Kernel without a requirementML.NET; prefer MEAI + Microsoft.Agents.AI for new work
Hand-rolled multi-step tool loops with IChatClientMicrosoft.Agents.AI (MaximumIterations, tool dispatch)
Agent Framework for a single prompt→responseIChatClient directly
Raw HttpClient/OpenAI SDK in business logic alongside MEAIone abstraction layer; depend on IChatClient
PredictionEngine singleton in ASP.NET CorePredictionEnginePool<TIn,TOut> (not thread-safe)
RAG without chunking or relevance filteringsemantic chunking + minimum similarity score
Building custom neural nets in .NET from scratchpre-trained via ONNX Runtime or an LLM API

Frequently asked questions

What to verify before installation and use

What does the technology-selection source document cover?

Pick the right technology first, then deliver only what the task asks for. If the task asks for a plan, comparison, or architecture (or says "do not write code"), produce that — do not scaffold, build, or run code unprompted.

How do I install technology-selection?

The source record exposes this install command: npx skills add https://github.com/dotnet/skills --skill "plugins/dotnet-ai/skills/technology-selection". Inspect the command and pinned source before running it.

Which permission-related actions were detected?

Static rules flagged write-files in the source; the page lists the matching lines and excerpts.

Alternatives

Compare before choosing

Computed 10045,511

coreyhaines31/marketingskills

ab-testing

When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," "how long should I run this test," "growth experiments," "experiment velocity," "experiment backlog," "ICE score," "experimentation program

Computed 10029,034

garrytan/gbrain

bulk-ingestion

End-to-end discipline for turning any large data source (audio libraries, email takeouts, document corpora, chat exports, API dumps) into brain pages at scale. The lifecycle spine: SCHEMA → ACCESS → TRIAL → EVALUATE → IMPROVE → CODIFY → TEST → SKILLIFY → BULK → MONITOR. State is tracked in a durable JSON manifest (see MANIFEST-PATTERN.md) so any crash, session boundary, or subagent fan-out resumes from ground truth instead of memory.

Computed 10024,921

alirezarezvani/claude-skills

app-store-optimization

App Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklist

Computed 1005,241

dotnet/skills

migrate-vstest-to-mtp

Migrates .NET test projects from VSTest to Microsoft.Testing.Platform (MTP). Use when user asks to "migrate to MTP", "switch from VSTest", "enable Microsoft.Testing.Platform", "use MTP runner", set OutputType=Exe only for test projects in Directory.Build.props, or mentions EnableMSTestRunner, EnableNUnitRunner, or UseMicrosoftTestingPlatformRunner. USE FOR: MTP behavioral differences vs VSTest (exit code 8, zero tests discovered, --ignore-exit-code, TESTINGPLATFORM_EXITCODE_IGNORE); centralizing