November 18th, 2026
0 reactions

SPFx Dev Skills for SPFx 1.24.1: tested across agents and models

Updating a skill’s instructions is the easy part. Knowing whether AI coding agents follow them, and whether the result beats what the agent would have done on its own, takes more work.

Today, we’re releasing SPFx Dev Skills v1.1.2 with support for SharePoint Framework (SPFx) v1.24.1, including migrating existing projects to React 18. To show how much it helps, we ran 105 evaluations across 7 combinations of agents and models, and the updated skill raised upgrade quality for every one of them. The runs also showed us something we didn’t expect: with task-specific guidance, a lower-cost model or a model router achieved the same mean upgrade score as a more expensive model in this evaluation.

SPFx Dev Skills provides version-specific instructions that help AI coding agents create and upgrade SharePoint Framework projects using current tooling and recommended practices.

What changed in v1.1.2

The update brings the skill in line with SPFx v1.24.1. It now covers:

  • Creating and upgrading projects for SPFx v1.24.1
  • Migrating existing React code to React 18 APIs
  • Current tooling requirements, including Heft, dependency versions, and Node.js versions supported by the target SPFx release
  • Reading and applying CLI for Microsoft 365 upgrade reports completely
  • Updated recommendations for Fluent UI v9 and PnPjs

An agent’s built-in knowledge may not reflect the latest SPFx release. As with the first release, the skill fills the gap with decision rules for the version the developer is actually working with.

If you already use SPFx Dev Skills, update to the latest version. If you’re new to the skill, you’ll find the installation instructions in the GitHub repository.

We scored each upgrade against a fresh project

In Behind SPFx Dev Skills, we showed how evaluations told us what agents already knew about SPFx and where they needed help. For this release, we used the same approach on one scenario first: upgrading an existing SPFx project to v1.24.1. We evaluated upgrades against the expected dependencies, configuration, and React 18 API changes for a newly scaffolded SPFx v1.24.1 project. A score of 100% means the upgrade met every check in our rubric.

For each agent and model, we ran the upgrade without the skill, with v1.0, and with v1.1.2. The baseline shows what the agent does with its existing knowledge, and v1.0 shows how much of the gain the previous release already delivers.

To choose agents and models, we combined what we know about the SPFx community with early signals from the SPFx developer survey. We tested GitHub Copilot Chat in Visual Studio Code with Claude Sonnet 5.5, Claude Opus 5.5, GPT-6 Luna, and GPT-6.1 Terra. In Copilot Chat, we also tested Copilot Fusion, which isn’t a single model but a router that picks a model for each request. In Claude Code CLI, we tested Claude Sonnet 5.5 and Claude Opus 5.5. All evaluations ran on Windows. Because agents are non-deterministic, we ran each configuration 5 times, which adds up to 105 runs across the 7 agent-model combinations.

The updated skill closed the gap for every combination

Each score in the table is the mean rubric score across 5 runs, measuring how closely the upgraded project matched a fresh v1.24.1 project, including the React 18 migration. Partial upgrades earn partial credit, so a run that misses one dependency version scores lower even if the project builds. Costs are the mean estimated inference cost per run.

Agent and model Configuration Mean score Mean cost/run
Copilot Chat · Sonnet 5.5 No skill 47% $0.49
v1.0 94% $0.23
v1.1.2 100% $0.40
Copilot Chat · Opus 5.5 No skill 94% $1.24
v1.0 94% $0.67
v1.1.2 100% $0.82
Copilot Chat · GPT-6 Luna No skill 27% $0.03
v1.0 93% $0.03
v1.1.2 100% $0.03
Copilot Chat · GPT-6.1 Terra No skill 59% $0.33
v1.0 93% $0.07
v1.1.2 98% $0.23
Copilot Chat · Copilot Fusion No skill 32% $0.01
v1.0 94% $0.01
v1.1.2 100% $0.02
Claude Code · Sonnet 5.5 No skill 41% $0.07
v1.0 94% $0.11
v1.1.2 100% $0.16
Claude Code · Opus 5.5 No skill 94% $0.25
v1.0 94% $0.25
v1.1.2 100% $0.32

Opus 5.5 already knew enough to score 94% without any help, while 4 of the 7 combinations scored below 50%. The previous release lifted every combination to 93% or 94%. With v1.1.2, 6 of the 7 combinations reached 100%, and GPT-6.1 Terra in Copilot Chat reached 98%. Those last few points represent upgrade requirements that the earlier guidance still missed.

Better results don’t always cost less

With GitHub Copilot Chat and Claude Sonnet 5.5, the score went from 47% without the skill to 100% with v1.1.2, while the cost dropped from $0.49 to $0.40 per run. GPT-6.1 Terra followed the same pattern, improving from 59% to 98% as its cost fell from $0.33 to $0.23. Even Opus 5.5 in Copilot Chat, which scored well on its own, got cheaper with the skill: $1.24 per run without it, $0.82 with v1.1.2.

Other combinations got more expensive. In Claude Code, Opus 5.5 improved from 94% to 100%, but its cost rose from $0.25 to $0.32 per run, and Copilot Fusion in GitHub Copilot Chat went from $0.01 to $0.02. Compared with v1.0, v1.1.2 had a higher estimated inference cost in 6 of 7 combinations. Reading and applying the complete upgrade report may contribute to additional token usage. We report quality and cost side by side for every configuration.

The same upgrade score at a fraction of the estimated inference cost

Without the skill, GPT-6 Luna scored 27%, the lowest of any combination. With v1.1.2, it scored 100%, the same as Claude Opus 5.5. In GitHub Copilot Chat, Luna with the updated skill averaged $0.03 per run, while Opus 5.5 with the same skill averaged $0.82, roughly 27 times more for the same mean score.

Copilot Fusion went further. Without the skill, it scored #32%. With v1.1.2, it scored 100% at $0.02 per run, roughly 41 times less than Opus 5.5. Because Fusion picks the model for each request, we can’t attribute that result to a single model, and it reflects the routing decisions Fusion made when we ran the evaluations.

We evaluated one upgrade scenario, and other SPFx tasks may need capabilities that a smaller model lacks. Still, the result is a good reason to stop reaching for the largest model by default. When the guidance is specific to the task, a smaller model or a router might be all you need.

The evaluations changed what we shipped

You might have noticed that we went from v1.0 straight to v1.1.2. Evaluating the first v1.1 changes surfaced problems, and we fixed them before releasing anything.

The most interesting one showed up in the agents’ trajectories, the complete sequence of actions an agent takes while upgrading a project. Agents knew to use CLI for Microsoft 365 to generate an SPFx upgrade report. In some runs, though, an agent generated the report and then read only part of it. The report lists every step the upgrade requires, so an agent that stops halfway leaves the project partially upgraded.

We changed the skill to tell agents explicitly to read the entire upgrade report, all the way through the final ## Summary section, even if that takes several reads. We also simplified parts of the setup and upgrade guidance to keep the instructions focused on the steps that change the outcome.

Reviewing the action traces helped us identify these targeted changes. A score tells you how well an agent performed, and the trajectory shows why it succeeded or failed and what to change for the next run. Version 1.1.2 went through several rounds of that loop before we released it.

What’s next

We started with upgrades because they make agents coordinate changes across dependencies, configuration, tooling, and application code. Next, we’ll expand our evaluations to more SPFx development scenarios and rerun them as agents and models change. Guidance that helps agents today might become unnecessary as models improve, and rerunning the same evaluations lets us decide with evidence which guidance to keep and which to retire.

We’re also working on making our evaluations available to the community. Contributors could then test a proposed change to the skill before opening a pull request, and see whether it improves upgrade quality and what that improvement costs.

Get the latest SPFx Dev Skills

If you build or upgrade SPFx solutions with AI coding agents, try SPFx Dev Skills v1.1.2 on GitHub. It adds support for SPFx v1.24.1 and React 18 migration, and we’ve measured how much it helps across the agents and models the SPFx community uses.

Try it with your projects and review what the agent produces. When the result is wrong or surprising, open an issue and tell us which SPFx scenarios you’d like us to evaluate next. That evidence helps us decide what the skill should teach, and whether the issue belongs in the skill, tooling, or documentation.

Author

Vesa Juvonen
Principal Program Manager

Vesa Juvonen is a Principal Product Manager at Microsoft, focusing on community and ecosystem across Copilot, Microsoft 365, and Power Platform. He connects customers, partners, developers, community members, and product teams to support adoption, extensibility, and knowledge sharing.

Waldek Mastykarz
Principal Developer Advocate

Waldek is a Principal Developer Advocate at Microsoft focusing on AI Coding Agents. He researches AI Coding Agents, and evaluates and improves Agent Experience for Microsoft's products and services.

1 comment

Sort by :
  • Haaron Gonzalez

    Thanks, makes total sense to have this skill ready to somehow guard against AI generated code. Applied already on a codebase and work like charm! 2 optimizations for some data services. Thanks