PC UI Design Spec
Paste the following prompt into your AI chat to install this skill:
Please install @user_acf40a6b/asdadsadasdasd by following https://skillhub.cn/install/skillhub.md.
About this skill
Problem
When a high-fidelity PC mock enters an existing admin codebase, the usual risk is not visual inaccuracy but implementation drift: too many custom controls, styles detached from existing tokens, input behavior affected by project-level replacements, and unrelated routing or service changes made while polishing a page.
How It Works
- Inspect project constraints first: read
package.jsonand nearbysrc/pages,src/components, andglobal.lessto confirm the rules of@umijs/max,React 18,Ant Design 5,Pro Components, andLess. - Reuse project primitives: translate the design into Ant Design components, project wrappers, and
@ant-design/icons; add shared tokens only when multiple screens need the same rule. - Separate visuals from behavior: match layout, spacing, type scale, color, component states, and visible data density without changing APIs, permissions, business state, or routing.
- Verify and expose gaps: run the smallest relevant
format,build, or type-check command; when feasible, run the local app and inspect it in a browser, then state which UI surfaces were matched and where assets or unclear states prevent exact restoration.
Boundaries
This is suited to visual restoration and UI-rule review for operational or admin pages, not product redesign. It should not introduce new UI libraries for ordinary pages, hard-code data only to make a screenshot look full, use oversized rounded cards, heavy gradients, decorative blobs, or marketing hero layouts, or modify unrelated pages, routes, services, models, or audit/logging behavior.
Use Cases
- Implement high-fidelity PC admin page styles with Ant Design 5 and existing Less rules.
- Review an existing admin page for drift in spacing, type scale, color, and Ant Design states.
- Fix Input behavior conflicts in a Umi, React 18 project using custom input wrappers.
- Check visual restoration for accidental changes to routing, permissions, APIs, or business state.
Best For
- Frontend engineers maintaining Umi and Ant Design 5 admin apps who need design fidelity with existing primitives.
- Engineers reviewing admin UI acceptance, needing spacing, type scale, and component-state checks.
- Frontend developers inheriting legacy admin pages, avoiding too many custom controls and token drift.
- Product implementation engineers who need visual shell changes without touching APIs, routing, or permissions.
Related Skills
Automatically indexes Gradle-cached AAR/JAR dependency classes and returns library coordinates, versions, and public APIs by fully qualified name, using only the Python standard library.
Codifies AMT and YourMT3 training conventions, script patterns, hyperparameters, precision, checkpoints, and NaN safeguards.
Retrieve relevant chunks from a customer-managed PKM dataset by dataset_id and return concise, source-annotated answers.
Convert PRDs, user stories, or functional specs into prioritized test-point checklists covering functional, business-rule, boundary, exception, and non-functional dimensions.