architect-analyze
Use when validating generated or refined architecture artifacts, before feature development, during architecture review, or…
Use when coordinating a multi-repo workspace — init the .adlc/ structure, discover and link child repos as submodules, or audit workspace health (branch, dirty, unpushed, SHA drift).
$ npx -y skills add tikalk/adlc-team-skills --skill workspace --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/workspaceContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when coordinating a multi-repo workspace — init the .adlc/ structure, discover and link child repos as submodules, or audit workspace health (branch, dirty, unpushed, SHA drift).
name: workspace description: Use when coordinating a multi-repo workspace — init the .adlc/ structure, discover and link child repos as submodules, or audit workspace health (branch, dirty, unpushed, SHA drift).
A multi-repo workspace coordinator for shared team context. The parent repository holds shared decisions (PDRs, ADRs, CDRs) under `.adlc/`, created by `product-specify`, `architect-specify`, and `team-levelup`. Child implementation repositories are discovered at depth 1 and optionally linked as Git submodules so the entire workspace can be cloned with `git clone --recursive`.
No `workspace.yml`, no registry file. Pure convention:
$ARGUMENTS
| Command | Purpose | |---|---| | `/workspace --init` | Initialize: create `.adlc/` structure, configure `.gitignore`, discover child repos | | `/workspace` | Discover child repos, show summary status (read-only) | | `/workspace --link` | Convert child repos to Git submodules (requires clean parent tree) | | `/workspace --status` | Detailed audit: branch, dirty, unpushed, SHA drift, `.adlc` presence | | `/workspace --ignore-only` | Add child repos to `.gitignore` instead of creating submodules | | `/workspace --init --link` | Initialize + link child repos in one step | | `/workspace --init --ignore-only` | Initialize + add child repos to `.gitignore` | | `/workspace --dry-run` | Preview changes without executing (combine with `--init`, `--link`, `--ignore-only`) | | `/workspace --force` | Convert repos already tracked by parent index (requires clean tree) |
Run the init setup script to create `.adlc/` structure, check `.gitignore` conventions, and discover child repos:
# Bash scripts/bash/setup-workspace.sh --json # PowerShell scripts/powershell/setup-workspace.ps1
**Init setup output** (JSON):
{
"REPO_ROOT": "/path/to/parent",
"ADLC_DIR": "/path/to/parent/.adlc",
"ADLC_DIRS_CREATED": [".adlc/product", ".adlc/drafts", ".adlc/drafts/pdr"],
"GITIGNORE_EXISTS": true,
"GITIGNORE_RULES_MISSING": [".adlc/"],
"CHILD_REPOS": [
{"name": "backend-api", "path": "/path/to/parent/backend-api", "remote": "git@github.com:org/backend-api.git", "is_submodule": false, "is_tracked": false}
],
"CHILD_COUNT": 1,
"BRANCH": "main"
}**Directories created**:
.adlc/
├── product/ # PDRs (product-specify, product-init)
├── architecture/ # ADRs (architect-specify, architect-init)
├── context/ # CDRs (team-levelup, team-init)
├── skills/ # Team skills metadata
└── drafts/ # Draft artifacts before clarification
├── pdr/
├── adr/
├── cdr/
├── skills/
└── evals/After init setup, if `--link` or `--ignore-only` is also specified, proceed to the corresponding action mode below.
Run the workspace coordinator script:
# Bash "$(dirname "$0")/../scripts/bash/workspace.sh" --json [--link] [--status] [--dry-run] [--force] $ARGUMENTS
Parse the JSON output and present it to the user.
Emitted by `setup-workspace.sh --json` (see above).
Emitted by `workspace.sh --json`:
{
"PARENT_REPO": "/abs/path/to/parent",
"PARENT_BRANCH": "main",
"PARENT_HAS_ADLC": true,
"MODE": "discover|link|status",
"DRY_RUN": false,
"DISCOVERED_COUNT": 3,
"REGISTERED_COUNT": 2,
"SKIPPED_COUNT": 1,
"ERROR_COUNT": 0,
"REPOS": [
{
"name": "backend-api",
"path": "/abs/path/to/parent/backend-api",
"remote": "git@github.com:org/backend-api.git",
"branch": "main",
"dirty": false,
"unpushed": 0,
"is_submodule": true,
"parent_sha": "abc1234",
"child_sha": "abc1234",
"sha_drift": false,
"has_adlc": false
}
],
"ERRORS": []
}The setup script creates the `.adlc/` directory tree if it doesn't exist (`product/`, `drafts/`, and the per-family draft subdirectories — the shared layout scopes `.adlc/` to machine pipeline state). This is the shared context directory where other skills write drafts and pipeline state; published decision records and compiled deliverables live under `docs/adlc/`.
**Idempotent**: already-existing directories are not recreated.
The setup script checks `.gitignore` for workspace conventions and reports missing rules.
**Allowlist model** — `.adlc/` is no longer ignored wholesale. Machine pipeline state is ignored via `.adlc/*` with tracked exceptions re-included; published content under `docs/adlc/` is always tracked:
# agent-install surface (regenerated) .agents/ .opencode/ .claude/ .cursor/ .co
Agent skills that give coding agents your team's context at session start, so they stop working like strangers.
Use when validating generated or refined architecture artifacts, before feature development, during architecture review, or…
Use when architecture work starts or a tech-stack or pattern decision emerges — injects the project ADR index…
Use when ADRs need review, gaps need filling, or ADR status must be approved as Accepted before architecture generation.
Use when accepted ADRs exist and AD.md must be produced or updated as unified architecture documentation.
Use when bootstrapping architecture documentation for a brownfield project by reverse-engineering ADRs from an existing codebase.
Use when you want guided trade-off analysis, multi-option comparison, or structured architectural decision facilitation before…