control-chart-analyzer

Statistical process control chart creation and analysis skill with control limit calculation and special cause detection

509 stars

Best use case

control-chart-analyzer is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Statistical process control chart creation and analysis skill with control limit calculation and special cause detection

Teams using control-chart-analyzer should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/control-chart-analyzer/SKILL.md --create-dirs "https://raw.githubusercontent.com/a5c-ai/babysitter/main/library/specializations/domains/business/operations/skills/control-chart-analyzer/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/control-chart-analyzer/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How control-chart-analyzer Compares

Feature / Agentcontrol-chart-analyzerStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Statistical process control chart creation and analysis skill with control limit calculation and special cause detection

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Control Chart Analyzer

## Overview

The Control Chart Analyzer skill provides comprehensive capabilities for creating and analyzing statistical process control charts. It supports multiple chart types, control limit calculation, and automated detection of special cause variation using industry-standard rules.

## Capabilities

- X-bar and R chart creation
- Individual and Moving Range (I-MR) charts
- p-chart and np-chart generation
- c-chart and u-chart analysis
- Control limit calculation
- Nelson rules application
- Western Electric rules detection
- Out-of-control signal alerting

## Used By Processes

- SIX-002: Statistical Process Control Implementation
- SIX-003: Process Capability Analysis
- QMS-003: Quality Audit Management

## Tools and Libraries

- Minitab API
- JMP
- Python scipy/statsmodels
- R quality packages

## Usage

```yaml
skill: control-chart-analyzer
inputs:
  data_type: "continuous"  # continuous | attribute
  chart_type: "xbar_r"  # xbar_r | xbar_s | imr | p | np | c | u
  subgroup_size: 5
  data:
    - subgroup: [10.2, 10.1, 10.3, 10.0, 10.2]
    - subgroup: [10.4, 10.3, 10.2, 10.5, 10.3]
  specification_limits:
    usl: 10.8
    lsl: 9.2
    target: 10.0
outputs:
  - control_chart
  - control_limits
  - out_of_control_signals
  - rule_violations
  - recommendations
```

## Chart Selection Guide

| Data Type | Subgroup Size | Recommended Chart |
|-----------|---------------|-------------------|
| Continuous | 1 | I-MR |
| Continuous | 2-10 | X-bar & R |
| Continuous | >10 | X-bar & S |
| Attribute (defectives) | Variable | p-chart |
| Attribute (defectives) | Constant | np-chart |
| Attribute (defects) | Variable area | u-chart |
| Attribute (defects) | Constant area | c-chart |

## Western Electric Rules

1. One point beyond 3 sigma
2. Two of three consecutive points beyond 2 sigma (same side)
3. Four of five consecutive points beyond 1 sigma (same side)
4. Eight consecutive points on one side of center line

## Nelson Rules

1. One point beyond Zone A (3 sigma)
2. Nine points in a row on same side of center line
3. Six points in a row, all increasing or decreasing
4. Fourteen points in a row, alternating up and down
5. Two of three points in Zone A or beyond (same side)
6. Four of five points in Zone B or beyond (same side)
7. Fifteen points in a row in Zone C
8. Eight points in a row on both sides with none in Zone C

## Integration Points

- Manufacturing Execution Systems
- Quality Management Systems
- Real-time data platforms
- Alerting systems

Related Skills

terraform-analyzer

509
from a5c-ai/babysitter

Specialized skill for analyzing Terraform configurations. Supports parsing, security scanning (tfsec, checkov), cost estimation (infracost), drift detection, and plan visualization across AWS, Azure, and GCP.

db-query-analyzer

509
from a5c-ai/babysitter

Analyze database query performance with execution plans and index recommendations

code-complexity-analyzer

509
from a5c-ai/babysitter

Analyze code complexity metrics including cyclomatic complexity, code smells, and technical debt

cloudformation-analyzer

509
from a5c-ai/babysitter

Validate and analyze AWS CloudFormation templates for security and best practices

semantic-code-analyzer

509
from a5c-ai/babysitter

LLM-powered semantic analysis of code diffs to detect business-logic trojans

sast-analyzer

509
from a5c-ai/babysitter

Static Application Security Testing orchestration and analysis. Execute Semgrep, Bandit, ESLint security plugins, CodeQL, and other SAST tools. Parse, prioritize, and deduplicate findings across multiple tools with remediation guidance.

crypto-analyzer

509
from a5c-ai/babysitter

Cryptographic implementation analysis and validation for encryption algorithms, key sizes, and certificate management

semver-analyzer

509
from a5c-ai/babysitter

Analyze code changes and determine semantic version bumps. Detect breaking changes automatically, suggest version bump (major/minor/patch), generate changelog entries, and validate version consistency.

api-diff-analyzer

509
from a5c-ai/babysitter

Compare API specifications to detect breaking changes. Compare OpenAPI spec versions, categorize changes by severity, generate migration guides, and block breaking changes in CI.

ros2_control Skill

509
from a5c-ai/babysitter

Hardware abstraction and controller management using ros2_control framework

MPC Controller Skill

509
from a5c-ai/babysitter

Expert skill for Model Predictive Control implementation and tuning

process-analyzer

509
from a5c-ai/babysitter

Analyze processes, identify workflows, define boundaries and scope, and map process requirements for specialization creation.