Agent skill

Dotnet Refactoring Engineer

by rodri-oliveira-dev in rodri-oliveira-dev/Dapper-FluentMap

A skill your agent uses to review or refactor C/.NET code in Dapper-FluentMap for clarity, cohesion, testability, performance, or maintainability while preserving observable behavior and public API.

MITAuto-check passedDevelopment

Install Dotnet Refactoring Engineer

skills CLI
$ npx skills add rodri-oliveira-dev/Dapper-FluentMap --skill dotnet-refactoring-engineer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install rodri-oliveira-dev/Dapper-FluentMap dotnet-refactoring-engineer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/rodri-oliveira-dev/Dapper-FluentMap.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/dotnet-refactoring-engineer .claude/skills/dotnet-refactoring-engineer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
dotnet-refactoring-engineer
GitHub stars
453
Token cost
~751 tokens
SKILL.md length
346 words
Files
1
Skills in repo
11
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses to review or refactor C/.NET code in Dapper-FluentMap for clarity, cohesion, testability, performance, or maintainability while preserving observable behavior and public API.

  • Works in 9 steps: Read root AGENTS.md, target code, and… → State the concrete design or maintenance… → Identify observable behavior and public… → …
  • Refactor C/.NET code in Dapper-FluentMap for clarity
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Maintainability while preserving observable behavior and public API

What it does

Dotnet Refactoring Engineer is an agent skill from rodri-oliveira-dev/Dapper-FluentMap. Use this skill to review or refactor C/.NET code in Dapper-FluentMap for clarity, cohesion, testability, performance, or maintainability while preserving observable behavior and public API. Do not use for purely cosmetic rewrites.

Its SKILL.md is about 750 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Refactoring. It works with .NET and C#. The repository describes itself as: Fluent mapping for Dapper, with conventions, immutable object materialization, analyzers, source generators, DI integration, and Dommel support. The licence is MIT.

When your agent uses it

  • Refactor C/.NET code in Dapper-FluentMap for clarity
  • Maintainability while preserving observable behavior and public API
  • Purely cosmetic rewrites

Example prompts

  • “/dotnet-refactoring-engineer”

Workflow steps

9 steps, taken from the first numbered list in SKILL.md.

  1. Read root AGENTS.md, target code, and related tests.
  2. State the concrete design or maintenance problem being solved.
  3. Identify observable behavior and public contracts that must remain stable.
  4. Check existing test coverage before touching high-risk areas.
  5. Add characterization tests first when behavior is not sufficiently protected.
  6. Apply the smallest refactor with clear benefit.
  7. Avoid public signature changes, project/PackageId changes, dependency changes, broad formatting, or unrelated renames.
  8. Review the diff for unintended behavior change, compatibility impact, global-state changes, cache-key changes, or packaging side effects.
  9. Run the nearest validation from AGENTS.md.

What it can do on your machine

Read from SKILL.md and the folder at commit 90600cb. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Dotnet Refactoring Engineer loads about 751 tokens when it runs. Until then it costs about 65 tokens; SKILL.md has 346 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~65
When it runs · the whole SKILL.md, loaded when a task matches
~751

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from rodri-oliveira-dev/Dapper-FluentMap at commit 90600cb, republished under its MIT licence (© rodri-oliveira-dev). 346 words, ~751 tokens.

Download SKILL.mdSave it as .claude/skills/dotnet-refactoring-engineer/SKILL.md (or your agent's skills folder).
name
dotnet-refactoring-engineer
description
Use this skill to review or refactor C#/.NET code in Dapper-FluentMap for clarity, cohesion, testability, performance, or maintainability while preserving observable behavior and public API. Do not use for purely cosmetic rewrites.
license
MIT

Purpose

Guide safe, incremental refactoring in Dapper-FluentMap without accidental functional changes, public API breaks, or package/release side effects.

When To Use

  • Reducing real duplication or coupling.
  • Clarifying names, responsibilities, control flow, or tests.
  • Improving performance or allocation behavior without changing semantics.
  • Preparing a later change while keeping current behavior stable.
  • Isolating global state, cache, reflection, expression parsing, or Dapper integration concerns.

When Not To Use

  • A functional production change is the main task: use dotnet-library-change.
  • CI/CD, packaging, versioning, or release is the main task: use ci-release-governance.
  • A PR/diff review is requested: use dotnet-pr-review.
  • The change is only documentation or agent governance.

Process

  1. Read root AGENTS.md, target code, and related tests.
  2. State the concrete design or maintenance problem being solved.
  3. Identify observable behavior and public contracts that must remain stable.
  4. Check existing test coverage before touching high-risk areas.
  5. Add characterization tests first when behavior is not sufficiently protected.
  6. Apply the smallest refactor with clear benefit.
  7. Avoid public signature changes, project/PackageId changes, dependency changes, broad formatting, or unrelated renames.
  8. Review the diff for unintended behavior change, compatibility impact, global-state changes, cache-key changes, or packaging side effects.
  9. Run the nearest validation from AGENTS.md.

Dapper-FluentMap Hot Spots

  • FluentMapper.Initialize, static configuration, and Dapper SqlMapper.SetTypeMap.
  • Type maps, member maps, constructor binding, naming policies, conventions, profiles, converters, and generated materializer fallback.
  • Expression parsing for converted, inherited, nested, or ambiguous members.
  • Cache keys and invalidation involving entity type, profile, column name, naming policy, and comparison rules.
  • Dommel integration only when the refactor explicitly touches shared core contracts it consumes.

Restrictions

  • Do not make methods, properties, or types public just to test them.
  • Do not simplify by changing documented or observable behavior.
  • Do not introduce abstractions, patterns, dependencies, or frameworks without a concrete local payoff.
  • Do not remove or weaken tests, warnings, analyzers, or diagnostics.
  • Do not use broad formatting or solution-wide cleanup unless that is the explicit task.

Quality Bar

A good refactor reduces complexity or improves clarity in the requested area, preserves source/binary/behavior compatibility, keeps the diff focused, and remains covered by meaningful tests.

© rodri-oliveira-dev, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/dotnet-refactoring-engineer of rodri-oliveira-dev/Dapper-FluentMap.

Open the folder on GitHubat commit 90600cb

Compare with similar skills

Dotnet Refactoring Engineer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Dotnet Refactoring Engineer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Dotnet Refactoring Engineer this skillrodri-oliveira-dev/Dapper-FluentMap453—~751Automated safety check: PassMIT
Add Refactoringdotnet/roslynator3.5k—~946Automated safety check: PassCustom licence
Dynamo Dotnet ExpertDynamoDS/Dynamo2k—~922Automated safety check: PassApache-2.0
Deprecate Analyzer Or Refactoringdotnet/roslynator3.5k—~511Automated safety check: PassCustom licence
Okojo Test262akeit0/okojo160—~742Automated safety check: PassMIT
Dotnet10 Featuresrunceel/ReactiveProperty944—~2.7kAutomated safety check: PassMIT

Similar skills

  • Add Refactoring

    dotnet/roslynator

    Official

    A skill your agent uses when adding a new RR refactoring in roslynator, editing Refactorings.xml, registering in RefactoringContext, or when refactorings-testing.md shows XunitRefactoringVerifier —…

    3.5k GitHub stars~946 tokensUpdated 3 days ago
    DevelopmentAuto-check passed
  • Dynamo Dotnet Expert

    DynamoDS/Dynamo

    Write and review C/.NET code in Dynamo following Dynamo coding standards, modern C patterns, and repo conventions.

    2k GitHub stars~922 tokensUpdated today
    DevelopmentAuto-check passed
  • Official

    A skill your agent uses when obsoleting or retiring RCS, RR, or RCF in roslynator, replacing an analyzer with another id, or when tempted to use IsObsolete on an Analyzer entry — analyzers use…

    3.5k GitHub stars~511 tokensUpdated 3 days ago
    DevelopmentAuto-check passed
  • Okojo Test262

    akeit0/okojo

    Run and continue Okojo Test262 compliance work. An agent skill from akeit0/okojo.

    160 GitHub stars~742 tokensUpdated 16 days ago
    DevelopmentAuto-check passed
  • Dotnet10 Features

    runceel/ReactiveProperty

    Reference for the .NET 10 / C 14 features that are relevant to the ReactiveProperty repository.

    944 GitHub stars~2.7k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Refactor Analysis

    Samsung/TizenFX

    Automatically scans the TizenFX codebase on a rotating schedule to discover .NET 8 / C 12+ refactoring targets and register them as GitHub Issues.

    214 GitHub stars~2.6k tokensUpdated today
    DevelopmentAuto-check passed

More from rodri-oliveira-dev/Dapper-FluentMap

All 11 skills in this repo
  • Directory Build Organization

    rodri-oliveira-dev/Dapper-FluentMap

    Guide for organizing MSBuild infrastructure with Directory.Build.props, Directory.Build.targets, Directory.Packages.props when present, and related repository build files.

    453 GitHub stars~1k tokensUpdated yesterday
    Auto-check passed
  • Microbenchmarking

    rodri-oliveira-dev/Dapper-FluentMap

    Activate when BenchmarkDotNet is involved or when a .NET performance question requires controlled microbenchmark measurement.

    453 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Nuget Trusted Publishing

    rodri-oliveira-dev/Dapper-FluentMap

    Review, maintain, or set up NuGet trusted publishing (OIDC) for GitHub Actions.

    453 GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Test Gap Analysis

    rodri-oliveira-dev/Dapper-FluentMap

    Pseudo-mutation analysis for behavioral blind spots: determine whether existing tests would catch meaningful caller-visible production changes, identify survivors or untested outcomes, and…

    453 GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • Authoring GitHub Workflows

    rodri-oliveira-dev/Dapper-FluentMap

    Author and review GitHub Actions workflow YAML safely so syntactically-valid YAML can't ship a workflow that GitHub Actions refuses to run.

    453 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Binlog Failure Analysis

    rodri-oliveira-dev/Dapper-FluentMap

    Analyze MSBuild binary logs to diagnose build failures. An agent skill from rodri-oliveira-dev/Dapper-FluentMap.

    453 GitHub stars~750 tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about Dotnet Refactoring Engineer

What does Dotnet Refactoring Engineer do?

A skill your agent uses to review or refactor C/.NET code in Dapper-FluentMap for clarity, cohesion, testability, performance, or maintainability while preserving observable behavior and public API. Dotnet Refactoring Engineer is an agent skill from rodri-oliveira-dev/Dapper-FluentMap.NET code in Dapper-FluentMap for clarity, cohesion, testability, performance, or maintainability while preserving observable behavior and public API.

When should I use Dotnet Refactoring Engineer?

Dotnet Refactoring Engineer fits situations like: refactor C/.NET code in Dapper-FluentMap for clarity; maintainability while preserving observable behavior and public API; purely cosmetic rewrites.

How do I install Dotnet Refactoring Engineer in Claude Code?

Run `npx skills add rodri-oliveira-dev/Dapper-FluentMap --skill dotnet-refactoring-engineer -a claude-code`. Or copy the skill folder (.agents/skills/dotnet-refactoring-engineer in rodri-oliveira-dev/Dapper-FluentMap) into .claude/skills/dotnet-refactoring-engineer in your project. Claude Code loads it when a task matches its description.

How do I install Dotnet Refactoring Engineer in Codex?

Run `npx skills add rodri-oliveira-dev/Dapper-FluentMap --skill dotnet-refactoring-engineer -a codex`. Or copy the skill folder (.agents/skills/dotnet-refactoring-engineer in rodri-oliveira-dev/Dapper-FluentMap) into .agents/skills/dotnet-refactoring-engineer in your project. Codex loads it when a task matches its description.

Can I use Dotnet Refactoring Engineer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add rodri-oliveira-dev/Dapper-FluentMap --skill dotnet-refactoring-engineer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dotnet-refactoring-engineer, .gemini/skills/dotnet-refactoring-engineer, .github/skills/dotnet-refactoring-engineer and .opencode/skills/dotnet-refactoring-engineer in your project.

What does Dotnet Refactoring Engineer need to run?

SKILL.md names no scripts, command-line tools or credentials: Dotnet Refactoring Engineer is instructions for the agent only.

Does Dotnet Refactoring Engineer access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Dotnet Refactoring Engineer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Dotnet Refactoring Engineer use?

Dotnet Refactoring Engineer is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Dotnet Refactoring Engineer use?

About 751 tokens (SKILL.md is roughly 3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Dotnet Refactoring Engineer?

Skills that share tags, products or a category with Dotnet Refactoring Engineer: Add Refactoring (dotnet/roslynator, 3.5k stars), Dynamo Dotnet Expert (DynamoDS/Dynamo, 2k stars), Deprecate Analyzer Or Refactoring (dotnet/roslynator, 3.5k stars) and Okojo Test262 (akeit0/okojo, 160 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Dotnet Refactoring Engineer?

rodri-oliveira-dev (a GitHub user) maintains it in rodri-oliveira-dev/Dapper-FluentMap, which has 453 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 6, 2026.

Source: rodri-oliveira-dev/Dapper-FluentMap on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.