Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计提醒

qe-aqe-v2-v3-migrationqe aqe v2 v3 迁移

Agent Skill

qe-aqe-v2-v3-migration 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

979

周安装

40

GitHub Stars

329

下载量

314
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:qe-aqe-v2-v3-migration(qe aqe v2 v3 迁移)
来源仓库:https://github.com/proffesor-for-testing/agentic-qe
仓库路径:skills/qe-aqe-v2-v3-migration
安装命令:
npx skills add https://github.com/proffesor-for-testing/agentic-qe --skill qe-aqe-v2-v3-migration
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/proffesor-for-testing/agentic-qe --skill qe-aqe-v2-v3-migration

简介

用于 Agentic QE 从 v2 到 v3 的版本迁移指导,适合平滑过渡到新架构与能力集。

  • 可协助分析废弃接口、配置变更与依赖升级路径,降低迁移成本与风险。
  • 通过 npx 命令从指定仓库安装,需先在沙箱环境验证兼容性并备份原有配置。
  • 建议制定分阶段迁移计划,优先迁移非核心模块再逐步替换关键组件。
  • qe-aqe-v2-v3-migration 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

AQE v2 to v3 Migration Skill

<default_to_action> When migrating from v2 to v3:

  1. ANALYZE current v2 installation
  2. BACKUP all data before any changes
  3. MIGRATE configuration, memory, and patterns
  4. VALIDATE migration success
  5. PROVIDE rollback instructions

Never delete v2 data without explicit user confirmation. </default_to_action>

Quick Reference

Migration Command

# When v3 becomes main release, just update the package
npm install agentic-qe@latest

# Run migration
aqe migrate

# Or use this skill
/aqe-v2-v3-migration

What Gets Migrated

Componentv2 Locationv3 LocationAuto-Migrate
Memory DB.agentic-qe/memory.db.aqe/agentdb/Yes
Config.agentic-qe/config.json.aqe/config.jsonYes
Patterns.agentic-qe/patterns/.aqe/reasoning-bank/Yes
Cache.agentic-qe/cache/.aqe/cache/Optional
Logs.agentic-qe/logs/.aqe/logs/No (fresh start)

Migration Checklist

Pre-Migration

  • Verify v2 installation exists (.agentic-qe/ directory)
  • Check v2 version: aqe --version (should be 2.x.x)
  • Backup current data: npm run backup (in v2 project)
  • Note any custom configurations
  • Document current test counts and coverage

During Migration

  • Update to v3: npm install agentic-qe@latest
  • Run migration: aqe migrate
  • Review migration report
  • Verify data transferred correctly

Post-Migration

  • Run v3 tests: aqe test
  • Check coverage: aqe coverage
  • Verify patterns loaded: aqe patterns list
  • Test MCP integration with Claude Code

Architecture Changes (v2 → v3)

From Monolithic to DDD

v2 Structure:                    v3 Structure:
├── src/mcp/tools/              ├── src/domains/
│   ├── test-*.ts (40+ tools)   │   ├── test-generation/
│   └── ...                     │   ├── test-execution/
├── src/core/agents/            │   ├── coverage-analysis/
│   ├── mixed agents            │   ├── quality-assessment/
│   └── ...                     │   ├── defect-intelligence/
└── src/core/memory/            │   ├── requirements-validation/
    └── scattered impls         │   ├── code-intelligence/
                                │   ├── security-compliance/
                                │   ├── contract-testing/
                                │   ├── visual-accessibility/
                                │   ├── chaos-resilience/
                                │   └── learning-optimization/
                                ├── src/kernel/
                                │   ├── event-bus.ts
                                │   └── coordinator.ts
                                └── src/mcp/
                                    └── domain-handlers.ts

Key API Changes

v2 APIv3 APINotes
aqe initaqe initDifferent binary
aqe.generateTests()testGeneration.generate()Domain-based
aqe.analyzeGaps()coverageAnalysis.findGaps()O(log n) now
memory.store()agentDB.store()HNSW-indexed
patterns.learn()reasoningBank.record()With verdicts

Configuration Migration

v2 Config Format

{
  "version": "2.8.2",
  "memory": {
    "path": ".agentic-qe/memory.db",
    "type": "sqlite"
  },
  "agents": {
    "enabled": ["test-generator", "coverage-analyzer"]
  }
}

v3 Config Format

{
  "version": "3.0.0",
  "kernel": {
    "eventBus": "in-memory",
    "coordinator": "queen"
  },
  "domains": {
    "test-generation": { "enabled": true },
    "test-execution": { "enabled": true },
    "coverage-analysis": {
      "enabled": true,
      "algorithm": "hnsw",
      "dimensions": 128
    }
  },
  "memory": {
    "backend": "agentdb",
    "path": ".aqe/agentdb/",
    "hnsw": {
      "M": 16,
      "efConstruction": 200
    }
  },
  "learning": {
    "reasoningBank": true,
    "sona": true
  }
}

Memory Migration

SQLite to AgentDB

// v2: Direct SQLite access
import Database from 'better-sqlite3';
const db = new Database('.agentic-qe/memory.db');
const patterns = db.prepare('SELECT * FROM patterns').all();

// v3: AgentDB with HNSW
import { AgentDB } from 'agentic-qe';
const db = new AgentDB('.aqe/agentdb/');
await db.initialize({ dimensions: 128, M: 16 });

// Migration script transfers and indexes
for (const pattern of v2Patterns) {
  await db.store({
    key: pattern.id,
    value: pattern.data,
    embedding: await generateEmbedding(pattern.data),
    metadata: { migratedFrom: 'v2', originalId: pattern.id }
  });
}

Breaking Changes

Must Update

  1. Import Paths // v2 import {AgenticQE} from 'agentic-qe'; // v3 (when v3 becomes main release, package name is still 'agentic-qe') import {TestGenerationDomain} from 'agentic-qe/domains';
  2. CLI Commands # v2 aqe test --parallel # v3 aqe test --workers=4 --topology=mesh
  3. MCP Server # v2 claude mcp add aqe -- npx aqe-mcp # v3 (same CLI name, enhanced capabilities) claude mcp add aqe -- npx aqe mcp

Deprecated (Will Warn)

  • aqe.runTests() → Use domain-specific methods
  • Direct memory access → Use AgentDB API
  • Flat agent list → Use domain coordinators

Rollback Instructions

If migration fails or you need to revert:

# 1. v3 does NOT modify v2 data
# Your .agentic-qe/ folder is untouched

# 2. Downgrade to v2
npm install agentic-qe@2.x
rm -rf .aqe/

# 3. Continue using v2
aqe --version  # Should show 2.x.x

Agent Coordination Examples

Spawning Migration Agents

// Use Task tool to spawn migration agents in parallel
Task({
  prompt: "Analyze v2 memory.db and extract all patterns",
  subagent_type: "researcher",
  description: "Analyze v2 patterns"
});

Task({
  prompt: "Convert v2 config to v3 format",
  subagent_type: "coder",
  description: "Convert config"
});

Task({
  prompt: "Validate migration results",
  subagent_type: "tester",
  description: "Validate migration"
});

Troubleshooting

Common Issues

IssueCauseSolution
"Cannot find.agentic-qe/"No v2 installationRun aqe init first
"Memory migration failed"Corrupted SQLiteUse backup: npm run backup:restore
"HNSW index error"Dimension mismatchSet dimensions: 128 in config
"Pattern not found"Not migratedRe-run: aqe migrate --patterns

Debug Mode

# Run migration with debug output
DEBUG=aqe:migrate aqe migrate

# Check migration logs
cat .aqe/logs/migration.log

Support

  • Migration Issues: Open issue with [v2-v3-migration] tag
  • Documentation: Migration Guide
  • Discord: #v3-migration channel

Version Compatibility Matrix

v2 Versionv3 VersionMigration Support
2.8.x3.0.xFull
2.7.x3.0.xFull
2.6.x3.0.xPartial (config only)
2.5.x and below3.0.xManual migration

*Skill Version: 1.0.0 | Last Updated: 2026-01-11*

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.35%
按下载量换算114

Claude

29.86%
按下载量换算94

Cursor

17.95%
按下载量换算56

Gemini CLI

8.34%
按下载量换算26

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills