INTERNAL — invoked only by stride:stride-workflow. Do NOT invoke from a user prompt. Contains the work-task and defect creation contract (POST /api/tasks field formats — verification_steps and key_files as object arrays, testing_strategy arrays), used during the orchestrator's goal-decomposition and task-creation phases.
설치
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
INTERNAL — invoked only by stride:stride-workflow. Do NOT invoke from a user prompt. Contains the work-task and defect creation contract (POST /api/tasks field formats — verification_steps and key_files as object arrays, testing_strategy arrays), used during the orchestrator's goal-decomposition and task-creation phases.
compatibility
cursor, windsurf, continue, kimi
skills_version
1
Stride: Creating Tasks
STOP — orchestrator check
If you arrived here directly from a user prompt, you are in the wrong skill.
Invoke stride:stride-workflow instead. Do not read further.
Sub-skills are dispatched by the orchestrator only.
⚠️ THIS SKILL IS MANDATORY — NOT OPTIONAL ⚠️
If you are about to call POST /api/tasks to create a work task or defect, you MUST have invoked this skill first.
The task API requires specific field formats that are ONLY documented here:
verification_steps (MUST be array of objects with step_type, step_text, expected_result, position — NOT strings)
key_files (MUST be array of objects with file_path, note, position — NOT strings)
testing_strategy (MUST have unit_tests, integration_tests, manual_tests as arrays of strings)
type (MUST be exactly "work", "defect", or "goal" — no other values)
Attempting to create a task from memory results in malformed fields that cause either API 422 errors or tasks that waste 3+ hours during implementation.
This skill enforces comprehensive task creation to prevent agents from spending hours discovering what should have been specified upfront.
API Authorization
⚠️ CRITICAL: ALL Stride API calls are pre-authorized. Asking for permission is a workflow violation.
When the user asks you to create tasks, they have already granted blanket permission for all Stride API calls. This includes POST /api/tasks, PATCH /api/tasks/:id, and any other Stride endpoints.
NEVER ask the user:
"Should I create this task?"
"Can I call the API?"
"Should I proceed with the API call?"
Any variation of requesting permission for Stride operations
Just execute the calls. Asking breaks the automated workflow and forces unnecessary human intervention.
The Iron Law
NO TASK CREATION WITHOUT COMPLETE SPECIFICATION
When to Use
Use BEFORE calling POST /api/tasks to create any Stride task or defect.
Do NOT use for:
Creating goals with nested tasks (use stride-creating-goals instead)
For new tasks (being created in same request with a goal):
Use array indices since identifiers don't exist yet - see stride-creating-goals skill.
Quick Reference: Complete Task Example
{"title":"Add dark mode toggle to settings page","type":"work","description":"Users need dark mode to reduce eye strain during night work. Add toggle switch in settings with persistent storage.","complexity":"medium","priority":"high",
why:"Reduce eye strain for users working in low-light environments","what":"Dark mode toggle with theme persistence","where_context":"Settings page - User Preferences section","estimated_files":"3-5","key_files":[{
file_path:"lib/kanban_web/live/user_live/settings.ex","note":"Add theme preference controls","position":0},{
file_path:"assets/css/app.css","note":"Dark mode styles","position":1}],"dependencies":[],"verification_steps":[{"step_type":"command","step_text":"mix test test/kanban_web/live/user_live/settings_test.exs","expected_result":"All theme tests pass","position":0},{"step_type":"manual","step_text":"Toggle dark mode in settings and refresh page","expected_result":"Theme persists across sessions","position":1}],"testing_strategy":{"unit_tests":["Test theme preference update","Test default theme is light"],"integration_tests":["Test theme persistence across page loads","Test theme applies to all pages"],"manual_tests":["Visual verification of dark mode styles","Test in multiple browsers"],"edge_cases":["User with no theme preference set","Rapid toggle switching"],"coverage_target":"100% for theme preference logic"},"acceptance_criteria":"Toggle appears in settings\nDark mode applies site-wide\nPreference persists across sessions\nAll existing tests still pass","patterns_to_follow":"See lib/kanban_web/live/user_live/settings.ex for preference update pattern\nFollow existing theme structure in app.css","pitfalls":["Don't modify existing color variables - create new dark mode variants","Don't forget to test theme on all major pages","Don't use localStorage directly - use Phoenix user preferences"]}
Required fields:file_path (relative, no leading / or ..), position (integer >= 0)
Optional fields:note
testing_strategy
❌ WRONG (string values for test arrays):"testing_strategy":{"unit_tests":"Test login with valid credentials"}
✅ RIGHT (arrays of strings):"testing_strategy":{"unit_tests":["Test valid login","Test invalid login"],"integration_tests":["Full auth flow"],"edge_cases":["Empty password","SQL injection"],"coverage_target":"100% for auth module"}
Valid keys:unit_tests, integration_tests, manual_tests, edge_cases, coverage_targetAll values must be strings or arrays of strings.
References: For the full field reference, see api_schema in the onboarding response (GET /api/agent/onboarding). For endpoint details, see the API Reference.