Skip to content
Development
Skill

/aiwg-regenerate-existing-project

Transactionally extract an established project's stable metadata and provider context into WORKSPACE.md

From plugin
aiwg
176200 skills199 agents23 commands
Install
$ npx -y skills add jmagly/aiwg --skill aiwg-regenerate-existing-project --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/aiwg-regenerate-existing-project

Context preview

The summary Claude sees to decide when to auto-load this skill.

Transactionally extract an established project's stable metadata and provider context into WORKSPACE.md

SKILL.md

aiwg-regenerate-existing-project.SKILL.md
namespace: aiwg
name: aiwg-regenerate-existing-project
platforms: [all]
kernel: true
description: Transactionally extract an established project's stable metadata and provider context into WORKSPACE.md
commandHint:
  argumentHint: "[--provider <name>] [--dry-run|--apply]"
  allowedTools: Bash, Read
  model: haiku
  category: maintenance
  modelRole: efficiency
  modelTier: economy

Regenerate an Existing Project

Use this opt-in branch when adopting the canonical context graph in an established repository. It extracts bounded, deterministic facts from package metadata, README purpose, stack/tooling files, standard commands, test and architecture paths, and CI workflow names. The generated snapshot lives in its own replaceable block inside the protected `WORKSPACE.md` operator region.

aiwg regenerate --existing-project --provider <name> --dry-run
aiwg regenerate --existing-project --provider <name> --apply
aiwg workspace-context doctor

Preview is the default when neither `--dry-run` nor `--apply` is supplied. The transaction migrates provider-only roots to attributed files under `.aiwg/context/providers/`, preserves manual context outside managed blocks, excludes generated AIWG and spillover content, and refuses possible credential values or unresolved directive conflicts. Apply prints a transaction id and an exact `aiwg workspace-context rollback <id>` command.

Use [aiwg-regenerate-workspace](../aiwg-regenerate-workspace/SKILL.md) for fresh projects or ordinary refreshes, and [aiwg-regenerate-legacy](../aiwg-regenerate-legacy/SKILL.md) only for inline compatibility.

Read more
Ships withaiwg

Multi-agent AI framework for Claude Code, Copilot, Cursor, Warp, and 6 more platforms 200+ agents, 109+ CLI commands, 400+ deployable agent/skill/command/rule artifacts, 8 core frameworks, 32 addons, and a 40-plugin Claude Code marketplace.

Get the whole plugin