microsoft/fluentui-react-native/agentic-component-optimization

Claude Code and agent skill by microsoft/fluentui-react-native

Trust tier 4
  • vendor
Source check pending

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

Analyze and optimize packages/agentic/components as a whole when repeated patterns, dependency direction, or extraction boundaries cross components.

Install

npx vskill@latest install microsoft/fluentui-react-native/agentic-component-optimization

SKILL.md

The same SKILL.md was published earlier as microsoft/fluentui-react-native/agentic-component-optimization.

Agentic component optimization

Use this skill when a change is about the package as a system, not a single component fix. It helps decide whether repeated code belongs in src/common, @fluentui-react-native/framework-base, or @fluentui-react-native/design/styling, and whether a primitive or helper should exist at all.

Read first

  1. Read the package instructions and the

source boundaries reference.

  1. Read the higher-order component or

primitive reference and the colocated SPEC.md or CONTRACT.md files for the affected area.

  1. Inspect the canonical implementations:

packages/agentic/components/src/components/button and packages/agentic/components/src/primitives/icon.

Audit checklist

1. Dependency direction

Apply the source boundaries: production dependencies, where generalizable hooks and styling helpers belong, and what stays in src/common.

2. Repetition and ownership

Look for repeated:

  • types and discriminated unions
  • constants and default tables
  • state routines and prop normalization
  • slot wiring or subtree assembly
  • primitive behaviors or structural contracts

Prefer extraction only when the repeated shape is stable and shared across multiple components.

3. Validate extraction payoff

Before extracting, confirm that the change:

  • reduces repeated logic without widening public APIs
  • preserves component-qualified exports and call sites
  • improves dependency direction instead of hiding it
  • keeps the resulting abstraction smaller than the duplication it replaces
4. Do-not-extract criteria

Do not extract when the code is:

  • one-off component behavior
  • a styling decision that belongs in the owning component
  • a public prop contract or display-specific variant
  • a thin wrapper around a single native element
  • easier to read in place than through another helper

Output

Return a short recommendation with:

  • what to keep local
  • what to move to shared package/common code
  • whether the extraction is worth doing now
  • any public API or dependency risks

If the work is just a tiny component edit, stop at the component instructions and do not run a whole-package audit.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 14 Sep 2026.
  • Model reviewPassed

Quality evaluation

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

Source

Popularity

Repository stars
1,442
Repository forks
179
7-day trend score
36

Stars and forks are for the whole GitHub repository, not this skill alone. 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 CERTIFIED badge
[![vskill CERTIFIED](https://verified-skill.com/api/v1/skills/microsoft/fluentui-react-native/agentic-component-optimization/badge)](https://verified-skill.com/skills/microsoft/fluentui-react-native/agentic-component-optimization)

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