lfy-ops
Original:🇨🇳 Chinese
Translated
Operational data query skill, which is applicable to obtaining operational data such as the enterprise's fiscal year time range and current week number. Use this skill when users need to: (1) Query current fiscal year information; (2) Get the current week number of the fiscal year.
6installs
Source6fy/lfy-cli
Added on
NPX Install
npx skill4agent add 6fy/lfy-cli lfy-opsTags
Translated version includes tags in frontmatterSKILL.md Content (Chinese)
View Translation Comparison →Operational Data Query Skill
is a command-line program provided by Lufy, all operations are completed by executinglfy-clicommands.lfy-cli
Interact with the operation system via .
lfy-cli ops <interface name> '{}'Notes
- If is not
errcodeor the return format is abnormal, you need to inform the user of the error information0 - Fiscal year information is set by the enterprise, and dates are returned in Beijing time
- Technical fields such as are not displayed by default
week_no
Interface List
Get Current Fiscal Year Information (get_fiscal_year)
bash
lfy-cli ops get_fiscal_year '{}'Get the time range of the enterprise's current fiscal year, calculated based on the fiscal year start date set by the enterprise.
See API Details.
Get Current Week Number (get_current_week)
bash
lfy-cli ops get_current_week '{}'Get the current week number of the fiscal year, calculated from the start date of the fiscal year.
See API Details.
Typical Workflow
Get Fiscal Year Information
Classic query examples:
- "Which fiscal year are we in currently?"
- "When does the fiscal year start?"
- "Check the fiscal year range of this year"
Process:
- Call the command to obtain fiscal year information
get_fiscal_year - Display the start and end dates of the fiscal year
Display Result:
📅 Current fiscal year information:
| Fiscal Year | Start Date | End Date |
|---|---|---|
| <current_fiscal_year> Year | <start_date> | <end_date> |
Get Current Week Number
Classic query examples:
- "What week is it now?"
- "What is the date range of this week?"
- "Current week information"
Process:
- Call the command to obtain current week information
get_current_week - Display the current week number and date range
Display Result:
📆 Current week information:
| Week Name | Start Date | End Date |
|---|---|---|
| <week_name> | <start_date> | <end_date> |