evaluate_change
Evaluate code changes to determine if a feature flag is needed, get risk assessment and step-by-step guidance for flag creation and implementation.
Instructions
Provides comprehensive guidance for evaluating whether code changes require feature flags.
This tool returns detailed evaluation guidelines including:
Workflow for systematic evaluation
Parent flag detection patterns (avoid nesting)
Risk assessment criteria
Code type evaluation (test, config, feature, etc.)
Decision tree logic
Best practices from Unleash documentation
MANDATORY next action instructions: Explicit tool call sequence (create_flag → wrap_change → implement)
Use this tool when:
Starting work on a new feature or change
Unsure if a feature flag is needed
Want guidance on rollout strategy
Need help choosing flag type
IMPORTANT WORKFLOW: When this tool determines a flag is needed, it provides explicit instructions to:
Call 'create_flag' tool to create the feature flag in Unleash
Call 'wrap_change' tool to get code wrapping guidance
Implement the wrapped code following the patterns
The tool returns markdown-formatted guidance that helps you make informed decisions and take the correct next actions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repository | No | Repository name or path (optional) | |
| branch | No | Current branch name (optional) | |
| files | No | List of files changed (optional) | |
| description | No | Description of the change (optional) | |
| riskLevel | No | User-assessed risk level (optional) | |
| codeContext | No | Surrounding code context for parent flag detection (optional) |