lfy-user
Original:🇨🇳 Chinese
Translated
User query skill. It is applicable to requirements such as obtaining current logged-in user information, salesperson list and sales team information. Use this skill when users need to: (1) Get their own user information, (2) Obtain the list of salespersons and their affiliated teams.
11installs
Source6fy/lfy-cli
Added on
NPX Install
npx skill4agent add 6fy/lfy-cli lfy-userTags
Translated version includes tags in frontmatterSKILL.md Content (Chinese)
View Translation Comparison →User Query Skill
is a command line program provided by Lufyi, all operations are completed by executing thelfy-clicommand.lfy-cli
Interact with the user system via .
lfy-cli user <interface name> '{}'Notes
- If is not
errcodeor the return format is abnormal, you need to inform the user of the error message0 - The salespersons returned by may be numerous, you can filter by team
get_sales - Technical fields such as ,
user_id,sales_idare not displayed by defaultteam_id - The current version does not support any modification operations on users
Interface List
Get Own User Information (get_self)
bash
lfy-cli user get_self '{}'Get the basic information of the current logged-in user, including user ID, name and affiliated organization.
See API Details.
Get Salesperson List (get_sales)
bash
lfy-cli user get_sales '{}'Get information of all salespersons and their sales teams.
See API Details.
Typical Workflow
Get Own Information
Typical query examples:
- "What is my user information"
- "Check the current logged-in user"
- "Get my information in the Lufyi system"
Process:
- Call the command to get current user information
get_self - Display basic user information
Display result:
👤 Your identity information in Lufyi: Qingzhou Company - Zhang SanGet Salesperson List
Typical query examples:
- "What salespersons are there?"
- "Who are in the sales team?"
- "Get the salesperson list"
Process:
- Call the command to get salesperson and team information
get_sales - Display the correspondence between team list and salespersons
Display result:
👥 Salesperson List:
**Sales Team 1**: Zhang San, Li Si, Wang Wu
**Sales Team 2**: Zhao Liu, Sun Qi, Zhou BaNotes
- Technical fields such as ,
user_id,team_id,parent_id,sales_idare not displayed by defaultteams - The current version does not support any modification operations on users