Skip to content
Back to skills

Create Task

ASecurity

This skill should be used when creating a task in the active tracker - "create task", "create issue", "bd create", "new task", "add task", "add issue". Ensures all required fields are provided, enforces English-only task content, and suggests epic labels. Triggers on any task creation in any context - commands, planning, or direct conversation.

  • 17 stars
  • 0 votes
  • 1 copy
  • 16 views
  • Added May 28, 2026
toolsgobashgitapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned December 5, 2026

npx -y skills add restarter/lets-workflow --skill create-task --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Create Task?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Create Task
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/restarter-create-task/badge)](https://www.skillsdirectory.com/skills/restarter-create-task)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: create-task
description: This skill should be used when creating a task in the active tracker - "create task", "create issue", "bd create", "new task", "add task", "add issue". Ensures all required fields are provided, enforces English-only task content, and suggests epic labels. Triggers on any task creation in any context - commands, planning, or direct conversation.
---

# Create Task

Standardized task creation that enforces required fields and suggests labels. Fires in any context where a task is being created - inside commands, during planning, or in direct conversation.

> **IMPORTANT:** When a step says ask, load the deferred tool it names (e.g. `AskUserQuestion`) and call it as specified - the step's own level branch decides whether it asks at all. Never skip a call a step makes, never substitute a default answer of your own.

## IMPORTANT: Language

**All task content MUST be in English regardless of conversation language.** If the user is speaking another language, translate to English before creating the task.

Applies to every field:
- `title`
- `description` (problem statement, acceptance criteria, examples)
- `labels`
- Any subsequent `comment-add` / `set-field` on this task

**Why:** tasks are searched, filtered, and cross-referenced across the team and external systems (GitHub, Linear). Mixed-language tasks break tracker `search` and confuse non-native-language readers.

## Why This Exists

Tasks created without labels, priority, or description become orphaned and hard to find. This skill ensures every task has full metadata from the start.

## Required Fields

Every task `create` MUST include every field the active adapter's `create` declares in `accepts:` - and nothing else:

| Field | Required | Rules |
|------|----------|-------|
| `title` | Always | Imperative mood, clear action. Under 80 chars |
| `type` | If declared | One of: `task`, `bug`, `feature`, `epic` |
| `priority` | If declared | 0-4 (0=critical, 1=high, 2=medium, 3=low, 4=backlog) |
| `description` | Always | Why this task exists + acceptance criteria |
| `labels` | If declared | At least one `epic:<name>` label for grouping |

**"If declared" means:** read the active adapter's `create` binding cell. Ask for a field only when its `accepts:` list carries it. When it does not, either use the rename the adapter declares (`priority→severity` means ask for priority, send severity) or say in one line that this tracker has no such field, and move on. Never collect a value and drop it - the user has no way to tell that happened.

## Label Selection

**Run this whole section only if the adapter's `create` declares `labels` in `accepts:`.** The `label` verb being supported is a different question - a tracker can carry labels on a task and still not take them at creation time, and walking the user through discovery and a pick only to drop the answer is the exact failure this skill's Required Fields section forbids.

Labels are project-specific. ALWAYS discover them dynamically - never hardcode.

### Step L1: Discover Existing Labels

**Tracker protocol:** `Skill(skill: "lets:protocol-tracker")` before this and any later `lets-tracker` block here, unless its text is in your current context.

```lets-tracker
label   # list all labels; filter the result for `epic:*`. On a tracker that marks `label` absent, skip label discovery (no epic suggestions - propose a label by hand).
```

If no labels found, also scan recent tasks for `epic:*` naming conventions via `list-by-status`.

### Step L2: Present Labels to User

Show discovered labels and ask which fits:

> Found these epic labels in the project:
> - `epic:features` - (N open tasks)
> - `epic:quality` - (N open tasks)
> - ...
>
> Which label fits? Or suggest a new one.

### Step L3: New Label Flow

If no existing label fits:
1. Propose a new `epic:<name>` label with a short explanation of the grouping
2. Decide whether an epic task fits this theme (the `create` verb, `type=epic`, `labels="epic:<name>"`)
3. `{LETS_GATES}` is `strict` -> ask whether to create the epic, and wait for user approval before creating either the label or the epic; otherwise -> use the proposed label (and create the epic when one fits, through this skill's flow) and name both in the final report

## Creation Flow

### Step 1: Gather Information

If the user provides a clear description (title + context), proceed directly. Otherwise ask concisely:

> What's the task? (title, what problem it solves)

Do NOT ask for each field separately - infer type, priority, and labels from context.

### Step 2: Compose Fields

From the user's input, derive only the fields the adapter's `create` declares in `accepts:` - skip the rest without asking:

1. **Title** - imperative mood, specific action (e.g., "Add retry logic to API client")
2. **Type** - infer from context: bug (something broken), feature (new capability), task (chore/refactor), epic (theme)
3. **Priority** - infer from urgency. Default to P2 unless context suggests otherwise
4. **Description** - why + acceptance criteria. Write as markdown with clear structure
5. **Labels** - run Label Selection flow (above). Present discovered labels, let user choose or create new

### Step 2.5: Duplicate check

Runs at every level; its one question is `input`. **Tracker protocol:** `Skill(skill: "lets:protocol-tracker")` first, unless its text is in your current context.

```lets-tracker
search query="<distinctive title keywords>"   # OPTIONAL verb; returns matching tasks
```

Judge each result from its title + description: a likely duplicate is the same problem or the same deliverable.
- Likely duplicate -> show it as **Title** (`id`) and ask - `input`, it asks at every level (only the owner knows whether it is the same work):

Ask: input
```
AskUserQuestion(
  questions=[{
    question: "A likely duplicate exists. Create this task anyway?",
    header: "Duplicate",
    options: [
      { label: "Use the existing one", description: "Don't create; continue with the existing task" },
      { label: "Create anyway", description: "Create the new task as composed" }
    ],
    multiSelect: false
  }]
)
```

  "Use the existing one" -> stop and report the existing task; "Create anyway" -> Step 3.
- No likely duplicate -> Step 3.
- The adapter marks `search` absent -> print `No duplicate check ran - the tracker has no search` and go to Step 3; at `standard` / `minimal` the final report repeats that the task was created unguarded - only when `create` actually created one (a no-op `create`, as on the `none` adapter, created nothing to guard).

### Step 3: Present (approval at `strict`)

Show the full task `create` before executing. The multi-line description is written to a temp file and passed as `description-file=` (`lets:protocol-tracker` "Bodies"); the short fields go inline:

```bash
LETS_PROJECT_ROOT=$(git rev-parse --show-toplevel); mkdir -p "$LETS_PROJECT_ROOT/.lets/cache"
# Branch-suffixed so parallel worktrees (shared .lets/ symlink) don't clobber each other's draft.
BRANCH_SLUG=$(git branch --show-current | tr '/' '-')
cat > "$LETS_PROJECT_ROOT/.lets/cache/new-task-desc-${BRANCH_SLUG}.md" <<'EOF'
## Problem
API calls fail silently on network errors.

## Acceptance criteria
- Retry up to 3 times with exponential backoff
- Log each retry attempt
- Surface final error to user
EOF
```

The example below is shaped for an adapter that declares all five fields (beads does). On one that declares fewer, send fewer - the declaration decides, not this example:

```lets-tracker
create title="Add retry logic to API client" type=feature priority=2 labels="epic:quality" description-file=.lets/cache/new-task-desc-<branch-slug>.md
```

Then the gate, by level:
- `{LETS_GATES}` is `standard` or `minimal` (or missing - reads as `standard`) -> no question: go to Step 4; its report is `Created **{title}** (`{id}`)` with the chosen type, priority and labels.
- `{LETS_GATES}` is `strict` -> ask for explicit confirmation:

Ask: gate tracker-write
```
AskUserQuestion(
  questions=[{
    question: "Create this task?",
    header: "Create Task",
    options: [
      { label: "Create", description: "Create the task with the fields shown above" },
      { label: "Cancel", description: "Don't create — return to revise fields" }
    ],
    multiSelect: false
  }]
)
```

Handle response:
- **Create** → proceed to Step 4 (Execute).
- **Cancel** → ask "Which field needs revising — title, description, labels, type, or priority?" Loop back to Step 2 (Compose Fields) with the user's update, then re-show the proposed command and ask again.

### Step 4: Execute

Run the `create` verb with all fields. Report `Created **{title}** (`{id}`)` with the chosen type, priority and labels (plus the unguarded note when Step 2.5 could not search and a task was created). A `create` the adapter binds to a no-op creates nothing: say so, and report no `Created` line.

## Bulk Creation

When creating multiple tasks (e.g., during planning):

- Run Step 2.5 for each task; present all tasks as a table first (likely duplicates marked)
- `{LETS_GATES}` is `strict` -> wait for approval, then create; otherwise -> create right after the table (a likely duplicate still asks, per Step 2.5). Create with sequential `create` calls or subagents
- Every task still needs all required fields - no shortcuts

## Anti-patterns

- **Never** create a task without `labels` *when the adapter declares `labels`* - on an adapter that does not, say so once and proceed
- **Never** send a field the adapter's `accepts:` does not list, and never silently omit one it does
- **Never** use a parent/child hierarchy (beads `--parent` - causes merge collisions in multi-user setup)
- At `strict`, never create without the Step 3 approval; at `standard` / `minimal` the duplicate search is the guard
- **Never** use priority words ("high", "medium") - use numbers 0-4

## Integration

User-facing skill. Auto-triggers on "create task", "new task", "bd create".
Commands that create tasks (`/lets:start`, `/lets:backlog`, `/lets:plan`) trigger this skill implicitly via description match.
See: `grep -r "create-task" commands/` for commands that create tasks.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.