{
  "commands": {
    "init": {
      "description": "Initialize task management in current directory",
      "success": "✅ Task manager initialized successfully",
      "customCommand": "✅ Created Claude Code custom command /task",
      "skill": "✅ Created Claude Code skill at .claude/skills/task/SKILL.md",
      "mcpConfig": "✅ Registered claude-task MCP server in .mcp.json",
      "hooksConfig": "✅ Configured Claude Code statusline and SessionStart hook in .claude/settings.json",
      "gitignoreUpdated": "✅ Updated .gitignore with task-related entries"
    },
    "new": {
      "description": "Create a new task",
      "success": "✅ Created new task: {{title}}",
      "archiving": "Archiving current task..."
    },
    "status": {
      "description": "Show current task status",
      "title": "📊 Task Status:",
      "currentTask": "Current task: {{task}}",
      "noCurrentTask": "Current task: None",
      "archivedCount": "Archived tasks: {{count}}",
      "lastRun": "Last run: {{time}}",
      "noLastRun": "Last run: Never",
      "totalExecutions": "Total executions: {{count}}",
      "shortNoTask": "No task",
      "activeTask": "Active task: {{name}}"
    },
    "run": {
      "description": "Run current task with Claude Code",
      "starting": "🚀 Executing task...",
      "success": "✅ Task completed successfully",
      "error": "❌ Task execution failed: {{error}}",
      "noTask": "No task.md file found. Run 'claude-task new' first."
    },
    "history": {
      "description": "Show task history",
      "title": "📜 Task History:",
      "empty": "No archived tasks found.",
      "item": "- {{date}}: {{title}}"
    },
    "claude": {
      "description": "Execute prompt directly with Claude Code",
      "deprecated": "⚠️  'claude' is deprecated and only prints the task. Use 'claude-task run' to execute the task with Claude Code.",
      "error": "❌ Claude execution failed: {{error}}"
    },
    "lang": {
      "description": "Change language setting",
      "current": "Current language: {{lang}}",
      "changed": "✅ Language changed to: {{lang}}",
      "invalid": "❌ Invalid language. Supported: en, ja"
    },
    "archive": {
      "description": "Archive current task",
      "success": "✅ Task archived: {{path}}",
      "noTask": "⚠️  No task to archive"
    },
    "progress": {
      "description": "Show subtask progress",
      "title": "📊 Task Progress:",
      "count": "({{completed}}/{{total}} tasks)",
      "noTasks": "No subtasks found. Add checkboxes like:\n  - [ ] Task to do\n  - [x] Completed task"
    },
    "split": {
      "description": "Split task into subtasks using AI",
      "analyzing": "🔍 Analyzing task...",
      "success": "✅ Task split into {{count}} subtasks",
      "error": "❌ Failed to split task: {{error}}"
    },
    "done": {
      "description": "Mark subtask(s) as done by number (use --undo to uncheck)",
      "success": "✅ Marked subtask(s) as done: {{numbers}}",
      "undone": "↩️  Unchecked subtask(s): {{numbers}}",
      "invalid": "⚠️  No subtask at number(s): {{numbers}}",
      "noNumbers": "❌ Please provide at least one subtask number, e.g. 'claude-task done 1 2'"
    },
    "switch": {
      "description": "Switch to another named task",
      "success": "🔀 Switched to task: {{name}}",
      "created": "✅ Created and switched to task: {{name}}",
      "already": "Already on task: {{name}}",
      "noName": "⚠️  Please provide a task name"
    },
    "list": {
      "description": "List all tasks",
      "title": "🗂  Tasks:",
      "empty": "No tasks found. Create one with `claude-task new`.",
      "hint": "Switch with `claude-task switch <name>`."
    }
  },
  "errors": {
    "initFailed": "Failed to initialize task manager: {{error}}",
    "createTaskFailed": "Failed to create new task: {{error}}",
    "noTaskFile": "No task.md file found.",
    "archiveFailed": "Failed to archive current task: {{error}}",
    "historyFailed": "Failed to get history: {{error}}",
    "statusFailed": "Failed to get status: {{error}}",
    "configFailed": "Failed to read config: {{error}}",
    "unknownTask": "No task named '{{name}}'. Use `claude-task list` to see tasks, or `claude-task switch {{name}} --create` to create it.",
    "invalidTaskName": "Invalid task name: '{{name}}'. Use a name without path separators.",
    "taskExists": "A task named '{{name}}' already exists. Use `claude-task switch {{name}}` instead."
  },
  "taskTemplate": {
    "title": "# {{TITLE}}",
    "created": "**Created:** {{TIMESTAMP}}",
    "priority": "**Priority:** {{PRIORITY}}",
    "tags": "**Tags:** {{TAGS}}",
    "description": "## Description\n{{DESCRIPTION}}",
    "prerequisites": "## Prerequisites\n{{PREREQUISITES}}",
    "rules": "## Rules\n{{RULES}}",
    "tasks": "## Tasks\n{{TASKS}}",
    "context": "## Context\n<!-- Add context for Claude Code execution -->",
    "notes": "## Notes\n<!-- Add your notes here -->",
    "footer": "---\n*Generated by Claude Task Manager*"
  },
  "customCommand": {
    "title": "# /task - Claude Task Manager",
    "description": "Task management custom command for Claude Code.",
    "usage": "## Usage\n\n`/task <action> [options]`",
    "actions": {
      "title": "## Actions",
      "new": {
        "title": "### Create New Task",
        "syntax": "`/task new \"<task name>\" [--priority high|medium|low] [--tags tag1,tag2]`",
        "description": "Creates a task and saves it to task.md file."
      },
      "status": {
        "title": "### Check Current Task",
        "syntax": "`/task status`",
        "description": "Shows current task and its progress."
      },
      "run": {
        "title": "### Execute Task",
        "syntax": "`/task run`",
        "description": "Executes current task with Claude Code using task.md content as context."
      },
      "history": {
        "title": "### Task History",
        "syntax": "`/task history [--limit n]`",
        "description": "Shows past and archived tasks."
      },
      "archive": {
        "title": "### Archive Task",
        "syntax": "`/task archive`",
        "description": "Moves completed task to archive folder."
      }
    },
    "examples": {
      "title": "## Examples",
      "items": [
        "1. Create new task:\n   ```\n   /task new \"Implement user authentication\" --priority high --tags auth,backend\n   ```",
        "2. Check current task:\n   ```\n   /task status\n   ```",
        "3. Execute task:\n   ```\n   /task run\n   ```",
        "4. View task history:\n   ```\n   /task history --limit 10\n   ```",
        "5. Archive completed task:\n   ```\n   /task archive\n   ```"
      ]
    }
  }
}
