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
Added on

NPX Install

npx skill4agent add 6fy/lfy-cli lfy-schedule

Tags

Translated version includes tags in frontmatter

SKILL.md Content (Chinese)

View Translation Comparison →

Schedule and Task Query Skill

lfy-cli
is a command-line program provided by Lufeny, all operations are completed by executing the
lfy-cli
command.
Interact with the schedule system via
lfy-cli schedule <interface name> '{}'
.

Notes

  • If
    errcode
    is not
    0
    or the return format is abnormal, you need to inform the user of the error message
  • 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"
  }
]
FieldTypeDescription
task_id
integerUnique task ID
task_no
stringTask number
task_type
integerTask type
type_name
stringType name
task_name
stringTask name
start_time
stringStart time
due_time
stringDue time
owner_name
stringName of the person in charge
status_value
integerStatus value
status_name
stringStatus name
priority_name
stringPriority name

task_type Task Type Description

ValueType Name
1Task
2Requirement
3Bug

status_value Status Value Description

ValueStatus Name
10To Do
20In Progress
30Completed

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:
  1. Call the
    get_recent_tasks
    command to get recent tasks
  2. Display grouped by task type or time
  3. Display task details including status and priority
Display Result:
When there are tasks:
📋 Recent schedule tasks (total <count> items):
In Progress
No.Task NameTypeStart TimeDue TimePerson in ChargeStatusPriority
TASK-2024-001Complete official document translationTask2024-03-01 09:002024-03-05 18:00Zhang SanIn ProgressHigh
TASK-2024-002User permission optimizationRequirement2024-03-03 09:002024-03-10 18:00Li SiIn ProgressMedium
Field Mapping:
Original FieldChinese HeaderRemarks
task_noNo.Display by default
task_nameTask NameDisplay by default
type_nameTypeDisplay by default
start_timeStart TimeDisplay by default
due_timeDue TimeDisplay by default
owner_namePerson in ChargeDisplay by default
status_nameStatusDisplay by default
priority_namePriorityDisplay 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.