| name | agentic-component-authoring |
| description | Generate or update Fluent UI React Native components in packages/agentic/components. Use for component APIs, slots, state hooks, token styling, render functions, tests, stories, and spec-driven component work. |
| license | MIT |
Agentic component authoring
Build components in packages/agentic/components as React Native adaptations of the Fluent UI v9 component pattern.
This skill is the workflow router. Load only the references needed for the current change instead of placing every
authoring rule in one always-loaded instruction file.
Choose the component kind
Load focused references
| Work | Reference |
|---|
| Public props, slots, state types, native prop exposure, or exports | Types and slots |
| Defaults, derived state, interaction hooks, accessibility, or slot construction | State and accessibility |
| Tokens, style factories, theme caching, state precedence, or slot style application | Styles and tokens |
| Pure slot rendering, component assembly, or display names | Rendering and assembly |
| Runtime tests, type tests, snapshots, Storybook stories, or validation | Tests and stories |
| Native React Native Windows Fabric components, codegen, registration, or UIA | Windows Fabric native components |
| Cross-component duplication, shared helper extraction, or dependency hygiene | Package optimization |
A new higher-order component normally needs every reference. A focused fix should load only the affected reference and
its immediate neighbors. Keep the component's colocated SPEC.md and companion files authoritative for its contract.
Workflow
- Read the repository and package instructions, the component
SPEC.md, and every companion file referenced by the
spec. Use the package-wide optimization guidance only when the change clearly involves repeated patterns or shared
dependency boundaries.
- Inspect the closest canonical implementation. Use
components/button for a styled higher-order component
and primitives/icon for a direct primitive.
- Establish the public contract before implementation: variants, slots, native props, accessibility, interaction
states, and platform behavior.
- Implement in dependency order: types and slots, state and accessibility, styles and slot props, pure rendering,
component assembly, and explicit exports.
- Preserve the specification. Record a genuine token or platform gap rather than substituting an unrelated value or
web-only behavior.
- Add focused tests and stories that exercise the public API and the resolved native output.
- Run the smallest declared validation command while iterating. Finish with package format, lint, build, and tests; run
the Storybook bundle for story changes and the root build when public types, manifests, or project references change.
Do not divide one component implementation into separate sub-agent or sub-skill phases. Its types, state, styling, and
rendering form one contract and should remain in one implementation context.