From nightshift
Adds a task definition to an existing Nightshift shift, registering it in manager.md and adding a status column to table.csv. Invoked via /nightshift:add-task.
How this skill is triggered — by the user, by Claude, or both
Slash command
/nightshift:add-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
Add a new task file to shift `$ARGUMENTS` and update the table with a corresponding status column.
Add a new task file to shift $ARGUMENTS and update the table with a corresponding status column.
Steps
Resolve the shift
$ARGUMENTS is non-empty, treat it as the shift name..nightshift/ (excluding archive/):
/nightshift:create first." and stop.Get task details
Use the AskUserQuestion tool (open-ended) to ask:
"Describe this task. What should the agent do for each item? Include the tools needed, step-by-step instructions, and how to verify success."
From the response, derive:
create_page, update_spreadsheet). Hyphens break qsv column selectors — never use them.{column_name}, {ENV:VAR}, {SHIFT:FOLDER|NAME|TABLE} template variables as appropriate.Check for task-name conflicts
.nightshift/<shift>/<task-name>.md already exists, report the conflict and ask for a different name.flock -x .nightshift/<shift>/table.csv qsv headers --just-names .nightshift/<shift>/table.csv and confirm the task name is not already a column header.Create the task file
Ask the user (via AskUserQuestion) which optional execution-config fields they want to set. Skip any they don't need:
model — Claude Code model identifier for this task's dev subprocesses (haiku, sonnet, opus, or a full model ID). Omit to use the user's default.working_dir — directory each dev subprocess cds into before running. May reference a table.csv column via {column_name} (most common: {repo_path} paired with a repo_path column). Useful when the task operates on a different repository than the workspace.worktree — true|false. When true, each dev runs inside a fresh git worktree of working_dir on a unique branch. Requires working_dir to also be set. Requires a one-time claude invocation in each target directory to accept Claude Code's workspace-trust dialog.Write .nightshift/<shift>/<task-name>.md. Include only the Configuration fields the user opted into:
## Configuration
- tools: <tool1>, <tool2>
# - model: sonnet
# - working_dir: {repo_path}
# - worktree: true
## Steps
1. <step description>
2. <step description>
## Validation
- <criterion 1>
- <criterion 2>
If the user set worktree: true but did NOT set working_dir, surface a clear error and ask them to either set working_dir or drop worktree: true. The combination is invalid.
Add status column to table.csv
flock -x .nightshift/<shift>/table.csv qsv enum --constant todo --new-column <task-name> .nightshift/<shift>/table.csv > .nightshift/<shift>/table_tmp.csv && mv .nightshift/<shift>/table_tmp.csv .nightshift/<shift>/table.csv
This adds a column with the task name as header, initialized to todo for all existing rows. If the table is empty, only the header is added.
Update manager.md task order
## Task Order currently shows the placeholder (no tasks yet — use ...), replace it with 1. <task-name>.Show result
## Task Added: <task-name>
**Shift:** <shift>
**File:** `.nightshift/<shift>/<task-name>.md`
### Configuration
- tools: <tools>
### Steps
1. ...
### Validation
- ...
Table updated: <N> items now have `<task-name>: todo`
Manager updated: task order now includes `<task-name>`
Guardrails
todo for the new column.npx claudepluginhub johndaskovsky/nightshift --plugin nightshiftCreates a new Nightshift shift directory with manager.md and empty table.csv for structured batch agent work. Required before using other Nightshift commands.
TAKTのtasks.yaml(タスクメタデータ)とタスクディレクトリ(.takt/tasks/{slug}/order.md)の 作成・編集を支援するスキル。TaskRecordスキーマに準拠したYAMLエントリの生成、 order.mdタスク仕様書の作成、ステータス遷移ルールの検証を行う。 references/taktにあるtaskスキーマ定義・ドキュメントを参照資料として活用する。 トリガー:「タスクを追加」「tasks.yamlを編集」「taktタスクを作成」 「タスク仕様書を書く」「order.mdを作成」「takt task」「タスクを定義」 「pendingタスクを追加」「GitHub Issueからタスク作成」
Creates sequential tasks with priority, status, due dates in secondbrain's .claude/data/tasks YAML shards. Activates on 'create task', 'add todo', or similar requests.