Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    umi max

    2

    Build enterprise-grade Umi Max apps using ProComponents, integrated RBAC, and convention-based data flow.

    $15

    /mo

    Subscription · cancel anytime

    Secure checkout via Stripe

    • Always the latest version
    • Delivered live to your agent via MCP
    • Cancel anytime, access ends at period end
    Security scanned
    umi max

    umi max

    Example session with this skill installed

    Create a model for user settings and a ProTable page to manage a list of users, including an 'Admin' role check for the delete action.

    • Read your context and instructions
    • Compiled the umi max
    • Generated the app files

    I have created the user settings model and a ProTable management page. The solution uses Umi Max's useModel for state, the built-in access plugin for permission logic, and ProTable for the UI.

    Implementation

    src/models/settings.ts

    import { useState, useCallback } from 'react';
    
    export default function useSettingsModel() {
      const [settings, setSettings] = useState({ theme: 'light', lang: 'en-US' });
      const updateSettings = useCallback((newSettings: Partial<typeof settings>) => {
        setSettings((prev) => ({ ...prev, ...newSettings }));
      }, []);
    
      return { settings, updateSettings };
    }
    

    src/pages/UserList/index.tsx

    import React from 'react';
    import { useAccess, useModel } from '@umijs/max';
    import { ProTable, ActionType, ProColumns } from '@ant-design/pro-components';
    import { Button, message, Popconfirm } from 'antd';
    import { getUsers, deleteUser } from '@/services/user';
    
    const UserList: React.FC = () => {
      const { canAdmin } = useAccess();
      const actionRef = React.useRef<ActionType>();
    
      const columns: ProColumns[] = [
        { title: 'Username', dataIndex: 'username', copyable: true },
        { title: 'Role', dataIndex: 'role', valueType: 'select', 
          valueEnum: { admin: { text: 'Admin', status: 'Error' }, user: { text: 'User', status: 'Default' } } 
        },
        {
          title: 'Actions',
          valueType: 'option',
          render: (_, record) => [
            canAdmin && (
              <Popconfirm
                key="delete"
                title="Delete user?"
                onConfirm={async () => {
                  await deleteUser(record.id);
                  message.success('Deleted');
                  actionRef.current?.reload();
                }}
              >
                <a>Delete</a>
              </Popconfirm>
            ),
          ],
        },
      ];
    
      return (
        <ProTable
          headerTitle="User Management"
          actionRef={actionRef}
          rowKey="id"
          request={async (params) => {
            const res = await getUsers(params);
            return { data: res.data, success: true, total: res.total };
          }}
          columns={columns}
        />
      );
    };
    
    export default UserList;
    

    Next steps

    • Register the new page in config/routes.ts and assign the access: 'canAdmin' property if the entire page is restricted.
    • Update src/access.ts to ensure the canAdmin boolean is correctly derived from initialState.
    • Add the deleteUser method to src/services/user.ts using the Umi request utility.

    index.tsx

    ZIP · project files

    Generated

    Example file from a real run - the skill writes it into your workspace.

    $15/mo

    Subscription · always the latest version

    • Secure checkout via Stripe
    • Cancel anytime
    • Delivered live via MCP

    About this skill

    An Agent Skill that teaches AI coding agents (Claude, and any agent compatible with the open SKILL.md format) the full enterprise conventions of Umi Max (@umijs/max) and its ecosystem — including all ProComponents, Ant Design component patterns, Ant Design Charts for dashboards, GraphQL integration, and advanced RBAC.

    Only works with Umi Max projects. Does not support generic React frameworks (Vite/CRA) or non-Ant Design UI kits. Requires TypeScript for full type-safety in models and services.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free forever

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 1 month ago

    Requires

    Axios Http
    Node.js
    max

    Permissions

    Network Access
    Environment Variables

    Allowed Hosts

    axios-http.com
    Listed1 month ago
    Updated1 month ago

    What's inside

    Frequently Asked Questions

    This skill enforces Umi Max's native 'plugin-first' architecture, ensuring your agent uses built-in features like useModel and ProTable instead of injecting redundant external libraries like Redux or standard Axios.

    The skill is compatible with any AI agent capable of file-system manipulation and React development, provided the project is initialized using the official Umi Max CLI.

    It automates the configuration of src/app.tsx for runtime layouts and initial states, and scaffolds CRUD interfaces using ProComponents, significantly reducing the manual work required for enterprise UI patterns.

    Yes, the skill is designed to handle both RESTful APIs via the built-in request layer and GraphQL implementations using Apollo or urql through the Umi rootContainer configuration.

    The skill specifically targets Umi Max; it is not recommended for generic React apps or Vite-based projects that do not utilize the Umi plugin ecosystem.

    New in Frontend & Web Apps