architect-analyze
Use when validating generated or refined architecture artifacts, before feature development, during architecture review, or…
Use when you want guided mining of git history, structured change-story clustering, or comprehensive rationale recovery before documenting. Optional for routine capture — team-boot writes lightweight ChDR drafts directly.
$ npx -y skills add tikalk/adlc-team-skills --skill change-init --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/change-initContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when you want guided mining of git history, structured change-story clustering, or comprehensive rationale recovery before documenting. Optional for routine capture — team-boot writes lightweight ChDR drafts directly.
name: change-init description: Use when you want guided mining of git history, structured change-story clustering, or comprehensive rationale recovery before documenting. Optional for routine capture — team-boot writes lightweight ChDR drafts directly. disable-model-invocation: true
Mine **git history** for **Change Decision Records (ChDRs)** — the *why* behind how the code came to be — and write them as draft records for human review.
A ChDR captures a decision that was *made in the past* and survives only in commits + linked issue trackers:
**Key differences from the team-levelup family**:
| Skill | Source | Record | Question answered | |---|---|---|---| | `/team-init` | current code (what IS) | CDR (Context Directive) | what patterns are reusable | | `/team-levelup` | current session | CDR | what was learned this session | | `/change-init` (this skill) | **git history** (why it BECAME) | **ChDR** (Change Decision) | **why this code exists / what was tried and reverted** |
ChDRs are **project-local memory** (this repo's evolution), not team-wide context — they fail the team-levelup "team-wide applicability" signal gate. They publish to `{REPO_ROOT}/docs/adlc/memory/chdr/` (see `/change-publish`), and their index is injected at session start by `team-boot`.
> **Note**: Routine decision capture is handled by team-boot's continuous > capture mechanism, which writes lightweight drafts directly to > `.adlc/drafts/`. This skill is for **interactive deep-dive exploration** > — when you want guided trade-off analysis, multi-option comparison, or > structured decision facilitation before documenting.
$ARGUMENTS
You **MUST** consider the user input before proceeding (if not empty).
**Examples of User Input**:
You are a **Context Archaeologist** recovering *why* the code is the way it is. Your job is **inference from evidence**, not invention:
1. **Validate Environment** (Phase 1): git repo, resolve paths, next ChDR number 2. **Scan Window** (Phase 2): `git log` with windowing 3. **Detect Issue Links** (Phase 3): regex over commit messages 4. **Cluster into Change Stories** (Phase 4): group commits by issue key 5. **Best-Effort Issue Fetch** (Phase 5): tracker content (degrade gracefully) 6. **Detect Revert/Fix Chains** (Phase 6): first-class negative knowledge 7. **Score & Prioritize** (Phase 7): subsystems touched, diff size, chains 8. **Generate ChDRs** (Phase 8): write drafts + index 9. **Output** (Phase 9): summary with linkage-rate metric
Run the setup script from the skill's base directory:
scripts/bash/setup-change-init.sh
Parse the JSON output for `REPO_ROOT`, `CHDR_DRAFTS_DIR`, `NEXT_CHDR`, `GIT_AVAILABLE`, `DEFAULT_BRANCH`, `TD_CONFIGURED`, `EXISTING_CHDRS`.
**If the setup script is unavailable or fails**, resolve manually:
1. `REPO_ROOT` — walk up from cwd to find `.adlc/`, or `git rev-parse --show-toplevel`, or `pwd`. 2. `CHDR_DRAFTS_DIR` — `REPO_ROOT/.adlc/drafts/chdr` 3. `NEXT_CHDR` — list `CHDR_DRAFTS_DIR/ChDR-*.md`, find highest number, increment, zero-pad to 3 digits. 4. `GIT_AVAILABLE` — `git rev
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…