context-driven-testing — скилл Claude Code: обзор и установка
Скилл context-driven-testing подбирает стратегию тестирования под цели и риски конкретного проекта вместо шаблонных практик. Помогает агенту приоритизировать проверки.
MIT 125 установок ★ 533 обновлён 2026-10-25
npx skills add proffesor-for-testing/agentic-qe --skill context-driven-testing -a claude-codeЧто делает context-driven-testing
Скилл внедряет в ИИ-агента принципы контекстно-ориентированного тестирования (Context-Driven Testing) и эвристики Rapid Software Testing. Вместо выполнения однотипных чек-листов модель начинает с анализа ограничений: стадия продукта, регуляторные требования, бюджет и ключевые риски. Поведение софта исследуется по модели SFDIPOT (структура, функции, данные, интерфейсы, платформа, операции, время) и оракулам согласованности.
Для мультиагентных систем скилл задаёт схему памяти aqe/context-driven/ (снимки контекста, принятые решения, находки) и правила отбора субагентов вроде qe-fleet-commander, qe-security-scanner или qe-performance-tester. В стартапе агент отсекает долгие тесты вёрстки и оставляет только сквозные проверки критических путей. В регулируемой среде приоритет смещается на протоколы и комплаенс.
Здесь нет готовых скриптов автоматизации: скилл задаёт методологию и правила рассуждений, поэтому фактические тесты агент генерирует сам.
Какие задачи решает
- Выбрать глубину автотестов под ограничения стартапа или enterprise
- Спланировать исследовательские сессии по эвристике SFDIPOT
- Сфокусировать субагентов на критических рисках вместо второстепенных проверок
- Зафиксировать обоснование решений по качеству в памяти проекта
Примеры запросов агенту
- Оцени риски релиза для ранней стадии SaaS и подбери стратегию тестирования
- Проанализируй платёжный модуль по эвристике SFDIPOT
- Спланируй исследовательское тестирование чекаута на два часа
Как установить context-driven-testing
1Через Skills CLI (Vercel)
npx skills add proffesor-for-testing/agentic-qe --skill context-driven-testing -a claude-code2Вручную: положить файлы
~/.claude/skills/context-driven-testing/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/context-driven-testing/
1Через Skills CLI (Vercel)
npx skills add proffesor-for-testing/agentic-qe --skill context-driven-testing -a codex2Вручную: положить файлы
.agents/skills/context-driven-testing/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add proffesor-for-testing/agentic-qe --skill context-driven-testing -a cursor2Вручную: положить файлы
.cursor/skills/context-driven-testing/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install proffesor-for-testing/agentic-qe assets/skills/context-driven-testing2Вручную: положить файлы
.github/skills/context-driven-testing/SKILL.md1Через Skills CLI (Vercel)
npx skills add proffesor-for-testing/agentic-qe --skill context-driven-testing -a gemini-cli2Командой платформы
gemini skills install https://github.com/proffesor-for-testing/agentic-qe --path assets/skills/context-driven-testingВручную: положить файлы
.devin/skills/context-driven-testing/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add proffesor-for-testing/agentic-qe --skill context-driven-testing -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о context-driven-testing
Как установить context-driven-testing в Claude Code?
Выполните команду npx skills add proffesor-for-testing/agentic-qe --skill context-driven-testing -a claude-code. Также можно вручную сохранить файл в ~/.claude/skills/context-driven-testing/SKILL.md.
Что делает скилл context-driven-testing?
Он заставляет агента оценивать контекст проекта перед выбором инструментов и тестов, отвергая универсальные догмы.
Какие эвристики использует этот скилл?
Скилл опирается на мнемонику SFDIPOT, тестирование турами и эвристические оракулы согласованности из методологии RST.
Исходный текст
SKILL.md · MIT
---
name: context-driven-testing
description: "Apply context-driven testing principles where practices are chosen based on project context, not universal 'best practices'. Use when making testing decisions, questioning dogma, or adapting approaches to specific project needs."
category: testing-methodologies
priority: high
tokenEstimate: 1100
agents: [qe-fleet-commander, qe-regression-risk-analyzer, qe-requirements-validator, qe-quality-analyzer]
implementation_status: optimized
optimization_version: 1.0
last_optimized: 2025-12-02
dependencies: []
quick_reference_card: true
tags: [context-driven, rst, exploratory, heuristics, oracles, skilled-testing]
trust_tier: 0
validation:
---
# Context-Driven Testing
<default_to_action>
When making testing decisions or adapting approaches:
1. ANALYZE context: project goals, constraints, risks, team skills
2. QUESTION practices: "Why this? What risk does it address? What's the cost?"
3. INVESTIGATE not just check: Does software solve the problem, or create new ones?
4. ADAPT approach based on context, not "best practices"
5. DOCUMENT discoveries, not pre-written plans
**Quick Context Analysis:**
- Mission: "Find important problems fast enough to matter" (not "execute test cases")
- Risk: Safety-critical = high rigor; internal tool = lighter touch
- Constraints: Startup with tight timeline ≠ enterprise with compliance
- Skills: Novice needs structure; expert adapts intuitively
**Critical Success Factors:**
- No "best practices" work everywhere - only good practices in context
- Testing is investigation, not script execution
- Context changes; your approach should too
</default_to_action>
## Quick Reference Card
### When to Use
- Making testing decisions for new project
- Questioning "that's how it's done" dogma
- Adapting approach to specific constraints
- Exploratory testing sessions
### RST Heuristics
| Heuristic | Application |
|-----------|-------------|
| **SFDIPOT** | Structure, Function, Data, Interfaces, Platform, Operations, Time |
| **Oracles** | Consistency with history, similar products, expectations, docs |
| **Tours** | Business District, Historical, Bad Neighborhood, Tourist, Museum |
---
## Context-Driven Decisions
### Example: Test Automation Level
**Startup Context:**
- Small team, rapid changes, unclear product-market fit
- **Decision:** Light automation on critical paths, heavy exploratory
- **Rationale:** Requirements change too fast for extensive automation
**Enterprise Context:**
- Stable features, regulatory requirements, large team
- **Decision:** Comprehensive automated regression suite
- **Rationale:** Stability allows automation investment to pay off
### Example: Documentation
**Regulated (FDA/medical):**
- **Decision:** Detailed test protocols, traceability matrices
- **Rationale:** Regulatory compliance isn't optional
**Fast-paced startup:**
- **Decision:** Lightweight session notes, risk logs
- **Rationale:** Bureaucracy slows more than it helps
---
## Agent-Assisted Context-Driven Testing
```typescript
// Agent analyzes context and recommends approach
const context = await Task("Analyze Context", {
project: 'e-commerce-platform',
stage: 'startup',
constraints: ['timeline: tight', 'budget: limited'],
risks: ['payment-security', 'high-volume']
}, "qe-fleet-commander");
// Context-aware agent selection
// - qe-security-scanner (critical risk)
// - qe-performance-tester (high volume)
// - Skip: qe-visual-tester (low priority in startup context)
// Adaptive testing strategy
await Task("Generate Tests", {
context: 'startup',
focus: 'critical-paths-only',
depth: 'smoke-tests',
automation: 'minimal'
}, "qe-test-generator");
```
---
## Agent Coordination Hints
### Memory Namespace
```
aqe/context-driven/
├── context-analysis/* - Project context snapshots
├── decisions/* - Testing decisions with rationale
├── discoveries/* - What was learned during testing
└── adaptations/* - How approach changed over time
```
### Fleet Coordination
```typescript
const contextFleet = await FleetManager.coordinate({
strategy: 'context-driven',
context: {
type: 'greenfield-saas',
stage: 'growth',
compliance: 'gdpr-only'
},
agents: ['qe-test-generator', 'qe-security-scanner', 'qe-performance-tester'],
exclude: ['qe-visual-tester', 'qe-requirements-validator'] // Not priority
});
```
---
## Practical Tips
1. **Start with risk assessment** - List features, ask: How likely to fail? How bad? How hard to test?
2. **Time-box exploration** - 2 hours checkout, 30 min error handling, 15 min per browser
3. **Document discoveries** - Not "Enter invalid email, verify error" but "Payment API returns 500 instead of 400, no user-visible error. Bug filed."
4. **Talk to humans** - Developers, users, support, product
5. **Pair with others** - Different perspectives = different bugs
---
## Related Skills
- [agentic-quality-engineering](../agentic-quality-engineering/) - Context-aware agent selection
- [holistic-testing-pact](../holistic-testing-pact/) - Adapt holistic model to context
- [risk-based-testing](../risk-based-testing/) - Context affects risk assessment
- [exploratory-testing-advanced](../exploratory-testing-advanced/) - RST techniques
---
## Remember
**With Agents:** Agents analyze context, adapt strategies, and learn what works in your situation. Use agents to scale context-driven thinking while maintaining human judgment for critical decisions.
© proffesor-for-testing · MIT · proffesor-for-testing/agentic-qe