Blueprint workspace scan

From laurigates/claude-plugins · View interactive version

Blueprint workspace scan is an AI agent skill from the GitHub repository laurigates/claude-plugins. Discover child blueprint workspaces and refresh the manifest. Use when adding/removing a child blueprint or when status shows stale portfolio data.

How to use this skill

Skill file

/blueprint:workspace-scan

Refresh the monorepo root blueprint's workspaces.children registry by walking

the filesystem for child docs/blueprint/manifest.json files, reading their

feature-tracker.json when present, and writing cached rollup stats back to the

root manifest.

When to Use This Skill

| Use this skill when... | Use /blueprint:status instead when... |

|------------------------|-----------------------------------------|

| Adding or removing a child blueprint | Just inspecting overall blueprint state |

| Root workspaces.children looks stale | You do not run a monorepo |

| Migrating to format_version 3.3.0 | You only want per-project details |

Context

Parameters

Parse these from $ARGUMENTS:

Execution

Execute this workspace scan:

Step 1: Verify a root manifest exists

If docs/blueprint/manifest.json is missing, stop and report that the current

directory is not a blueprint root. Suggest /blueprint:init for new projects.

Step 2: Run the scan script

Invoke the bundled script; it walks the tree, writes the updated manifest, and

emits a structured summary:

bash "${CLAUDE_SKILL_DIR}/scripts/workspace-scan.sh" \
  --max-depth 4 $ARGUMENTS

The script:

  1. Refuses to run on a manifest whose workspaces.role == "child".
  2. Skips node_modules, .git, dist, build, target, .venv.
  3. Writes workspaces.role=root, discovery_strategy=auto-cache,

last_scanned_at, and a refreshed children[] array with cached_stats.

  1. Leaves existing feature-tracker data untouched.

Step 3: Report findings

Summarize the script output for the user:

/blueprint:upgrade inside them if the user wants a fully v3.3 portfolio).

Step 4: Next steps

Recommend running /blueprint:feature-tracker-sync at the root afterwards to

recompute derived statuses for any portfolio FRs that use implemented_by.

Agentic Optimizations

| Context | Command |

|---------|---------|

| Preview changes | /blueprint:workspace-scan --dry-run |

| Deeper monorepo | /blueprint:workspace-scan --max-depth 6 |

| Refresh all | /blueprint:workspace-scan followed by /blueprint:feature-tracker-sync |

Quick Reference

| Key | Meaning |

|-----|---------|

| workspaces.role | root on the top manifest, child on per-project manifests |

| workspaces.children[].path | Path relative to the root (e.g., projects/esp32-lamp) |

| workspaces.children[].cached_stats | Rolled-up {total, complete, completion_percentage, current_phase} from the child's feature-tracker |

Post-actions

script replaces children[] wholesale — verify expected workspaces still

appear.

chore(blueprint-plugin): refresh workspaces registry.

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.