factory-architect
Use when orchestrating an architecture lifecycle (specify/init → clarify → implement → analyze) to generate or maintain AD.md.
How do I install this agent skill?
npx skills add https://github.com/tikalk/adlc-team-skills --skill factory-architectIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill acts as an orchestrator for an architecture lifecycle, ingesting data from the project's codebase and external PR/issue comments. This creates a surface for indirect prompt injection where untrusted external content could influence the agent's design decisions or implementation steps.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
factory-architect
What this skill does
factory-architect orchestrates the architecture-decisions lifecycle. It coordinates individual architecture-related skills (architect-init, architect-specify, architect-clarify, architect-implement, architect-analyze) to maintain a consistent AD.md at the project root.
It operates as a Kind-A DAG orchestrator in alignment with the shared executor engine contract in factory-mission/references/executor.md.
When to use
- You want to bootstrap, refine, or analyze a project's system-level design and decisions (ADRs) end-to-end.
- You want to verify that architectural viewpoints conform to the Rozanski & Woods methodology.
When NOT to use:
- For product-requirements definition (use
factory-productinstead). - For feature-level software execution (use
factory-missioninstead).
Lifecycle DAG & Step Resolution
factory-architect implements a fixed named-skill DAG (fixed step resolution):
Greenfield Route (default on empty project)
specify(generatephase) -> Invokearchitect-specifyto collaboratively capture ADR drafts in.adlc/drafts/adr/.clarify⭐ (clarifyphase) -> Invokearchitect-clarifyto run interactive quality checks and mark ADRs Accepted (human sign-off gate).implement(buildphase) -> Invokearchitect-implementto compile accepted ADRs intoAD.md(by sub-systems) and promote them todocs/adlc/memory/adr/.analyze(analyzephase) -> Invokearchitect-analyzeto verify AD/ADR consistency and output a severity-ranked report.
Brownfield Route (default if code exists but no ADRs)
init(generatephase) -> Invokearchitect-initto reverse-engineer draft ADRs from the existing architecture.clarify⭐ →implement→analyze(same as Greenfield).
Refresh Route (default if AD.md and memory ADRs already exist)
analyze(analyzephase) -> Run architect-analyze first to detect drift.clarify⭐ →implement→analyze(drift-correction cycle).
Shared Executor Overrides
factory-architect overrides the shared executor engine primitives as follows:
- Publish Target: Fixed to
local. Outputs are written todocs/adlc/memory/adr/anddocs/adlc/architect/AD.md. If tracker-integrated, atrackercompletion summary comment is also posted. - Output Types: Steps use the following
output_typeassignments:specify/init→draft(ADR drafts stay in.adlc/drafts/adr/, not published to comment bus)clarify⭐ →decision(accepted/rejected ADR list published to comment bus)implement→artifact-ref(AD.md path reference published, content stays on disk)analyze→findings(severity-ranked consistency report published to comment bus)
- Correction Loop: If
analyzereturnsCRITICALorHIGHconsistency errors, the executor routes back toclarifywith the analyze marker inreads_from.clarifyreads the findings from the PR/MR/issue comment bus (or local fallback). This loop is bounded bymax_corrections(default 2); if exceeded, the orchestrator halts for human review. - Supervision Default:
hybrid. A human gate is hard-enforced atclarify⭐ (for ADR approvals) and at finalAD.mdreview. - Pre-flight Check: Verifies that the
architect-*lifecycle skills are installed in the workspace before beginning Phase 0.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/tikalk/adlc-team-skills/factory-architect">View factory-architect on skillZs</a>