aodw-skill 0.7.22 → 0.7.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,9 +3,10 @@ name: aodw
3
3
  description: AODW (AI-Orchestrated Development Workflow) — 完整的 AI 协作开发工作流体系。当用户涉及以下任意场景时必须加载本 skill:新建 RT / 需求 / 功能 / 任务、立项、分支管理、worktree 创建与清理、Spec-Full / Spec-Lite 开发流程、代码提交与合并、RT 审查与完成、AODW 规范检查。关键触发词:RT、立项、新需求、开发任务、feature 分支、worktree、spec、intake、决策、实现、验收。本 skill 管理从立项到合并的完整开发生命周期。
4
4
  ---
5
5
 
6
- # AODW — AI 编排开发工作流 (v0.5.1)
6
+ # AODW — AI 编排开发工作流
7
7
 
8
8
  用 **RT(Request Ticket)** 追踪每个开发任务,通过文档驱动、分支隔离、Gate 检查点和确认门控执行。
9
+ 版本以 npm 包 `aodw-skill` 为准。
9
10
 
10
11
  ## 加载顺序(渐进式披露,优先读 summary)
11
12
 
@@ -10,7 +10,7 @@ const OVERVIEW_FILE = `${CORE_DIR}/06-project/ai-overview.md`;
10
10
  const MODULES_INDEX_FILE = `${CORE_DIR}/06-project/modules-index.yaml`;
11
11
 
12
12
  // 检测技术栈
13
- async function detectTechStack() {
13
+ export async function detectTechStack() {
14
14
  const cwd = process.cwd();
15
15
  const techStack = {
16
16
  frontend: [],
@@ -228,7 +228,7 @@ async function detectTechStack() {
228
228
  }
229
229
 
230
230
  // 分析目录结构
231
- async function analyzeDirectoryStructure() {
231
+ export async function analyzeDirectoryStructure() {
232
232
  const cwd = process.cwd();
233
233
  const structure = [];
234
234
  const keyDirs = ['frontend', 'backend', 'apps', 'packages', 'src', 'lib', 'infra', 'docs', 'RT', CORE_DIR];
@@ -275,7 +275,7 @@ function getDefaultDescription(dir) {
275
275
  }
276
276
 
277
277
  // 识别模块
278
- async function detectModules() {
278
+ export async function detectModules() {
279
279
  const cwd = process.cwd();
280
280
  const modules = [];
281
281
  const seenModules = new Set(); // 避免重复
@@ -609,7 +609,7 @@ AI 在创建新模块或重构模块结构时,应同步维护此映射关系
609
609
  }
610
610
 
611
611
  // 生成 ai-overview.md
612
- async function generateOverviewFile(merged, existing, modules) {
612
+ export async function generateOverviewFile(merged, existing, modules) {
613
613
  // 生成架构概览部分
614
614
  const architectureSection = generateArchitectureSection(existing?.sections?.architecture);
615
615
 
@@ -681,7 +681,7 @@ ${moduleMappingSection}
681
681
  }
682
682
 
683
683
  // 生成 modules-index.yaml
684
- async function generateModulesIndex(modules) {
684
+ export async function generateModulesIndex(modules) {
685
685
  const index = {
686
686
  version: 1,
687
687
  last_updated: new Date().toISOString(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aodw-skill",
3
- "version": "0.7.22",
3
+ "version": "0.7.24",
4
4
  "description": "Next-channel CLI tool to scaffold AODW in your project",
5
5
  "main": "bin/aodw.js",
6
6
  "files": [