/nexus:prdfrom nexus
Writes, rewrites, or iterates on PRDs, design docs, technical proposals, and architecture write-ups. Produces short, plain-language docs with live examples, diagrams, verified claims, and a decisions log.
Ships in nexus. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Write proposals that a busy reader understands in ten minutes and can decide on. One live example carries the design; everything else supports it.
| Field | Value |
|---|---|
| Category | engineering |
| Required tools | Code search (fff/grep), Read, Bash; web search for cloud/vendor claims; a renderer (Playwright) for HTML; the user's doc store or chat-message tools when publishing |
| Required context | The ask (link or text), the code/infra it touches, the user's decisions so far |
| Expected inputs | A request thread, rough notes, an earlier draft, or "update the doc" feedback |
| Expected outputs | One self-contained HTML doc (default) or Markdown, plus a short chat summary |
Collect before writing. Stop and ask only for items you cannot find.
| Signal | How to collect |
|---|---|
| The original ask, verbatim | Read the thread/ticket/link; quote one sentence of it |
| What exists today | Search the code for the tables, endpoints and jobs involved; read the top hits |
| Where each new piece would run | Find the entry point (main, worker, handler) of every service the design touches |
| Shared resources | Check infra code for shared databases, queues and connection limits |
| Retention and limits | Read config for TTLs, size caps, batch sizes; check live config when a claim depends on it |
| The user's decisions | Re-read the conversation; list only what the user actually decided |
| Destination | Ask once if unknown: HTML in the user's doc store (default) or Markdown in the repo |
Stop and ask when the design depends on a fact you could not verify and cannot mark as an assumption, such as a compliance rule, a production setting you lack access to, or who the reader is.
path:line, command and date). Mark unverified facts as such. Failure signal: a claim about a live system with no date.<details>.Header: kicker (project · version N · date · status), title (2–4 words), one-line lede, inline nav
1 The problem 3 bullets + the decision needed
2 The idea in one picture flow SVG + one-line caption
3 Live example numbered steps 0…N with payloads, rows, request, response; optional try-it box
4 Will it slow anything down? bullets per system
5 If something breaks bullets
6 Data safety bullets (only if sensitive data)
7 Decisions Made by you · Still open
8 Plan ≤5 steps + undo
9 Details for reviewers <details>: schema · other designs · what was checked
Target length: under 30 KB of HTML, and readable in 10 minutes. A full worked reference is in examples/step-search.md.
| Failure mode | Trigger | Mitigation |
|---|---|---|
| Text-only design | The flow is described in prose, with no diagram | Step 5 is mandatory, and every hop gets a lane |
| Reader can't place the code | A step says "the API does X" without naming the process | Every step names the service and process, and says whether it is new or existing |
| Overclaimed safety | "Never affects runs" when capacity is shared | Heuristic on shared resources; date and method on infra claims |
| Agreeing with the user's idea | The user proposes an approach and the doc adopts it untested | Step 3 critique, with alternatives in the doc |
| Decision log bloat | Every chat turn is logged as a decision | Merge per topic; user decisions only |
| Recipient can't open the doc | Owner-only link sent | Check access before drafting the message |
| Broken render | SVG labels overlap, or the page scrolls sideways on phone | Step 12 screenshots |
| Field | Required | Description |
|---|---|---|
| findings | yes | The doc itself: path and published link or revision |
| evidence | yes | The "what was checked, and how" list inside the doc |
| confidence | yes | High/Medium/Low with the reason, in the chat summary |
| risks | yes | The open decisions and unmeasured costs, in the doc and summarized in chat |
| recommendations | yes | The single chosen design, with alternatives collapsed |
| next_actions | yes | Plan steps, plus what the user must answer next |
The chat summary is crisp: what changed, link, the 1–2 calls that were yours rather than the user's, and one question if needed.
See anti-patterns/common-mistakes.md, checklists/execution-checklist.md and validation/output-validation.md.
Input: "Read this Slack thread and prepare a plan. Filter runs by a step's result, e.g. active_malignancy = true. Don't query Hatchet." Followed later by "I can't visualize the implementation, zero confidence. Too many tables."
Output: an HTML doc titled "Step Search", about 27 KB, with these sections:
patient_name, and the copier keeps the 4 fields. The two tables are shown with actual rows, then the search request, SQL, and "37 match · 3 not copied yet".Full reference: examples/step-search.md.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
prd, design-doc, technical-proposal, architecture-writeup, documentation
npx claudepluginhub aayushostwal/nexus --plugin nexus11 skills in this plugin
/debuggingUse when something is failing, regressing, or behaving unexpectedly and the goal is root-cause analysis, narrowest fix, and verification. Covers CI/CD, tests, runtime, deployment, and tooling failures. Output should be RCA + fix + prevention, not design options.
/observabilityUse for correlated API failures, cascading errors, and distributed-system incident tracing. Trigger on multi-service error spikes, dependency-chain analysis, circuit-breaker events, or requests to identify origin service and blast radius from logs/metrics across components.
/performanceUse for memory, CPU, latency, and query-performance investigations, plus dependency-upgrade blast-radius analysis. Trigger on leak/OOM/profiling/regression reports or "what breaks if I upgrade X." Route to memory-leak or dependency-blast-radius workflow based on intent.
/reliabilityUse for production incidents, outages, and service degradations, plus release-readiness gate checks. Trigger on 500 spikes, SLA breaches, latency/error surges, on-call alerts, rollback decisions, and RCA/post-mortem requests. Prioritize stabilization, timeline reconstruction, and evidence-led actions.
/shortsUse to convert any input into a ready-to-record YouTube Shorts script. Trigger on requests for 30-second scripts, hooks, reels/short-form video copy, or pasted topics/articles/bullets/URLs needing concise high-retention narration with CTA.
/skill-writerUse for creating, refactoring, or debugging skills and improving SKILL.md trigger quality. Trigger on "write/create/update/improve skill", trigger-miss complaints, pasted-skill feedback, or repeated workflows that should be skillized. Output production-ready skill structure and routing logic.
Other plugins' skills for the same job