AGENT SKILL

aiwg-regenerate-workspace

Regenerate the canonical WORKSPACE.md-first context graph and provider adapters

License 许可
MIT
所属仓库
jmagly/aiwg
最近更新
2026-11-12
Stars
★ 229
Forks
36

01 前言 Front Matter

name
aiwg-regenerate-workspace
kernel
true
namespace
aiwg
platforms
[ "all" ]
commandHint
{ "model": "haiku", "category": "maintenance", "modelRole": "efficiency", "modelTier": "economy", "allowedTools": "Bash, Read", "argumentHint": "[--provider <name>] [--dry-run] [--force]" }
description
Regenerate the canonical WORKSPACE.md-first context graph and provider adapters

02 资源文件 7

03 SKILL.md 正文

Regenerate Canonical Workspace Context

Use this default branch for new and migrated projects. It maintains the precedence chain:

  1. WORKSPACE.md — provider-neutral project and operator context.
  2. AIWG.md — generated framework discovery and routing context.
  3. Provider startup adapters — minimal pointers that load or direct readers to those files in order.

For an established project, audit before adopting the graph:

aiwg workspace-context audit --json
aiwg workspace-context migrate --dry-run --json
aiwg workspace-context migrate --apply
aiwg regenerate --workspace
aiwg workspace-context doctor

Migration is transactional and records recoverable preimages under .aiwg/context-migrations/. It refuses possible credential values and unresolved directive conflicts. Use aiwg-regenerate-legacy only when compatibility requires inline context.

04 同仓库更多 Skills