Skip to content
Skills Library
Programming · Review & audit

migration-conformance

/migration-conformance

Sub-task after Phase 6 of 1st-gen to gen2 component migration. Use to verify all migrated files conform to the project style guides, run linters, and surface any guideline gaps as PR comment notes.

Author
adobe ↗
Licence
Apache-2.0
Last repository change
27.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Sub-task after Phase 6 of 1st-gen to gen2 component migration. Use to verify all migrated files conform to the project style guides, run linters, and surface any guideline gaps as PR comment notes.

Original author description

Sub-task after Phase 6 of 1st-gen to gen2 component migration. Use to verify all migrated files conform to the project style guides, run linters, and surface any guideline gaps as PR comment notes.

How it works

  1. Mindset
  2. When to use this skill
  3. When NOT to use
  4. How to invoke
  5. Workflow
Original SKILL.md headings · 90 lines, 611 words
SKILL.md preview
---
name: migration-conformance
description: Sub-task after Phase 6 of 1st-gen to gen2 component migration. Use to verify all migrated files conform to the project style guides, run linters, and surface any guideline gaps as PR comment notes.
---

# Migration conformance (sub-task after Phase 6)

A code-style conformance pass that runs after Phase 6 (testing) and before Phase 7 (documentation). The goal is to verify that all migrated files conform to the project style guides, that all linters pass, and that any guideline gaps are documented for the team.

The per-domain review criteria live in the **`code-conformance` skill** (`.ai/skills/code-conformance/SKILL.md`). Read and apply that skill as the authoritative checklist for each file type. This skill provides the migration-specific sequencing, scoping, and quality gate.

## Mindset

You are a style guide enforcer, not a feature reviewer. Automated linting catches formatting and rule violations; reading the style guide catches structural and convention issues that linters cannot see. Work through each domain in order and fix violations as you find them — do not batch them for the end.

When the code is correct and appropriate but the guideline does not cover it, surface it to the user rather than silently accepting it or changing the guideline yourself.

## When to use this skill

- Phase 6 (migration-testing) is complete and all tests pass
- The user asks to "check code conformance for [component]", "run conformance checks for [component]", or "style guide review for [component]"
- The user refers to the conformance sub-task of the gen2 component migration workstream

## When NOT to use

- Phase 6 is not complete — tests should pass before conformance review so style issues do not mask test failures
- You are running only the automated linters as a quick fix — just run `yarn lint` directly instead

## How to invoke

- "Check code conformance for [component]"
- "Run conformance checks for [component]"
- "Style guide review for [component]"
- "Conformance for [component] migration"

---

## Workflow

### Step 1: Run all automated linters

Scope the Prettier check to the component under review. Use the standard lint commands from the `code-conformance` skill.

```bash
# ESLint
yarn lint

# Stylelint
yarn lint:css

# Prettier — scoped to the migrated component
yarn prettier --check "gen2/packages/**/components/[component]/**"
yarn prettier --write "gen2/packages/**/components/[component]/**"
```

Resolve every error before moving to the manual review.

### Step 2: Apply the code-conformance skill

**Read `.ai/skills/code-conformance/SKILL.md` now and apply it to the files below.**

That skill is the authoritative source for what to check in each domain and which style guide documents to read. Do not skip directly to the checklist — read the referenced guide sections for each domain before reviewing the files.

**Files in scope for this component:**

| Domain     | Files                                                                     |
| ---------- | ------------------------------------------------------------------------- |
| TypeScript | `gen2/packages/core/components/[component]/[Component].base.ts`           |
|            | `gen2/packages/core/components/[component]/[Component].types.ts`          |
|            | `gen2/packages/swc/components/[component]/[Component].ts`                 |
|            | Any mixins, controllers, or directives added for this component           |
| CSS        | `gen2/packages/swc/components/[component]/[component].css`                |
| Tests      | `gen2/packages/swc/components/[component]/test/[component].test.ts`       |
|            | `gen2/packages/swc/components/[component]/test/[component].a11y.spec.ts`  |
|            | Play functions within the stories file                                    |
| Stories    | `gen2/packages/swc/components/[component]/stories/[component].stories.ts` |

### Step 3: Surface any guideline gaps

Follow the guideline-gap pattern in the `code-conformance` skill. Report findings to the user as a proposed PR comment; do not block the conformance pass on them.

### Quality gate

Before marking conformance complete, confirm:

- [ ] `yarn lint` passes with no errors
- [ ] `yarn lint:css` passes with no errors
- [ ] Prettier formatting applied to all component files
- [ ] All TypeScript files reviewed against the TypeScript style guide
- [ ] All CSS files reviewed against the CSS style guide
- [ ] All test files reviewed against the testing style guide
- [ ] All story files reviewed against the Storybook authoring guidelines
- [ ] Any guideline gaps surfaced to the user with file, line, pattern, and rationale

Versions

The database has no other skills named migration-conformance.

Database snapshot: 13.11.2026 · package version 20ac362055f7 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 3 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100code-conformance
    Review gen2 component files against project style guides, run linters, and surface guideline gaps. Apply whenever reviewing or auditing gen2 component code for style conformance.
  • 100migration-testing
    Phase 6 of 1st-gen to gen2 component migration. Use to write unit tests, accessibility tests, and Storybook play functions for a migrated component.
  • 100verify-v8-v9-migration-docs
    Generate, audit, and verify Fluent UI v8-to-v9 component migration guides. Use when asked to inventory v8 components, inspect their v8 and v9 source, produce missing per-component documentation, prove the guides are accurate or exhaustive with sealed migrations, classify…
  • 100migration-mapping
    Create a mapping from source language files to target language files for code migrations. Use when evaluating or documenting a migration project.
  • 90verify-service-change
    Independently verify a service characterization or defineService migration before its pull request is opened or marked ready. Use when checking tests-only characterization or a service migration that someone else wrote.
  • 85event-modeling-conform
    Use when checking a ratified event model (and its slice docs) for drift against the codebase that implements it — advisory only, never a gate, never an unprompted edit — or when walking `em validate` diagnostics on a model to explain and fix rule violations. Drives `em`'s…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.