tech-preflight-dotnet

tech-preflight-dotnet is a skill for Claude Code, Codex from andresharpe/dotbot. It costs 52 tokens per session (551 once invoked), scanned A, original, MIT.

A .NET project readiness check that compares installed software with project requirements, maps project dependencies, and runs a build before changes begin. .NET is a platform for building applications.

In plain words
What is it for?
Checking .NET SDK compatibility, reviewing which projects reference one another, identifying layering issues, and recording a baseline build result.
Why use it?
It catches missing SDK versions, dependency-layer problems, and existing build failures before they are confused with new code changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Checking .NET SDK compatibility, reviewing which projects reference one another, identifying layering issues, and recording a baseline build result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/andresharpe/dotbot/tech-preflight-dotnet
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add andresharpe/dotbot --skill tech-preflight-dotnet
Clone the repo
git clone --depth 1 https://github.com/andresharpe/dotbot

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tech-preflight-dotnet

README.md
[![agentmods](https://agentmods.dev/badge/skills/andresharpe/dotbot/tech-preflight-dotnet/github.svg)](https://agentmods.dev/skills/andresharpe/dotbot/tech-preflight-dotnet)
Your own site
<a href="https://agentmods.dev/skills/andresharpe/dotbot/tech-preflight-dotnet"><img src="https://agentmods.dev/badge/skills/andresharpe/dotbot/tech-preflight-dotnet/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tech-preflight-dotnet

Your own site · 80×15
<a href="https://agentmods.dev/skills/andresharpe/dotbot/tech-preflight-dotnet"><img src="https://agentmods.dev/badge/skills/andresharpe/dotbot/tech-preflight-dotnet.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 551 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00052 $0.00551
Opus 5.5 $0.00021 $0.00220
Sonnet 5.5 $0.00010 $0.00110
Haiku 4.5 $0.00005 $0.00055

Measured 2mo ago against content hash 3aa084442e8e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tech-preflight-dotnet scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

content/stacks/dotnet/recipes/skills/tech-preflight-dotnet/SKILL.md · 62 lines

How it starts

The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.

.NET Environment Pre-flight

Validate the local .NET environment against the solution's requirements before any code changes begin.

Workflow

  1. Check SDK/runtime compatibility — run dotnet --list-sdks, compare against <TargetFramework> and <TargetFrameworks> (plural, for multi-targeting) in all .csproj files, flag gaps
  2. Map the dependency graph — run dotnet list {solution}.sln reference, identify layering violations
  3. Run baseline build — run dotnet build {solution}.sln, record error/warning counts for later comparison

1. SDK/Runtime Compatibility

dotnet --list-sdks
# Compare output against <TargetFramework> and <TargetFrameworks> values in *.csproj
  • Flag any target framework without a matching SDK (e.g., net7.0 targeted but only net8.0 installed)
  • Note whether rollforward is viable (works for minor version gaps)
  • Record in environment.sdk_gaps

2. Project Dependency Graph

dotnet list {solution}.sln reference

For each project in the output:

  • Map which projects reference which
  • Identify layering patterns (e.g., .Interfaces → .Core is OK, .Interfaces → .Entities may not be)
  • Record in environment.dependency_graph

Architecture enforcement — when placing new types:

  • Do NOT add references that violate the existing dependency direction
  • If a new type references entities from project B, it must live in a project that already references B
  • Include any required <ProjectReference> additions in implementation guidance
  • Flag circular dependencies immediately

3. Baseline Build

dotnet build {solution}.sln
  • Record error count, warning count, and specific error messages
  • Record in environment.baseline_build
  • The execution phase compares against this to distinguish new vs pre-existing failures

Checklist

  • All target frameworks have matching SDKs (or viable rollforward)
  • Dependency graph has no circular references
  • Baseline build output captured for comparison
  • Any SDK gaps or layering issues flagged before code changes begin

Read the full file on GitHub · 62 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 62 lines · 52 tokens per session scan A 3aa084442e8e

Subscribe to this mod's changes

tech-preflight-dotnet is a skill published in the GitHub repository andresharpe/dotbot (55 stars, last pushed 2mo ago), licensed MIT. It adds 52 tokens to every session and 551 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

dotnet-testing-autodata-xunit-integration

A guide for using AutoFixture, a .NET library that creates test data, with xUnit, a .NET testing framework. It explains attributes such as AutoData, InlineAutoData, and MemberAutoData for supplying values to parameterized tests.

kevintsengtw/dotnet-testing-agent-skills · 136 tokens

dotnet-testing-autofixture-nsubstitute-integration

A .NET testing guide for using AutoFixture and NSubstitute to automatically create test data and substitute versions of dependencies.

kevintsengtw/dotnet-testing-agent-skills · 169 tokens

dotnet-testing-bogus-fake-data

A guide to Bogus, a .NET library for generating realistic fake data such as names, addresses, phone numbers, emails, and product records. It shows how to define generation rules and create one or many records.

kevintsengtw/dotnet-testing-agent-skills · 131 tokens

dotnet-testing-datetime-testing-timeprovider

A guide for testing .NET code that depends on the current date or time. It uses TimeProvider to supply time and FakeTimeProvider to set, freeze, change, or advance simulated time during tests.

kevintsengtw/dotnet-testing-agent-skills · 150 tokens

dotnet-testing-advanced-aspnet-integration-testing

Guidance for ASP.NET Core integration tests, which test several web application parts together through HTTP requests and responses.

kevintsengtw/dotnet-testing-agent-skills · 168 tokens

dotnet-testing-advanced

A guide that routes advanced .NET testing questions to the right specialist instructions. It covers API and integration tests, database and other container-based tests, microservices, .NET Aspire, and related testing tools.

kevintsengtw/dotnet-testing-agent-skills · 95 tokens