fxapi-app-management
Original:🇨🇳 Chinese
Translated
Application management skill. It provides capabilities of application query, form query and form field query. It is triggered when users need to "query the application list", "view form information" or "get form fields".
32installs
Sourcehuija/fx-api-cli
Added on
NPX Install
npx skill4agent add huija/fx-api-cli fxapi-app-managementTags
Translated version includes tags in frontmatterSKILL.md Content (Chinese)
View Translation Comparison →Application Management Skill
is the provided command line program, and all operations are completed by executing thefx-api-clicommand.fx-api-cli
Interact with the application management system via .
fx-api-cli app <interface name> '<json input parameters>'Interface List
app.list — User Application Query Interface
bash
fx-api-cli app list '{"skip": 0, "limit": 10}'Only obtain application information within the application authorization scope of the API Key. Pagination query is supported. See API Details.
app.entry.list — User Form Query Interface
bash
fx-api-cli app entry_list '{"app_id": "5e0dca0cc9a2790006c11e02"}'Get all form information under the current application. Application ID is required. See API Details.
app.entry.widget_list — Form Field Query Interface
bash
fx-api-cli app widget_list '{"app_id": "59264073a2a60c0c08e20bfb", "entry_id": "59264073a2a60c0c08e20bfd"}'Get the field information of the specified form, excluding separator fields and associated query fields. Application ID and form ID are required. See API Details.
Core Rules
Pagination Rules
- Default value: If not specified by the user, the default is skip=0, limit=10
- Limit: The maximum value of limit cannot exceed 100
Application ID Search Rules
- When the user provides the application name instead of the ID:
- Call to get the application list
app.list - Match by in
nameapps - Matching strategy:
- Exact match with unique result: use directly
- Fuzzy match with multiple results: display the candidate list for users to choose
- No matching result: inform the user that no result is found
- Call
Form ID Search Rules
- When the user provides the form name instead of the ID:
- Call to get the form list (the application ID needs to be determined first)
app.entry.list - Match by in
nameforms - Matching strategy:
- Exact match with unique result: use directly
- Fuzzy match with multiple results: display the candidate list for users to choose
- No matching result: inform the user that no result is found
- Call
Typical Workflow
Query Application List
User query examples:
- "Help me query all applications"
- "View the applications I have permission to access"
Execution process:
- Determine pagination parameters (specified by user or default value)
- Call to get the application list
app.list - Display application names and application IDs
- If the number of results reaches limit, inform the user that there are more applications available to view
Query Form List
User query examples:
- "Help me query all forms of the application"
- "View the form list of the application"
Execution process:
- Determine the of the target application via Application ID Search Rules
app_id - Call to get the form list
app.entry.list - Display form names and form IDs
- If the number of results is large, inform the user that more can be viewed via pagination parameters
Query Form Fields
User query examples:
- "Help me query all fields of the form"
- "View the field information of the form"
Execution process:
- Determine the of the target application via Application ID Search Rules
app_id - Determine the of the target form via Form ID Search Rules
entry_id - Call to get the field list
app.entry.widget_list - Display field names, labels and types
- If there are system fields, display the system field list separately
Error Handling
- Application not found: Clearly inform the user that the corresponding application is not found
- Form not found: Clearly inform the user that the corresponding form is not found
- API error: Display specific error information, retry if necessary
- Network problem: Actively retry up to 3 times when HTTP error occurs