Set up the Synthex plugin configuration for a project. This command scaffolds the configuration file and document directories needed for the plugin to operate.
From synthexnpx claudepluginhub bluminal/lumenai --plugin synthex/initInitializes beads issue tracking database in current directory with optional prefix (defaults to dir name). Shows DB location, prefix, workflow overview, next steps; displays stats if already set up.
/initInitializes guided UI design for dashboards, apps, and tools. Assesses intent, proposes styles with rationale, builds components, and offers to save patterns.
/initDownloads and installs/updates the platform-specific notification binary for claude-notifications plugin from GitHub into the plugin's bin directory.
/initInitializes or re-boots llmdoc/ directory structure, runs multi-themed project investigations with investigator, and generates initial stable docs via recorder.
/initInitializes AI task harness with ai/tasks/ directory for modular backlog, progress log, bootstrap script, and CLAUDE.md instructions. Supports --mode new|scan and --task-type ops|data|infra|manual.
/initScans Claude Code agents directory for custom agents, lets user select and register them for orchestration workflows, updates registry JSON and documentation.
Set up the Synthex plugin configuration for a project. This command scaffolds the configuration file and document directories needed for the plugin to operate.
| Parameter | Description | Default | Required |
|---|---|---|---|
config_path | Where to create the config file | .synthex/config.yaml | No |
.synthex/config.yaml (or custom path).gitignore to exclude the worktrees directory (.claude/worktrees/) if not already presentdocs/reqs/, docs/plans/, docs/specs/, docs/specs/decisions/, docs/specs/rfcs/, docs/runbooks/, docs/retros/) if they don't existCheck if @{config_path} already exists.
Read the default configuration template from the plugin's config/defaults.yaml file (located relative to this command at ../config/defaults.yaml).
Create the directory .synthex/ in the project root if it doesn't exist, then write the defaults template to @{config_path}.
Prompt the user to choose how many parallel tasks Synthex should run. This value controls implementation_plan.concurrent_tasks and next_priority.concurrent_tasks in the config file.
Detect the number of logical CPUs on the machine using the appropriate system command:
| Platform | Command |
|---|---|
| macOS | sysctl -n hw.ncpu |
| Linux | nproc |
| Windows (PowerShell) | $env:NUMBER_OF_PROCESSORS |
Fallback: If CPU detection fails for any reason, default to 12.
Store the detected CPU count as cpus.
Compute the following preset values:
| Option | Value | Description |
|---|---|---|
| Yolo | cpus | Use all available CPUs — maximum parallelism |
| Aggressive | max(floor(cpus * 0.75), 8) | High parallelism with headroom for system processes. If CPU detection failed, use 8. |
| Default | 3 | Conservative — works well on any machine |
Use the AskUserQuestion tool to present the options. The question should be formatted as:
How many parallel tasks should Synthex run?
This controls how many tasks execute concurrently during planning and execution (e.g.,
next-priority,write-implementation-plan). Higher values speed up work but use more system resources.
- Yolo ({cpus}) — All CPUs, maximum parallelism
- Aggressive ({aggressive_value}) — 75% of CPUs, leaves headroom
- Default (3) — Conservative, works on any machine
Or type a custom number.
Where {cpus} and {aggressive_value} are the computed values from step 3b.
The response must resolve to a positive integer. Apply these rules:
If the user picks an option by number (e.g., "1", "2", "3") or name (e.g., "yolo", "aggressive", "default"), resolve it to the corresponding integer value.
If the user types a plain integer (e.g., "6"), use that value directly.
If the response is NOT a valid positive integer and cannot be resolved to one, re-ask using AskUserQuestion:
That doesn't look like a valid number.
concurrent_tasksmust be a positive integer (e.g., 3, 8, 16). Please enter a number or pick one of the options above.
Repeat validation until a valid positive integer is obtained. Do NOT proceed until you have a valid integer.
Replace both concurrent_tasks values in the config file at @{config_path}:
implementation_plan.concurrent_tasks — set to the chosen valuenext_priority.concurrent_tasks — set to the chosen valueCheck if .gitignore exists in the project root. If it does, check whether it already contains an entry for the worktrees base path (.claude/worktrees by default, or the value from the config file).
.gitignore exists and does NOT contain the worktrees path: Append the following block to the end of the file:# Synthex worktrees (parallel task execution)
.claude/worktrees/
.gitignore exists and already contains the path: Do nothing..gitignore does not exist: Create it with the worktrees entry above.Create the following directories if they don't already exist:
docs/reqs/ — Product requirements documentsdocs/plans/ — Implementation plansdocs/specs/ — Technical specificationsdocs/specs/decisions/ — Architecture Decision Records (ADRs)docs/specs/rfcs/ — Requests for Comments (RFCs)docs/runbooks/ — Operational runbooksdocs/retros/ — Retrospective documentsDo NOT create any files inside these directories — just the directories.
Inform the user what was created and provide guidance:
Synthex initialized for this project.
Created:
.synthex/config.yaml — Project configuration (concurrent_tasks: {chosen_value})
.gitignore — Added worktrees path (if not present)
docs/reqs/ — Product requirements (PRDs)
docs/plans/ — Implementation plans
docs/specs/ — Technical specifications
docs/specs/decisions/ — Architecture Decision Records (ADRs)
docs/specs/rfcs/ — Requests for Comments (RFCs)
docs/runbooks/ — Operational runbooks
docs/retros/ — Retrospective documents
Next steps:
1. Review .synthex/config.yaml and customize for your project
2. Create your PRD with the `write-implementation-plan` command
3. Or write your PRD manually at docs/reqs/main.md
Available commands:
/write-implementation-plan — Transform a PRD into an implementation plan
/next-priority — Execute the next highest-priority tasks
/review-code — Multi-perspective code review
/write-adr — Create an Architecture Decision Record
/write-rfc — Create a Request for Comments
/test-coverage-analysis — Analyze test gaps, optionally write tests
/design-system-audit — Audit frontend for design system compliance
/retrospective — Facilitate a structured retrospective
/reliability-review — Assess operational readiness
/performance-audit — Full-stack performance analysis
Configuration guide:
- Add reviewers: Add entries to implementation_plan.reviewers
- Remove reviewers: Set enabled: false on any default reviewer
- Adjust rigor: Change review_loops.max_cycles or review_loops.min_severity_to_address
- Full reference: See .synthex/config.yaml for all settings
The configuration file controls how the Synthex plugin behaves in this project. Key settings:
By default, three sub-agents review every draft implementation plan:
| Reviewer | Focus |
|---|---|
| Architect | Technical architecture, feasibility, NFR coverage, missing technical tasks |
| Designer | Design tasks, UX impact, visual/interaction design clarity |
| Tech Lead | Task clarity, acceptance criteria, parallelizability, dependency accuracy |
Adding a reviewer (e.g., for a security-sensitive project):
implementation_plan:
reviewers:
- agent: architect
enabled: true
focus: "Technical architecture, feasibility, NFR coverage"
- agent: designer
enabled: true
focus: "Design tasks, UX impact, visual design clarity"
- agent: tech-lead
enabled: true
focus: "Task clarity, acceptance criteria, parallelizability"
- agent: security-reviewer
enabled: true
focus: "Security requirements, threat modeling coverage, compliance tasks"
Disabling a reviewer (e.g., for a backend-only project with no design needs):
implementation_plan:
reviewers:
- agent: designer
enabled: false
| Setting | Default | Description |
|---|---|---|
review_loops.max_cycles | 2 | Global max review loop iterations (all commands) |
review_loops.min_severity_to_address | high | Global minimum severity that must be resolved |
implementation_plan.review_loops.max_cycles | 3 | Per-command override for implementation plans |
| Setting | Default | Description |
|---|---|---|
documents.requirements | docs/reqs/main.md | Default PRD location |
documents.implementation_plan | docs/plans/main.md | Default plan location |
documents.specs | docs/specs | Technical specs directory |
documents.decisions | docs/specs/decisions | Architecture Decision Records |
documents.rfcs | docs/specs/rfcs | Requests for Comments |
documents.runbooks | docs/runbooks | Operational runbooks |
documents.retros | docs/retros | Retrospective documents |
The Synthex uses a convention over configuration approach:
.synthex/config.yaml is a project file, version-controlled alongside code, so the team shares the same configuration.