AI tools decision matrix
AI tools decision matrix
This reference helps you choose the right AI tool for a given task. Rather than defaulting to whichever tool you used last, use the matrix below to match your task to the tool best suited for it. The goal is efficiency: use lightweight tools for simple tasks, structured workflows for complex ones, and specialized plugins for domain-specific automation.
Decision matrix
The following table maps common platform team tasks to the recommended AI tool and explains why that tool is the best fit.
| Task | Recommended tool | Why |
|---|---|---|
| Write new code (greenfield) | Claude Code CLI + AI-DLC | Structured lifecycle captures requirements before code generation begins |
| Fix a bug | Claude Code CLI | Direct coding assistance with minimal overhead for focused fixes |
| Major feature (multi-file) | Claude Code CLI + AI-DLC | Requirements gathering and phased construction prevent scope drift |
| Code review assistance | Claude Code CLI | Read and analyze code, identify patterns, suggest improvements |
| Write documentation (new section) | Claude Code CLI + AI-DLC | Structured approach ensures Diataxis compliance and completeness |
| Update existing documentation | Claude Code CLI | Quick targeted edits without lifecycle overhead |
| Ansible role development | Claude Code CLI + AI-DLC | Structured design for role variables, tasks, handlers, and molecule tests |
| Terraform module changes | Claude Code CLI | Direct IaC assistance with plan review |
| Multi-repo operations | GitHub Copilot (Agent Mode) | Workspace-level context across multiple repositories simultaneously |
| VS Code inline suggestions | GitHub Copilot | Real-time code completion as you type in the editor |
| Send Teams messages | Teams Automation plugin | Microsoft Graph API integration for chat and channel operations |
| Search and send emails | Outlook Automation plugin | Microsoft Graph API integration for email operations |
| Find AI assets and plugins | Professor Hudak plugin | Asset discovery and recommendations from otc-awesome-llm |
| Generate docs from code | Documentation Bot plugin | Automated Diataxis-compliant documentation generation |
| Prompt engineering | GitHub Copilot | Custom instructions and prompt patterns for infrastructure tasks |
Decision flowchart
Use this flowchart when you are unsure which tool to reach for.
Start here: What are you trying to do?
|
+-- Is this a quick fix or small change?
| |
| +-- YES --> Claude Code CLI (no lifecycle overhead needed)
| |
| +-- NO --> Continue below
|
+-- Is this a new feature requiring design and requirements?
| |
| +-- YES --> AI-DLC + Claude Code CLI
| | (inception phase gathers requirements first)
| |
| +-- NO --> Continue below
|
+-- Do you need inline code suggestions while typing in VS Code?
| |
| +-- YES --> GitHub Copilot
| |
| +-- NO --> Continue below
|
+-- Do you need to work across multiple repositories simultaneously?
| |
| +-- YES --> GitHub Copilot Agent Mode
| | (see Multi-Repo Copilot Operations guide)
| |
| +-- NO --> Continue below
|
+-- Do you need to automate Teams or Outlook?
| |
| +-- YES --> Teams Automation or Outlook Automation plugin
| |
| +-- NO --> Continue below
|
+-- Are you looking for existing AI assets or plugins?
| |
| +-- YES --> Professor Hudak plugin (/ph-discover)
| |
| +-- NO --> Start with Claude Code CLI
| (it handles most general tasks well)
Tool capabilities comparison
This matrix shows what each tool can and cannot do, so you can understand the tradeoffs.
| Capability | Claude Code CLI | AI-DLC plugin | GitHub Copilot | Specialized plugins |
|---|---|---|---|---|
| Code generation | Yes | Yes (structured with phases) | Yes | No |
| Inline code completion | No (terminal-based) | No | Yes (real-time in editor) | No |
| Requirements gathering | Manual (you drive the conversation) | Automated (agentic inception phase) | No | No |
| Documentation generation | Yes | Yes (Diataxis-aware) | Limited | Documentation Bot |
| Test generation | Yes | Yes (with design-first approach) | Limited | No |
| Audit trail | No (manual tracking) | Yes (automatic in aidlc-docs/) | No | No |
| Multi-repo context | Single repo at a time | Single repo at a time | Yes (workspace-level) | No |
| Communication automation | No | No | No | Teams and Outlook plugins |
| Asset discovery | No | No | No | Professor Hudak |
| Permission controls | Yes (permission modes) | Inherits from Claude Code | VS Code settings | Inherits from Claude Code |
Reading the comparison
- Claude Code CLI is the general-purpose workhorse. It handles most tasks well and is the default choice when no specialized tool is better suited.
- AI-DLC adds structure on top of Claude Code. Use it when the task is complex enough that skipping requirements or design would create risk.
- GitHub Copilot excels at real-time editing assistance and multi-repo awareness. It is complementary to Claude Code, not a replacement.
- Specialized plugins handle specific domains (communication, asset discovery, documentation) that the general tools do not address.
When NOT to use AI tools
Not every task benefits from AI assistance. Using AI tools for the following tasks adds overhead without proportional value:
| Situation | Why AI tools are unnecessary |
|---|---|
| Trivial one-line changes | Faster to edit the file directly than to describe the change to an AI |
| Sensitive data handling | AI tools must never process PHI, PII, or credentials (see AI Governance) |
| Final security decisions | Security architecture and risk acceptance require human judgment and accountability |
| Compliance determinations | Legal and regulatory interpretations must come from qualified compliance professionals |
| Emergency production fixes | During incidents, follow established runbooks rather than experimenting with AI-generated solutions |
| Copying existing patterns verbatim | If you are replicating an existing module or role with minor changes, manual copy-and-modify is often faster |
The overhead threshold
A useful rule of thumb: if describing the task to the AI tool takes longer than doing the task yourself, skip the AI tool. AI assistance pays off when the task involves exploration, boilerplate generation, or working in unfamiliar territory.
Task-specific guidance
Ansible development
| Task | Tool | Notes |
|---|---|---|
| New role from scratch | AI-DLC + Claude Code | Use inception to define variables, defaults, and task structure |
| Add tasks to existing role | Claude Code CLI | Direct assistance, review against existing patterns |
| Write molecule tests | Claude Code CLI | Generate test scenarios, verify against actual role behavior |
| Debug playbook failures | Claude Code CLI | Paste error output (redact any sensitive values) for analysis |
| Update role documentation | Claude Code CLI | Quick docs edits aligned with Diataxis structure |
Terraform development
| Task | Tool | Notes |
|---|---|---|
| New module from scratch | AI-DLC + Claude Code | Design inputs, outputs, and resource structure before coding |
| Modify existing module | Claude Code CLI | Direct IaC changes with plan review |
| Write module tests | Claude Code CLI | Generate terratest or integration test scaffolding |
| Review terraform plan output | Claude Code CLI | Paste plan output for analysis of changes |
| Generate terraform-docs | Claude Code CLI | Auto-generate input/output documentation tables |
Documentation tasks
| Task | Tool | Notes |
|---|---|---|
| New documentation section | AI-DLC + Claude Code | Structured approach ensures frontmatter, Diataxis compliance |
| Update existing page | Claude Code CLI | Targeted edits without lifecycle overhead |
| Generate API reference | Documentation Bot | Automated extraction from code comments and docstrings |
| Cross-reference audit | Claude Code CLI | Check for broken links and outdated references |
| Bulk formatting fixes | Claude Code CLI | Apply markdownlint rules across multiple files |
Related resources
- Claude Code Setup -- Installation and initial configuration
- AI-DLC Methodology -- Understanding the structured development lifecycle
- Plugin Catalog -- Complete inventory of available plugins with installation details
- AI Governance and Security -- Data sensitivity and compliance guidelines
- Multi-Repo Copilot Operations -- Using Copilot across the ohemr ecosystem
- Prompt Engineering for Infrastructure -- Crafting effective prompts for Ansible, Terraform, and Azure tasks