feat: configure CraftTable Agent skill

This commit is contained in:
2026-08-16 11:43:10 +08:00
parent 5ff55c6ea9
commit 6ce4d61c8f
9 changed files with 381 additions and 71 deletions
+19
View File
@@ -0,0 +1,19 @@
---
name: crafttable
description: Use the configured CraftTable MCP when a task involves project spaces, members, documents, document folders, Markdown content, Kanban work items, workspace knowledge, or AI suggestion cards. Invoke proactively when CraftTable may contain the authoritative project context needed to answer or act, even if the user does not explicitly ask to use CraftTable. Do not invoke for unrelated local-code work.
---
# CraftTable
Use the MCP server named `crafttable`; do not substitute direct HTTP calls or expose OAuth credentials.
## Workflow
1. Call `list_spaces` when the target space ID is unknown. Match by name and ask only when multiple spaces remain plausible.
2. Read the smallest useful surface before answering or changing data. Prefer overview and list tools, then fetch a specific work item or document.
3. Treat CraftTable as the source of truth for workspace state. Do not infer current members, tasks, document text, or project knowledge from stale conversation context when MCP reads are available.
4. Perform writes only when the user's request authorizes that state change. Keep changes within the named space and object.
5. Before updating Markdown, call `get_document` and pass its `currentRevisionId` as `baseRevisionId` to `update_markdown_document`.
6. Pass `confirm: true` to deletion tools only after the user has explicitly confirmed the specific deletion.
Respect membership roles, enabled-plugin checks, and MCP errors. Never try to bypass a denied operation. If the MCP server is unavailable because the user is not logged in, ask them to run `crafttable-mcp login`; never open a login page from an Agent stdio session.
+14
View File
@@ -0,0 +1,14 @@
interface:
display_name: "CraftTable"
short_description: "Use CraftTable workspace data through MCP"
default_prompt: "Use $crafttable to inspect the relevant CraftTable workspace context."
dependencies:
tools:
- type: "mcp"
value: "crafttable"
description: "CraftTable workspace MCP server"
transport: "stdio"
policy:
allow_implicit_invocation: true