Quick planning - minimal research, fast task creation
Fast task creation with minimal research. Use when you know what needs to be done and want quick results.
/plugin marketplace add duongdev/ccpm/plugin install ccpm@duongdev-ccpm-marketplace<title> [project]Fast task creation with minimal research. Use when you know what needs to be done.
# Quick create a task
/ccpm:plan:quick "Fix login button alignment"
# With project
/ccpm:plan:quick "Add dark mode toggle" my-app
| Aspect | /ccpm:plan | /ccpm:plan:quick |
|---|---|---|
| Codebase analysis | Deep (5-10 files) | Shallow (2-3 files) |
| External research | Yes (Jira, Confluence) | No |
| Checklist generation | Detailed (10+ items) | Brief (3-5 items) |
| Visual context | Full Figma extraction | Skip |
| Estimated time | 30-60 seconds | 5-10 seconds |
const title = args[0];
const project = args[1];
if (!title) {
return error('Usage: /ccpm:plan:quick "<title>" [project]');
}
console.log('ā” Quick Planning Mode');
console.log(`š Task: ${title}`);
// Minimal codebase analysis - just get key files
const keywords = title.toLowerCase().split(/\s+/).filter(w => w.length > 3);
const result = await Task({
subagent_type: 'Explore',
model: 'haiku', // Use fastest model
prompt: `
Quick scan for: ${title}
Find ONLY:
1. 2-3 most relevant files
2. Main pattern to follow
3. Any obvious blockers
Keywords: ${keywords.join(', ')}
Return in <50 words.
`
});
console.log('ā
Quick scan complete');
const checklist = generateQuickChecklist(title, result);
// Simple heuristic-based checklist
function generateQuickChecklist(title, context) {
const items = [];
const titleLower = title.toLowerCase();
// Always include
items.push('Implement core functionality');
items.push('Test changes locally');
// Context-specific
if (titleLower.includes('fix') || titleLower.includes('bug')) {
items.unshift('Identify root cause');
items.push('Add regression test');
} else if (titleLower.includes('add') || titleLower.includes('create')) {
items.unshift('Design approach');
items.push('Update documentation');
} else if (titleLower.includes('refactor') || titleLower.includes('improve')) {
items.unshift('Identify affected areas');
items.push('Verify no regressions');
}
items.push('Code review');
return items;
}
const description = `
## Quick Task
${title}
## Context
${result.summary || 'Minimal analysis - created via quick planning mode.'}
## Implementation Checklist
${checklist.map(item => `- [ ] ${item}`).join('\n')}
---
*Created via /ccpm:plan:quick*
`;
// Use Linear subagent
const issueResult = await Task({
subagent_type: 'ccpm:linear-operations',
prompt: `operation: create_issue
params:
team: "${project || 'Personal'}"
title: "${title}"
description: |
${description.split('\n').map(l => ' ' + l).join('\n')}
labels: ["quick-plan"]
context:
command: "plan:quick"
`
});
console.log(`ā
Created: ${issueResult.issue.identifier}`);
console.log(`š ${issueResult.issue.url}`);
console.log('\nš” Next: /ccpm:work ' + issueResult.issue.identifier);
console.log(' Or use /ccpm:plan ' + issueResult.issue.identifier + ' for deeper analysis');
ā Good for:
ā Use /ccpm:plan instead for:
ā” Quick Planning Mode
š Task: Fix login button alignment
ā
Quick scan complete
Files: src/components/LoginForm.tsx, src/styles/auth.css
Pattern: Tailwind flexbox
ā
Created: PSN-42 - Fix login button alignment
š https://linear.app/team/issue/PSN-42
š” Next: /ccpm:work PSN-42
Or use /ccpm:plan PSN-42 for deeper analysis