Skip to content

docs: sync skills and README with recent workspace features - #25

Merged
reckerp merged 1 commit into
mainfrom
docs/sync-skills-readme
Jun 29, 2026
Merged

docs: sync skills and README with recent workspace features#25
reckerp merged 1 commit into
mainfrom
docs/sync-skills-readme

Conversation

@reckerp

@reckerp reckerp commented Jun 29, 2026

Copy link
Copy Markdown
Owner

Summary

Recent PRs added a workspace cleanup lifecycle, shared repo workspace config, and creation hooks, but the README and the two agent skills hadn't caught up. This PR brings all the documentation in line with what's on main today.

I created the workspace for this work with gx workspace new docs/sync-skills-readme (dogfooding the tool).

What changed

README

  • Document gx workspace clean / prune / protect / unprotect in the Workspace section (PR feat(workspace): add cleanup lifecycle (clean, prune, protect, unprotect) #24) and add a Cleanup safety note covering the structural protections (main/current/locked/protected) and the dirty/untracked/unpushed/no-upstream skips.
  • Add the gx workspace new --no-hooks flag.
  • Rewrite Repo Onboarding to cover the new shared-vs-personal save choice (.gx/workspace.toml vs ~/.config/gx/repos/<repo>/).
  • Add a new Shared Workspace Configuration section documenting .gx/workspace.toml / .gx/workspace.local.toml, copy_files, setup_script, [workspace.hooks] (pre/post-create + placeholders/env vars), and the layer-merge precedence (PR feat(workspace): shareable repo workspace policy #21).
  • Add [workspace] protected_branches and [workspace.clean] (threshold_days, auto) to Workspace Configuration.

Skills

  • gx-workspace-workflow: new Clean Up section (clean/prune with --dry-run, safety guarantees), lock/protect for in-progress work, and a Useful creation flags list (--from-staged, --no-cd, --no-hooks, --no-fetch). Expanded the trigger description for cleanup/prune/protect/lock requests.
  • gx-onboarding-workflow: shared-vs-personal config guidance, a Hooks section, and gx workspace sync for copying files between workspaces. Expanded the trigger description.

Accuracy notes

Only documented behavior that is actually wired up. The resolver also parses default_branch and workspace.update_strategy from .gx/workspace.toml, but those fields are not yet consumed by any command, so they are intentionally left undocumented.

Testing

Docs-only change (README + skill markdown); no code touched.

Recent PRs added a workspace cleanup lifecycle, shared repo workspace
config, and creation hooks that were missing from the docs. Bring the
README and both agent skills up to date:

- README: document 'gx workspace clean/prune/protect/unprotect' and the
  '--no-hooks' flag, the '.gx/workspace.toml' / '.gx/workspace.local.toml'
  shared repo config (with pre/post-create hooks and layering), the
  shared-vs-personal onboarding save choice, and the new
  '[workspace] protected_branches' / '[workspace.clean]' settings.
- gx-workspace-workflow: add a Clean Up section, cover lock/protect for
  in-progress work, and document useful creation flags (--from-staged,
  --no-cd, --no-hooks, --no-fetch).
- gx-onboarding-workflow: cover shared-vs-personal config, hooks, and
  'gx workspace sync'.
@reckerp
reckerp merged commit 83a36e8 into main Jun 29, 2026
6 checks passed
@reckerp
reckerp deleted the docs/sync-skills-readme branch June 29, 2026 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant