AI Assistant Setup
Configure your AI assistant to work seamlessly with BackMark across any platform.
Overview
BackMark works with any AI assistant that can execute terminal commands. While Claude Code has native MCP integration, you can use BackMark effectively with:
🤖 ChatGPT
Via Custom Instructions
💬 Claude
Via Projects or MCP
✏️ Cursor
Via .cursorrules
🔧 GitHub Copilot
Via workspace instructions
🚀 Any LLM
Via system prompts
🎯 Custom Agents
Via agent configuration
Universal System Prompt
BackMark AI Assistant Instructions
Use this prompt as a base for configuring any AI assistant to work with BackMark:
📋 Copy this prompt to your AI assistant configuration:
# BackMark Task Management Assistant
You are an AI assistant working with BackMark, a markdown-native task management CLI designed for human-AI collaboration (vibe coding).
## BackMark Workspace Structure
BackMark provides you with 4 dedicated AI spaces for documentation:
1. **ai_plan/** - Your planning and task breakdown
2. **ai_notes/** - Your development notes and decisions
3. **ai_documentation/** - Technical documentation you write
4. **ai_review/** - Your self-review and quality checks
## Core Workflow
### When Starting a Task:
1. Create or view the task: `backmark task view `
2. Write your plan: `backmark task ai-plan "Your plan..."`
3. Update task status: `backmark task edit --status "In Progress"`
### During Development:
1. Document decisions: `backmark task ai-notes "Decision log..."`
2. Add technical docs: `backmark task ai-doc "Architecture notes..."`
3. Keep notes updated with timestamps
### Before Completion:
1. Self-review: `backmark task ai-review "Review checklist..."`
2. Verify acceptance criteria
3. Update status: `backmark task edit --status "Done"`
## Essential Commands
- `backmark task list --status "To Do"` - View pending tasks
- `backmark task view --ai-all` - View all AI documentation
- `backmark overview` - Project statistics
- `backmark board show` - Interactive Kanban board
- `backmark search ""` - Fuzzy search tasks
## AI Best Practices
1. **Always document your work** in the AI spaces
2. **Update task status** as you progress
3. **Write clear AI plans** before implementing
4. **Self-review** before marking tasks done
5. **Use timestamps** in ai_notes for chronological clarity
6. **Break down complex tasks** using subtasks
7. **Document architectural decisions** in ai_documentation
## Task Creation Pattern
When asked to implement something:
```bash
# Create the task
backmark task create "Feature name" \\
-d "Detailed description" \\
-p high \\
-a Claude \\
-l "feature,backend"
# Write your plan
backmark task ai-plan "
1. Research existing patterns
2. Design solution
3. Implement core logic
4. Add tests
5. Documentation
"
# Start work
backmark task edit --status "In Progress"
```
## Collaboration Guidelines
- **Assign tasks**: Use `-a Claude` or `-a @username`
- **Set priorities**: low, medium, high, critical
- **Use labels**: Tag tasks for organization
- **Dependencies**: Link related tasks
- **Milestones**: Group tasks by version/sprint
## Quality Checks
Before completing a task, verify:
- ✅ All acceptance criteria met
- ✅ AI review completed
- ✅ Tests passing (if applicable)
- ✅ Documentation written
- ✅ Code reviewed (self-review in ai_review)
## Remember
BackMark is YOUR workspace. Use it to:
- Track what you're working on
- Document your decisions
- Plan your approach
- Review your work
- Maintain context across sessions
The human can always see your AI documentation, so write clearly and maintain transparency.
Platform-Specific Setup
🤖 Claude Code (MCP Integration)
Claude Code has native BackMark integration via MCP.
✨ Best Option: Native integration with direct BackMark commands.
See the MCP Integration page for complete setup instructions.
💬 ChatGPT (Custom Instructions)
Configure ChatGPT to work with BackMark via Custom Instructions.
Setup Steps:
- Open ChatGPT Settings → Personalization → Custom Instructions
- Paste the Universal System Prompt above
- Add project-specific context if needed
Usage:
ChatGPT will need terminal access to run BackMark commands. Use ChatGPT in environments where it can execute shell commands (like code editors with ChatGPT integration).
⚠️ Limitation: Web ChatGPT cannot execute terminal commands. Use ChatGPT in VS Code, Cursor, or other integrated environments.
✏️ Cursor (.cursorrules)
Configure Cursor's AI to use BackMark automatically.
Setup Steps:
- Create
.cursorrulesfile in your project root - Add BackMark instructions to the file
- Cursor's AI will automatically follow these rules
Example .cursorrules:
# Task Management with BackMark
This project uses BackMark for task management.
## AI Workflow
Before starting work:
- Check current tasks: `backmark task list --status "To Do"`
- View task details: `backmark task view --ai-all`
- Update status: `backmark task edit --status "In Progress"`
During development:
- Document in ai_plan/, ai_notes/, ai_documentation/
- Use BackMark commands to track progress
Before completion:
- Write ai_review
- Verify acceptance criteria
- Mark as Done
[Include the Universal System Prompt here]
🔧 GitHub Copilot
Configure GitHub Copilot to be aware of BackMark.
Setup Steps:
- Create
.github/copilot-instructions.mdin your repo - Add BackMark workflow instructions
- Copilot will use these as context
Example copilot-instructions.md:
# GitHub Copilot Instructions
## Task Management
This project uses BackMark CLI for task management.
Key commands:
- `backmark task list` - View tasks
- `backmark task view ` - Task details
- `backmark task edit --status "Status"` - Update
AI Documentation Spaces:
- ai_plan/ - Planning
- ai_notes/ - Development notes
- ai_documentation/ - Technical docs
- ai_review/ - Quality checks
Always document work in these spaces.
🚀 Generic LLM / Custom Agent
For any LLM or custom agent platform:
Implementation Options:
- System Prompt: Include the Universal System Prompt in the agent's system/initial prompt
- Context Files: Add BackMark instructions to a context file the agent reads
- Function Calling: Wrap BackMark commands as function calls for the agent
- RAG Integration: Include BackMark docs in the agent's knowledge base
Example Function Calling Wrapper:
// Example for LangChain or similar frameworks
const backmarkTools = [
{
name: "list_tasks",
description: "List BackMark tasks with optional filters",
execute: (filters) => execSync(`backmark task list ${filters}`)
},
{
name: "view_task",
description: "View detailed task information",
execute: (id) => execSync(`backmark task view ${id} --ai-all`)
},
{
name: "update_task_status",
description: "Update task status",
execute: (id, status) => execSync(`backmark task edit ${id} --status "${status}"`)
},
// ... more tools
];
Ready-Made Agent Examples
📦 Pre-Configured Agent Definitions
We provide production-ready agent configurations that you can use immediately. These agents follow best practices and include complete workflow instructions.
🎯 Quick Start: Download and use these agent definitions directly in your projects.
Available Agent Examples:
🤖 Claude Agent Configuration
Complete agent definition for Claude with BackMark integration.
Features:
- ✅ Full BackMark command reference
- ✅ Task templates integration (feature, bugfix, refactoring, research)
- ✅ AI automation commands (ai-breakdown, ai-estimate, ai-review-ready)
- ✅ Complete workflow protocol (before/during/after implementation)
- ✅ Best practices and error handling
- ✅ Integration patterns with your development workflow
Download:
assets/agents/claude.md
Usage:
- Download the
claude.mdfile - Place it in your project (e.g.,
.claude/agents/or project docs) - Reference it when configuring Claude Code or Claude Projects
- Customize with project-specific details if needed
What's Included:
- 🎯 Role definition as BackMark task manager
- 📋 Complete command reference with syntax
- 🔄 Workflow protocol (3 phases: before/during/after)
- 🎨 Task templates guide (feature, bugfix, refactoring, research)
- 🤖 AI automation commands for smart task management
- ✅ Best practices for descriptive titles, granular notes, dependencies
- 📊 Example session showing complete task lifecycle
- ⚠️ Error handling for common issues
💡 Pro Tip: This agent configuration is production-tested and follows BackMark best practices. It's designed to work immediately without modification, but you can customize it for your specific workflow.
🔜 More Agent Examples Coming Soon:
- 🤖 ChatGPT Custom Instructions (optimized for GPT-4)
- ✏️ Cursor Agent (.cursorrules format)
- 🔧 GitHub Copilot Configuration
- 🚀 Generic LLM Agent (platform-agnostic)
📢 Contribute Your Agent: If you've created a BackMark agent configuration for another platform, consider contributing it to our repository!
AI Collaboration Best Practices
✅ Do's
- ✅ Always check task status before starting work
- ✅ Document your plan in ai_plan before coding
- ✅ Update ai_notes with important decisions
- ✅ Write ai_review before marking tasks done
- ✅ Use descriptive task titles and descriptions
- ✅ Set appropriate priorities
- ✅ Link related tasks with dependencies
- ✅ Keep status updated as you progress
❌ Don'ts
- ❌ Don't skip writing AI documentation
- ❌ Don't mark tasks done without ai_review
- ❌ Don't forget to update task status
- ❌ Don't create duplicate tasks (search first)
- ❌ Don't leave tasks "In Progress" indefinitely
- ❌ Don't ignore acceptance criteria
- ❌ Don't work on tasks without understanding context
- ❌ Don't forget to check dependencies
Example AI Workflow
Complete Task Implementation Example
Testing Your Setup
Verify Your AI Assistant Configuration
Test that your AI assistant is properly configured for BackMark:
Test Checklist:
-
Can execute BackMark commands:
Ask: "List all BackMark tasks" Expected: AI runs `backmark task list` -
Documents in AI spaces:
Ask: "Start working on task #1" Expected: AI writes ai_plan and updates status -
Follows workflow:
Ask: "Complete task #1" Expected: AI writes ai_review before marking done -
Maintains context:
Ask: "What tasks am I working on?" Expected: AI checks task list and provides status
✅ Setup Complete: If all tests pass, your AI assistant is ready to use BackMark!
Troubleshooting
Common Issues
| Issue | Solution |
|---|---|
| AI doesn't use BackMark commands | Ensure system prompt is properly configured and AI has terminal access |
| AI forgets to document in AI spaces | Remind AI explicitly, or add stronger emphasis in system prompt |
| Commands not found | Verify BackMark is installed globally: npm install -g @grazulex/backmark |
| AI doesn't follow workflow | Refine system prompt with more specific workflow steps |
| Context loss between sessions | Use backmark task view --ai-all to restore context |
Ready to Start Vibe Coding?
Your AI assistant is now configured for BackMark. Start collaborating!