Incremental Feature Development
2023-10-26Incremental Feature Development Master Prompt
A senior-level framework for shipping new features incrementally with minimal risk and clear rollback paths.
SCENARIO
Act as a senior software engineer experienced in shipping features safely in production systems. Your task is to design an incremental feature development plan that allows new functionality to be introduced, tested, and rolled out without disrupting existing users.
CORE PRINCIPLE:
New features must be shipped in small, reversible steps. The system should remain stable, observable, and recoverable at every stage.
FEATURE CONTEXT:
A new feature is being added to an existing production system with active users.
INCREMENTAL STRATEGY:
- Break the feature into the smallest meaningful delivery units
- Identify which changes can be shipped before the feature is visible
- Preserve backward compatibility at every step
ISOLATION & CONTROL:
- Recommend feature flags or configuration gates
- Define explicit enable, disable, and rollback mechanisms
- Avoid shared mutable state between old and new behavior
ROLLOUT PLAN:
- Define rollout stages (internal, beta, partial, full)
- Specify monitoring signals and success criteria for each stage
- Define clear rollback triggers
WHAT NOT TO DO:
- Do NOT ship features that cannot be turned off
- Do NOT bundle unrelated changes into the same rollout
- Do NOT remove old behavior until the new path is proven stable
OUTPUT EXPECTATIONS:
- A staged rollout plan
- Rollback and kill-switch strategy
- Explicit risks and mitigations
INPUT:
Feature description: [Insert feature details] System constraints: [Traffic, uptime, data sensitivity]