Create Item 标志

Create Item

社区
jpicklyk
create-item

Creates an MCP work item from conversation context. Scans existing containers to anchor the item in the right place (Bugs, Features, Tech Debt, Observations, etc.), infers type and priority, creates single items or work trees, and pre-fills required notes. Use when the conversation surfaces a bug, feature idea, tech debt item, or observation worth tracking persistently. Also use when user says: track this, log this bug, create a task for, or add this to the backlog.

Add to TypingMind

概览

发布者jpicklyk
代码仓库task-orchestrator
技能名称create-item
星标数
204
复刻数
22
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 jpicklyk 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Create Item AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/jpicklyk/task-orchestrator/tree/main/claude-plugins/task-orchestrator/skills/create-item
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jpicklyk/task-orchestrator.git /tmp/task-orchestrator
mkdir -p .claude/skills
cp -r /tmp/task-orchestrator/claude-plugins/task-orchestrator/skills/create-item .claude/skills/create-item
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Create Item,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Create Item。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Create Item 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

create-item — Container-Anchored Work Item Creation

Create MCP work items intelligently from conversation context. This skill handles container anchoring, tag inference, structure decisions, and note pre-population so you don't have to.


Step 1 — Infer intent from conversation

Determine from context (or from $ARGUMENTS if provided):

  • Title — what is the work item?
  • Type — bug / feature / tech debt / observation / action item / general task
  • Priority — high / medium / low (default: medium)
  • Scope — single item, or feature with 2+ clear distinct subtasks?

If title or type cannot be inferred with confidence, use AskUserQuestion with concrete options. Do not ask open-ended questions.


Step 2 — Scan containers

Resolve the project rootId first: check session context for a rootId injected by the SessionStart hook, or read .taskorchestrator/config.yaml's top-level project.rootId (a file read, not an MCP call).

If a rootId is known:

query_items(operation="overview", anchorId="<rootId>", includeChildren=true)

Category containers (Bugs, Features, Tech Debt, etc.) are expected as direct children of the project root — anchor new items there. Exception: agent-observation items always stay at global depth 0, outside any project root, regardless of whether a rootId is known — they're process-global, not project-scoped.

If no rootId is known, fall back to an unscoped scan and the classification below (this is also the exact behavior from before project scoping existed):

query_items(operation="overview", includeChildren=true)

Classify the existing structure:

PatternClassification
Depth-0 item with category-named children (Bugs, Features, etc.)Hierarchical — project root exists
Category-named items at depth 0, no project rootFlat — use category containers directly
No items at allEmpty — offer to create project root

Step 3 — Container anchoring

Category mapping

Item typeTarget category containerSignal keywords
Bug / error / crash / unexpected behaviorBugsbug, error, crash, broken, failure, wrong, exception
Feature / enhancement / new capabilityFeaturesfeature, add, implement, new, support, capability, enhancement
Tech debt / refactor / cleanup / improvementTech Debtrefactor, cleanup, simplify, debt, improve, migrate, restructure
Observation / friction / optimization / missing capabilityObservationsslow, performance, optimize, latency, friction, missing, gap, observe
Action item / follow-up / reminder / TODOAction Itemstodo, follow up, remind, action, track, check
General / unclearBest-effort match — ask if uncertain

Anchoring decision tree

Hierarchical structure:
  Matching category found under project root → use as parentId
  Category missing under project root → create it, then use as parentId

Flat structure:
  Matching category at depth 0 → use as parentId
  Category missing at depth 0 → create it, then use as parentId

Empty (no project root exists):
  → AskUserQuestion: "No project root container exists yet.
    Would you like to create one for this project?"
  → Yes: create project root → create category under it → create item
  → No: create category container at depth 0 → create item under it

Exception (all branches): agent-observation items never anchor under a project root or category container — they are standalone process-global items (each its own root, not a child of any container) that live at depth 0 alongside (not under) any project root, per Step 2.


Step 4 — Set type via schema discovery

Read .taskorchestrator/config.yaml to discover available schemas (this is a file read, not an MCP call). In Docker, the config is mounted at a path controlled by the AGENT_CONFIG_DIR env var — read $AGENT_CONFIG_DIR/.taskorchestrator/config.yaml if that variable is set, otherwise use .taskorchestrator/config.yaml relative to the working directory.

Schemas are defined under work_item_schemas: (preferred) or note_schemas: (legacy). Each schema key is a type identifier that activates gate enforcement when set as the item's type field. Tags remain available for categorization but are no longer the primary schema selector.

Error handling: If the config file is not found, cannot be read, or contains invalid YAML, skip schema-based type assignment and create the item without a type. Inform the user: "No schema config found — item created without a type." Do not abort item creation due to a missing or malformed config.

Infer the best schema match from context:

Context signalSchema to apply
Feature, enhancement, new capabilityMatch against feature-related schema keys in config (if any exist)
Bug, error, crash, unexpected behaviorMatch against bug-related schema keys in config (if any exist)
Observation, friction, optimization, missing capabilityMatch against observation-related schema keys in config (if any exist)

If the inferred schema key exists in the config, set it as the item's type value. If the key does not exist in the config (e.g., no bug-fix schema defined), leave type unset — do not assign a type that has no matching schema.

When no confident match can be inferred:

  • If a schema named default exists in the config, use it as the fallback — this lets users control what happens to unclassified items
  • Otherwise, ask the user which schema to apply via AskUserQuestion, listing the available schema keys from the config
  • Include a "No schema" option for items that should be schema-free

If no config file exists, skip type assignment entirely — all items will be schema-free.

Tags vs. type: Set type for schema selection. Use tags only for additional categorization/filtering that is independent of schema matching.

Trait discovery

While reading the config, also check for a top-level traits: section. Each key under traits: is a trait name that can be assigned to items via the traits parameter. Traits add additional note requirements on top of the base schema.

Assess whether any configured traits apply based on conversation context:

Context signalTrait to consider
Database migration, schema change, ALTER TABLEneeds-migration-review (if configured)
MCP tool parameter changes, response shape changesneeds-api-compat-review (if configured)
Plugin skill/hook behavior changesneeds-plugin-update (if configured)
Auth, input validation, external data handlingneeds-security-review (if configured)
Hot path changes, per-request work, startup impactneeds-perf-review (if configured)

Only assign traits that exist in the config. If no traits: section exists, skip trait assignment entirely.

If multiple traits apply, combine them: traits: "needs-migration-review,needs-api-compat-review"

Resource-bearing traits (informational): if a chosen trait's config entry carries its own resources: list, note this to the user — items with that trait will acquire an exclusive lease on the named resource key(s) when they enter work phase, and advance_item(start) can transiently fail with resource_unavailable if another item currently holds it. No extra action is needed here; this is just so the choice isn't a surprise later.


Step 5 — Create the item(s)

Single item (bug, observation, standalone task, action item):

manage_items(operation="create", items=[{
  title: "<inferred title>",
  summary: "<1-2 sentence description from context>",
  priority: "<inferred priority>",
  type: "<schema key or omit>",
  tags: "<categorization tags or omit>",
  parentId: "<category container UUID>"
  // Additional fields like `complexity` are optional — omit if not relevant
}])

Work tree (feature with 2+ distinct subtasks clearly described):

create_work_tree(
  root={title, summary, priority, type: "<schema key>"},
  children=[{ref: "t1", title: "..."}, {ref: "t2", title: "..."}, ...],
  parentId="<category container UUID>"
)

Default to single item when scope is unclear. Use create_work_tree only when the conversation explicitly names multiple distinct subtasks.


Step 6 — Pre-fill required notes

Check expectedNotes in the create response. For each note where required: true and role: "queue":

  • Extract relevant content from the conversation
  • Resolve guidance via query_items(operation="schema", itemId="<uuid>") (expectedNotes itself is keys-only) — use its guidance field as the authoring instruction, taking precedence over free-form inference.
  • Batch all notes into a single call rather than one call per note:
    manage_notes(operation="upsert", notes=[
      {itemId: "<bug-uuid>",     key: "diagnosis",       role: "queue", body: "..."},
      {itemId: "<feature-uuid>", key: "feature-summary", role: "queue", body: "..."}
    ])
    (note keys come from each item's schema expectedNotes — diagnosis for bug-fix, feature-summary for feature-implementation; a single call may batch notes across multiple items)
  • If conversation content is too sparse for a meaningful note body, leave it — do not fabricate content

Step 7 — Report

✓ Created: [title] (`short-id`)
  Path: [container path, e.g. "Features" or "Project Root › Features"]
  Tags: [tags, or "none"]
  Notes pre-filled: [key names, or "none"]

If a new category container was created, add one line:

  ↳ Created new container: [category name] under [parent]

Troubleshooting

No containers found in overview

  • Cause: Fresh workspace with no existing structure
  • Solution: The skill handles this automatically — it will offer to create a project root and category containers via AskUserQuestion

Wrong container chosen for the item

  • Cause: Item type was ambiguous or the category mapping didn't match intent
  • Solution: Move the item after creation with manage_items(operation="update", items=[{itemId: "<uuid>", parentId: "<correct-container-uuid>"}])

Type not matching a schema — expectedNotes is empty

  • Cause: The type field doesn't match any key in .taskorchestrator/config.yaml, or the config hasn't been loaded
  • Solution: Verify the type matches a work_item_schemas: (or note_schemas:) key exactly. If the config was recently changed, run /mcp to reconnect the server

Expected notes not returned after item creation

  • Cause: MCP server caches schemas on first access — config changes require reconnect
  • Solution: Run /mcp in Claude Code to reconnect the server, then retry the create operation

常见问题

Create Item AI 技能有什么作用?

Creates an MCP work item from conversation context. Scans existing containers to anchor the item in the right place (Bugs, Features, Tech Debt, Observations, etc.), infers type and priority, creates single items or work trees, and pre-fills required notes. Use when the conversation surfaces a bug, feature idea, tech debt item, or observation worth tracking persistently. Also use when user says: track this, log this bug, create a task for, or add this to the backlog.

为什么在 TypingMind 中使用 Create Item?

因为您只需安装一次,就能搭配任何模型使用。Create Item 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Create Item?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/jpicklyk/task-orchestrator/tree/main/claude-plugins/task-orchestrator/skills/create-item。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Create Item?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Create Item 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Create Item 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Create Item AI 技能免费吗?

是的。jpicklyk 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇