lfy-schedule
Original:🇨🇳 Chinese
Translated
Schedule and task query skill. Suitable for obtaining schedule and task information for the last two weeks. Use this skill when users need to check recent task arrangements.
19installs
Source6fy/lfy-cli
Added on
NPX Install
npx skill4agent add 6fy/lfy-cli lfy-scheduleTags
Translated version includes tags in frontmatterSKILL.md Content (Chinese)
View Translation Comparison →Schedule and Task Query Skill
is a command-line program provided by Lufeny, all operations are completed by executing thelfy-clicommand.lfy-cli
Interact with the schedule system via .
lfy-cli schedule <interface name> '{}'Notes
- If is not
errcodeor the return format is abnormal, you need to inform the user of the error message0 - The returned time range is: today + previous 7 days + next 7 days, total 15 days
- Tasks are sorted by start time
API List
get_recent_tasks — Get schedule tasks for the last two weeks
bash
lfy-cli schedule get_recent_tasks '{}'Get the list of schedules and tasks for the last 15 days (today + previous 7 days + next 7 days).
See API Details.
Return Format
get_recent_tasks Return Format
json
[
{
"task_id": 1001,
"task_no": "TASK-2024-001",
"task_type": 1,
"type_name": "Task",
"task_name": "Complete official document translation",
"start_time": "2024-03-01 09:00",
"due_time": "2024-03-05 18:00",
"owner_name": "Zhang San",
"status_value": 20,
"status_name": "In Progress",
"priority_name": "High"
}
]| Field | Type | Description |
|---|---|---|
| integer | Unique task ID |
| string | Task number |
| integer | Task type |
| string | Type name |
| string | Task name |
| string | Start time |
| string | Due time |
| string | Name of the person in charge |
| integer | Status value |
| string | Status name |
| string | Priority name |
task_type Task Type Description
| Value | Type Name |
|---|---|
| 1 | Task |
| 2 | Requirement |
| 3 | Bug |
status_value Status Value Description
| Value | Status Name |
|---|---|
| 10 | To Do |
| 20 | In Progress |
| 30 | Completed |
Typical Workflow
Get Recent Tasks
Classic query examples:
- "What tasks do I have recently?"
- "Check this week's schedule for me"
- "Check the recent schedule arrangements"
- "What tasks need to be completed?"
Process:
- Call the command to get recent tasks
get_recent_tasks - Display grouped by task type or time
- Display task details including status and priority
Display Result:
When there are tasks:
📋 Recent schedule tasks (total <count> items):
In Progress
| No. | Task Name | Type | Start Time | Due Time | Person in Charge | Status | Priority |
|---|---|---|---|---|---|---|---|
| TASK-2024-001 | Complete official document translation | Task | 2024-03-01 09:00 | 2024-03-05 18:00 | Zhang San | In Progress | High |
| TASK-2024-002 | User permission optimization | Requirement | 2024-03-03 09:00 | 2024-03-10 18:00 | Li Si | In Progress | Medium |
Field Mapping:
| Original Field | Chinese Header | Remarks |
|---|---|---|
| task_no | No. | Display by default |
| task_name | Task Name | Display by default |
| type_name | Type | Display by default |
| start_time | Start Time | Display by default |
| due_time | Due Time | Display by default |
| owner_name | Person in Charge | Display by default |
| status_name | Status | Display by default |
| priority_name | Priority | Display by default |
| task_id | - | Technical field, hidden by default |
| task_type | - | Technical field, hidden by default |
| status_value | - | Technical field, hidden by default |
When no results are found:
No schedule tasks found in the last 15 days.