mcpField
M
miniapp-center-hub-refactor

miniapp-center-hub-refactor

github.com/sun-sunshine06Design & UI2838 installsUpdated 6d ago
Repository

About miniapp-center-hub-refactor

miniapp-center-hub-refactor is a skill for restructuring mini-app information architecture when navigation and page ownership become unclear. It guides hub design, route mapping, and migration planning.

Key features

  1. 01Audit top-level navigation and page entry points
  2. 02Separate frequent actions from infrequent settings
  3. 03Plan hub sections and page ownership
  4. 04Map old entry points to new locations
  5. 05Sequence navigation changes and checks

Use cases

  1. 01Users struggle to find pending work
  2. 02Settings and integrations lack clear ownership
  3. 03Reduce top-level tabs and reorganize pages
  4. 04Plan a navigation migration

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/sun-sunshine06/miniprogram-skills --skill miniapp-center-hub-refactor

After installing, type/miniapp-center-hub-refactorin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

agents/
openai.yaml
references/
center-hub-playbook.md
example-prompts.md

Details

From the project README

Miniapp Center Hub Refactor

Overview

Use this skill when the real problem is information architecture, not just styling or labels. Reach for it when users no longer know where to handle pending work, where to manage settings, or which tab owns integrations and personal state.

Quick Start

  1. Read references/center-hub-playbook.md.
  2. Audit the current top-level tabs, repeated entry points, and detailed pages before moving any routes.
  3. Separate high-frequency action flow from low-frequency settings flow.
  4. Keep the hub as an aggregator and keep detailed pages for flows that still need their own state, forms, or validation.
  5. If the request is only about shortening page text, use miniapp-user-facing-copy-trim instead.

Core Rules

  • Start from user questions, not from the current file tree:
    • what do I need to handle now
    • where do I manage settings or integrations
  • Reduce top-level tabs only when the replacement entry remains obvious.
  • Give the hub internal sections with stable ownership, such as inbox, settings, or status, instead of turning the hub into one unstructured long page.
  • Promote summaries and next actions on the hub; demote long explanation and rarely used detail.
  • Keep detailed pages when the flow has its own form state, validation, filters, or multi-step interaction.
  • Move pages by ownership, not by which old page linked to them.
  • Define a migration map from old entry point to new hub location before deleting or hiding old navigation.
  • Update top-level navigation, route docs, and smoke checks together so structure changes stay reviewable.

Output Format

  1. current navigation problem
  2. proposed hub structure
  3. page ownership and migration map
  4. migration order

Resources

  • references/center-hub-playbook.md: audit checklist, section design rules, and migration guidance
  • references/example-prompts.md: reusable trigger and non-trigger prompts

Comments

Markdown supported