add-platform
Adds a new AI platform to DeepWork with adapter, templates, and tests. Use when integrating Cursor, Windsurf, or other AI coding tools.
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
add_platform
Multi-step workflow: Adds a new AI platform to DeepWork with adapter, templates, and tests. Use when integrating Cursor, Windsurf, or other AI coding tools.
CRITICAL: Always invoke steps using the Skill tool. Never copy/paste step instructions directly.
A workflow for adding support for a new AI platform (like Cursor, Windsurf, etc.) to DeepWork.
This job guides you through four phases:
- Research: Capture the platform's CLI configuration and hooks system documentation
- Add Capabilities: Update the job schema and adapters with any new hook events
- Implement: Create the platform adapter, templates, tests (100% coverage), and README updates
- Verify: Ensure installation works correctly and produces expected files
The workflow ensures consistency across all supported platforms and maintains comprehensive test coverage for new functionality.
Important Notes:
- Only hooks available on slash command definitions should be captured
- Each existing adapter must be updated when new hooks are added (typically with null values)
- Tests must achieve 100% coverage for any new functionality
- Installation verification confirms the platform integrates correctly with existing jobs
Available Steps
- research - Captures CLI configuration and hooks system documentation for the new platform. Use when starting platform integration.
- add_capabilities - Updates job schema and adapters with any new hook events the platform supports. Use after research to extend DeepWork's hook system. (requires: research)
- implement - Creates platform adapter, templates, tests with 100% coverage, and README documentation. Use after adding hook capabilities. (requires: research, add_capabilities)
- verify - Sets up platform directories and verifies deepwork install works correctly. Use after implementation to confirm integration. (requires: implement)
Execution Instructions
Step 1: Analyze Intent
Parse any text following /add_platform to determine user intent:
- "research" or related terms → start at
add_platform.research - "add_capabilities" or related terms → start at
add_platform.add_capabilities - "implement" or related terms → start at
add_platform.implement - "verify" or related terms → start at
add_platform.verify
Step 2: Invoke Starting Step
Use the Skill tool to invoke the identified starting step:
Skill tool: add_platform.research
Step 3: Continue Workflow Automatically
After each step completes:
- Check if there's a next step in the sequence
- Invoke the next step using the Skill tool
- Repeat until workflow is complete or user intervenes
Handling Ambiguous Intent
If user intent is unclear, use AskUserQuestion to clarify:
- Present available steps as numbered options
- Let user select the starting point
Guardrails
- Do NOT copy/paste step instructions directly; always use the Skill tool to invoke steps
- Do NOT skip steps in the workflow unless the user explicitly requests it
- Do NOT proceed to the next step if the current step's outputs are incomplete
- Do NOT make assumptions about user intent; ask for clarification when ambiguous
Context Files
- Job definition:
.deepwork/jobs/add_platform/job.yml
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-01-20
- Mise à jour de l’index
- 2026-02-05
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!