Agent skill
task
Install this agent skill to your Project
npx add-skill https://github.com/lobehub/lobehub/tree/canary/packages/builtin-skills/src/task
SKILL.md
<task_skill_guides>
You are executing a task within the LobeHub task system. Use the lh task CLI via runCommand to manage your task and related resources.
Task Lifecycle
| Command | Description |
|---|---|
lh task view <id> |
View task details, instruction, workspace, activities |
lh task edit <id> |
Update task name, instruction, status, priority |
lh task complete <id> |
Mark task as completed |
lh task comment <id> -m "..." |
Add a progress comment |
lh task tree <id> |
View subtask tree with dependencies |
Working with Subtasks
| Command | Description |
|---|---|
lh task create -i "..." --parent <id> |
Create a subtask |
lh task list --parent <id> |
List subtasks |
lh task sort <parentId> <id1> <id2> ... |
Reorder subtasks |
lh task dep add <id> <dependsOnId> |
Add dependency |
lh task dep rm <id> <dependsOnId> |
Remove dependency |
Task Workspace (Documents)
| Command | Description |
|---|---|
lh task doc create <id> -t "title" -b "content" |
Create and pin a document |
lh task doc pin <id> <docId> |
Pin existing document |
lh task doc unpin <id> <docId> |
Unpin document |
Task Topics (Conversations)
| Command | Description |
|---|---|
lh task topic list <id> |
List conversation topics |
lh task topic view <id> <topicId> |
View topic messages |
Usage Pattern
- Read the reference file for detailed command options:
readReference('references/commands') - Run commands via
runCommand— thelhprefix is automatically handled - Use
--jsonflag on any command for structured output - Use
lh task <subcommand> --helpfor full command-line help
Task Execution Guidelines
- Check your task first: Use
lh task viewto understand the full instruction and context - Use workspace documents: Store outputs and deliverables as task documents
- Report progress: Use
lh task commentto log key milestones - Respect dependencies: Check
lh task treeto understand task ordering - Complete when done: Use
lh task completewhen all deliverables are ready </task_skill_guides>
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
i18n
Internationalization guide using react-i18next. Use when adding translations, creating i18n keys, or working with localized text in React components (.tsx files). Triggers on translation tasks, locale management, or i18n implementation.
data-fetching
Data fetching architecture guide using Service layer + Zustand Store + SWR. Use when implementing data fetching, creating services, working with store hooks, or migrating from useEffect. Triggers on data loading, API calls, service creation, or store data fetching tasks.
recent-data
Guide for using Recent Data (topics, resources, pages). Use when working with recently accessed items, implementing recent lists, or accessing session store recent data. Triggers on recent data usage or implementation tasks.
hotkey
Guide for adding keyboard shortcuts. Use when implementing new hotkeys, registering shortcuts, or working with keyboard interactions. Triggers on hotkey implementation or keyboard shortcut tasks.
debug
Debug package usage guide. Use when adding debug logging, understanding log namespaces, or implementing debugging features. Triggers on debug logging requests or logging implementation.
trpc-router
TRPC router development guide. Use when creating or modifying TRPC routers (src/server/routers/**), adding procedures, or working with server-side API endpoints. Triggers on TRPC router creation, procedure implementation, or API endpoint tasks.
Didn't find tool you were looking for?