architect-analyze
Use when validating generated or refined architecture artifacts, before feature development, during architecture review, or…
Use when orchestrating an intent lifecycle (product + architecture lanes, two scope-pinned gates, joint build-and-verify) to generate PRD.md and AD.md from one Mission Brief.
Claude Code
$ npx -y skills add tikalk/adlc-team-skills --skill factory-intent --agent claude-code
Codex
$ npx skills add tikalk/adlc-team-skills --skill factory-intent -a codex -y
Cursor
$ npx skills add tikalk/adlc-team-skills --skill factory-intent -a cursor -y
Gemini CLI
$ npx skills add tikalk/adlc-team-skills --skill factory-intent -a gemini-cli -y
GitHub Copilot
$ npx skills add tikalk/adlc-team-skills --skill factory-intent -a github-copilot -y
OpenCode
$ npx skills add tikalk/adlc-team-skills --skill factory-intent -a opencode -y
Windsurf
$ npx skills add tikalk/adlc-team-skills --skill factory-intent -a windsurf -y
name: factory-intent description: Use when orchestrating an intent lifecycle (product + architecture lanes, two scope-pinned gates, joint build-and-verify) to generate PRD.md and AD.md from one Mission Brief. disable-model-invocation: true
When `ADLC_RUN_ID` is set, the workflow engine runs this step unattended and a gate follows it. Invoke the `factory-runbook` skill for the publish sequence (run branch → step commits → draft MR, plus the run-context rules); run the lifecycle steps the DAG resolves for the issue in between.
**Never ask for approval** or wait for an answer. The engine's gate after this step is the approval. **Before you return, always:** write `mr_url` and a one-line `conclusion` into `ADLC_STEP_OUTPUT`, whatever the outcome.
Only this orchestrator invokes the publish sequence, and only through the runbook; lifecycle skills never do. Details: [Run Branch, Step Commits and Draft MR](#run-branch-step-commits-and-draft-mr).
---
`factory-intent` orchestrates the intent lifecycle over two lanes. It coordinates the product lifecycle skills (`product-init`, `product-specify`, `product-clarify`, `product-implement`, `product-analyze`) and the architecture lifecycle skills (`architect-init`, `architect-specify`, `architect-clarify`, `architect-implement`, `architect-analyze`) to maintain a consistent `PRD.md` and `AD.md` from a single Mission Brief.
It operates as a **Kind-A DAG orchestrator** in alignment with the shared executor engine contract in `factory-runbook/references/executor.md`. It replaces the twin orchestrators with one two-lane DAG — no aliases.
---
end-to-end from one intent, each signed at its own gate.
resume checkpoint.
**When NOT to use**:
When the brief needs one lane only, run that lane's entry workflow instead of the both-lanes `workflow.yml`:
`gate-decisions` → `build-and-verify`, product commands, PDR-scoped gate).
commands, ADR-scoped gate).
Each entry mirrors the removed twin's step shape with the gate-context contract (records/since/link); the adaptive executor resolves its `route` input at dispatch the same way.
---
`factory-intent` implements a **fixed named-skill DAG** (`fixed` step resolution) with one step per lane per phase:
1. **`product-specify` / `architect-specify`** (`generate`) — capture drafts in `.adlc/drafts/pdr/` and `.adlc/drafts/adr/`. 2. **`product-clarify` / `architect-clarify`⭐** (`clarify`) — quality checks; each lane marks its own drafts accepted at its own gate. 3. **`gate-product-decisions` / `gate-architecture-decisions`** — separate scope-pinned human gates. Neither gate can accept the other lane's artifacts; a lane blocked at its gate does not block the other lane's drafting — only the joint implement waits for both gates. 4. **`build-and-verify`** — joint implement (`product-implement`, `architect-implement`) then joint analyze (`product-analyze`, `architect-analyze`).
Per-lane route inputs (`product_route`, `architecture_route`) select greenfield / brownfield (`init`) / refresh (analyze-first) independently — one lane may refresh while the other runs greenfield. The adaptive (LLM) executor resolves the routes at dispatch (choosing `init` vs `specify` vs analyze-first for each lane); the checked-in `workflow.yml` below encodes the greenfield default (`specify` lanes) for headless execution.
---
Product decides WHAT / WHY / FOR WHOM (problem, persona, scope, priority, business metrics, NFR targets). Anything answering HOW (stack, pattern, interface, NFR mechanism) is recorded as a handoff note to the architecture lane, never as a product decision. Overlap disputes escalate to a named human; the ruling is posted to the comment bus as a `decision` output (human tiebreak — no auto-resolution). The adaptive executor must not run the joint implement until the human ruling lands (the checked-in `workflow.yml` encodes the greenfield two-gate default; the tiebreak wait is enforced at dispatch, not by a gate in that file).
---
1. **Publish Target**: Fixed to `local` (`docs/adlc/memory/` + PRD/AD). 2. **Output Types**: `specify`/`init` → `draft`; `clarify`⭐ → `decision`; `implement` → `artifact-ref`; `analyze` → `findings`. 3. **Correction Loop**: per-lane HIGH/CRITICAL routes that lane back to its clarify, bounded by `max_corrections` (default 2); if exceeded, halt for human review. (Adaptive executor behavior — the checked-in `workflow.yml` headless loop below is a bounded re-implementation only.) 4. **Supervision Default**: `hybrid` — human gates at both clarifies and at final review. Merge sign-off is always human. 5. **Pre-flight Check**: Verifies both `product-*` and `architect-*` lifecycle skills are installed before beginning Phase 0.
---
**Requires:** the `factory-runbook` skill (provides the publish procedure and run contracts): `adlc-cli skills add tikalk/adlc-team-skills --skill factory-runbook`
In a factory run (`ADLC_RUN_ID` set by the workflow engine) this orchestrator — and only it, never the lane lifecycle skills — commits, pushes the run branch and opens the draft MR. Invoke the `factory-runbook` skill for the publish sequence with:
1. **Branch:** `factory/intent
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…
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
Use when asked to review a plan, challenge a proposal, run a CEO review, poke holes in an approach, think bigger about scope, or…
Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI/AZW with Calibre) into structured agent…
Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…