Get the FREE Ultimate OpenClaw Setup Guide →

teamwork-integrator

npx machina-cli add skill kanopi/cms-cultivator/teamwork-integrator --openclaw
Files (1)
SKILL.md
7.2 KB

Teamwork Integrator Skill

Philosophy

Quick context without interruption. Developers need fast access to task status and details without leaving their flow. This skill provides read-only Teamwork integration for instant lookups.

When to Use This Skill

This skill activates when users:

  • Mention ticket numbers in format: PROJ-123, SITE-456, etc.
  • Ask "what's the status of [ticket]?"
  • Say "show me task [number]"
  • Ask "what's in that ticket?"
  • Reference Teamwork tasks conversationally
  • Need project context ("which project is this?", "show me projects")

Do NOT activate for:

  • Creating new tasks (use teamwork-task-creator instead)
  • Updating existing tasks (escalate to teamwork-specialist)
  • Exporting audit findings (use teamwork-exporter instead)
  • Complex multi-task operations (escalate to teamwork-specialist)

Ticket Number Pattern Recognition

The skill recognizes standard ticket formats (PROJ-123, SITE-456, etc.) and can clarify ambiguous references.

For complete pattern details, see Ticket Patterns.

Core Operations

The skill provides four read-only operations:

  1. Quick Status Check - Status, assignee, priority, due date
  2. Task Details - Full description, criteria, comments, dependencies
  3. Project Context - List active projects and recent tasks
  4. Link Tasks in PRs - Auto-detect ticket numbers in branches/commits

For complete operation details and examples, see Operations Reference.

For MCP tool usage, see MCP Tools Reference.

Workflow

1. Detect ticket number pattern in user input
   └─ If unclear → Ask for clarification

2. Load required Teamwork MCP tool via ToolSearch
   └─ If tool fails → Provide manual lookup instructions

3. Execute read-only query
   └─ If not found → Check project prefix, suggest alternatives

4. Format response with key information
   └─ Always include direct Teamwork link

5. Suggest next actions if relevant
   └─ "Would you like to update this task?"
   └─ "Ready to create a PR for this?"

Error Handling

Ticket Not Found

Response:

I couldn't find ticket PROJ-123 in Teamwork.

**Possible reasons:**
- Ticket number might be incorrect
- You might not have access to this project
- Project prefix might be different

**What to try:**
1. Double-check the ticket number
2. Run `/teamwork` to see available projects
3. Check Teamwork directly: https://yourcompany.teamwork.com

MCP Server Not Available

Response:

I'm unable to connect to the Teamwork MCP server.

**Manual lookup:**
1. Go to https://yourcompany.teamwork.com
2. Search for task: PROJ-123
3. Or use the project search in Teamwork

**To fix MCP server:**
Check that the Teamwork MCP server is configured in your Claude Code settings.

Ambiguous Request

Response:

I need a bit more context. Are you asking about:
- **Status check:** "What's the status of PROJ-123?"
- **Task details:** "Show me PROJ-123"
- **Update task:** "Update PROJ-123 status to in-progress" (requires teamwork-specialist)

Which would you like?

Integration with PR Workflow

Auto-detect in Branch Names

When user creates PR, scan branch name for ticket numbers:

Branch: feature/PROJ-123-user-auth

Auto-add to PR body:

Implements: PROJ-123
Link: https://example.teamwork.com/tasks/123456

Scan Commit Messages

Look for ticket references in commits:

Commit: "PROJ-123: Add OAuth providers"

Auto-add to PR body:

Related Tickets:
- PROJ-123: Implement user authentication

Format PR Description

Complete PR section:

## Teamwork Tasks

This PR addresses the following tickets:

### Implements
- [PROJ-123: Implement user authentication](https://example.teamwork.com/tasks/123456)
  - Status: In Progress → Completed (when merged)
  - OAuth2 with Google and GitHub

### Related
- [PROJ-100: Database schema updates](https://example.teamwork.com/tasks/123450) (dependency)

## Testing

Testing steps from Teamwork tasks:
1. [Steps from PROJ-123 acceptance criteria]

CMS-Specific Context

When displaying task details, highlight platform-specific information (Drupal multidev URLs, WordPress staging, NextJS preview environments).

For complete CMS context examples, see CMS Context.

When to Escalate to Teamwork Specialist

Escalate to the full teamwork-specialist agent when:

  1. User wants to modify tasks

    • "Update PROJ-123 status"
    • "Assign SITE-456 to John"
    • "Add comment to BLOG-789"
  2. Multiple operations needed

    • "Show me all tasks for this project and update their priorities"
    • "List overdue tasks and create follow-ups"
  3. Complex queries

    • "Show me all tasks assigned to me that are blocked"
    • "Find all QA tasks for the last sprint"
  4. Task creation/export

    • "Create a new task for this bug"
    • "Export these audit findings to Teamwork"

Escalation message:

For [operation], I'll hand this over to the teamwork-specialist agent which has full
read/write capabilities.

[Spawn teamwork-specialist with context]

Best Practices

DO:

  • ✅ Provide direct Teamwork links
  • ✅ Format output for readability (markdown)
  • ✅ Include key info (status, assignee, priority)
  • ✅ Suggest next actions
  • ✅ Auto-detect ticket numbers in conversation

DON'T:

  • ❌ Attempt to modify tasks (read-only skill)
  • ❌ Overwhelm with too much detail (keep it focused)
  • ❌ Make assumptions about ticket number format
  • ❌ Ignore error cases (always handle gracefully)

Output Format

Always structure responses with:

  1. Clear heading with ticket number and title
  2. Key info (status, assignee, priority) in bold
  3. Relevant sections (description, criteria, comments)
  4. Direct link to Teamwork task
  5. Suggested next actions (optional)

Use emojis sparingly for status:

  • ⏳ In Progress
  • 🎯 Ready for QA
  • ✓ Complete
  • 🚫 Blocked
  • 📋 Not Started

References

Complete reference materials available in the templates directory:

Use these references to understand operation details and implementation patterns.

Source

git clone https://github.com/kanopi/cms-cultivator/blob/main/skills/teamwork-integrator/SKILL.mdView on GitHub

Overview

Teamwork Integrator provides fast, read-only lookups of Teamwork task status, details, and project context whenever a user mentions a ticket number or asks for status or content. It does not create or modify data, keeping your workflow uninterrupted while you retrieve essential information.

How This Skill Works

The skill detects ticket references in user input (e.g., PROJ-123) and loads the read-only Teamwork MCP tool via ToolSearch. It then executes a read-only query, formats the results with key fields and a direct Teamwork link, and presents next-step suggestions.

When to Use It

  • Mention of a Teamwork ticket number in formats like PROJ-123 or SITE-456.
  • Asks for status with "what's the status of" [ticket].
  • Says "show me task [number]" or similar.
  • Asks "what's in that ticket?" or requests task details.
  • Requests project context (which project is this? or show me projects).

Quick Start

  1. Step 1: Detect a ticket number reference in user input (e.g., PROJ-123).
  2. Step 2: Load the read-only MCP Teamwork tool and perform a lookup.
  3. Step 3: Return a concise result with key fields, a direct link, and next-step suggestions.

Best Practices

  • Only perform read-only lookups; do not create or update data.
  • Validate ticket number format before querying.
  • Always include a direct Teamwork link in the response.
  • Clarify ambiguous requests (status vs details) when needed.
  • If multiple matches exist, suggest alternatives or prefixes and ask for clarification.

Example Use Cases

  • User: What's the status of PROJ-123?
  • User: Show me task SITE-456.
  • User: What's in that ticket PROJ-789?
  • User: List active projects to get quick context.
  • User: The branch feature/PROJ-123-fix-auth references a Teamwork ticket; provide status and link.

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers