skills/disciplined-quality-evaluation/SKILL.md
Phase 1.5/2.5 of disciplined development. Evaluates document quality using the KLS (Krogstie-Lindland-Sindre) 6-dimension framework. Produces structured ratings, identifies gaps, suggests specific revisions, and blocks phase transitions when quality is below threshold. Applies to Phase 1 research docs and Phase 2 design docs.
npx skillsauth add terraphim/codex-skills disciplined-quality-evaluationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You evaluate Research Documents (Phase 1) and Implementation Plans (Phase 2) using the KLS framework before they proceed to next phases.
The Krogstie-Lindland-Sindre framework evaluates document quality across six dimensions:
| Dimension | Question | Evaluation Focus | |-----------|----------|------------------| | Physical | Is it readable, well-formatted, accessible? | Formatting, structure, accessibility | | Empirical | Can it be understood by intended audience? | Clarity, terminology, examples | | Syntactic | Is it internally consistent and well-structured? | Consistency, organization, completeness | | Semantic | Does it accurately represent the domain? | Accuracy, correctness, domain fit | | Pragmatic | Does it enable the intended decisions/actions? | Actionability, usefulness, guidance | | Social | Do stakeholders agree with its content? | Consensus, review status, approvals |
| Score | Meaning | Characteristics | |-------|---------|-----------------| | 1 | Poor | Major issues, blocks understanding or use | | 2 | Below Standard | Significant gaps, needs substantial work | | 3 | Adequate | Meets minimum bar, minor improvements needed | | 4 | Good | Clear, useful, few issues | | 5 | Excellent | Exemplary, no issues, could be a template |
minimum_dimension_score: 3 # No dimension below 3
minimum_average_score: 3.5 # Average across all dimensions
blocking: true # Fail blocks phase transition
In addition to KLS dimensions, evaluate essentialism alignment:
| Check | Question | Evaluation | |-------|----------|------------| | Vital Few Focus | Does this focus on 5 or fewer essential items? | Count major scope items | | Eliminated Noise | Is there a clear "out of scope" section? | Check for elimination documentation | | Effortless Path | Is the proposed path the simplest possible? | Look for over-engineering | | 90% Rule | Does each item pass the "HELL YES" test? | Challenge marginal inclusions |
For each dimension:
Apply GO/NO-GO rules to determine status.
# Quality Evaluation: [Document Name]
**Document Type**: Research Document / Implementation Plan
**Phase Transition**: Phase X -> Phase Y
**Status**: PASS / CONDITIONAL PASS / FAIL
**Evaluator**: [Name]
**Date**: [YYYY-MM-DD]
## Executive Summary
[2-3 sentences on overall quality and decision]
## KLS Dimension Scores
| Dimension | Score | Justification | Required Fix |
|-----------|-------|---------------|--------------|
| Physical | X/5 | [Evidence-based reasoning] | [If <3, specific fix] |
| Empirical | X/5 | [Evidence-based reasoning] | [If <3, specific fix] |
| Syntactic | X/5 | [Evidence-based reasoning] | [If <3, specific fix] |
| Semantic | X/5 | [Evidence-based reasoning] | [If <3, specific fix] |
| Pragmatic | X/5 | [Evidence-based reasoning] | [If <3, specific fix] |
| Social | X/5 | [Evidence-based reasoning] | [If <3, specific fix] |
**Average Score**: X.X/5
**Minimum Score**: X/5 ([dimension])
## Essentialism Evaluation
| Check | Status | Evidence |
|-------|--------|----------|
| Vital Few Focus (<=5 items) | Pass/Fail | [Count and list] |
| Eliminated Noise | Pass/Fail | [Out of scope section exists?] |
| Effortless Path | Pass/Fail | [Simplicity assessment] |
| 90% Rule | Pass/Fail | [Marginal items identified] |
## Decision
**GO/NO-GO**: [PASS / CONDITIONAL PASS / FAIL]
**Rationale**: [Brief explanation of decision]
### Required Actions (if FAIL)
1. [Specific, actionable fix]
2. [Specific, actionable fix]
### Recommended Actions (if CONDITIONAL PASS)
1. [Improvement suggestion]
2. [Improvement suggestion]
### Commendations (if PASS)
- [What was done well]
## Re-Evaluation
After fixes are applied:
- [ ] All required actions addressed
- [ ] Re-score affected dimensions
- [ ] Update decision status
disciplined-research -> disciplined-quality-evaluation -> disciplined-design
disciplined-design -> disciplined-quality-evaluation -> disciplined-implementation
The quality-gate skill delegates document quality evaluation to this skill when reviewing Research or Design documents.
development
Xero Accounting API integration skill. Helps with OAuth2 authentication setup, invoice management, contact management, and accounting operations. Provides guidance on rate limits, token refresh, and API best practices.
development
Design and implement visual regression testing for UI changes. Defines screenshot coverage, rendering stabilization, baseline management, and CI integration (e.g., Playwright screenshots, Percy/Chromatic). Use when UI/styling/layout changes need protection against regressions, or when adding screenshot-based tests to a web/WASM/desktop UI.
testing
Run Ultimate Bug Scanner for automated bug detection across multiple languages. Detects 1000+ bug patterns including null pointers, security vulnerabilities, async/await issues, and resource leaks. Integrates with quality-gate workflow.
testing
Comprehensive test writing, execution, and failure analysis. Creates unit tests, integration tests, property-based tests, and benchmarks. Analyzes test failures and improves test coverage.