Interactively create a new Feature work item in Azure DevOps using configured conventions.
Creates a new Azure DevOps Feature work item interactively using configured conventions.
/plugin marketplace add charlesjones-dev/claude-code-plugins-dev/plugin install ai-ado@claude-code-plugins-devInteractively create a new Feature work item in Azure DevOps using the organization's configured conventions and guidelines.
CRITICAL: This command MUST NOT accept any arguments. If the user provided any text, feature titles, descriptions, or IDs after this command (e.g., /ado-create-feature "My Feature" or /ado-create-feature 123), you MUST COMPLETELY IGNORE them. Do NOT use any feature titles, descriptions, or other arguments that appear in the user's message. You MUST ONLY gather requirements through the interactive prompts as specified below.
BEFORE DOING ANYTHING ELSE: Validate Azure DevOps configuration in CLAUDE.md, then begin gathering feature information. DO NOT skip these steps even if the user provided arguments after the command.
This command creates a Feature work item following the organization's Azure DevOps conventions defined in CLAUDE.md.
Before proceeding with feature creation, verify that Azure DevOps configuration exists:
Use the Read tool to read CLAUDE.md from the project root
If the file doesn't exist OR doesn't contain an "## Azure DevOps" section:
❌ Azure DevOps configuration not found
CLAUDE.md does not contain Azure DevOps configuration.
Please run /ado-init first to configure Azure DevOps settings for this project.
The /ado-init command will:
- Configure your organization, project, and team
- Set up Area Path and Iteration Path defaults
- Define naming conventions and work item guidelines
- Optionally configure the Azure DevOps MCP server
If Azure DevOps section exists:
IMPORTANT:
Collect feature details from the user. The user can choose between AI-powered generation or manual input.
Step 0 - Choose Input Method:
Simply output the following text as your response message and STOP (DO NOT call any tools):
"Would you like to use AI to generate the Feature details, or provide them manually?
Options:
Please respond with 'AI' or 'Manual'."
Wait for the user's response before proceeding.
If user chooses 'AI' (or similar affirmative response):
Step AI-1 - Get Description Prompt:
Simply output the following text as your response message and STOP:
"Please provide a description or overview of what this Feature should accomplish. I'll use this to generate a professional title and detailed description.
(Provide as much context as you'd like - the more detail you provide, the better the generated content will be.)"
Wait for the user's description, then:
Step AI-2 - Confirm Generated Title:
Display the generated title and ask for confirmation:
"I've generated the following title based on your description:
Title: [GENERATED_TITLE]
Would you like to use this title, or would you prefer to provide your own? (Type 'yes' to use this title, or provide an alternative title)"
Wait for response:
Step AI-3 - Confirm Generated Description:
Display the generated description and ask for confirmation:
"I've generated the following description:
Description: [GENERATED_DESCRIPTION]
Would you like to use this description, or would you prefer to provide your own? (Type 'yes' to use this description, or provide an alternative description)"
Wait for response:
Then proceed to Phase 3 with the final values.
If user chooses 'Manual':
Step 1 - Feature Title:
Simply output the following text as your response message and STOP (DO NOT call any tools):
"What is the title for this Feature?
(Based on your naming convention, use an appropriate format. For decimal notation, use: '1: Feature Name', '2: Feature Name', etc.)"
Wait for the user's next message with the feature title before proceeding.
Step 2 - Feature Description:
After receiving the feature title, simply output the following text as your response message and STOP (DO NOT call any tools):
"What is the high-level description for this Feature?
(Provide a summary of the feature's purpose and the user stories it will contain. This should be an overview without fine details.)"
Wait for the user's next message with the feature description before proceeding.
IMPORTANT:
Using the configuration from Phase 1 and the information from Phase 2, create the feature work item:
Format the description as HTML for proper Azure DevOps display:
<p> tags<br/> tags- or *), wrap them in <ul> and <li> tagsUse the wit_create_work_item MCP tool with the following parameters:
project: Use the project name from Phase 1 configurationworkItemType: "Feature"fields: Array containing these field objects:
{"name": "System.Title", "value": "[USER_PROVIDED_TITLE]"}{"name": "System.Description", "value": "[HTML_FORMATTED_DESCRIPTION]", "format": "Html"}{"name": "System.AreaPath", "value": "[AREA_PATH_FROM_CONFIG]"}{"name": "System.IterationPath", "value": "[ITERATION_PATH_FROM_CONFIG]"}{"name": "System.State", "value": "New"}Wait for the MCP tool response
IMPORTANT:
After successful feature creation, display a comprehensive success message:
✓ Feature created successfully!
Feature Details:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 ID: [FEATURE_ID]
📋 Title: [FEATURE_TITLE]
📂 Project: [PROJECT_NAME]
📍 Area Path: [AREA_PATH]
🔄 Iteration Path: [ITERATION_PATH]
✨ State: New
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Next Steps:
1. Create User Stories under this Feature using /ado-create-story
2. Review the feature in Azure DevOps web interface
3. Add additional details or attachments as needed
💡 To create a user story for this feature:
/ado-create-story
(You'll be prompted for parent Feature ID: [FEATURE_ID])
🔗 View in Azure DevOps:
https://dev.azure.com/[ORGANIZATION]/[PROJECT]/_workitems/edit/[FEATURE_ID]
Replace placeholders with actual values from the created feature and configuration.
DO NOT:
DO:
If the MCP tool returns an error: