From ctx
Create a single task file from a brief description, independent of any epic. Triggers on "create task", "new task", "quick task", "add a task for", "I need to fix/add/update X". Use for one-off tasks, bug fixes, or small work that doesn't warrant a full epic. For epic-based tasks, use /ctx:breakdown.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ctx:create-taskThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate a standalone task file from brief user input. Unlike `/ctx:breakdown` which decomposes epics or investigations, this skill creates **individual tasks directly** without requiring an epic or investigation.
Generate a standalone task file from brief user input. Unlike /ctx:breakdown which decomposes epics or investigations, this skill creates individual tasks directly without requiring an epic or investigation.
Scope: This skill strictly focuses on scoping and planning. Task creation only—implementation happens when user explicitly requests "Work on this task" or uses /ctx:task [NNN].
See ../../shared/subagents.md for available subagents.
This skill uses:
When to use Explore:
$ARGUMENTS can be:
/ctx:create-task "Fix slow dev server startup"/ctx:create-task "Investigate performance bottleneck in API"/ctx:create-task "Add rate limiting to auth endpoint"/ctx:create-task "Login form validation not working"See ../../shared/conventions/error-handling.md for general error handling rules.
See ../../shared/conventions/file-contracts.md for required output sections.
Skill-specific errors:
.context/tasks/ doesn't exist: Suggest running /ctx:context-init firstprogress.md doesn't exist: Create it from template after task creationtasks/ and tasks-done/ for highest numberUse this skill when:
Do NOT use this skill when:
/ctx:breakdown instead)/ctx:breakdown instead)/ctx:epic then /ctx:breakdown instead)If no description provided, ask:
What task would you like to create?
Examples:
- "Fix slow dev server performance"
- "Add input validation to contact form"
- "Investigate database query performance"
- "Update dependencies to latest versions"
If description is too brief or ambiguous: Use AskUserQuestion to clarify:
Example clarification questions:
I need more details to create an effective task:
1. **Scope**: Is this a bug fix, feature, investigation, or refactor?
2. **Affected Area**: Which part of the codebase (landing page, API, shared libs)?
3. **Success Criteria**: How will we know this is complete?
4. **Priority**: Is this blocking other work?
Read relevant context files:
Check task numbering:
.context/tasks/ to determine next task number.context/tasks-done/ for highest completed numberRead project patterns:
.context/patterns-architecture.md for coding standards.context/patterns-design-system.md if UI-related.context/testing-guide.md for test requirementsCheck progress:
.context/progress.md to understand current project stateAnalyze codebase (if needed): Use Explore subagent to:
Example Explore prompt:
Find the landing page development server configuration in this Nx monorepo.
Look for:
1. apps/landing/project.json - build/serve configuration
2. Any vite.config.ts or webpack config
3. nx.json - cache and task runner settings
4. tsconfig files that might affect build time
Report: file paths and relevant configuration snippets
Create a comprehensive task following the standard template:
# Task: [Clear, Actionable Title]
## Status: pending
## Goal
One sentence describing the desired outcome.
## Context
Why this task matters, background information, how it relates to the project.
Include any logs, error messages, or evidence if applicable.
## Acceptance Criteria
- [ ] Specific, measurable criterion 1
- [ ] Specific, measurable criterion 2
- [ ] Specific, measurable criterion 3
- [ ] Tests pass (if applicable)
- [ ] Documentation updated (if applicable)
## Technical Notes
Implementation hints, patterns to follow, edge cases to consider.
Reference patterns from `.context/patterns-architecture.md` or other context files.
Include relevant context like:
- Affected configuration files
- Current behavior vs expected behavior
- Potential approaches (high-level)
- Patterns to follow from project standards
## Files to Touch
- path/to/file1.ts
- path/to/file2.ts
- path/to/config.json
## Dependencies
None (or list specific task IDs if they exist)
## Complexity: S | M | L | XL
**Reasoning:** [Why this complexity estimate]
## Progress Log
Complexity Guidelines:
Show the task content to the user for review:
## Task Draft Ready
**Title:** [task title]
**Complexity:** [S/M/L/XL]
**Files Affected:** [count] files
### Summary
[Brief summary of what the task will accomplish]
### Acceptance Criteria
- [ ] Criterion 1
- [ ] Criterion 2
- [ ] Criterion 3
---
[Show full task content in expandable section or truncated preview]
**Would you like to:**
1. ✅ Create this task as-is
2. ✏️ Modify something (I can adjust based on your feedback)
3. ➕ Add more details or context
4. ❌ Cancel
If user approves:
Determine task number:
.context/tasks/ and .context/tasks-done/Create filename:
.context/tasks/[NNN]-[kebab-case-name].md
Write task file: Use Write tool to create the task file with full content
Update progress.md: Add task to "Pending" section:
## Pending
- [ ] [NNN]-[name] - [Brief description] (standalone)
Note: Use "(standalone)" to distinguish from epic-based tasks
Provide confirmation summary:
## ✅ Task Created Successfully
**Task Number:** [NNN]
**File:** `.context/tasks/[NNN]-[name].md`
**Complexity:** [S/M/L/XL]
**Status:** pending
### 📋 Task Summary
[One-sentence summary of what needs to be accomplished]
### 🎯 Next Steps
**To start working on this task:**
- Say: "Work on this task" or "Start task [NNN]"
- Or use: `/ctx:task [NNN]`
**Other options:**
- View all pending tasks: `/ctx:progress`
- Create more tasks: `/ctx:create-task [description]`
**Note:** This is a standalone task (not part of an epic). If you need related tasks, consider creating an epic with `/ctx:epic` first.
For full quality standards, examples, self-verification checklist, and skill integration table, read references/quality-standards.md.
Key points:
/ctx:task NNN after creation.If ${CLAUDE_PLUGIN_DATA} is set and config logging.enabled is true:
${CLAUDE_PLUGIN_DATA}/ctx-logs/execution.jsonlts (ISO-8601), skill ("ctx:"), project (cwd basename), args, outcome ("success"|"failure"|"partial"|"corrected"), failure_type, failure_detailshared/conventions/logging-convention.md for schemanpx claudepluginhub tdp1999/claude-code-ctx --plugin ctxCreates tasks or sections in TASKS.md to track project work. Auto-triggers on phrases like 'add a task', 'todo', 'let's plan', or untracked future work.
Task creation for issue trackers — structured descriptions, acceptance criteria, field categorization, and tracker linking. Invoke whenever task involves creating work items in any issue tracker — bugs, features, stories, tasks, or any tracked work from standalone requests or decomposition documents.
Creates taskmd task files via CLI: parses user input for title, template, flags like priority/tags/group; fills objective, subtasks, criteria; validates output. Use when adding project tasks.