software-factory
MAmattpocock/skills336k近 7 天新增 5,004 个 star
Use when orchestrating QE agents, understanding PACTS principles, configuring the AQE v3 fleet, or leveraging AI agents as force multipliers for quality work.
<default_to_action> When implementing agentic QE or coordinating agents:
Task tool with agent typeaqe/learning/* namespaceQuick Agent Selection:
qe-test-architectqe-coverage-specialistqe-quality-gateqe-security-scannerqe-performance-testerqe-fleet-commanderCritical Success Factors:
| Principle | Agent Behavior | Human Role |
|---|---|---|
| Proactive | Analyze pre-merge, predict risk | Set guardrails |
| Autonomous | Execute tests, fix flaky tests | Review critical |
| Collaborative | Multi-agent coordination | Provide context |
| Targeted | Risk-based prioritization | Define risk areas |
| Structured | Governance, observability, explainable decisions (measure confidence, not trust) | Audit behavior, set policy |
The full fleet lives in .claude/agents/v3/qe-*.md; these are the agents most core jobs start with.
| Category | Agents | Primary Use |
|---|---|---|
| Core Testing | qe-test-architect, qe-parallel-executor, qe-coverage-specialist, qe-quality-gate | Daily testing |
| Performance/Security | qe-performance-tester, qe-security-scanner | Non-functional |
| Strategic | qe-requirements-validator, qe-fleet-commander | Planning, orchestration |
| Advanced | qe-regression-analyzer, qe-contract-validator, qe-flaky-hunter | Specialized |
| Visual/Chaos | qe-visual-tester, qe-chaos-engineer | Edge cases |
| Deployment | qe-deployment-advisor | Release |
| Analysis | qe-code-complexity | Maintainability |
| Verification | qe-devils-advocate | Challenge other agents' claims |
Hierarchical: fleet-commander → [generators] → [executors] → quality-gate
Mesh: test-gen ↔ coverage ↔ quality (peer decisions)
Sequential: risk-analyzer → test-gen → executor → coverage → gate
✅ Deployment frequency rises without escaped defects rising (measured against your own baseline) ✅ Coverage gaps detected in real-time ✅ Bugs caught pre-production ✅ Agent claims checked against evidence before anyone relies on them ❌ Agents acting without human oversight on critical decisions ❌ Deploying the whole fleet at once (start with 1-2)
| Stage | Approach | Limitation |
|---|---|---|
| Traditional | Manual everything | Human bottleneck |
| Automation | Scripts + fixed scenarios | Needs orchestration |
| Agentic | AI agents + human judgment | Requires confidence-building: evidence that agent output holds up |
Core Premise: Agents amplify human expertise. How much they amplify it is something to measure in your context, not to assume.
Confidence, not trust: trust is a feeling; confidence can be explained. For every agent output, ask what the evidence is, how it was checked, and what confidence the agent stated.
1. Intelligent Test Generation
// Agent analyzes code change, generates targeted tests
const tests = await Task("Generate tests", prDiff, "qe-test-architect");
// → Happy path, edge cases, error handling tests
2. Pattern Detection - Scan logs, find anomalies, correlate errors
3. Adaptive Strategy - Adjust test focus based on risk signals
4. Root Cause Analysis - Link failures to code changes, suggest fixes
Agents optimize for appearing done rather than being done, and it gets harder to spot as their output gets more plausible. Patterns to check for:
An honest, low-confidence answer is safer than a confident fabricated one; a false-safe label on a real security issue is the worst outcome. Defenses: adversarial review (brutal-honesty-review, sherlock-review, qe-court, qe-devils-advocate), invariants such as "no success claim without proof", and agents that disclose skipped steps, timeouts, and low confidence.
aqe/test-plan/* - Test planning decisions
aqe/coverage/* - Coverage analysis results
aqe/quality/* - Quality metrics and gates
aqe/learning/* - Patterns and Q-values
aqe/coordination/* - Cross-agent state
CRITICAL: Always use aqe memory store with persist: true for learnings.
1. Store data to persistent memory:
// Store test plan decisions (persisted to .agentic-qe/memory.db)
aqe memory store \
--key "aqe/test-plan/pr-123" \
--namespace "aqe/test-plan" \
--value '{...}' \
--json
2. Retrieve prior learnings before task:
// Query patterns before starting test generation
const priorData = await aqe memory get --key "aqe/learning/patterns/test-generation/*" --namespace "aqe/learning" --json
// Use patterns to guide current task
if (priorData.success) {
console.log(`Loaded ${priorData.patterns.length} prior patterns`);
}
3. Store coverage analysis results:
aqe memory store \
--key "aqe/coverage/auth-module" \
--namespace "aqe/coverage" \
--value '{...}' \
--json
For coordinated multi-agent tasks, use the STATUS → PROGRESS → COMPLETE pattern:
// PHASE 1: STATUS - Task starting
aqe memory store \
--key "aqe/coordination/task-123/status" \
--namespace "aqe/coordination" \
--value '{...}' \
--json
// PHASE 2: PROGRESS - Intermediate updates
aqe memory store \
--key "aqe/coordination/task-123/progress" \
--namespace "aqe/coordination" \
--value '{...}' \
--json
// PHASE 3: COMPLETE - Task finished
aqe memory store \
--key "aqe/coordination/task-123/complete" \
--namespace "aqe/coordination" \
--value '{...}' \
--json
| Event | Trigger | Subscribers |
|---|---|---|
test:generated | New tests created | executor, coverage |
coverage:gap | Gap detected | test-architect |
quality:decision | Gate evaluated | fleet-commander |
security:finding | Vulnerability found | quality-gate |
// 1. Risk analysis
const risks = await Task("Analyze PR", prDiff, "qe-regression-analyzer");
// 2. Generate tests for risks
const tests = await Task("Generate tests", risks, "qe-test-architect");
// 3. Execute + analyze
const results = await Task("Run tests", tests, "qe-parallel-executor");
const coverage = await Task("Check coverage", results, "qe-coverage-specialist");
// 4. Quality decision
const decision = await Task("Evaluate", {results, coverage}, "qe-quality-gate");
// → GO/NO-GO with rationale
Advance on evidence, not on the calendar. Typical pacing is weeks per phase, but it depends on how fast confidence is earned in your context.
| Phase | Move on when | Goal | Agent(s) |
|---|---|---|---|
| Experiment | The agent's output survives review on real PRs | Validate one use case | 1 agent |
| Integrate | CI results are stable and findings hold up | CI/CD pipeline | 3-4 agents |
| Scale | Each new use case shows measured value | Multiple use cases | 8+ agents |
| Evolve | Ongoing | Continuous learning | Full fleet |
# Start: deploy a single agent
aqe agent spawn qe-test-architect
# Then: generate tests for a handful of real PRs
# Track: bugs found, test quality, review time, claims that failed verification
# Measure impact against your pre-agent baseline
aqe agent metrics qe-test-architect
# → Compare tests, bugs found and review time with the baseline; keep what the data supports
| Do | Don't |
|---|---|
| Start with one agent, one use case | Deploy the whole fleet at once |
| Build feedback loops early | Deploy and forget |
| Human reviews agent output | Auto-merge without review |
| Measure bugs caught, time saved | Track vanity metrics (test count) |
| Earn autonomy with measured confidence | Give full autonomy immediately |
Stage 1: Agent suggests → Human decides
Stage 2: Agent acts → Human reviews after (when its suggestions consistently survive review)
Stage 3: Agent autonomous on low-risk work (when post-hoc reviews stop finding real problems)
Stage 4: Agent handles critical with oversight (when the low-risk record and its disclosures hold up)
coordination:
topology: hierarchical
commander: qe-fleet-commander
memory_namespace: aqe/coordination
blackboard_topic: qe-fleet
preload_skills:
- agentic-quality-engineering # Always (this skill)
- risk-based-testing # For prioritization
- quality-metrics # For measurement
agent_assignments:
qe-test-architect: [api-testing-patterns, tdd-london-chicago]
qe-coverage-specialist: [quality-metrics, risk-based-testing]
qe-security-scanner: [security-testing, risk-based-testing]
qe-performance-tester: [performance-testing]
holistic-testing-pact - PACTS principles deep diverisk-based-testing - Prioritize agent focusquality-metrics - Measure agent effectivenessapi-testing-patterns, security-testing, performance-testing - Specialized testing.claude/agents/aqe agent --helpaqe fleet statusSuccess Metric: Ship more often with the same or better quality through agent collaboration, and be able to show the evidence for both.
MAmattpocock/skills336k近 7 天新增 5,004 个 star
MAmattpocock/skills336k近 7 天新增 5,004 个 star
AFaffaan-m/ECC314k近 7 天新增 4,125 个 star
AFaffaan-m/ECC314k近 7 天新增 4,125 个 star
AFaffaan-m/ECC314k近 7 天新增 4,125 个 star
DIDietrichGebert/ponytail202k近 7 天新增 4,780 个 star