quality-assurance

jasonkneen/kiro

Стратегии тестирования и валидации для spec-driven разработки: проверки по фазам и quality gates.

Звёзды759
Форки201
Авторjasonkneen
Обновлёнянв 12 2026

Установка

SKILL.md

Quality Assurance

Ensure quality throughout the spec-driven development process with validation techniques, quality gates, and testing strategies.

When to Use This Skill

Use quality assurance practices when:

  • Completing any spec phase (requirements, design, tasks)
  • Transitioning between phases
  • Implementing features from specs
  • Reviewing completed work
  • Establishing team quality standards

Core Principles

  1. Requirements-Driven Testing: Every test traces to a requirement
  2. Phase-Appropriate Validation: Different techniques for each phase
  3. Continuous Quality: Checks throughout development
  4. Automated Where Possible: Reduce manual effort
  5. Fast Feedback: Catch issues early

Phase-Specific Validation

Requirements Phase Validation

Quality Checklist:

  • <!-- -->All user stories have acceptance criteria
  • <!-- -->Requirements are unambiguous and specific
  • <!-- -->Each requirement can be validated/tested
  • <!-- -->EARS format used consistently
  • <!-- -->Requirements link to business objectives
  • <!-- -->No conflicting requirements

Review Process:

  1. Self Review: Author checks completeness
  2. Stakeholder Review: Business validates requirements
  3. Technical Review: Team assesses feasibility
  4. Approval: Formal sign-off before design

Validation Techniques:

  • Scenario Walkthroughs: Step through user journeys
  • Edge Case Analysis: Identify boundary conditions
  • Conflict Detection: Check for contradictions
  • Completeness Analysis: Ensure all needs covered

Design Phase Validation

Quality Checklist:

  • <!-- -->Design addresses all requirements
  • <!-- -->Scalability considerations documented
  • <!-- -->Maintainability assessed
  • <!-- -->Security addressed
  • <!-- -->Performance requirements considered
  • <!-- -->External integrations defined

Review Process:

  1. Architecture Review: Senior team validates design
  2. Security Review: Security implications assessed
  3. Performance Review: Performance characteristics evaluated
  4. Integration Review: External dependencies validated

Validation Techniques:

  • Design Walkthroughs: Step through system interactions
  • Threat Modeling: Identify security vulnerabilities
  • Performance Modeling: Estimate system performance
  • Dependency Analysis: Map external requirements

Tasks Phase Validation

Quality Checklist:

  • <!-- -->Each task has clear deliverables
  • <!-- -->Task sequence is logical
  • <!-- -->All design elements covered
  • <!-- -->Each task can be validated
  • <!-- -->Tasks appropriately sized (2-4 hours)
  • <!-- -->Dependencies clearly defined

Review Process:

  1. Completeness Review: All design elements have tasks
  2. Sequencing Review: Task order is logical
  3. Scope Review: Tasks are appropriately sized
  4. Dependency Review: Dependencies clear

Quality Gates

Requirements Phase Exit Criteria

  • <!-- -->All user stories follow proper format
  • <!-- -->Acceptance criteria use EARS format
  • <!-- -->Requirements are testable and measurable
  • <!-- -->No conflicting requirements
  • <!-- -->Stakeholders have approved
  • <!-- -->Edge cases documented

Design Phase Exit Criteria

  • <!-- -->Architecture addresses all requirements
  • <!-- -->Non-functional requirements addressed
  • <!-- -->External dependencies identified
  • <!-- -->Data models clearly defined
  • <!-- -->Error handling documented
  • <!-- -->Security considerations addressed
  • <!-- -->Technical review completed

Tasks Phase Exit Criteria

  • <!-- -->All design elements have tasks
  • <!-- -->Tasks properly sequenced
  • <!-- -->Each task is actionable
  • <!-- -->Requirements references included
  • <!-- -->Test approach defined
  • <!-- -->Task breakdown reviewed

Task-Level Quality Gates

Before Starting:

  • <!-- -->Task requirements understood
  • <!-- -->Test strategy defined
  • <!-- -->Dependencies available
  • <!-- -->Environment ready

During Implementation:

  • <!-- -->Code follows standards
  • <!-- -->Tests written alongside code
  • <!-- -->Coverage meets thresholds (80%+)
  • <!-- -->No critical vulnerabilities

Before Marking Complete:

  • <!-- -->All tests pass
  • <!-- -->Code review completed
  • <!-- -->Documentation updated
  • <!-- -->Requirements validated

Testing Strategies

Test Pyramid

       /\
      /  \     E2E Tests (10%)
     /____\    Integration Tests (20%)
    /      \
   /________\   Unit Tests (70%)

Unit Testing

  • Fast execution (< 1 second per test)
  • Test individual functions/classes
  • Mock external dependencies
  • Target 80%+ coverage

Integration Testing

  • Test component interactions
  • Use real dependencies where practical
  • Validate API contracts
  • Test critical workflows

End-to-End Testing

  • Test complete user journeys
  • Production-like environment
  • Focus on critical business flows
  • Minimal but comprehensive

Test-Driven Development

For each task:

  1. Write tests first based on acceptance criteria
  2. Run tests - verify they fail (red)
  3. Write code - minimal to pass tests (green)
  4. Refactor - improve while keeping tests green
  5. Validate - ensure requirements satisfied

Quality Metrics

Code Quality

  • Line Coverage: % of code lines executed
  • Branch Coverage: % of code branches tested
  • Cyclomatic Complexity: Code complexity
  • Technical Debt: Accumulated issues

Testing Effectiveness

  • Test Pass Rate: % of tests passing
  • Execution Time: Time to run tests
  • Defect Detection Rate: Bugs found by tests vs production
  • Test Maintenance: Time spent maintaining tests

Common Quality Issues

Flaky Tests

Symptoms: Tests pass/fail inconsistently Solutions:

  • Identify timing dependencies
  • Use proper wait conditions
  • Isolate test data
  • Fix race conditions

Slow Test Suites

Symptoms: Tests take too long Solutions:

  • Parallelize execution
  • Optimize database operations
  • Use test doubles for external services
  • Profile and optimize slow tests

Low Coverage

Symptoms: Insufficient code coverage Solutions:

  • Add tests for uncovered paths
  • Focus on critical business logic
  • Use mutation testing
  • Set coverage gates in CI

Test Maintenance Burden

Symptoms: Tests require frequent updates Solutions:

  • Improve test design
  • Use page object patterns for UI
  • Reduce coupling to implementation
  • Regular test refactoring

Validation Checklists

Requirements Validation

## Requirements Review

**Completeness:**
- [ ] All user roles addressed
- [ ] Happy path scenarios covered
- [ ] Edge cases documented
- [ ] Error cases handled
- [ ] Business rules captured

**Clarity:**
- [ ] Precise language used
- [ ] No ambiguous terms
- [ ] Technical jargon avoided
- [ ] Behaviors are specific

**Testability:**
- [ ] Each requirement verifiable
- [ ] Success criteria observable
- [ ] Inputs/outputs specified

Design Validation

## Design Review

**Architecture:**
- [ ] Requirements addressed
- [ ] Components well-defined
- [ ] Interfaces specified
- [ ] Data flow documented

**Quality Attributes:**
- [ ] Performance considered
- [ ] Security addressed
- [ ] Scalability planned
- [ ] Maintainability assessed

**Risks:**
- [ ] Single points of failure identified
- [ ] Bottlenecks documented
- [ ] Mitigations planned

Implementation Validation

## Implementation Review

**Code Quality:**
- [ ] Follows standards
- [ ] Well-documented
- [ ] Tests included
- [ ] No security issues

**Requirements:**
- [ ] All criteria met
- [ ] Edge cases handled
- [ ] Error handling complete

**Integration:**
- [ ] Works with existing code
- [ ] APIs functioning
- [ ] Performance acceptable

Best Practices

Testing Best Practices

  1. Write tests first when possible
  2. Each test verifies one thing
  3. Use descriptive test names
  4. Maintain test independence
  5. Keep tests up-to-date

Quality Assurance Best Practices

  1. Find issues early (shift left)
  2. Automate everything possible
  3. Use metrics to drive improvements
  4. Make quality everyone's responsibility
  5. Continuous learning and improvement

Process Integration

  1. Link tests to requirements
  2. Provide quick feedback
  3. Focus testing on high-risk areas
  4. Keep documentation current
  5. Integrate tools with workflow

Quick Reference

Phase Transition Questions:

  • Requirements → Design: "Does design address all requirements?"
  • Design → Tasks: "Do tasks cover all design elements?"
  • Tasks → Implementation: "Does code satisfy task specifications?"

Quality Gate Questions:

  • "Is this testable and measurable?"
  • "Have we considered what could go wrong?"
  • "Would another developer understand this?"
  • "Does this meet our standards?"

Вставить в README

Ссылка на карточку для вашего README — без картинок и счётчиков.

[DarkPlay: quality-assurance](https://darkplay.ru/ai/skills/jasonkneen-kiro-quality-assurance)

Из того же репозитория

kiro-spec-driven Методология spec-driven разработки: требования, дизайн, задачи, промптинг, QA и отладка. ★759 spec-driven-development Трёхфазный подход к разработке фич: требования, проектирование и задачи — от идеи до реали ★759 spec-driven-development Трёхфазный подход к разработке фич: требования, проектирование и задачи — от идеи до реали ★759 requirements-engineering Превращает расплывчатые идеи фич в чёткие проверяемые требования в формате EARS с критерия ★759 design-documentation Превращает утверждённые требования в технический дизайн: архитектура, компоненты, модели д ★759 task-breakdown Разбивает технический дизайн на последовательные задачи реализации с учётом зависимостей. ★759 create-steering-documents Создаёт steering-документы проекта: стандарты, git-процессы и технические правила в .kiro/ ★759 troubleshooting Помогает решать типичные проблемы spec-driven разработки: расхождение спеки и реальности, ★759

Похожие скиллы и другие разделы каталога

Популярное в разделе «Скиллы»

Самые востребованные скиллов раздела по установкам и звёздам.

find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
4 400 000 устан.
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
1 600 000 устан.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
1 600 000 устан.
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
1 600 000 устан.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
1 600 000 устан.
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
1 500 000 устан.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
1 400 000 устан.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
1 300 000 устан.
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
1 300 000 устан.
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.
1 300 000 устан.
Похожее в других разделах каталога

Соседние разделы каталога: возможно, нужный инструмент живёт там.

Agent Evaluatoraffaan-m · Оценивает результат агента по рубрике качества из 5 критериев (точность, полнота…
225 587 ★
Code Revieweraffaan-m · Эксперт по ревью кода. Проактивно проверяет код на качество, безопасность и…
225 587 ★
Fastapi Revieweraffaan-m · Проверяет FastAPI-приложения: async, DI, Pydantic, безопасность, OpenAPI и тесты.
225 587 ★
Gan Generatoraffaan-m · GAN Harness — агент-генератор: реализует функции по спецификации и итерирует по отзывам.
225 587 ★
Pr Test Analyzeraffaan-m · Оценивает качество и полноту покрытия тестами в pull request.
225 587 ★
feature-devanthropics · Полный рабочий процесс разработки функций со специализированными агентами для изучения…
34 комп.
frontend-designanthropics · Создание выразительных фронтенд-интерфейсов продакшен-уровня с высоким качеством дизайна…
34 комп.
pr-review-toolkitanthropics · Комплексные агенты для ревью PR, специализирующиеся на комментариях, тестах, обработке…
34 комп.
ruflo-sparcruvnet · Методология SPARC: фазы Specification, Pseudocode, Architecture, Refinement, Completion с…
240 комп.
diagram-designcathrynlavery · Технические и продуктовые диаграммы редакционного качества: 27 типов в виде автономного…
2 комп.

Лучшие ИИ-инструменты для программирования

ИИ для программирования

Подборка нейросетей и ИИ-ассистентов для разработки и автоматизации кода. Сервисы, которые ускоряют написание, ревью и отладку, экономят часы рутины и снижают порог входа в сложные

GenAPIGenapi
По запросу
5.0
Notepad++ AINotepad-plus-plus
По запросу
4.9
GitHub CopilotGitHub
По подписке
4.9
Creatium MaxCremax
По запросу
4.8
Emacs AIGnu
По запросу
4.8
KiteKite
По запросу
4.8
Amazon Q DeveloperAmazon
По запросу
4.8
VECTA
Есть бесплатный тариф
4.8
SoftPractice
Есть бесплатный тариф
4.8
VibeForge
Есть бесплатный тариф
4.7

Лучшие ИИ-инструменты для генерации видео

Генерация видео

Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,

VEED.IOVeed
По запросу
5.0
MootionMootion
По запросу
5.0
FlyviFlyvi
Есть бесплатный тариф
4.9
Google Veo 3.1Google
Платно
4.9
Sora (OpenAI)OpenAI
Платно
4.9
PikaPika
Платно
4.9
captions space
Есть бесплатный тариф
4.8
Клайп
Есть бесплатный тариф
4.8
viralpulse.appViralpulse
По запросу
4.8
Viral Maker AIViral-maker
Есть бесплатный тариф
4.8

Лучшие ИИ-инструменты для генерации текста и копирайтинга

Генерация текста и копирайтинг

Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра

NeuroscribeNeuroscribe
Есть бесплатный тариф
5.0
GoGPTGogpt
По запросу
5.0
ChatsonicChatsonic
По запросу
4.9
НейроТекстерNeuro-texter
По запросу
4.9
ChatGPTOpenAI
По подписке
4.9
Редактум
Есть бесплатный тариф
4.8
ChadGPTChadgpt
По запросу
4.8
Cosmo ScribeCosmoscribe
Есть бесплатный тариф
4.8
Memo HelperCopilot33
По запросу
4.8
LibraChatLibrachat
Есть бесплатный тариф
4.8