Socket
Book a DemoInstallSign in
Socket

Task Connector

Package Overview
Maintainers
0
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Task Connector

Connect AI generated task documentation with project management tools

OpenVSX
Version
0.20.0
Version published
Maintainers
0
Source

Task Connector Extension

A powerful extension that scans documentation folders for task information, generates comprehensive task documentation using Claude Sonnet LLM, and uploads tasks directly to your project management tools.

Compatible with: VS Code, Cursor, and other VS Code-compatible editors

Supported Project Management Tools

  • ClickUp - Full integration with task creation, updates, and management
  • More tools coming soon - We're actively working on adding support for additional project management platforms

Editor Compatibility

VS Code

  • ✅ Full feature support
  • ✅ All commands available
  • ✅ Settings GUI integration
  • ✅ Extension marketplace ready

Cursor

  • ✅ Full feature support
  • ✅ All commands available
  • ✅ Settings GUI integration
  • ✅ Enhanced AI integration with .cursorrules

Other VS Code-Compatible Editors

  • ✅ Core functionality supported
  • ✅ All commands available
  • ⚠️ Some advanced features may vary by editor
  • ✅ Settings work through standard VS Code settings API

Features

  • Task ID Detection: Automatically finds tasks marked with Task ID: <ID> in documentation files
  • AI-Powered Documentation: Uses Claude Sonnet LLM to generate comprehensive task documentation
  • Project Management Integration: Automatically uploads generated tasks to your project management tool
  • Smart Upload Tracking: Upload tasks once or use [Force] tag for repeated uploads
  • Architecture Diagrams: Use [Image] tag to generate Mermaid diagrams automatically
  • Output Channel: View AI-generated task documentation in a dedicated output panel
  • Manual Scanning: Trigger scans manually or preview AI-generated content
  • Connection Testing: Test Claude and project management API connections

🚀 Supercharge Your Workflow with AI Coding Assistants

Maximize the benefit of Task Connector by integrating it with your AI coding assistant. Create a seamless workflow where your AI assistant generates task documentation files, and Task Connector automatically processes and uploads them to your project management tool.

Configure your AI assistant with these rules:

  • Create documentation in a dedicated folder (e.g., documentation/, docs/, tasks/)
  • Use markdown format (.md files)
  • Include Task IDs at the top of each file (e.g., Task ID: FEAT-123)
  • Avoid emojis in task documentation for better compatibility with project management tools

Cursor-Specific Setup (Optional)

For Cursor users who want automatic documentation generation, you can optionally add these rules to your .cursorrules file in your project root: (documentation is in the root folder in this example)

- always go through all the '.md' files in 'documentation' folder to understand project context.
- create the '.md' documents in the 'documentation' folder in the root folder.

Note: This configuration is optional and only needed if you want Cursor to automatically generate task documentation. You can still use Task Connector without these rules by manually creating task files.

Alternative Cursor Configuration: You can also add these rules directly in Cursor's settings:

  • Open Cursor Settings (Cmd/Ctrl + ,)
  • Go to "Rules for AI"
  • Add the rules above

VS Code with GitHub Copilot Setup

For VS Code with GitHub Copilot users, configure Copilot with these guidelines:

  • Create a .github/copilot-instructions.md file in your project root:

    # Copilot Instructions for Task Connector
    
    When creating task documentation:
    
    - Always create files in the `documentation/` folder
    - Use markdown format (.md files)
    - Include Task ID at the top: `Task ID: FEAT-123`
    - Avoid emojis in task documentation
    - Break down tasks into clear steps
    - Use proper markdown formatting
    
  • Reference this file when asking Copilot to create tasks:

    • "Create a task for user authentication following the instructions in .github/copilot-instructions.md"

Other AI Assistants

For other AI coding assistants (Claude Desktop, ChatGPT, etc.), provide these instructions:

  • Context: "I'm using Task Connector extension for VS Code/Cursor"
  • Format: "Create task documentation in markdown format"
  • Location: "Save files in the documentation/ folder"
  • Structure: "Include Task ID at the top, avoid emojis"
  • Content: "Break down the task into clear, actionable steps"

Example Workflow

  • Ask your AI assistant to create a task:

    • "Create a task for implementing user authentication in the documentation folder"
  • AI creates a file (e.g., documentation/user-auth.md):

    Task ID: AUTH-001
    
    # User Authentication Implementation
    
    Implement secure user authentication system...
    
  • Task Connector processes it:

    • Run: Cmd/Ctrl + Shift + P → "Scan Documentation Folder"
    • Task Connector generates comprehensive documentation using Claude
    • Automatically uploads to your project management tool with all details
  • Result: Task appears in your project management tool with full documentation, architecture diagrams, and acceptance criteria!

Benefits of This Integration

No manual task creation - AI generates structured task files
Consistent format - All tasks follow the same template
Automatic context - AI reads existing tasks to maintain consistency
One-click sync - Single command uploads everything to your project management tool
Version control - Task documentation is tracked in Git

Installation

All supported editors can install Task Connector from their respective marketplaces:

  • VS Code: Search for "Task Connector" in the Extensions marketplace
  • Cursor: Search for "Task Connector" in the Extensions marketplace
  • Other VS Code-Compatible Editors:
    • GitHub Codespaces: Available in the Extensions marketplace
    • Gitpod: Available in the Extensions marketplace
    • Eclipse Theia: Available in the Extensions marketplace
    • VSCodium: Available in the Extensions marketplace

Installation Steps:

  • Open your editor
  • Go to Extensions (Ctrl+Shift+X)
  • Search for "Task Connector"
  • Click "Install"

Configuration

Settings

Configure the extension through your editor's settings:

  • Open Settings (Cmd/Ctrl + ,)
  • Search for "Task Connector"
  • Configure the following settings:

Note: Settings work the same way across all supported editors (VS Code, Cursor, etc.)

taskConnector.documentationDirectory

  • Type: String
  • Default: ""
  • Description: Absolute path to the directory containing your documentation files (MD files)
  • Example: /Users/username/Projects/MyProject/docs
  • ⚠️ IMPORTANT: Set this in Workspace Settings (not User Settings) so each project has its own path

How to Configure Per-Project (Recommended Method):

  • Open your project folder in VS Code
  • Press Cmd/Ctrl + Shift + P to open Command Palette
  • Run: "Task Connector: Set Documentation Directory (Workspace)"
  • The command will show your workspace path (e.g., /Users/username/Projects/MyProject)
  • Enter a relative path like docs or documentation, OR an absolute path
  • The extension automatically validates the directory exists
  • ✅ Done! Settings are saved in .vscode/settings.json for this project only

Example:

  • Workspace path shown: /Users/username/Projects/MyProject
  • You type: docs
  • Extension saves to settings.json: "taskConnector.documentationDirectory": "docs"
  • 💡 Benefit: Relative paths can be committed to Git and work for all team members!

Team Collaboration:

When you use relative paths (recommended):

  • ✅ Commit .vscode/settings.json to version control
  • ✅ All team members get the same configuration automatically
  • ✅ No need to manually configure on each machine
  • ✅ Works regardless of where the project is cloned

Alternative: Via Settings GUI

If you prefer using the Settings GUI:

  • Press Cmd/Ctrl + , to open Settings
  • Click the "Workspace" tab (not "User") at the top
  • Search for "Task Connector"
  • Set the "Documentation Directory" (must be absolute path)

Important Notes:

  • User Settings: Global across all projects (❌ Don't use for documentation path)
  • Workspace Settings: Per-project settings (✅ Use this for documentation path)
  • Each project can have a different documentation directory

API Keys (Secure Storage)

API keys are now stored securely using VS Code's built-in secure storage mechanism. Use the following commands to set them:

  • Claude API Key: Set via Task Connector: Set Claude API Key command
  • ClickUp API Key: Set via Task Connector: Set ClickUp API Key command
  • ClickUp Configuration: Set via Task Connector: Set ClickUp Configuration command
  • Clear All Keys: Use Task Connector: Clear All API Keys command

taskConnector.clickupTaskIdType

  • Type: String (enum)
  • Default: "native"
  • Options: "native" or "custom"
  • Description: Type of task IDs used in your ClickUp workspace
    • native: ClickUp-generated IDs (e.g., 86bnz7vkr)
    • custom: Custom task IDs (e.g., PROJ-123)

taskConnector.createTasksIfNotFound

  • Type: Boolean
  • Default: false (disabled)
  • Description: Controls whether to create new tasks in ClickUp when the task ID is not found
    • Disabled (default): Only existing tasks will be updated. If a task ID is not found, an error is reported and the task is skipped.
    • Enabled: New tasks will be created automatically in ClickUp if they don't exist.

Recommended Usage:

  • Keep this disabled if you want to only update existing ClickUp tasks
  • Enable this if you're creating tasks from scratch and want them automatically created in ClickUp
  • Use custom task IDs in your documentation to match existing ClickUp task IDs

Template Configuration (Command)

  • Access: Run Task Connector: Configure Template from Command Palette
  • Description: Visual drag-and-drop interface to configure template sections
  • Security: Uses structured sections to prevent prompt injection attacks

Usage

Documenting Tasks

Important: Each markdown file should contain only ONE task. The Task ID must be at the very top of the file.

In your markdown files, use the following format:

Task ID: FEAT-123

# Feature Implementation

This task involves implementing a new user authentication system.
The implementation should include login, logout, and session management.

Additional details about the implementation...

## Technical Requirements

- Use JWT tokens for session management
- Implement bcrypt for password hashing

## Testing Requirements

- Unit tests for all authentication flows
- Integration tests for OAuth providers

Optional Tags (place immediately after Task ID):

  • Add [Force] to upload this task every scan (instead of just once)
  • Add [Uploaded] to skip this task during scanning (never upload)
  • Add [Image] to generate a Mermaid architecture diagram
  • You can use both tags together (see Special Tags section below)

Special Tags

Force Upload Tag - [Force]

By default, tasks are only uploaded once. After a successful upload, the extension tracks uploaded task IDs and skips them in subsequent scans. To force a task to be uploaded every time you scan, add the [Force] tag:

Task ID: FEAT-123
[Force]

# Feature Implementation

This task will be uploaded every time you run a scan, even if it was already uploaded before.

Formatting Requirements:

  • ✅ Must be exactly [Force] (capital F, lowercase o-r-c-e)
  • ✅ Must be on its own line immediately after Task ID: (within first 2 lines)
  • ✅ No extra spaces: [Force] not [ Force ] or [Force ]
  • ✅ Nothing else on that line: [Force] not [Force] - update this

Use Cases for [Force] Tag:

  • Tasks that need frequent updates
  • Tasks where you want to sync changes from documentation to ClickUp
  • Testing and development

Upload History Management:

  • View upload history: Automatically tracked in workspace state
  • Clear upload history: Use Task Connector: Clear Upload History command
  • After clearing history, all non-forced tasks will be uploaded again on next scan

Skip Upload Tag - [Uploaded]

To prevent a task from being uploaded or processed during scanning, add the [Uploaded] tag:

Task ID: FEAT-123
[Uploaded]

# Feature Implementation

This task will be skipped during scanning and will never be uploaded to ClickUp.

Formatting Requirements:

  • ✅ Must be exactly [Uploaded] (capital U, lowercase p-l-o-a-d-e-d)
  • ✅ Must be on its own line immediately after Task ID: (within first 2 lines)
  • ✅ No extra spaces: [Uploaded] not [ Uploaded ] or [Uploaded ]
  • ✅ Nothing else on that line: [Uploaded] not [Uploaded] - skip this

Use Cases for [Uploaded] Tag:

  • Tasks that are for documentation only
  • Tasks that are completed and should not be synced
  • Tasks that are drafts or work-in-progress
  • Tasks that should be excluded from project management tools

Important Notes:

  • Tasks with [Uploaded] tag are completely skipped during scanning
  • No AI processing or ClickUp upload will occur for these tasks
  • The extension will show a message indicating the task was skipped
  • This tag takes precedence over [Force] tag (if both are present, [Uploaded] wins)

Image/Diagram Tag - [Image]

To include an architecture diagram in your task documentation, add the [Image] tag. Claude will automatically generate a Mermaid diagram:

Task ID: FEAT-123
[Image]

# Feature Implementation

Implement a new microservices architecture...

Formatting Requirements:

  • ✅ Must be exactly [Image] (capital I, lowercase m-a-g-e)
  • ✅ Must be on its own line immediately after Task ID: (within first 2 lines)
  • ✅ No extra spaces: [Image] not [ Image ] or [Image ]
  • ✅ Works with or without [Force] tag (see below)

Using Both Tags Together

You can use both [Force] and [Image] tags together. Place them on separate lines immediately after the Task ID (order doesn't matter):

Task ID: FEAT-123
[Force]
[Image]

# Feature Implementation

This task will be uploaded every scan AND include an architecture diagram.

OR

Task ID: FEAT-123
[Image]
[Force]

# Feature Implementation

Both orders work - the extension checks the first 2 lines after the Task ID.

Important Formatting Rules:

  • ✅ Tags must be exactly [Force], [Uploaded], or [Image] (case-sensitive)
  • ✅ Tags must be on their own line
  • ✅ Tags must appear within the first 2 lines after Task ID:
  • ✅ No spaces inside brackets: [Force] not [ Force ]
  • ❌ Don't add extra text on the tag line: [Force] - update this won't work

Tag Precedence:

  • [Uploaded] takes precedence over [Force] - if both are present, the task will be skipped
  • [Force] and [Image] can be used together
  • [Uploaded] and [Image] can be used together (task will be skipped but diagram generation is not relevant)

Note: The [Force] and [Uploaded] tags are for internal tracking only and won't appear in the generated documentation sent to ClickUp. The [Image] tag instructs Claude to generate a Mermaid architecture diagram

Commands

Access commands through the Command Palette (Cmd/Ctrl + Shift + P) in any supported editor:

  • Task Connector: Set Documentation Directory (Workspace) - ⭐ Set the documentation path for THIS project only
  • Task Connector: Scan Documentation Folder - Manually scan for tasks and process with Claude
  • Task Connector: Preview Task with Claude - Preview AI-generated task documentation
  • Task Connector: Test Claude Connection - Test Claude API connectivity
  • Task Connector: Test ClickUp Connection - Test ClickUp API connectivity
  • Task Connector: Set Claude API Key - Securely set Claude API key
  • Task Connector: Set ClickUp API Key - Securely set ClickUp API key
  • Task Connector: Set ClickUp Configuration - Set ClickUp Team ID and List ID
  • Task Connector: Clear All API Keys - Clear all stored API keys
  • Task Connector: Clear Upload History - Reset task upload tracking (tasks will be uploaded again)
  • Task Connector: Configure Template - Open visual template configurator with drag-and-drop
  • Task Connector: Open Task Connector Settings - Quick access to settings

Template Configuration

Customize your task documentation sections using the visual configurator:

  • Open the Configurator:

    • Open Command Palette (Cmd/Ctrl + Shift + P)
    • Run Task Connector: Configure Template
    • A visual editor will open with drag-and-drop interface
  • Customize Sections:

    • ☑ Check/uncheck to enable/disable sections
    • 🖱️ Drag sections to reorder using the handle
    • ✏️ Edit section names and descriptions
    • ➕ Add custom sections
    • 🗑️ Delete custom sections
  • Default Sections Available:

    • Context - Why this task is needed, its purpose, and related dependencies
    • Architecture Diagram - Mermaid diagrams for visual architecture (when [Image] tag present)
    • Implementation Details / Design Spec - Technical approach and solution outline
    • Acceptance Criteria - Minimum requirements for task completion
    • How to Test - Testing procedures and validation steps
    • Non-functional requirements - Performance, security, scalability considerations
    • Risks for implementing this feature - Potential challenges and mitigation strategies
  • Security Benefits:

    • 🔒 Structured sections prevent prompt injection attacks
    • ✅ No free-form text input that could override AI instructions
    • 🛡️ Content is sanitized and sandboxed before being sent to Claude

API Setup Requirements

Claude API Key Setup

  • Get your API key from Anthropic Console
  • Open Command Palette (Cmd/Ctrl + Shift + P)
  • Run Task Connector: Set Claude API Key
  • Enter your API key (starts with sk-ant-)
  • Security: Keys are stored in VS Code's secure storage, encrypted and protected

Project Management Tool Setup

Currently supported: ClickUp

  • Get API Key:

    • Go to ClickUp Settings → Apps → API
    • Copy your API key (starts with pk_)
    • Run Task Connector: Set ClickUp API Key command
  • Get Team ID:

    • Open your ClickUp workspace
    • Look at the URL: https://app.clickup.com/12345678/home
    • The Team ID is 12345678
  • Get List ID:

    • Navigate to the specific list where tasks should be created
    • Right-click on the List name in the left sidebar
    • Select "Copy Link" from the context menu
    • The URL will look like: https://app.clickup.com/12345678/v/l/87654321
    • ⚠️ Important: Don't copy the URL from the address bar - always use "Copy Link"
  • Configure:

    • Run Task Connector: Set ClickUp Configuration command
    • Paste the copied List URL when prompted
    • The extension will automatically extract Team ID and List ID

Security

API Key Security

  • ✅ Secure Storage: API keys are stored in VS Code's encrypted secure storage, not in the extension code
  • ✅ OS-Level Encryption: Keys are encrypted using your operating system's keychain/credential store
  • ✅ No Hardcoding: No API keys or secrets are embedded in the source code
  • ✅ User-Specific: Each user must configure their own API keys
  • ✅ Password Input: Keys are entered via secure password input fields
  • ✅ Validation: Input validation ensures proper key format before storage

Best Practices

  • Never commit API keys to version control
  • Use environment variables for development if needed
  • Rotate API keys regularly
  • Use least-privilege access - create API keys with minimal required permissions
  • Monitor API usage through your provider's dashboard

Extension Security

  • The extension code contains no sensitive information
  • API keys are loaded at runtime from VS Code's encrypted secure storage
  • All API calls use HTTPS encryption
  • No data is stored permanently by the extension

How It Works

  • File Monitoring: The extension watches the configured documentation directory for changes
  • Task Detection: When files are created or modified, the extension looks for Task ID: <ID> at the top of each file
  • Content Extraction: Extracts all content after the Task ID line (entire file content minus the Task ID line)
  • AI Processing: Sends the raw task content to Claude Sonnet LLM for comprehensive documentation generation
  • Project Management Upload: Automatically uploads the AI-generated task documentation to your project management tool
  • Real-time Feedback: Shows progress and results in the "Task Connector" output channel with notifications

Troubleshooting

Common Issues

  • No tasks found: Ensure your markdown files contain Task ID: <ID> at the very top of the file
  • File watcher not working: Check that the documentation directory path is correct and accessible
  • Template not formatting: Verify your template has proper section headers in brackets
  • Multiple tasks in one file: Remember: one file = one task. Split multiple tasks into separate files

Editor-Specific Troubleshooting

VS Code

  • Extension Issues: Check the Extensions panel for any error messages
  • Settings: Verify settings are saved in .vscode/settings.json for workspace-specific configuration

Cursor

  • AI Integration: Ensure .cursorrules file is properly formatted and in the project root
  • Settings: Check both User and Workspace settings for conflicts

Other Editors

  • Extension Support: Verify your editor supports VS Code extensions
  • Settings: Check if settings are properly saved and accessible

Support

For issues and feature requests, please contact the development team. [zameerm@99x.io]

Keywords

ai

FAQs

Package last updated on 31 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts