Nexus Architect
Treat GitHub Issues as the only source of truth for task identity, lifecycle, priority, execution profile, and dependencies. Keep architectural context versioned in the repository.
Before authoring work, inspect the repository's current agent instructions, contribution guide, ADR/SPEC conventions, issue templates, labels, and project configuration. Follow repository-specific paths and terminology rather than assuming a fixed layout. Repository instructions override this skill when they are more specific.
Architecture chain
Use the smallest complete chain appropriate to the change:
- ADR — why: record a durable decision, alternatives, consequences, and compliance for new architecture, public interfaces, or meaningful trade-offs.
- SPEC — what: define observable behavior, boundaries, state transitions, failure behavior, and acceptance criteria. Link its parent ADR.
- GitHub Issue — executable hand-off: define how to deliver one bounded outcome. Link the governing merged ADR/SPEC by exact repository-relative paths.
- Pull Request — review and closure: implement the Issue and include
Closes #NNN. Merge, not task-file movement, closes the Issue.
Do not create an ADR/SPEC merely to satisfy ceremony for a contract-free bug or chore. In that case use a reasoned N/A — <reason> in the Issue parent fields.
Planning workflow
For new behavior, interfaces, or architecture:
- Surface material assumptions and convert the request into measurable success criteria.
- If intent remains ambiguous, pause and use
interview-me before designing.
- Create or update ADR/SPEC on a planning branch. Do not modify application code in this phase.
- Push the documents and open a planning PR against the exact branch of origin.
- End the planning hand-off with the repository-required approval marker. If none exists, state explicitly that implementation is awaiting approval.
- After the architecture PR is merged, create the executable Issue through the repository's task template when one exists and leave it in the repository's triage state until explicitly approved.
Do not invent a parallel task identifier, task file, or status ledger unless the repository explicitly requires one. When GitHub Issues are the configured task system, use the GitHub-assigned Issue number.
Issue contract
Write for an executor with no chat history. A task Issue must contain:
Parent ADR: exact repository-relative path to the governing ADR, or reasoned N/A for a contract-free bug/chore;
Parent SPEC: exact repository-relative path to the governing specification, or reasoned N/A;
User outcome: observable result for a user, operator, or maintainer;
Technical context: exact boundaries, files, routes, stores, functions, external systems, and preserved contracts;
Definition of Done: independently checkable outcomes, including negative and compatibility expectations;
Test requirements: concrete positive, negative, regression, integration, and browser checks proportional to risk;
Hazards: data-loss, security, concurrency, migration, compatibility, UX risks, and forbidden shortcuts;
Priority: P0, P1, P2, or P3;
Primary model: default GPT-5.6 Sol;
Reasoning effort: low, medium, high, xhigh, max, or ultra;
Gemini delegation: safe with validation, conditional, or do not delegate;
Required validation: independent reviewer and exact evidence to inspect;
Dependencies: Issue references and external prerequisites, or None.
Do not duplicate the complete ADR/SPEC inside the Issue. Include enough technical context that the executor knows what to inspect and what not to change.
Execution profile
Default to GPT-5.6 Sol. Choose reasoning from workload risk, not task size alone:
low: verification, tiny localized edits, deterministic cleanup;
medium: bounded implementation with familiar patterns;
high: multi-file behavior, reviews, CI/tooling, non-trivial UX;
xhigh: cross-module work, migrations, release-critical integration;
max or ultra: destructive data paths, security boundaries, production rollout, or decisions with expensive failure.
Use Gemini only when the Issue has explicit boundaries and validation:
safe with validation: the whole bounded task may be delegated; Sol independently reviews the diff and evidence;
conditional: delegate only named slices, preserving Sol ownership of integration or risky decisions;
do not delegate: keep destructive, security-sensitive, architectural, or production actions with Sol/human review.
Dependencies and hierarchy
- Use native GitHub
blocked by relationships for causal blockers.
- Use native sub-issues for an epic or initiative.
- Keep external approvals in
Dependencies and use status:blocked when they prevent execution.
- Do not infer a blocker merely because another Issue is mentioned.
- Treat GitHub Project fields as a portfolio view; Issue body, labels, and native relationships remain authoritative.
Lifecycle
Use the repository's configured lifecycle states and maintain exactly one active lifecycle state. When no convention exists, propose this default:
status:triage — authored but not approved;
status:ready — approved and unblocked;
status:in-progress — implementation started;
status:blocked — dependency or decision prevents progress;
status:in-review — PR opened with Closes #NNN;
- closed/Done — PR merged.
Creating an Issue is not implementation approval. Start code only after status:ready or explicit user approval.
Quality audit
Reject or refine an Issue when any of these are true:
- the outcome is phrased only as code changes;
- ADR/SPEC paths are placeholders, missing, or escape the repository;
- DoD cannot be checked independently;
- tests say only "add tests" without scenarios;
- hazards omit an obvious destructive or compatibility risk;
- implementation requires hidden chat context;
- priority, reasoning, or delegation lacks a defensible risk basis;
- multiple lifecycle labels exist;
- dependencies are prose-only despite having corresponding Issues;
- the Issue creates a competing task identity or status record outside the repository's configured task system.
Finish by stating what was authored, which assumptions remain, the approval state, and the next permitted action.
1---2name: nexus-architect3description: Plan project changes, author ADR/SPEC contracts, and create precise self-contained GitHub Issues for implementation. Use when designing behavior or architecture, writing or reviewing architectural decisions and specifications, decomposing approved work into executable issues, or auditing task quality and dependencies.4---56# Nexus Architect78Treat GitHub Issues as the only source of truth for task identity, lifecycle, priority, execution profile, and dependencies. Keep architectural context versioned in the repository.910Before authoring work, inspect the repository's current agent instructions, contribution guide, ADR/SPEC conventions, issue templates, labels, and project configuration. Follow repository-specific paths and terminology rather than assuming a fixed layout. Repository instructions override this skill when they are more specific.1112## Architecture chain1314Use the smallest complete chain appropriate to the change:15161. **ADR — why:** record a durable decision, alternatives, consequences, and compliance for new architecture, public interfaces, or meaningful trade-offs.172. **SPEC — what:** define observable behavior, boundaries, state transitions, failure behavior, and acceptance criteria. Link its parent ADR.183. **GitHub Issue — executable hand-off:** define how to deliver one bounded outcome. Link the governing merged ADR/SPEC by exact repository-relative paths.194. **Pull Request — review and closure:** implement the Issue and include `Closes #NNN`. Merge, not task-file movement, closes the Issue.2021Do not create an ADR/SPEC merely to satisfy ceremony for a contract-free bug or chore. In that case use a reasoned `N/A — <reason>` in the Issue parent fields.2223## Planning workflow2425For new behavior, interfaces, or architecture:26271. Surface material assumptions and convert the request into measurable success criteria.282. If intent remains ambiguous, pause and use `interview-me` before designing.293. Create or update ADR/SPEC on a planning branch. Do not modify application code in this phase.304. Push the documents and open a planning PR against the exact branch of origin.315. End the planning hand-off with the repository-required approval marker. If none exists, state explicitly that implementation is awaiting approval.326. After the architecture PR is merged, create the executable Issue through the repository's task template when one exists and leave it in the repository's triage state until explicitly approved.3334Do not invent a parallel task identifier, task file, or status ledger unless the repository explicitly requires one. When GitHub Issues are the configured task system, use the GitHub-assigned Issue number.3536## Issue contract3738Write for an executor with no chat history. A task Issue must contain:3940- `Parent ADR`: exact repository-relative path to the governing ADR, or reasoned `N/A` for a contract-free bug/chore;41- `Parent SPEC`: exact repository-relative path to the governing specification, or reasoned `N/A`;42- `User outcome`: observable result for a user, operator, or maintainer;43- `Technical context`: exact boundaries, files, routes, stores, functions, external systems, and preserved contracts;44- `Definition of Done`: independently checkable outcomes, including negative and compatibility expectations;45- `Test requirements`: concrete positive, negative, regression, integration, and browser checks proportional to risk;46- `Hazards`: data-loss, security, concurrency, migration, compatibility, UX risks, and forbidden shortcuts;47- `Priority`: `P0`, `P1`, `P2`, or `P3`;48- `Primary model`: default `GPT-5.6 Sol`;49- `Reasoning effort`: `low`, `medium`, `high`, `xhigh`, `max`, or `ultra`;50- `Gemini delegation`: `safe with validation`, `conditional`, or `do not delegate`;51- `Required validation`: independent reviewer and exact evidence to inspect;52- `Dependencies`: Issue references and external prerequisites, or `None`.5354Do not duplicate the complete ADR/SPEC inside the Issue. Include enough technical context that the executor knows what to inspect and what not to change.5556## Execution profile5758Default to GPT-5.6 Sol. Choose reasoning from workload risk, not task size alone:5960- `low`: verification, tiny localized edits, deterministic cleanup;61- `medium`: bounded implementation with familiar patterns;62- `high`: multi-file behavior, reviews, CI/tooling, non-trivial UX;63- `xhigh`: cross-module work, migrations, release-critical integration;64- `max` or `ultra`: destructive data paths, security boundaries, production rollout, or decisions with expensive failure.6566Use Gemini only when the Issue has explicit boundaries and validation:6768- `safe with validation`: the whole bounded task may be delegated; Sol independently reviews the diff and evidence;69- `conditional`: delegate only named slices, preserving Sol ownership of integration or risky decisions;70- `do not delegate`: keep destructive, security-sensitive, architectural, or production actions with Sol/human review.7172## Dependencies and hierarchy7374- Use native GitHub `blocked by` relationships for causal blockers.75- Use native sub-issues for an epic or initiative.76- Keep external approvals in `Dependencies` and use `status:blocked` when they prevent execution.77- Do not infer a blocker merely because another Issue is mentioned.78- Treat GitHub Project fields as a portfolio view; Issue body, labels, and native relationships remain authoritative.7980## Lifecycle8182Use the repository's configured lifecycle states and maintain exactly one active lifecycle state. When no convention exists, propose this default:83841. `status:triage` — authored but not approved;852. `status:ready` — approved and unblocked;863. `status:in-progress` — implementation started;874. `status:blocked` — dependency or decision prevents progress;885. `status:in-review` — PR opened with `Closes #NNN`;896. closed/Done — PR merged.9091Creating an Issue is not implementation approval. Start code only after `status:ready` or explicit user approval.9293## Quality audit9495Reject or refine an Issue when any of these are true:9697- the outcome is phrased only as code changes;98- ADR/SPEC paths are placeholders, missing, or escape the repository;99- DoD cannot be checked independently;100- tests say only "add tests" without scenarios;101- hazards omit an obvious destructive or compatibility risk;102- implementation requires hidden chat context;103- priority, reasoning, or delegation lacks a defensible risk basis;104- multiple lifecycle labels exist;105- dependencies are prose-only despite having corresponding Issues;106- the Issue creates a competing task identity or status record outside the repository's configured task system.107108Finish by stating what was authored, which assumptions remain, the approval state, and the next permitted action.