Skip to content

Add migration guide from @policyengine/design-system to ui-kit/legacy#140

Open
policyengine[bot] wants to merge 1 commit into
mainfrom
bot/learnings-uc-uplift
Open

Add migration guide from @policyengine/design-system to ui-kit/legacy#140
policyengine[bot] wants to merge 1 commit into
mainfrom
bot/learnings-uc-uplift

Conversation

@policyengine

@policyengine policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Documents the migration path for repositories using the deprecated @policyengine/design-system package to the modern @policyengine/ui-kit/legacy compatibility layer.

This guide emerged from the uc-uplift migration work, where we successfully migrated from design-system to ui-kit/legacy with a pure import-path rename.

What This Adds

New reference document: skills/frontend/policyengine-ui-kit-consumer-skill/references/migration-from-design-system.md

Covers:

  • When to use /legacy vs full ui-kit (Mantine/other frameworks vs Tailwind)
  • Step-by-step migration checklist
  • Automated find-replace commands for bulk updates
  • Verification steps and testing approach
  • Troubleshooting common import/build/TypeScript issues
  • Future path to full Tailwind v4 ui-kit

Why /legacy matters:

  • ui-kit 0.8.0+ provides /legacy subpath that mirrors design-system API exactly
  • Allows repos not ready for Tailwind v4 to migrate off deprecated package
  • Zero API changes, minimal migration risk

Use Case

Future Claude sessions working on repos that still use @policyengine/design-system will be able to:

  1. Recognize the package is deprecated
  2. Know about the /legacy compatibility layer
  3. Execute a safe, automated migration
  4. Understand when to use /legacy vs full ui-kit

🤖 Generated with Claude Code

Documents the migration path for repos using the deprecated design-system
package. The ui-kit/legacy subpath (0.8.0+) provides API compatibility for
projects not yet ready to adopt Tailwind v4.

Covers:
- When to use /legacy vs full ui-kit
- Step-by-step migration (package.json, imports, CSS, CDN)
- Verification checklist
- Troubleshooting common issues
- Future path to full ui-kit

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

28 similar comments
@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

29 similar comments
@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

@policyengine

policyengine Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Sorry @PolicyEngine[bot], only members of the PolicyEngine/core-developers team can invoke Claude Code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant