Agent skill
Feature Flagging
Feature flag configuration and rollout planning for controlled releases
Install this agent skill to your Project
npx add-skill https://github.com/a5c-ai/babysitter/tree/main/library/specializations/product-management/skills/feature-flags
SKILL.md
Feature Flagging Skill
Overview
Specialized skill for feature flag configuration and rollout planning. Enables product teams to plan and manage controlled feature releases with proper targeting, monitoring, and rollback strategies.
Capabilities
Flag Design
- Generate feature flag specifications
- Design flag naming conventions
- Create flag documentation templates
- Define flag types (release, experiment, ops, permission)
- Plan flag dependencies and interactions
Rollout Planning
- Design rollout percentage strategies
- Create flag targeting rules
- Plan canary and gradual rollouts
- Define geographic or segment-based rollouts
- Create rollout schedules
Operations
- Generate kill switch procedures
- Track flag lifecycle and cleanup
- Monitor flag impact on metrics
- Plan flag deprecation
- Create incident response procedures
Target Processes
This skill integrates with the following processes:
product-launch-gtm.js- Feature flag rollout for launchesbeta-program.js- Beta feature flaggingconversion-funnel-analysis.js- A/B test flag management
Input Schema
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": ["design", "rollout", "audit", "deprecate"],
"description": "Operation mode"
},
"feature": {
"type": "object",
"properties": {
"name": { "type": "string" },
"description": { "type": "string" },
"type": { "type": "string", "enum": ["release", "experiment", "ops", "permission"] },
"owner": { "type": "string" },
"impactLevel": { "type": "string", "enum": ["low", "medium", "high", "critical"] }
}
},
"rolloutStrategy": {
"type": "object",
"properties": {
"type": { "type": "string", "enum": ["percentage", "segment", "geographic", "gradual"] },
"stages": { "type": "array", "items": { "type": "object" } },
"criteria": { "type": "object" }
}
},
"existingFlags": {
"type": "array",
"items": { "type": "object" },
"description": "Existing flags for audit or cleanup"
}
},
"required": ["mode"]
}
Output Schema
{
"type": "object",
"properties": {
"flagSpec": {
"type": "object",
"properties": {
"key": { "type": "string" },
"name": { "type": "string" },
"description": { "type": "string" },
"type": { "type": "string" },
"defaultValue": { "type": "boolean" },
"variations": { "type": "array", "items": { "type": "object" } },
"targetingRules": { "type": "array", "items": { "type": "object" } },
"prerequisites": { "type": "array", "items": { "type": "string" } }
}
},
"rolloutPlan": {
"type": "object",
"properties": {
"stages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"stage": { "type": "string" },
"percentage": { "type": "number" },
"targeting": { "type": "object" },
"duration": { "type": "string" },
"successCriteria": { "type": "array", "items": { "type": "string" } },
"rollbackTriggers": { "type": "array", "items": { "type": "string" } }
}
}
},
"metrics": { "type": "array", "items": { "type": "string" } },
"alerts": { "type": "array", "items": { "type": "object" } }
}
},
"killSwitch": {
"type": "object",
"properties": {
"procedure": { "type": "array", "items": { "type": "string" } },
"owner": { "type": "string" },
"escalation": { "type": "array", "items": { "type": "string" } }
}
},
"lifecycle": {
"type": "object",
"properties": {
"createdDate": { "type": "string" },
"plannedRemovalDate": { "type": "string" },
"cleanupTasks": { "type": "array", "items": { "type": "string" } }
}
}
}
}
Usage Example
const flagPlan = await executeSkill('feature-flags', {
mode: 'rollout',
feature: {
name: 'New Dashboard Experience',
description: 'Redesigned analytics dashboard with AI insights',
type: 'release',
owner: 'product-team',
impactLevel: 'high'
},
rolloutStrategy: {
type: 'gradual',
stages: [
{ name: 'internal', percentage: 100, duration: '3 days' },
{ name: 'beta', percentage: 10, duration: '1 week' },
{ name: 'early-adopters', percentage: 25, duration: '1 week' },
{ name: 'general', percentage: 100, duration: 'permanent' }
]
}
});
Dependencies
- Feature flag platforms (LaunchDarkly, Split, Flagsmith)
- Monitoring and alerting systems
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-tools
Central utility skill for GSD operations. Provides config parsing, slug generation, timestamps, path operations, and orchestrates calls to other specialized skills. Acts as the unified entry point that the original gsd-tools.cjs provided via its lib/ modules (commands, config, core, init).
model-profile-resolution
Resolve model profile (quality/balanced/budget) at orchestration start and map agents to specific models. Enables cost/quality tradeoffs by selecting appropriate AI models for each agent role.
verification-suite
Plan structure validation, phase completeness checks, reference integrity verification, and artifact existence confirmation. Provides the structured verification layer ensuring GSD artifacts are well-formed and complete.
state-management
STATE.md reading, writing, and field-level updates. Provides cross-session state persistence via .planning/STATE.md with structured fields for current task, completed phases, blockers, decisions, and quick tasks.
git-integration
Git commit patterns, formats, and conventions for GSD methodology. Provides atomic commits per task, structured commit messages, planning file commits, branch management, and milestone tag operations.
frontmatter-parsing
YAML frontmatter parsing and manipulation for .planning/ documents. Provides read, write, update, query, and validation operations on frontmatter blocks in GSD markdown artifacts.
Didn't find tool you were looking for?