Aiwg regenerate workspace

From jmagly/aiwg · View interactive version

Aiwg regenerate workspace is an AI agent skill from the GitHub repository jmagly/aiwg. Regenerate the canonical WORKSPACE.md-first context graph and provider adapters

How to use this skill

Skill file

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.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.