Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

mx-pg-controller-migration

Skill by mx-space

Guides verification and porting of mx-core controllers after the MongoDB to PostgreSQL cutover. Covers field renames, lost joined data, and downstream sync in api-client and admin-vue3. Written for mx-space maintainers working on that migration.

  • Score 71
  • 569 stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install mx-pg-controller-migration

Built from the published package, never by AI.

git clone --depth 1 https://github.com/mx-space/core /tmp/core && mkdir -p ~/.claude/skills && cp -r /tmp/core/.claude/skills/mx-pg-controller-migration ~/.claude/skills/mx-pg-controller-migration

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install mx-pg-controller-migration in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill guides the verification and porting of an mx-core controller, such as Post, Note, Page, Comment or Category, after the MongoDB to PostgreSQL cutover. It diffs the module against the pre-PG commit, then checks each route for renamed fields, lost joined data and dead code. It includes a field rename map from Mongo names such as created, pin and count to PG names.

The skill then covers fixes in three layers: the apps/core repository and controller, the api-client SDK types, and the admin-vue3 dashboard models and views. It provides a per-module checklist, typecheck commands for each layer, and a table of common bugs with fixes. It is aimed at developers working on the mx-core migration and states that server-side back-compat aliases are not added.

Written from the project's SKILL.md and checked against it.

What it can do

  • Migration delta snapshotDiffs a module against the pre-PG commit to find fields that may be lost in the migration.
  • Endpoint walkthroughChecks each route for field name changes, missing joined data and dead code.
  • Field rename mapMaps Mongo fields such as created, pin and count to PG names like createdAt, pinAt and readCount.
  • Server fixesAdds batched attach helpers in the repository and preserves joined fields under select.
  • SDK syncUpdates api-client models and Pick references so types match the server payload.
  • Dashboard syncUpdates admin-vue3 models, table keys, select strings and ref-type enums.
  • Common bug tableLists symptoms such as empty related arrays and broken sorting, with their root causes and fixes.

What you need

  • Local checkouts of mx-core, packages/api-client and admin-vue3
  • Git history of the mx-core repository
  • pnpm
  • TypeScript (tsc) and eslint, as used in the source commands

Try asking

  • Check the Post controller after the PG migration and list the issues
  • Port the Comment controller and sync the dashboard models
  • Why is related empty on the post detail page after migration?

Good to know

  • Tied to the mx-core repository layout and specific commit hashes
  • Paths point to a local machine checkout of admin-vue3
  • Does not add server-side back-compat aliases by design
  • Dashboard ref-type enums must be rechecked for each affected module

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/mx-pg-controller-migration/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to mx-pg-controller-migration

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

mx-pg-controller-migration: common questions

What does this skill check after a PostgreSQL migration?

It checks that response fields match what the SDK and dashboard expect, and that joined data such as related and category is still returned.

Does it keep old field names for compatibility?

No. The source says the user opted out of legacy aliases, so renames are propagated through the SDK and dashboard instead.

Which parts of the codebase does it update?

It updates apps/core modules, packages/api-client models and controllers, and the apps/admin code in admin-vue3.

How do I install mx-pg-controller-migration?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is mx-pg-controller-migration free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is mx-pg-controller-migration safe to use?

It scores 71 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to mx-pg-controller-migration?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

mx-pg-controller-migration Install

Add to stack

Loading.