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
229200 skills199 agents26 commands

Claude Code

$ npx -y skills add jmagly/aiwg --skill aiwg-regenerate-existing-project --agent claude-code

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
@jmagly
Ships withaiwg

Reusable project context and specialist workflows for the AI tools you already use. Plan software, coordinate specialist reviews, prepare campaigns, investigate incidents, organize research, curate media, and maintain operational knowledge.

229200 skills199 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
229
Star history of jmagly/aiwg on GitHub, a chart by star-history.com

Other skills on aiwg.

agent-loop-ext

agent-loop-ext

Crash-resilient external agent loop with state persistence and CI/CD integration

@jmagly@jmaglyInstall Skill
agent-loop

agent-loop

Detect requests for iterative autonomous agent loops and route to the appropriate loop executor

@jmagly@jmaglyInstall Skill
auto-test-execution

auto-test-execution

Automatically execute tests when code-generating agents modify source files, enforcing the execute-before-return pattern

@jmagly@jmaglyInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills12d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc13d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about aiwg-regenerate-existing-project.

Which coding agents can use aiwg-regenerate-existing-project?
aiwg-regenerate-existing-project installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.