数据规划
- 作者仓库星标 1,104
- 作者更新于 实时读取
- 作者仓库 archive
- 领域
- 设计与多媒体
- 兼容 Agent
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- 信任分
- 88 / 100 · 社区维护
- 作者 / 版本 / 许可
- @dp-archive · 未声明 license
- Token 消耗评级
- 低消耗
- 接入复杂程度
- 即装即用
- 是否需要外部 API Key
- 不需要
- 兼容的系统
- 未声明(默认跨平台)
- 底层运行要求
- 无特殊要求
- 文件与系统权限
-
- 只读
- 允许写入 / 修改
- 网络行为
- 仅限本地
- 安装命令数
- 26 条
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: skills-planner
description: Plan which skills are needed to fulfill user requirements. Use when the user wants to design an…
category: 设计与多媒体
runtime: 无特殊运行时
---
# skills-planner 输出预览
## PART A: 任务判断
- 适用问题:视觉内容、演示材料、信息图或设计交付。
- 输入要求:目标材料、限制条件、期望输出和验收方式。
- 证据边界:围绕“Workflow / Input Requirements / Planning Process”读取原文规则,不把推断写成作者承诺。
## PART B: 执行结果
- **01** 任务判断:确认你的需求是否属于视觉内容、演示材料、信息图或设计交付,并标出输入、限制和预期结果。
- **02** 执行计划:优先按“Workflow / Input Requirements / Planning Process”拆成步骤,说明每一步会读取什么、修改什么、产出什么。
- **03** 交付结果:给出可复制的命令、文件改动、检查清单或内容草稿,并说明如何继续迭代。
- **04** 风险边界:结合 读取文件、写入/修改文件、主要在本地完成、通常不需要额外 API Key 给出执行前确认项。
## Running Rules
- 读取文件、写入/修改文件;主要在本地完成;通常不需要额外 API Key。
- 先小样例验证,再放大到真实任务。
- 交付时同时给结果、检查口径和下一步迭代建议。 原文没有稳定的斜杠命令要求。安装验证后通常全局生效,直接在对话里点名这个 Skill 并描述任务即可。
告诉 Agent 目标文件或材料、期望结果、不可改范围、是否允许联网或执行命令。本 Skill 的权限画像是:读取文件、写入/修改文件。
先用一个小任务确认它会围绕“Workflow / Input Requirements / Planning Process”工作;涉及文件或命令时,先看 diff、日志、预览或测试结果。
检查最终产物是否包含明确结果、必要证据和下一步动作;如果输出泛泛而谈,就补充输入、边界和验收标准后重跑。
---
name: skills-planner
description: Plan which skills are needed to fulfill user requirements. Use when the user wants to design an…
category: 设计与多媒体
source: dp-archive/archive
---
# skills-planner
## 什么时候使用
- 把设计与视觉方向的常用动作沉淀成 Agent 可调用的技能 适合处理界面、视觉、封面、信息图或演示材料交付,核心价值是把输入、判断、执行、验证和交付边界固定下来,避免 Agent 泛泛回答。 把任务拆成可执行、可检查、可继续迭代的步骤…
- 面向视觉内容、演示材料、信息图或设计交付,优先处理能明确输入、步骤和验收标准的工作。
## 需要提供什么
- 目标材料、目录范围、期望结果和不可改动内容。
- 是否允许联网、执行命令、读写文件或调用外部服务。
## 执行规则
- 围绕「Workflow / Input Requirements / Planning Process」组织步骤,不把推断写成作者事实。
- 读取文件、写入/修改文件;主要在本地完成;通常不需要额外 API Key。
- 先跑小样例,确认结果可检查后再扩大任务范围。
## 输出要求
- 给出最终产物、关键证据、验证方式和下一步动作。
- 信息不足时标记 unknown,不编造命令、平台或依赖。 作者原文负责流程事实;仓库文件负责来源和命令;流狐只补充适用场景、限制和质量判断。
skill "skills-planner" {
输入层 -> 用户目标 + 目标文件 + 禁止范围 + 验收标准
上下文层 -> Workflow / Input Requirements / Planning Process
规则层 -> SKILL.md 触发条件 / 执行顺序 / 输出格式
运行层 -> 无特殊运行时 | 读取文件、写入/修改文件 | 主要在本地完成
安全层 -> 通常不需要额外 API Key + 小任务验证 + diff / 日志复核
输出层 -> 可复制结果 + 检查清单 + 下一步迭代
} Skills Planner
Plan and compose skills to fulfill user requirements efficiently.
Workflow
- Analyze Requirements - Understand user goals and constraints
- Evaluate Existing Skills - Match requirements to available skills
- Identify Gaps - Determine what capabilities are missing
- Design New Skills - Specify requirements for missing skills (if any)
- Compose Agent - Design system prompt for the agent using all skills
- Present Plan - Output structured plan for user confirmation
Input Requirements
Before planning, gather:
- User Requirements: What the user wants to accomplish
- Existing Skills List: Available skills with their descriptions
Planning Process
Step 1: Analyze Requirements
Break down user requirements into discrete capabilities:
User Request: "Build an agent that can analyze financial reports"
Required Capabilities:
1. PDF reading/parsing
2. Data extraction (tables, numbers)
3. Financial metrics calculation
4. Report generation
5. Visualization (charts)
Step 2: Evaluate Existing Skills
For each capability, check if an existing skill covers it:
Capability: PDF reading/parsing
Existing Skill Match: pdf (extracts text/tables from PDFs) ✓
Capability: Financial metrics calculation
Existing Skill Match: None found ✗
Selection Criteria:
- Prefer skills that directly match the capability
- Consider skill scope (narrow and focused > broad and generic)
- Check for overlapping functionality to avoid redundancy
Step 3: Identify Gaps
List capabilities not covered by existing skills. These become candidates for new skills.
Gap Analysis Questions:
- Is this capability truly necessary, or can existing skills be combined?
- Can the base model handle this without a skill?
- Is this capability reusable across other tasks?
Step 4: Design New Skills (if needed)
For each gap, specify:
skill_name: financial-analyzer
skill_requirements: |
Purpose: Calculate and interpret financial metrics from extracted data
Core Capabilities:
- Calculate common ratios (P/E, ROE, debt-to-equity, etc.)
- Identify trends across time periods
- Flag anomalies or concerns
- Generate insights in plain language
Input: Structured financial data (revenue, expenses, assets, etc.)
Output: Analysis report with metrics, trends, and recommendations
Workflow:
1. Validate input data completeness
2. Calculate standard financial ratios
3. Compare to industry benchmarks (if provided)
4. Identify significant changes or outliers
5. Generate narrative summary
Principles for New Skills:
- Minimal: Only create skills that provide significant value
- Focused: Each skill should do one thing well
- Reusable: Design for use beyond the immediate task
- Claude-aware: Only include knowledge Claude doesn't already have
Step 5: Compose Agent System Prompt
Design a system prompt that orchestrates all selected skills:
## System Prompt Template
You are a [AGENT_ROLE] agent specialized in [DOMAIN].
### Workflow
When processing requests:
1. [First step - e.g., understand the input]
2. [Second step - e.g., invoke relevant skill]
3. [Third step - e.g., process results]
4. [Final step - e.g., present output]
### Guidelines
- [Guideline 1 - e.g., always validate inputs first]
- [Guideline 2 - e.g., handle errors gracefully]
- [Guideline 3 - e.g., provide clear explanations]
### Output Format
[Specify expected output structure if applicable]
Output Format
Present the plan in this structure:
# Skills Plan for [User Task]
## 1. Existing Skills to Include
| Skill Name | Purpose in This Agent | Key Capabilities Used |
|------------|----------------------|----------------------|
| [name] | [why needed] | [specific features] |
| [name] | [why needed] | [specific features] |
> If no existing skills apply, write: "None - all required capabilities need new skills."
## 2. New Skills to Create
**Skills needed**: [skill-a], [skill-b], [skill-c] (or "None - existing skills cover all requirements")
### 2.1 [skill-a]
(Continue for each new skill...)
---
## 3. Proposed System Prompt
[Complete system prompt for the agent]
---
## 4. Additional Recommendations
- [Recommendation 1 - e.g., consider adding X capability later]
- [Recommendation 2 - e.g., this skill combination may have limitation Y]
- [Recommendation 3 - e.g., suggested testing approach]
---
**Please review and confirm this plan, or provide feedback for adjustments.**
Example
User Request: "I need an agent that can process customer support tickets, categorize them, and draft responses"
Existing Skills: web-search, email-sender, sentiment-analyzer
Output:
# Skills Plan for Customer Support Agent
## 1. Existing Skills to Include
| Skill Name | Purpose in This Agent | Key Capabilities Used |
|------------|----------------------|----------------------|
| sentiment-analyzer | Assess ticket urgency and customer mood | Sentiment scoring, emotion detection |
## 2. New Skills to Create
**Skills needed**: ticket-categorizer, response-drafter
### 2.1 ticket-categorizer
**Purpose**: Classify support tickets into predefined categories
**Requirements**:
- Parse ticket content (subject + body)
- Match against category definitions
- Handle multi-category tickets
- Provide confidence scores
**Workflow**:
1. Extract key phrases from ticket
2. Match against category keywords and patterns
3. Assign primary and secondary categories
4. Return categorization with confidence
**Input/Output**:
- Input: Ticket text (subject, body, metadata)
- Output: { category: string, subcategory: string, confidence: float }
### 2.2 response-drafter
**Purpose**: Generate contextual draft responses for support tickets
**Requirements**:
- Use ticket category and sentiment as context
- Apply company tone guidelines
- Include relevant knowledge base references
- Support multiple response templates
**Workflow**:
1. Analyze ticket intent and key issues
2. Select appropriate response template
3. Customize with specific details
4. Add relevant links/resources
5. Apply tone adjustments based on sentiment
**Input/Output**:
- Input: Ticket content, category, sentiment, knowledge base context
- Output: Draft response text with placeholders for review
---
## 3. Proposed System Prompt
You are a Customer Support Agent specialized in processing and responding to support tickets efficiently.
### Your Capabilities
You have access to the following skills:
- **sentiment-analyzer**: Use to assess customer mood and ticket urgency before categorizing
- **ticket-categorizer**: Use to classify tickets into appropriate categories
- **response-drafter**: Use to generate initial response drafts
### Workflow
When processing a support ticket:
1. Analyze sentiment to understand customer mood and urgency
2. Categorize the ticket to determine the issue type
3. Draft an appropriate response based on category and sentiment
4. Present the draft for human review before sending
### Guidelines
- Prioritize high-urgency tickets (negative sentiment + billing/account issues)
- Always maintain a helpful, empathetic tone
- Escalate complex technical issues to specialists
- Include relevant self-help resources when applicable
### Output Format
For each ticket, provide:
- Sentiment Assessment: [score and summary]
- Category: [primary] / [secondary if applicable]
- Urgency: [Low/Medium/High]
- Draft Response: [response text]
- Recommended Actions: [any escalation or follow-up needed]
---
## 4. Additional Recommendations
- Consider adding a knowledge-base-search skill for FAQ matching
- The ticket-categorizer should be trained on historical ticket data
- Test with edge cases: multi-issue tickets, non-English tickets, spam
- Monitor response quality and adjust tone guidelines as needed
---
**Please review and confirm this plan, or provide feedback for adjustments.**
Key Principles
- Minimize skill count: Fewer, well-designed skills > many narrow skills
- Leverage Claude's base capabilities: Don't create skills for things Claude already knows
- Prefer existing skills: Only create new skills when truly necessary
- Design for reusability: New skills should be useful beyond the immediate task
- Clear boundaries: Each skill should have a distinct, non-overlapping purpose
先判断是否适合
作者设计意图
作者的方法与取舍
边界和复核