lark-agent
БесплатноЗапускает вложенные скриптыНе проверенCreate hierarchical Lark tasks from markdown test plans. ACTIVATE THIS SKILL when user: - Says "create lark tasks" or "process test file" or "convert test…
Об этом скилле
version: 1.0.0 author: Claude Code tags: [lark, testing, automation, markdown, json, task-management]
Lark Agent Skill
Create structured Lark tasks from markdown test documentation with proper hierarchy and verification.
Overview
The Lark Agent skill provides a complete end-to-end workflow for:
- Parsing markdown test files with clear structure
- Generating structured JSON with test hierarchy
- Preparing Lark task creation workflow (3-level hierarchy)
- Preparing verification workflow
- Outputting complete workflow plan for execution
This skill is designed for teams that maintain test documentation in markdown format and need to convert them into trackable Lark tasks automatically.
When to Use This Skill
Activate this skill when user:
- Wants to create Lark tasks from test plans
- Mentions "lark", "test cases", "test planning", "test scenarios"
- Has a markdown file with test documentation
- Needs to convert test documentation into Lark tasks
- Wants to process test files into structured tasks
Workflow
1. Markdown Input Processing
The skill accepts markdown files with the following structure:
# Test Title
Test description
## Test Scenario: Scenario Name
Scenario description
### Task: Task Name
1. Step one
2. Step two
Expected Result: What should happen
2. JSON Generation
Converts markdown into structured JSON:
{
"testOverview": {
"title": "Test Title",
"description": "Test description",
"owner": "Assigned User",
"targetDate": "2025-11-02",
"status": "pending"
},
"scenarios": [
{
"scenarioId": "scenario-0-timestamp",
"title": "Scenario Name",
"description": "Scenario description",
"tasks": [
{
"taskId": "task-0-0-timestamp",
"title": "Task Name",
"description": "Steps",
"expectedResult": "Expected outcome",
"status": "pending"
}
]
}
]
}
3. Lark Task Creation
Creates hierarchical tasks in Lark via MCP:
- Level 1: Parent task (test overview)
- Level 2: Scenario tasks (marked as milestones)
- Level 3: Individual test tasks
Uses Lark MCP tools:
task_v2_tasklist_create- Create task listtask_v2_task_create- Create parent tasktask_v2_taskSubtask_create- Create scenario and individual taskstask_v2_task_addMembers- Assign users
4. Verification & Reporting
After task creation, the skill verifies:
- ✅ Parent task created with correct details
- ✅ All scenario tasks created as milestones
- ✅ All individual tasks created with test steps
- ✅ Task hierarchy is correct (parent → scenarios → tasks)
- ✅ User assignments are correct
- ✅ Dates and priorities match specifications
Generates a comprehensive report showing:
- Number of tasks created at each level
- Any failures or issues encountered
- Confirmation that structure matches requirements
- Recommendations for any issues found
Usage
⚠️ Important: Interactive Mode Not Supported
Interactive mode (stdin prompts) does NOT work in Claude Code's environment.
The skill works via conversational approach with visual indicators.
🎯 How It Works
When user requests Lark task creation:
1️⃣ Show Activation Banner
Display:
╔══════════════════════════════════════════════════════════════════╗
║ 🚀 LARK AGENT SKILL ACTIVATED 🚀 ║
║ Converting Test Plans → Structured Lark Tasks ║
╚══════════════════════════════════════════════════════════════════╝
2️⃣ Collect Parameters with Emojis
- 📄 Test file path (required): "📄 Which test file would you like to process?"
- 👤 Owner name (optional): "👤 Who should be the task owner? (default: QA Team)"
- ⚡ Priority (optional): "⚡ What priority? (1=low, 2=medium, 3=high, default: 2)"
- 📅 Target date (optional): "📅 What's the target completion date? (YYYY-MM-DD)"
3️⃣ Execute Skill with Progress Indicators
Show:
🔄 Executing Lark Agent skill...
📂 File: [file-path]
👤 Owner: [owner]
⚡ Priority: [priority]
📅 Target: [date]
Execute:
python .claude/skills/lark-agent/run.py [file-path] \
--owner="[name]" \
--priority=[1-3] \
--target-date="YYYY-MM-DD"
4️⃣ Parse Output
Show: 📊 Parsing workflow output...
5️⃣ Execute Lark MCP Workflow
Show progress:
🏗️ Creating Lark tasks...
✅ Step 1: Creating task list
✅ Step 2: Creating parent task
✅ Step 3: Creating scenario tasks
✅ Step 4: Creating individual tasks
6️⃣ Report Results
Show completion banner:
╔══════════════════════════════════════════════════════════════════╗
║ ✅ LARK AGENT WORKFLOW COMPLETED! ✅ ║
╚══════════════════════════════════════════════════════════════════╝
📊 Summary:
📋 Test: [test title]
🎯 Scenarios: [count]
📝 Total Tasks: [count]
Direct Mode (Only Working Mode)
python .claude/ski
Установить lark-agent в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл lark-agent?
Create hierarchical Lark tasks from markdown test plans. ACTIVATE THIS SKILL when user: - Says "create lark tasks" or "process test file" or "convert test plan" - Mentions "lark" + "test" or "test scenarios" or "test cases" - Wants to convert markdown test documentation into Lark tasks - Has a test file and wants it in Lark WORKFLOW: 1. Ask user for test file path (required) 2. Ask for owner, priority, target date (optional) 3. Execute: python .claude/skills/lark-agent/run.py [file] --owner="[name]" --priority=[1-3] --target-date="YYYY-MM-DD" 4. Parse JSON output 5. Execute Lark MCP workflow to create tasks 6. Report results DO NOT create test plans yourself - only process existing markdown files unless explicitly asked.
Как установить скилл lark-agent?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл lark-agent запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic