From flanksource-claude-code-plugin
Create a promotion evaluation template for any system by gathering requirements through structured questions and generating a reusable evaluation skill. Use when users ask to create a promotion check, release readiness evaluation, environment health template, or want to build a custom evaluation workflow for systems beyond Mission Control.
How this skill is triggered — by the user, by Claude, or both
Slash command
/flanksource-claude-code-plugin:promotion-eval-createThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Guide the user through a structured interview to build a custom promotion evaluation skill for their system. The output is a complete SKILL.md file they can use to evaluate environment health and release readiness.
Guide the user through a structured interview to build a custom promotion evaluation skill for their system. The output is a complete SKILL.md file they can use to evaluate environment health and release readiness.
Use @skills/promotion-eval-mission-control/SKILL.md as the reference implementation — it demonstrates the structure, phased evaluation approach, verdict logic, and report format that this skill generates for other systems.
Ask the user:
Ask the user to list the health components they want to evaluate. Suggest categories based on their system type:
For Kubernetes-based systems:
For cloud infrastructure (AWS/GCP/Azure):
For SaaS/application systems:
For CI/CD pipelines:
For each component, ask:
Ask about configurable parameters:
Confirm the overall verdict mapping:
Using the gathered information, generate a complete SKILL.md following this structure:
---
name: promotion-eval-<system-name>
description: >
Evaluates <system> health for <purpose>.
Checks <component list summary>.
Use for <trigger scenarios>.
allowed-tools: <list of MCP tools or other tools needed>
---
# <System> Promotion Evaluation Skill
## Core Purpose
<One paragraph describing what this evaluation does>
## Parameters
- **time_window**: Lookback period (default: <default>)
- **target**: <how environment is identified>
<any custom parameters>
## Evaluation Procedure
Execute these phases sequentially. After each phase, record component status and findings.
Initialize a running JSON result conforming to the schema:
<JSON template with verdict, components, findings, recommendations>
---
### Phase N: <Component Name>
**Goal**: <what this phase checks>
1. <Step-by-step tool calls or queries>
**Metrics to record**:
- <metric>: <description>
**Verdict logic**:
- PASS: <criteria>
- WARN: <criteria>
- FAIL: <criteria>
---
<repeat for each component>
## Report Generation
<Markdown report template>
<JSON output template>
## Overall Verdict Logic
<Component-to-verdict mapping>
## Error Handling
- If a tool call fails, record the component as SKIP with a note
- Do not let one phase failure block subsequent phases
- Reuse data across phases when possible
Present the generated skill to the user and ask:
Iterate until the user is satisfied.
Write the final SKILL.md to the user's chosen location (default: current project's .claude/skills/ directory).
If the evaluation uses MCP tools, also note which MCP servers need to be configured.
Creates, edits, and verifies skills using a test-driven development approach with pressure scenarios and subagents.
npx claudepluginhub flanksource/claude-code-plugin --plugin mission-control-skills