agentsclimarketplace

Six sigma challenge

Skill stempeck/agentfactory/.claude/skills/six-sigma-challenge

Multi-agent orchestration CLI for Claude Code — declarative TOML workflows, autonomous agents, context-compression recovery, inter-agent mail.

Install
npx -y skills add stempeck/agentfactory --skill six-sigma-challenge

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Challenges the quality of any completed review or assessment to determine what would achieve six-sigma (99.9999%) quality outcome. Works with scored reviews (X/10), qualitative reviews (PASS/FAIL), or unstructured assessments. Identifies gaps, independently discovers missed issues, stress-tests each proposed improvement for feasibility including logical impossibilities, and appends a "Six-Sigma Caveats" section. Use when a review is less than perfect, when the user asks "what would make this perfect," or after any quality gate completes.

SKILL.md

7.9 KB, as published. Nobody here has run it

Six-Sigma Challenge

Challenge any quality assessment to find the gap between current outcome and perfection.

Inputs

InputRequiredSource
Review fileYesFirst argument, or todos/ultra-implement/blind_review.md
Target documentYesSecond argument, or auto-detected (see below)

Invocation: /six-sigma-challenge <review-file> <target-document> Default: /six-sigma-challenge (uses ultra-implement defaults)

Auto-detection for target document (when no second argument):

  1. Read todos/ultra-implement/investigation_report.md and extract the Problem File: path
  2. If that file exists, use it as the target document
  3. Fallback: todos/ultra-implement/COMPLETION.md

This ensures the caveats append to the original problem file regardless of what /ultra-implement was invoked with.

Phase 1: Extract Quality Gaps

Read the review file. Identify every area where the outcome falls short of perfection.

For scored reviews (X/10 criteria): Record each criterion below 10/10, the deficit, and the reviewer's reasoning. Rank by deficit size.

For qualitative reviews (PASS/FAIL, APPROVED with notes): Extract every caveat, concern, minor finding, suggestion, and "PASS with notes" qualification. Each is a gap.

For unstructured assessments: Identify every hedging phrase ("mostly," "generally," "with the exception of"), every risk noted, every follow-up suggested. Each is a gap.

Phase 2: Analyze Each Gap

For each gap, determine:

FieldDescription
Current stateWhat was delivered (quote the review)
Ideal stateWhat perfection would concretely look like
Gap typeSee table below

Gap types (use the most specific that fits):

TypeApplies toExample
Fundamental constraintAny domainLogical impossibility prevents improvement
Implementation gapCode, systemsSomething could be built but wasn't
Test/verification gapCode, processesVerification is structural when it should be behavioral
Operational gapDeployments, processesRuntime/environment concern not addressed
Environmental gapInfrastructureExternal factor outside fix scope
Design gapUI, architectureDesign decision leaves a weakness
Coverage gapDocs, tests, reviewsSomething is partially addressed

Phase 3: Independent Gap Discovery

Do NOT rely solely on what the reviewer flagged. Investigate independently.

For code/system fixes, ask:

  1. Escape paths: Can the failure still occur through a path the fix doesn't cover?
  2. Test type mismatch: Are tests structural (file contains X) when behavioral (system does X) is needed?
  3. Sibling vulnerabilities: Does the same bug class exist in related code that wasn't fixed?
  4. Version/config drift: Are there hardcoded values that could silently drift?
  5. Scope gaps: Were any clauses in the original spec not implemented?

For any domain, ask:

  1. Unstated assumptions: What does the fix assume that could be wrong?
  2. Failure mode coverage: What failure modes exist beyond the one that was fixed?
  3. Dependency fragility: Does the fix depend on something that could change?
  4. Observability: If the fix silently fails, would anyone know?

Read the actual implementation (code, config, infrastructure) to understand enforcement boundaries. Do not reason purely from the review document — the review may have missed things or mischaracterized enforcement strength.

Phase 4: Feasibility Challenge

For EACH proposed "10/10 ideal," actively try to disprove it using this procedure:

Step 4.1: Describe the ideal concretely

Write out what the improvement would look like as a concrete implementation. What changes? What's the mechanism? What are the steps?

Step 4.2: Walk through the implementation step by step

For each step in the proposed implementation, ask:

  • Does this step require something that doesn't exist yet?
  • Does this step require the output of a later step?
  • Does this step require the thing it's supposed to gate/prevent/validate?

If YES to any: logical impossibility detected. Common patterns:

  • Chicken-and-egg: X requires Y, but Y requires X (e.g., validating a demo requires the demo to exist, so you can't gate demo existence on validation)
  • Infinite regress: The solution requires its own output as input
  • Observer effect: Measuring/gating the thing changes the thing

Step 4.3: Check architectural ceilings

  • Can an LLM agent bypass this by simply not following the workflow?
  • Can advisory text be ignored?
  • Does runtime validation require the artifact to exist first?
  • Is there an enforcement ceiling? (instruction can never reach interlock)

Step 4.4: Check diminishing returns

Does the improvement cost dramatically more than the residual risk it addresses?

Step 4.5: Classify

  • Feasible: Implementable with reasonable effort
  • Partially feasible: Achievable with caveats or architectural changes
  • Infeasible: Logically impossible or fundamentally constrained (document the specific constraint)

Phase 5: Present to User

Present the full analysis conversationally BEFORE appending. Structure as:

  1. Table of where the outcome falls short
  2. Each gap with current state, ideal state, and feasibility verdict
  3. Summary table: gap / impact / feasibility / priority
  4. The philosophical pattern if one emerges (e.g., "workflow enforcement vs system enforcement")

Ask: "Does this analysis match your understanding? Any constraints or insights to add before I append?"

The user often has domain knowledge that catches logical impossibilities the analysis missed. This step is a critical safety net for Phase 4.

Phase 6: Append to Target Document

After user confirmation (incorporating any user insights), append:

---

# Six-Sigma Caveats

The implemented fix achieved [score/status]. The following analysis documents what
would be required for a theoretical 10/10 (six-sigma, 99.9999% quality outcome)
and why some improvements are fundamentally constrained.

## Gap N: [Title]

[What the current state is vs what perfection requires]

### Feasibility: [Feasible | Partially Feasible | Infeasible]

[For infeasible: the specific logical constraint. For feasible: what implementation
would look like.]

## Summary

| Gap | Impact | Feasibility | Priority |
|-----|--------|-------------|----------|
| ... | ...    | ...         | ...      |

[Closing paragraph: the practical ceiling for this class of problem and what
residual risk must be accepted.]

Anti-Patterns

  1. Accepting the reviewer's frame uncritically — Challenge both directions: the reviewer may have missed gaps OR proposed infeasible ideals.
  2. Proposing improvements without walking through implementation — Phase 4 requires concrete step-by-step description, not just category labels.
  3. Reasoning only from the review document — Read the actual code/system to understand enforcement boundaries. Reviews can mischaracterize strength.
  4. Ignoring the practical ceiling — Some gaps are fundamental constraints. Name them explicitly rather than proposing impossible improvements.
  5. Skipping user presentation — The user often has domain insights that catch what automated analysis misses. Always present before appending.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.