architect-analyze
Use when validating generated or refined architecture artifacts, before feature development, during architecture review, or…
Use when bootstrapping a team directives repository from scratch, cloning an existing one, pointing to a local path, or checking an existing configuration.
$ npx -y skills add tikalk/adlc-team-skills --skill team-setup --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/team-setupContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when bootstrapping a team directives repository from scratch, cloning an existing one, pointing to a local path, or checking an existing configuration.
name: team-setup description: Use when bootstrapping a team directives repository from scratch, cloning an existing one, pointing to a local path, or checking an existing configuration.
`team-setup` is an interactive skill that guides you through setting up the team AI directives. It presents four modes, explains each option, confirms your choice, and executes the setup.
It is invoked in two ways:
The skill is non-destructive: it never overwrites existing files or directories. If the target path already contains a configured team AI directives, it detects this and offers the "Already configured" mode instead.
When `team-boot` invokes this skill because the project is unconfigured, the user may choose not to set up team AI directives right now. Handle decline explicitly to avoid a re-prompt loop:
cleanly and tell `team-boot` the user declined.
(build mode only), write `.adlc/init-options.json` with `team_ai_directives: null`:
echo '{"team_ai_directives": null}' > ".adlc/init-options.json"This marker makes `team-boot` skip setup silently on every future prompt.
decline is session-scoped only; tell `team-boot` to defer.
Set up a team AI directives using one of four modes.
Before executing any mode, validate every user-supplied value (paths, URLs, team names). These values are interpolated into shell commands; unvalidated input is a command-injection vector.
`` ` ``, `$`, `;`, `|`, `&`, `(`, `)`, `<`, `>`, newline, or backslash. Resolve to an absolute path with `realpath`/`Resolve-Path` before use.
and any non-`https` scheme unless the user explicitly confirms the risk. Cloning runs no code from the repo, but the cloned content is read by agents later — only clone repositories you trust.
If any value fails validation, report which value and why, and re-ask. Never interpolate a user value into a Python/eval source string — pass it through the environment (see Mode 2).
**Fast path:** if `.adlc/init-options.json` already contains a valid `team_ai_directives` path, skip to Mode 4 (Already Configured) — do not re-clone, re-point, or re-scaffold.
| # | Mode | When | Details in | |---|------|------|-----------| | 1 | Clone from GitHub | team already has a directives repo | `references/mode-clone.md` | | 2 | Point to existing local path | directives dir already exists locally | `references/mode-local.md` | | 3 | Scaffold new empty directives | starting a team from scratch | `references/mode-scaffold.md` | | 4 | Already configured | check / verify existing wiring | `references/mode-configured.md` |
Full walkthrough in `references/mode-clone.md`.
Full walkthrough in `references/mode-local.md`.
Full walkthrough in `references/mode-scaffold.md`.
Full walkthrough in `references/mode-configured.md`.
1. **Explore**: Present the user with four options:
How would you like to set up team-ai-directives? 1) Clone from GitHub — Clone an existing repository 2) Point to existing local path — Use a team AI directives you already have 3) Scaffold new empty team AI directives — Create a fresh neutral team AI directives 4) Already configured — Check existing configuration
2. **Present**: For the chosen mode, explain what will happen and show details.
3. **Confirm**: Ask the user to confirm before executing.
4. **Write/Execute**: Perform the setup for the chosen mode.
After any mode completes successfully, update the project configuration:
1. Write `team_ai_directives` to `.adlc/init-options.json` 2. Verify the team AI directives is accessible by running a quick health check:
3. Check the `.gitignore` convention (layout allowlist — see the Gitignore Convention Check step below). 4. Inject the project-level `AGENTS.md` directive — full command and managed-section contract in `references/post-setup-agents.md`. 5. Install MCP config — merge details in `references/post-setup-mcp.md`.
Verify `.gitignore` follows the ADLC allowlist — a fresh `team setup` must never leave
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…