Creates AI agent task management structure with feature backlog (ai/tasks/), TDD enforcement, and progress tracking. Use when setting up agent-foreman, initializing feature-driven development, creating task backlog, or enabling TDD mode. Triggers on 'init harness', 'setup feature tracking', 'create feature backlog', 'enable strict TDD', 'initialize agent-foreman'.
/plugin marketplace add mylukin/agent-foreman/plugin install agent-foreman@agent-foreman-pluginsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
One command: agent-foreman init
agent-foreman init
Creates: ai/tasks/, ai/progress.log, ai/init.sh, CLAUDE.md
During init, you'll be prompted for TDD mode. Recommended is the default (tests suggested but not required).
| User Says | TDD Mode | Effect |
|---|---|---|
| "strict TDD" / "require tests" | strict | Tests REQUIRED - check/done fail without tests |
| "recommended" / "optional tests" / (default) | recommended | Tests suggested but not enforced |
| "disable TDD" / "no TDD" | disabled | No TDD guidance |
The prompt auto-skips after 10 seconds with recommended mode.
| Mode | Command | Effect |
|---|---|---|
| Merge (default) | agent-foreman init | Keep existing + add new features |
| Fresh | agent-foreman init --mode new | Replace all features |
| Preview | agent-foreman init --mode scan | Show without changes |
| Type | Command | Use Case |
|---|---|---|
| Code (default) | agent-foreman init | Software development |
| Ops | agent-foreman init --task-type ops | Operational tasks, runbooks |
| Data | agent-foreman init --task-type data | ETL, data pipelines |
| Infra | agent-foreman init --task-type infra | Infrastructure provisioning |
| Manual | agent-foreman init --task-type manual | Manual-only verification |
ARCHITECTURE.md exists → use it (fast)For existing projects:
agent-foreman init --analyze # First: understand project
agent-foreman init # Then: create harness
ai/
├── tasks/ # Task backlog (modular markdown)
│ ├── index.json # Task index
│ └── {module}/ # Module directories
│ └── {id}.md # Individual tasks
├── progress.log # Session audit log
├── init.sh # Bootstrap script
└── capabilities.json # Detected test/lint/build
CLAUDE.md # AI agent instructions
docs/ARCHITECTURE.md # Auto-generated architecture doc
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.